home *** CD-ROM | disk | FTP | other *** search
- *** cpmod.c.orig Mon Oct 19 14:42:50 1992
- --- cpmod.c Mon Oct 19 14:46:25 1992
- ***************
- *** 11,16 ****
- --- 11,33 ----
- #include <sys/stat.h>
- #include <sys/time.h>
-
- + #ifdef hpux
- +
- + /* SCO has timevals, but uses sys V utime */
- +
- + #include <utime.h>
- +
- + utimes (name, tvp)
- + char *name;
- + struct timeval tvp[];
- + {
- + struct utimbuf utb;
- + utb.actime = tvp[0].tv_sec;
- + utb.modtime = tvp[1].tv_sec;
- + utime (name, &utb);
- + }
- + #endif /* hpux */
- +
- main (argc, argv)
- int argc;
- char **argv;
-