-$Id: CHANGES,v 1.213 2003/02/11 09:26:34 stelian Exp $
+$Id: CHANGES,v 1.214 2003/02/11 09:56:46 stelian Exp $
Changes between versions 0.4b33 and 0.4b34 (released ?????????????????)
=======================================================================
with old build environments. Thanks to Kari Lempiainen
<kari@funky.pp.fi> for reporting the bug.
+3. Fixed restore to correctly ignore sockets when comparing
+ a dump (as socket cannot be properly restored anyway). Thanks
+ to <gunther@mit.edu> for reporting the bug.
+
Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
=======================================================================
#ifndef lint
static const char rcsid[] =
- "$Id: tape.c,v 1.67 2003/01/10 14:42:51 stelian Exp $";
+ "$Id: tape.c,v 1.68 2003/02/11 09:56:48 stelian Exp $";
#endif /* not lint */
#include <config.h>
struct STAT stemp;
#endif
+ curfile.name = name;
+ curfile.action = USING;
+ mode = curfile.dip->di_mode;
+
+ if ((mode & IFMT) == IFSOCK) {
+ Vprintf(stdout, "skipped socket %s\n", name);
+ skipfile();
+ return;
+ }
+
if ((r = LSTAT(name, &sb)) != 0) {
warn("%s: does not exist (%d)", name, r);
do_compare_error;
return;
}
- curfile.name = name;
- curfile.action = USING;
- mode = curfile.dip->di_mode;
-
Vprintf(stdout, "comparing %s (size: %ld, mode: 0%o)\n", name,
(long)sb.st_size, mode);