=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ranlib/Attic/touch.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/ranlib/Attic/touch.c 2009/10/27 23:59:42 1.7 --- src/usr.bin/ranlib/Attic/touch.c 2013/04/02 04:58:54 1.8 *************** *** 1,4 **** ! /* $OpenBSD: touch.c,v 1.7 2009/10/27 23:59:42 deraadt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: touch.c,v 1.8 2013/04/02 04:58:54 deraadt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. *************** *** 75,81 **** if (lseek(afd, size, SEEK_SET) == (off_t)-1) error(archive); (void)snprintf(buf, sizeof buf, ! "%-12ld", (long int)time((time_t *)NULL) + RANLIBSKEW); if (write(afd, buf, sizeof(hdr->ar_date)) != sizeof(hdr->ar_date)) error(archive); } --- 75,81 ---- if (lseek(afd, size, SEEK_SET) == (off_t)-1) error(archive); (void)snprintf(buf, sizeof buf, ! "%-12lld", (long long)time((time_t *)NULL) + RANLIBSKEW); if (write(afd, buf, sizeof(hdr->ar_date)) != sizeof(hdr->ar_date)) error(archive); }