[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KDE 1.1.2, KDM implements crypt, although not necessary
From:       Michael Matz <matzmich () cs ! tu-berlin ! de>
Date:       1999-06-27 1:48:30
[Download RAW message or body]

Hi,

in kdebase/kdm/session.c last few lines, crypt() is implemented, if 
!HAVE_CRYPT_H (and other funny defines). On linux glibc1 Systems there is 
no crypt.h, but crypt() is defined in unistd.h, and also implemented in 
libc (at least on SuSE 5.x), so it gets first redefined in session.c 
(resulting in a prototype clash), and reimplemented, which is, erhh well, 
bogus.
I think it would be better if another configure-test for crypt() is added, 
not only for libcrypt, and crypt.h, and that unistd.h is included in 
session.h (if available, as tested by configure).

Ciao,
Micha.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic