tag 161340 + patch
thanks

Petter Reinholdtsen <pere_AT_hungry.com> pointed out that this bug was fixed in upstream cvs:

http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/misc/syslog.c.diff?r1=1.39&r2=1.40&cvsroot=glibc

===================================================================
RCS file: /cvs/glibc/libc/misc/syslog.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- libc/misc/syslog.c  2003/07/15 06:55:32     1.39
+++ libc/misc/syslog.c  2003/09/25 15:32:44     1.40
@@ -48,6 +48,7 @@
 #include <stdlib.h>
 #include <bits/libc-lock.h>
 #include <signal.h>
+#include <locale.h>

 #if __STDC__
 #include <stdarg.h>
@@ -187,10 +188,11 @@
            prioff = fprintf (f, "<%d>", pri);
            (void) time (&now);
 #ifdef USE_IN_LIBIO
-           f->_IO_write_ptr += strftime (f->_IO_write_ptr,
-                                         f->_IO_write_end - f->_IO_write_ptr,
-                                         "%h %e %T ",
-                                         __localtime_r (&now, &now_tm));
+           f->_IO_write_ptr += __strftime_l (f->_IO_write_ptr,
+                                             f->_IO_write_end - f->_IO_write_ptr,
+                                             "%h %e %T ",
+                                             __localtime_r (&now, &now_tm),
+                                             &_nl_C_locobj);
 #else
            f->__bufp += strftime (f->__bufp, f->__put_limit - f->__bufp,
                                   "%h %e %T ", __localtime_r (&now, &now_tm));


It would be very nice if this could be fixed before sarge releases, because my package logwatch has a bug I can only fix when this bug is fixed.


Thanks
Willi


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to