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() 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 [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


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 work at all...

 Here is a sample program I wrote to demonstrate the bug :

test-syslog.cc:
#include syslog.h 
 
int main(int argc, char **argv) { 
if (argc == 1) 
return 0; 
openlog(argv[0], LOG_PID, 0); 
 
for (++argv ; *argv ; ++argv) 
syslog(LOG_LOCAL0 | LOG_NOTICE, *argv); 
return 0; 
} 

If it is compiled with 'gcc -o test-syslog test-syslog.cc' the program
will correctly write its parameters to the syslog files.

If I use the command 'gcc -o test-syslog test-syslog.cc -lstdc++' it
won't...

 Can anyone tell me where the problem is and how I can solve it? Is this a
libc6 or libg++ bug?

 Thanks.

--
Farzad FARID
Administrateur Reseau
Publicis Technology


--
E-mail the word unsubscribe to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Is the libXt security hole fixed in Debian 1.3?

1997-06-02 Thread Farzad FARID
 Is the XFree86 3.2 provided with the soon to be released Debian 1.3 free
from the recently announced security hole?

--
Farzad FARID
Administrateur Reseau
SGIP - Publicis


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: slackware,redhat-debian

1997-04-20 Thread Farzad FARID
On Sat, 19 Apr 1997, Douglas L Stewart wrote:

 I've got two machines, one slackware 3.0 (I think), and the other is
 redhat 3.0.3 that I want to move to debian.  The problem is that they're
 too far away and I can't get in front of them in person, so wiping the box
 and installing from scratch really isn't an option.
 
 Does anyone have any suggestions about how I can put on dpkg and slowly
 install debian packages until I borg borg borg the machines?  I assume
 dpkg is available in something like a .tar.gz that I can compile and put
 on the boxes, and from there I can just start installing package after
 package.

 I've done this on 3 Slackware machines as a temporary solution before I
reinstall them totally with a debian distribution. It's not too hard to
do but you have to bear in mind that it is not a real debian: the passwd
and group files do not match at all, the init scripts won't work, etc. But
it works perfectly for the simplest packages (ldso, libc, gdbm, db, dump,
flex, perl, etc. And even fvwm95 with a bit of config hacking).

 I'll post here a  summary of the instructions to do this later this week.

--
Farzad FARID
Administrateur Reseau
SGIP - Publicis


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ALT+CTRL+BS dangerous to X server

1997-01-21 Thread Farzad FARID
On Tue, 21 Jan 1997, Christian Lynbech wrote:

 Apparently, the keyboard combinbation of ALT+CTRL+Backspace is set up
 to kill the X server. 
 
 Is there any way to rebind/remove this feature? 

Use the DontZap flag in the XF86Config file. See 'man XF86Config'.

[...]
   DontZap This  disallows  the use of the Ctrl+Alt+Backspace
   sequence.  This sequence allows you  to  terminate
   the  X  server.   Setting  DontZap allows this key
   sequence to be passed to clients.
[...]

--
Farzad FARID
Administrateur Reseau
SGIP - Publicis


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: cdrom problem during installation

1996-12-25 Thread Farzad FARID
On Tue, 24 Dec 1996, Bruce Perens wrote:

 Gee, these CD drivers are no fun at all. Did you try placing a CD in the 
 drive?
 (or removing the CD?).
 

 I had the same problem at home with my ATAPI CDROM (Sony CDU77E), the
installation program would eventually go on after a long time, but as this
program probes the disks often it was quite unsusable. Putting a CD in the
drive does solve the problem. My computer at work has got a Toshiba ATAPI
CDROM player and does not show this problem.
 It think the installation instructions should talk about this problem and
give the fix. It's better than releasing yet another boot disk with no
CDROM support at all, uh? :)

--
Farzad FARID
Administrateur Reseau
SGIP - Publicis


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: 1.2 release?

1996-12-14 Thread Farzad FARID
On Fri, 13 Dec 1996, Bruce Perens wrote:

 1.2 is released. The announcement went out yesterday on debian-announce
 and various other venues.
 
 There are two companies selling CD-writables of Debian today:
 
   Dale Scheetz [EMAIL PROTECTED]
   I-Connect Co. [EMAIL PROTECTED]
 
 Infomagic is coming out with a CD set with 1.2 on it. This CD has already
 been mastered, and I don't know how long duplication will take.

Will these CD include only Debian 1.2 or does one of these companies also
provide a snapshot of 'bo'? 

--
Farzad FARID
Administrateur Reseau
SGIP - Publicis


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Debian Boot Problem

1996-12-10 Thread Farzad FARID
On Tue, 10 Dec 1996, Butch Kemper wrote:

 I have a problem booting the Debian Kernel 2.0.25 as it hangs with this on
 the screent:
 
 GSCD: Version 0.4a Oliver Raupach   ...
 GSCD: Trying to detect a Goldstar R420   ..
 GSCD: GoldStar Interfac Adapter does not exist or H/W error
 $id: cm206.c,v 0.99.1.1 1996/08/11 10:35:01 david Exp $
 
 The cursor is left following the last  $.
 
 This problem occurs with the boot disks and the the system I built.
 
 The boot disk will comeup on another system but not this one.

 Same for me, the new 1.2 boot floppy (1996-12-8) will crash on my
computer at this point but not on some other computers. 

 It bothers me that some computers can't boot with this floppy disk. Bruce
what is more important? To provide support for people who will install
debian 1.2 with a cm206 cdrom player or to provide a boot floppy that will
have less chances of crashing? Is the base of installed cm206 important
enough to justify that others (like me) can't install Debian 1.2 at all? :)
 Maybe the default base IO probing of the cm206 (#define CM206_BASE 0x340) 
is too agressive? Could it be changed in the built kernel? Will alternate
1.2 boot floppies be provided? 

 Regards.

--
Farzad FARID
Administrateur Reseau
SGIP - Publicis





--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


dpkg keeps using the 'msdos-i386' directory...

1996-12-08 Thread Farzad FARID
Today I tried running dpkg (version 1.4.0.3) on a local debian mirror. The
mirror is up to date. I get this error message:

22:52 [root:p3] sgip038:~# dselect
Running dpkg -iGROEB /debian/unstable
find: /debian/unstable/msdos-i386/games/fortune.deb: No such file or directory
dpkg: subprocess find returned error exit status 1

installation script returned error exit status 1.
Press RETURN to continue.
 
 It's not the first time it happens to me, it happens ever since I
reinstalled my system with the 1996-11-28 1.2 disk set.
 Why does dselect keep trying to install packages from msdos-i386? And why
is this link missing anyway?
 Does it have something to do with the fact that last friday my dselect
kept looping endlessly?
 

--
Farzad FARID
Administrateur Reseau
SGIP - Publicis


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


No new package in the 'unstable' dir since May 18th..

1996-05-30 Thread Farzad FARID
 I know the updated packages are all uploaded in the incoming directory of 
master.debian.org but since that date they never show up in the 
'unstable' directory. Why?
 I use a local mirror with NFS to do my testings. Not having an up-to-date
hierarchy and Packages file makes things a bit harder. 

--
Farzad FARID
Administrateur Reseau
SGIP - Publicis