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

Diff for /src/usr.bin/sudo/Attic/sudo.c between version 1.45 and 1.46

version 1.45, 2013/03/19 00:48:08 version 1.46, 2013/04/29 00:28:23
Line 1128 
Line 1128 
   
     if (fp != NULL) {      if (fp != NULL) {
         rewind(fp);          rewind(fp);
         (void) fcntl(fileno(fp), F_SETFD, 1);          (void) fcntl(fileno(fp), F_SETFD, FD_CLOEXEC);
     }      }
   
     set_perms(PERM_ROOT);               /* change back to root */      set_perms(PERM_ROOT);               /* change back to root */

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46