Re: Hamm bug: syslog() does not work together with libstdc++
On Mon, 9 Mar 1998, Martin Schulze wrote:
> Afaik this doesn't work. Take a look at the manpage:
>
> void syslog( int priority, char *format, ...)
>
> Now look what you've given them?
>
> priority logical_OR facility
> as first argument
>
>
> Let's take a look at the openlog() function:
>
> void openlog( char *ident, int option, int facility)
>
> Do we have facility with the numerical value of zero? I doubt.
>
It *does* work, I've cut and paste this code from the source of the
'logger' program, right form the Debian sources :) Of course it does not
work when it's linked with libstdc++, which is the issue...
Furthermore I've checked the glibc source hunting for the bug
(unsuccessfully) and the syntax '(priority | facility)' is legal :)
--
Farzad FARID
Administrateur Reseau
Publicis Technology
--
E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to listmaster@debian.org .
Reply to: