DragonFly BSD
DragonFly commits List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/include ctype.h src/lib/libcrypt Makefile src/lib/libskey Makefile src/lib/libutil Makefile


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 28 Jun 2005 15:09:06 +0200
Mail-followup-to: commits@crater.dragonflybsd.org

On Mon, Jun 27, 2005 at 01:27:38PM -0700, Matthew Dillon wrote:
> dillon      2005/06/27 13:27:38 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     include              ctype.h 
>     lib/libcrypt         Makefile 
>     lib/libskey          Makefile 
>     lib/libutil          Makefile 
>   Log:
>   Allow the CTYPE macros to be disabled, forcing procedure calls to be used
>   instead.
>   
>   Disable the CTYPE macros in libskey, libutil, and libcrypt.  This allows
>   pre-1.3 programs linked against libc.so.3 to use the PAM modules in HEAD.
>   these modules indirectly reference libskey, libutil, and libcrypt, which
>   then fail to dynamically link against libc.so.3 due to references to
>   ctype globals that do not exist in libc.so.3.
>   
>   This is a hack, I know, but we have to make upgrades as compatible as
>   possible with older programs.

Please back this out, it is just incorrect and can result in random segfaults.
It doesn't handle e.g. errno which is used by libskey and possible other changes
still planned.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]