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

Diff for /src/usr.bin/cvs/diff.c between version 1.71 and 1.72

version 1.71, 2005/12/10 20:27:45 version 1.72, 2005/12/20 18:17:00
Line 675 
Line 675 
         cvs_printf(" %s\n", diff_file);          cvs_printf(" %s\n", diff_file);
         strlcpy(path_tmp1, cvs_tmpdir, sizeof(path_tmp1));          strlcpy(path_tmp1, cvs_tmpdir, sizeof(path_tmp1));
         strlcat(path_tmp1, "/diff1.XXXXXXXXXX", sizeof(path_tmp1));          strlcat(path_tmp1, "/diff1.XXXXXXXXXX", sizeof(path_tmp1));
         if (cvs_buf_write_stmp(b1, path_tmp1, 0600) == -1) {          cvs_buf_write_stmp(b1, path_tmp1, 0600);
                 cvs_buf_free(b1);  
                 cvs_buf_free(b2);  
                 return (CVS_EX_DATA);  
         }  
         cvs_buf_free(b1);          cvs_buf_free(b1);
         if (utimes(path_tmp1, (const struct timeval *)&tv) < 0)          if (utimes(path_tmp1, (const struct timeval *)&tv) < 0)
                 cvs_log(LP_ERRNO, "error setting utimes");                  cvs_log(LP_ERRNO, "error setting utimes");

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72