ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/fdate.c
(Generate patch)

Comparing ray/src/common/fdate.c (file contents):
Revision 2.3 by greg, Mon Nov 22 09:31:59 1993 UTC vs.
Revision 2.4 by greg, Mon Oct 24 13:47:25 1994 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1993 Regents of the University of California */
1 > /* Copyright (c) 1994 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 22 | Line 22 | char  *fname;
22                  return(0);
23  
24          return(sbuf.st_mtime);
25 + }
26 +
27 +
28 + int
29 + setfdate(fname, ftim)                   /* set file date */
30 + char  *fname;
31 + long  ftim;
32 + {
33 +        time_t  ftm[2];
34 +
35 +        ftm[0] = ftm[1] = ftim;
36 +
37 +        return(utime(fname, ftm));
38   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines