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

Diff for /src/usr.bin/chpass/chpass.c between version 1.27 and 1.28

version 1.27, 2003/06/03 02:56:06 version 1.28, 2003/07/01 01:01:28
Line 53 
Line 53 
 #include <err.h>  #include <err.h>
 #include <errno.h>  #include <errno.h>
 #include <fcntl.h>  #include <fcntl.h>
   #include <paths.h>
 #include <pwd.h>  #include <pwd.h>
 #include <signal.h>  #include <signal.h>
 #include <stdio.h>  #include <stdio.h>
Line 62 
Line 63 
 #include <util.h>  #include <util.h>
   
 #include "chpass.h"  #include "chpass.h"
 #include "pathnames.h"  
   
 extern char *__progname;  extern char *__progname;
   
Line 173 
Line 173 
   
         /* Edit the user passwd information if requested. */          /* Edit the user passwd information if requested. */
         if (op == EDITENTRY) {          if (op == EDITENTRY) {
                 char tempname[] = __CONCAT(_PATH_VARTMP,"pw.XXXXXXXX");                  char tempname[] = __CONCAT(_PATH_VARTMP,"pw.XXXXXXXXXX");
                 int edit_status;                  int edit_status;
   
                 dfd = mkstemp(tempname);                  dfd = mkstemp(tempname);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28