=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sudo/Attic/goodpath.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/sudo/Attic/goodpath.c 1999/11/18 16:29:01 1.1 --- src/usr.bin/sudo/Attic/goodpath.c 2002/01/03 03:49:16 1.2 *************** *** 1,6 **** /* ! * Copyright (c) 1996, 1998, 1999 Todd C. Miller ! * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions --- 1,6 ---- /* ! * Copyright (c) 1996, 1998, 1999, 2001 ! * Todd C. Miller . All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions *************** *** 34,62 **** #include "config.h" #include - #ifdef HAVE_UNISTD_H - #include - #endif /* HAVE_UNISTD_H */ #ifdef HAVE_STRING_H ! #include #endif /* HAVE_STRING_H */ ! #ifdef HAVE_STRINGS_H ! #include ! #endif /* HAVE_STRINGS_H */ #include - #include - #include - #include #include "sudo.h" - #ifndef STDC_HEADERS - extern int stat __P((const char *, struct stat *)); - #endif /* !STDC_HEADERS */ - #ifndef lint ! static const char rcsid[] = "$Sudo: goodpath.c,v 1.37 1999/08/20 20:37:14 millert Exp $"; #endif /* lint */ /* --- 34,59 ---- #include "config.h" + #include + #include + #include #include #ifdef HAVE_STRING_H ! # include ! #else ! # ifdef HAVE_STRINGS_H ! # include ! # endif #endif /* HAVE_STRING_H */ ! #ifdef HAVE_UNISTD_H ! # include ! #endif /* HAVE_UNISTD_H */ #include #include "sudo.h" #ifndef lint ! static const char rcsid[] = "$Sudo: goodpath.c,v 1.38 2001/12/14 19:52:47 millert Exp $"; #endif /* lint */ /*