Re: Hamm bug: syslog() does not work together with libstdc++

1998-03-09 Thread Martin Schulze
On Mon, Mar 09, 1998 at 03:07:50PM +0100, Farzad FARID wrote: > 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 Args. Seems I should take a look at that guy. > work when it's linked with libstdc++, w

Re: Hamm bug: syslog() does not work together with libstdc++

1998-03-09 Thread Farzad FARID
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() funct

Re: Hamm bug: syslog() does not work together with libstdc++

1998-03-09 Thread Martin Schulze
On Fri, Mar 06, 1998 at 07:48:06PM +0100, Farzad FARID wrote: > development environment is Debian hamm with libc6 version 2.0.7pre1-2 and > libg++272 version 2.7.2.8-0.1. > If I link my C++ program without any g++ libraries syslog works. > If I link my C++ program with '-lstdc++' syslog does not

Hamm bug: syslog() does not work together with libstdc++

1998-03-06 Thread Farzad FARID
I'm writing a C++ program that has to use the syslog facility. The development environment is Debian hamm with libc6 version 2.0.7pre1-2 and libg++272 version 2.7.2.8-0.1. If I link my C++ program without any g++ libraries syslog works. If I link my C++ program with '-lstdc++' syslog does not wo