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

Diff for /src/usr.bin/cvs/logmsg.c between version 1.44 and 1.45

version 1.44, 2007/09/04 17:57:41 version 1.45, 2007/09/25 10:04:47
Line 23 
Line 23 
 #include <fcntl.h>  #include <fcntl.h>
 #include <paths.h>  #include <paths.h>
 #include <signal.h>  #include <signal.h>
   #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
   
Line 99 
Line 100 
   
         (void)xasprintf(&fpath, "%s/cvsXXXXXXXXXX", cvs_tmpdir);          (void)xasprintf(&fpath, "%s/cvsXXXXXXXXXX", cvs_tmpdir);
   
         if ((fd = mkstemp(fpath)) == NULL)          if ((fd = mkstemp(fpath)) == -1)
                 fatal("cvs_logmsg_create: mkstemp %s", strerror(errno));                  fatal("cvs_logmsg_create: mkstemp %s", strerror(errno));
   
         cvs_worklist_add(fpath, &temp_files);          cvs_worklist_add(fpath, &temp_files);

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