christos
731d9b0c04
Coverity CID 2305: Fix memory leak.
2006-03-20 01:51:54 +00:00
christos
cb1c4f11bb
sprinkle const.
2005-06-27 01:55:52 +00:00
xtraeme
f224c38b66
Kill __P(), use ANSI function declarations.
2005-02-17 15:00:33 +00:00
fredb
57aad81b8e
Make a judicious choice as to whether to apply the permissions
...
of the root inode of the dump to the current working directory,
rather than interrogate the user. Closes PR bin/24690. Reviewed
by bouyer, tron, imp.
2005-01-08 14:30:39 +00:00
wiz
3d110d313a
Sort options in usage.
2004-10-24 17:01:07 +00:00
bouyer
0a0bd752e8
Add an option (-M) to write a mtree specification (which needs to be passed
...
through sort before being feed to mtree) with file flags, instead of restoring
file flags at the same time as other attributes. Fix various issue with
schg, uchg, sappnd or uappnd flags which cause restore to fail in some case.
Discussed on tech-userlevel:
http://mail-index.netbsd.org/tech-userlevel/2004/10/12/0000.html
2004-10-22 22:38:38 +00:00
wiz
816f9f8757
Add -D to usage; shorten -b argument for usage's sake; format usage.
...
Man page nits.
2004-07-27 14:20:11 +00:00
enami
047e7ad434
Whitespace nits.
2004-07-27 02:20:56 +00:00
enami
5d75faa43f
Add -D flag which computes the digest of each regular files in the archive
...
using specified algorithm (currently md5, rmd160 or sha1) and write them
to standard output.
2004-07-27 02:17:06 +00:00
agc
276d62f603
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:22 +00:00
enami
89e4128421
Don't allocate struct entry one by one; it just wastes memory.
2002-11-18 04:28:03 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
enami
9974e53bda
Force -t or -N flag disables -u flag (but -t case is just for sanity).
2000-06-09 09:05:02 +00:00
drochner
85cbf55d16
Since our gcc doesn't warn about NULL format strings anymore, we can
...
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
christos
eb5a542716
Add an unlink (-u) flag so that we can use this for installs.
1998-06-24 19:56:11 +00:00
enami
e3c03cb969
Document some undocumented options (-d and -N) and commands
...
in interactive mode (?, xit and Debug).
1998-01-10 08:27:54 +00:00
lukem
7120b2eafb
resolve conflicts from lite-2 merge
1997-09-16 13:44:12 +00:00
lukem
8b03c7fc43
* cleanup for WARNS=1
...
* fix use of .Nm
1997-09-15 08:04:28 +00:00
lukem
7da56091ad
as inspired by a commit message of Todd Miller <millert@cvs.openbsd.org>:
...
* cleanup a bit for -Wall
* use __progname instead of "restore"
1997-07-06 08:51:28 +00:00
lukem
a260da3f8b
Support using $TMPDIR for rst{dir,modes}* files, so that large
...
restores can be done on machines with small /tmp's by setting TMPDIR
elsewhere. This shouldn't be a security issue as restore(8) isn't
set?id anymore.
1997-07-01 05:37:49 +00:00
lukem
ceb1313a6a
use _PATH_DEFTAPE from <paths.h> instead of "pathnames.h"
...
cleanup references/examples to use /dev/rst* instead of /dev/rmt*
minor .Nm usage cleanup in man page
1997-04-15 07:12:19 +00:00
scottr
ef8a0d774c
Be more paranoid with our effective uid.
1996-03-15 22:39:26 +00:00
mrg
aa6f27003a
support $TAPE.
1996-02-06 00:00:22 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +00:00
mycroft
1e81015d0c
Document the getopt(3) option syntax, and some other documentation cleanup.
1995-02-21 01:17:40 +00:00
mycroft
d8b173be70
Use atexit() rather than tweaking every exit() to call the cleanup function.
1995-02-20 19:43:51 +00:00
mycroft
f7078d4f16
Fix core dumps on certain types of invalid options.
1995-02-20 18:42:14 +00:00
mycroft
33ea52b638
Mostly sync with CSRG.
1994-12-28 02:21:43 +00:00
mycroft
625a6892f7
Update from 4.4-Lite, with local changes.
1994-06-08 19:27:32 +00:00
cgd
3e75cabcd4
new version from CSRG, via BSDI, with fixes
1993-12-22 10:31:38 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00