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

Diff for /src/usr.bin/sudo/Attic/parse.c between version 1.1 and 1.2

version 1.1, 1999/11/18 16:29:01 version 1.2, 1999/12/10 06:45:11
Line 50 
Line 50 
 #ifdef HAVE_STRINGS_H  #ifdef HAVE_STRINGS_H
 # include <strings.h>  # include <strings.h>
 #endif /* HAVE_STRINGS_H */  #endif /* HAVE_STRINGS_H */
 #if defined(HAVE_FNMATCH) && defined(HAVE_FNMATCH_H)  #ifdef HAVE_FNMATCH
 # include <fnmatch.h>  # include <fnmatch.h>
 #endif /* HAVE_FNMATCH_H */  #endif /* HAVE_FNMATCH_H */
 #ifdef HAVE_NETGROUP_H  #ifdef HAVE_NETGROUP_H
Line 91 
Line 91 
 #endif /* HAVE_FNMATCH */  #endif /* HAVE_FNMATCH */
   
 #ifndef lint  #ifndef lint
 static const char rcsid[] = "$Sudo: parse.c,v 1.121 1999/08/28 10:00:22 millert Exp $";  static const char rcsid[] = "$Sudo: parse.c,v 1.123 1999/12/09 03:54:57 millert Exp $";
 #endif /* lint */  #endif /* lint */
   
 /*  /*
Line 142 
Line 142 
      * Assume the worst.  If the stack is empty the user was       * Assume the worst.  If the stack is empty the user was
      * not mentioned at all.       * not mentioned at all.
      */       */
     error = VALIDATE_NOT_OK;      if (def_flag(I_AUTHENTICATE))
           error = VALIDATE_NOT_OK;
       else
           error = VALIDATE_NOT_OK | FLAG_NOPASS;
     if (check_cmnd == TRUE) {      if (check_cmnd == TRUE) {
         error |= FLAG_NO_HOST;          error |= FLAG_NO_HOST;
         if (!top)          if (!top)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2