-$Id: CHANGES,v 1.305 2009/09/07 08:51:04 stelian Exp $
+$Id: CHANGES,v 1.306 2009/12/03 12:46:29 stelian Exp $
Changes between versions 0.4b42 and 0.4b43 (released ?????????????)
===================================================================
(this also fixes a build failure when selinux libraries are
not installed).
+4. Fix restoration of extended attributes of fifos and device nodes.
+ Thanks to Igor Zhbanov <izh1979@gmail.com> for the bug report.
+
Changes between versions 0.4b41 and 0.4b42 (released June 18, 2009)
===================================================================
#ifndef lint
static const char rcsid[] =
- "$Id: tape.c,v 1.93 2009/07/23 14:10:39 stelian Exp $";
+ "$Id: tape.c,v 1.94 2009/12/03 12:46:30 stelian Exp $";
#endif /* not lint */
#include <config.h>
case IFIFO:
Vprintf(stdout, "extract fifo %s\n", name);
- if (Nflag) {
- skipfile();
+ skipfile();
+ if (Nflag)
return (GOOD);
- }
if (! (spcl.c_flags & DR_METAONLY)) {
if (uflag && !Nflag)
(void)unlink(name);
if (mkfifo(name, mode) < 0) {
warn("%s: cannot create fifo", name);
- skipfile();
return (FAIL);
}
}
(void) chflags(name, flags);
#endif
#endif
- skipfile();
return (GOOD);
case IFCHR:
case IFBLK:
Vprintf(stdout, "extract special file %s\n", name);
- if (Nflag) {
- skipfile();
+ skipfile();
+ if (Nflag)
return (GOOD);
- }
if (! (spcl.c_flags & DR_METAONLY)) {
if (uflag)
(void)unlink(name);
if (mknod(name, mode, (int)curfile.dip->di_rdev) < 0) {
warn("%s: cannot create special file", name);
- skipfile();
return (FAIL);
}
}
}
#endif
#endif
- skipfile();
return (GOOD);
case IFREG: