On Fri, 17 Dec 2004, egcrosser wrote: > --- In milter-greylist@yahoogroups.com, Dan Hollis <goemon@a...> wrote: > > On Thu, 16 Dec 2004 manu@n... wrote: > > > egcrosser <egcrosser@y...> wrote: > > > > BTW, 'syslog(LOG_ERR, "local_addr: bind failed: %m")' is a bit shorter :) > > > I didn't know that one. That's nifty. Is it portable? > > It appears to be a gcc-specific extension. > Nope. > I beleive it's standard. I still remember Unices that did not have > syslog() at all, but no one that had syslog() without "%m". I did some research, I guess you can safely use it for syslog _only_, but using %m in any other format strings (printf etc) cannot be guaranteed on anything other than gnu libc. -Dan
Message
Re: [milter-greylist] Re: milter-greylist 1.6rc1 and Solaris 9 (sparc)
2004-12-17 by Dan Hollis