--- 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".
Eugene
FreeBSD xxx.xxxx.xx 4.10-STABLE
"The message is identical to a printf(3) format string, except that `%m'
is replaced by the current error message."
SunOS xxxxx 5.7
"occurrences of %m in the format
string pointed to by the message argument are replaced by
the error message string associated with the current value
of errno."
etc.Message
Re: milter-greylist 1.6rc1 and Solaris 9 (sparc)
2004-12-17 by egcrosser
Attachments
- No local attachments were found for this message.