[BACK]Return to goodpath.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Diff for /src/usr.bin/sudo/Attic/goodpath.c between version 1.1.1.1 and 1.1.1.1.8.1

version 1.1.1.1, 1999/11/18 16:29:01 version 1.1.1.1.8.1, 2002/01/18 16:14:46
Line 1 
Line 1 
 /*  /*
  * Copyright (c) 1996, 1998, 1999 Todd C. Miller <Todd.Miller@courtesan.com>   * Copyright (c) 1996, 1998, 1999, 2001
  * All rights reserved.   *      Todd C. Miller <Todd.Miller@courtesan.com>.  All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions   * modification, are permitted provided that the following conditions
Line 34 
Line 34 
   
 #include "config.h"  #include "config.h"
   
   #include <sys/types.h>
   #include <sys/stat.h>
   #include <sys/param.h>
 #include <stdio.h>  #include <stdio.h>
 #ifdef HAVE_UNISTD_H  
 #include <unistd.h>  
 #endif /* HAVE_UNISTD_H */  
 #ifdef HAVE_STRING_H  #ifdef HAVE_STRING_H
 #include <string.h>  # include <string.h>
   #else
   # ifdef HAVE_STRINGS_H
   #  include <strings.h>
   # endif
 #endif /* HAVE_STRING_H */  #endif /* HAVE_STRING_H */
 #ifdef HAVE_STRINGS_H  #ifdef HAVE_UNISTD_H
 #include <strings.h>  # include <unistd.h>
 #endif /* HAVE_STRINGS_H */  #endif /* HAVE_UNISTD_H */
 #include <errno.h>  #include <errno.h>
 #include <sys/types.h>  
 #include <sys/stat.h>  
 #include <sys/param.h>  
   
 #include "sudo.h"  #include "sudo.h"
   
 #ifndef STDC_HEADERS  
 extern int stat         __P((const char *, struct stat *));  
 #endif /* !STDC_HEADERS */  
   
 #ifndef lint  #ifndef lint
 static const char rcsid[] = "$Sudo: goodpath.c,v 1.37 1999/08/20 20:37:14 millert Exp $";  static const char rcsid[] = "$Sudo: goodpath.c,v 1.38 2001/12/14 19:52:47 millert Exp $";
 #endif /* lint */  #endif /* lint */
   
 /*  /*

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.8.1