This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Small fix for misc/sys/syslog.h
At Mon, 14 Feb 2005 17:25:08 -0800,
Ulrich Drepper wrote:
> GOTO Masanori wrote:
> > Exactly it's removing one type of warning.
>
> No, it's substituting it for other warnings. Every place where the
> value is use din a 'char *' context will now have warnings.
>
> There is no reason to punish existing code which follows the current
> headers.
I missed the point between an existing code and a clean up - yes, it
possibly introduces the current code warnings in exchange for removing
gcc 2.95 warnings. Thanks for your explanation, I learn a lesson.
BTW, could you put this so much trivial fix using this chance?
Thanks,
-- gotom
2005-02-14 GOTO Masanori <gotom@debian.or.jp>
* misc/sys/syslog.h: Fix typo.
Index: misc/sys/syslog.h
===================================================================
RCS file: /cvs/glibc/libc/misc/sys/syslog.h,v
retrieving revision 1.13
diff -u -p -r1.13 syslog.h
--- misc/sys/syslog.h 30 Aug 2003 09:27:50 -0000 1.13
+++ misc/sys/syslog.h 26 Jan 2005 13:18:03 -0000
@@ -168,7 +168,7 @@ CODE facilitynames[] =
__BEGIN_DECLS
-/* Close desriptor used to write to system logger.
+/* Close descriptor used to write to system logger.
This function is a possible cancellation point and therefore not
marked with __THROW. */