/[cvs]/ccvs/src/filesubr.c
ViewVC logotype

Diff of /ccvs/src/filesubr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.59.4.17 by scjones, Fri Sep 2 19:37:33 2005 UTC revision 1.59.4.18 by dprice, Thu Sep 22 18:13:26 2005 UTC
# Line 107  copy_file (from, to) Line 107  copy_file (from, to)
107              error (1, errno, "cannot close %s", to);              error (1, errno, "cannot close %s", to);
108      }      }
109    
110      /* now, set the times for the copied file to match those of the original */      /* preserve last access & modification times */
111      memset ((char *) &t, 0, sizeof (t));      memset ((char *) &t, 0, sizeof (t));
112      t.actime = sb.st_atime;      t.actime = sb.st_atime;
113      t.modtime = sb.st_mtime;      t.modtime = sb.st_mtime;

Legend:
Removed from v.1.59.4.17  
changed lines
  Added in v.1.59.4.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26