Re: syslog bug

2003-02-09 Thread Alfred Perlstein
* David Malone <[EMAIL PROTECTED]> [030209 10:04] wrote: > On Sun, Feb 09, 2003 at 10:00:02AM -0800, Alfred Perlstein wrote: > > Heh, the format string is passed through printf later, we don't want > > to eat the extra % otherwise it will cause problems for us. > > I had exactly the same thought a

Re: syslog bug

2003-02-09 Thread David Malone
On Sun, Feb 09, 2003 at 10:00:02AM -0800, Alfred Perlstein wrote: > Heh, the format string is passed through printf later, we don't want > to eat the extra % otherwise it will cause problems for us. I had exactly the same thought as Warner last night, but then realised that we were about to call p

Re: syslog bug

2003-02-09 Thread Alfred Perlstein
* M. Warner Losh <[EMAIL PROTECTED]> [030209 08:39] wrote: > In message: <[EMAIL PROTECTED]> > Alfred Perlstein <[EMAIL PROTECTED]> writes: > : syslog(3) botches things if you pass it a string that has "%%m" in it. > : this should fix it, any comments? > : > > With the above fix, "fre

Re: syslog bug

2003-02-09 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Alfred Perlstein <[EMAIL PROTECTED]> writes: : syslog(3) botches things if you pass it a string that has "%%m" in it. : this should fix it, any comments? : : Index: syslog.c : === : RCS file

syslog bug

2003-02-08 Thread Alfred Perlstein
syslog(3) botches things if you pass it a string that has "%%m" in it. this should fix it, any comments? Index: syslog.c === RCS file: /home/ncvs/src/lib/libc/gen/syslog.c,v retrieving revision 1.28 diff -u -r1.28 syslog.c --- syslog.