=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/oldrdist/Attic/docmd.c,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/oldrdist/Attic/docmd.c 1997/02/09 19:24:56 1.8 --- src/usr.bin/oldrdist/Attic/docmd.c 1997/11/05 09:43:39 1.9 *************** *** 1,4 **** ! /* $OpenBSD: docmd.c,v 1.8 1997/02/09 19:24:56 deraadt Exp $ */ /* * Copyright (c) 1983, 1993 --- 1,4 ---- ! /* $OpenBSD: docmd.c,v 1.9 1997/11/05 09:43:39 deraadt Exp $ */ /* * Copyright (c) 1983, 1993 *************** *** 35,41 **** #ifndef lint /* from: static char sccsid[] = "@(#)docmd.c 8.1 (Berkeley) 6/9/93"; */ ! static char *rcsid = "$OpenBSD: docmd.c,v 1.8 1997/02/09 19:24:56 deraadt Exp $"; #endif /* not lint */ #include "defs.h" --- 35,41 ---- #ifndef lint /* from: static char sccsid[] = "@(#)docmd.c 8.1 (Berkeley) 6/9/93"; */ ! static char *rcsid = "$OpenBSD: docmd.c,v 1.9 1997/11/05 09:43:39 deraadt Exp $"; #endif /* not lint */ #include "defs.h" *************** *** 376,382 **** register struct namelist *f; register char **cpp; struct timeval tv[2]; - struct timezone tz; struct stat stb; if (debug) --- 376,381 ---- *************** *** 407,413 **** (void) close(fd); return; } ! (void) gettimeofday(&tv[0], &tz); tv[1] = tv[0]; (void) utimes(stamp, tv); } --- 406,412 ---- (void) close(fd); return; } ! (void) gettimeofday(&tv[0], NULL); tv[1] = tv[0]; (void) utimes(stamp, tv); }