X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=compat%2Flib%2Fcompatglob.c;h=8cf77eaa96447a97c8683aca3702aec8ee261482;hb=26ce8fc8f42b8cdd92e9eaadae48be256813b001;hp=23fc61c9af346a7fd4d6ab16720b8ce4b698351f;hpb=5d2a3d246d400d45dfd4c49ddb588c69fb60873d;p=dump.git diff --git a/compat/lib/compatglob.c b/compat/lib/compatglob.c index 23fc61c..8cf77ea 100644 --- a/compat/lib/compatglob.c +++ b/compat/lib/compatglob.c @@ -21,11 +21,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -69,10 +65,11 @@ #ifndef lint static const char rcsid[] = - "$Id: compatglob.c,v 1.8 2002/01/25 15:08:59 stelian Exp $"; + "$Id: compatglob.c,v 1.10 2003/10/26 16:05:46 stelian Exp $"; #endif /* not lint */ #include +#include #ifndef HAVE_GLOB @@ -362,7 +359,7 @@ globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob) * the password file */ if ( -#ifndef __linux__ +#if !defined(__linux__) && !defined(sunos) #ifndef __NETBSD_SYSCALLS issetugid() != 0 || #endif