This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Small fix for misc/sys/syslog.h


> Roland McGrath wrote:
> > The type is only used for the constant table, and the pointers always point
> > to string constants.  const is appropriate.
> 
> Yes, it's appropriate when creating the interface from scratch.  But it
> might cause problems compiling programs, even breaking the compilation
> if -Werror is used.

You really think #define SYSLOG_NAMES is used by more than one or two things?
I won't make this change on the stable branch, but it seems fine for the trunk.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]