--- slang-2.0.5/src/slcommon.c.nointerlibc 2005-10-17 08:00:18.000000000 +0200 +++ slang-2.0.5/src/slcommon.c 2005-11-21 14:26:28.000000000 +0100 @@ -191,19 +191,19 @@ return p; } -#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) -extern int __libc_enable_secure; -# define HAVE___LIBC_ENABLE_SECURE 1 -#endif +/* #if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) */ +/* extern int __libc_enable_secure; */ +/* # define HAVE___LIBC_ENABLE_SECURE 1 */ +/* #endif */ int _pSLsecure_issetugid (void) { #ifdef HAVE_ISSETUGID return (1 == issetugid ()); #else -# ifdef HAVE___LIBC_ENABLE_SECURE - return __libc_enable_secure; -# else +/* # ifdef HAVE___LIBC_ENABLE_SECURE */ +/* return __libc_enable_secure; */ +/* # else */ # if defined(HAVE_GETUID) && defined(HAVE_GETEUID) && defined(HAVE_GETGID) && defined(HAVE_GETEUID) static int enable_secure; if (enable_secure == 0) @@ -218,7 +218,7 @@ # else return 0; # endif -# endif +/* # endif */ #endif }