freebsd-dev/sbin/restore
Maxim Konovalov ac5cc9e9bc A bunch of fixes from NetBSD:
o Restore owner/group/mode/atime/mtime of symbolic links, rev. 1.30.
o Extract file flags of symbolic link, rev. 1.42.
o Call getfile() before altering file attributes.
  Open file with mode 0600 instead of 0666 so that file won't remain
  group or world readable/writable even if getfile() terminated.
  Move skipfile() before altering file attributes in IF{CHR,BLK} and
  IFIFO case for symmetry, rev. 1.32.
o Use file mode 0600 when creating special file or fifo, revs. 1.33, 1.34.

o Remove redundant -N check.

PR:		bin/101660
Submitted by:	Andrey V. Elsukov
Obtained from:	NetBSD, enami@netbsd
MFC after:	6 weeks
2006-08-25 05:46:47 +00:00
..
dirs.c Remove debug from last commit 2005-04-03 16:35:58 +00:00
extern.h Use the correct types for the functions rst_opendir(), glob_readdir() and 2004-05-24 16:24:26 +00:00
interactive.c Interpret correctly the glob(3) return value. 2005-07-21 16:12:35 +00:00
main.c rscid -> __FBSDID. Mark parameter as __unused when necessary. 2005-05-29 15:57:00 +00:00
Makefile Revert bogus += -g change. I needed it to debug the problem. 2005-03-25 17:30:20 +00:00
restore.8 Remove a diagnostic message that can't occur: we lost the ability to 2005-10-20 11:20:55 +00:00
restore.c rscid -> __FBSDID. Mark parameter as __unused when necessary. 2005-05-29 15:57:00 +00:00
restore.h /*- 2005-04-03 05:18:28 +00:00
symtab.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
tape.c A bunch of fixes from NetBSD: 2006-08-25 05:46:47 +00:00
utilities.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00