=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/diff/diffreg.c,v retrieving revision 1.29 retrieving revision 1.30 diff -c -r1.29 -r1.30 *** src/usr.bin/diff/diffreg.c 2003/07/08 04:45:32 1.29 --- src/usr.bin/diff/diffreg.c 2003/07/08 04:51:30 1.30 *************** *** 1,4 **** ! /* $OpenBSD: diffreg.c,v 1.29 2003/07/08 04:45:32 millert Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. --- 1,4 ---- ! /* $OpenBSD: diffreg.c,v 1.30 2003/07/08 04:51:30 millert Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. *************** *** 65,71 **** */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: diffreg.c,v 1.29 2003/07/08 04:45:32 millert Exp $"; #endif /* not lint */ #include --- 65,71 ---- */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: diffreg.c,v 1.30 2003/07/08 04:51:30 millert Exp $"; #endif /* not lint */ #include *************** *** 311,317 **** status |= 2; goto closem; } ! } else if (!S_ISREG(stb1.st_mode)) { file2 = copytemp(file2, 2); if (file2 == NULL || stat(file2, &stb2) < 0) { warn("%s", file2); --- 311,317 ---- status |= 2; goto closem; } ! } else if (!S_ISREG(stb2.st_mode)) { file2 = copytemp(file2, 2); if (file2 == NULL || stat(file2, &stb2) < 0) { warn("%s", file2);