=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/oldrdist/Attic/docmd.c,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/oldrdist/Attic/docmd.c 1997/11/05 09:43:39 1.9 --- src/usr.bin/oldrdist/Attic/docmd.c 1997/11/16 18:51:59 1.10 *************** *** 1,4 **** ! /* $OpenBSD: docmd.c,v 1.9 1997/11/05 09:43:39 deraadt Exp $ */ /* * Copyright (c) 1983, 1993 --- 1,4 ---- ! /* $OpenBSD: docmd.c,v 1.10 1997/11/16 18:51:59 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.9 1997/11/05 09:43:39 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.10 1997/11/16 18:51:59 deraadt Exp $"; #endif /* not lint */ #include "defs.h" *************** *** 401,407 **** if ((fd = open(tempfile, O_CREAT|O_EXCL|O_WRONLY, 0600)) < 0 || (tfp = fdopen(fd, "w")) == NULL) { ! error("%s: %s\n", stamp, strerror(errno)); if (fd >= 0) (void) close(fd); return; --- 401,407 ---- if ((fd = open(tempfile, O_CREAT|O_EXCL|O_WRONLY, 0600)) < 0 || (tfp = fdopen(fd, "w")) == NULL) { ! error("%s: %s\n", tempfile, strerror(errno)); if (fd >= 0) (void) close(fd); return;