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

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jun 28 06:10:21 PDT 2005


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





More information about the Commits mailing list