christos
daa5207d25
Fix reversed test (thanks phone@)
2021-08-29 09:17:58 +00:00
christos
670efce4f5
fix wrong size (thanks mlelstv@)
2021-08-29 09:15:33 +00:00
christos
e2325e1f91
Add external attribute dumping and restoring support from FreeBSD.
...
Does not fully work yet, attributes are being saved and restored correctly,
but don't appear in the restored files somehow.
2021-06-19 13:56:34 +00:00
mrg
fbffadb9f8
- add or adjust /* FALLTHROUGH */ where appropriate
...
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
2019-02-03 03:19:25 +00:00
dholland
dcd34a91c5
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
...
pollution. Specifically:
ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NXADDR -> UFS_NXADDR
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.
No functional change intended.
2013-01-22 09:39:11 +00:00
lukem
292ab8c29d
fix sign-compare issues
2009-04-07 12:38:12 +00:00
christos
746c5b06eb
Convert a couple of "(void)&" constructs to volatile.
...
Flag various unused parameters in restore and dump so that these will
compile with -Wextra. (Note: restore uses some stuff from dump.)
2006-12-18 20:07:32 +00:00
christos
982d8230de
use d_fileno instead of d_ino for consistency
2005-08-19 06:44:06 +00:00
christos
c4ee9f6d2e
64 bit inode changes
2005-08-19 02:07:18 +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
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
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
christos
abc5ad9724
fix nested extern
2001-02-04 21:38:01 +00:00
erh
4a3cd0cce2
Make quoted strings work. (don't set the high bit of each character)
1999-02-09 08:55:24 +00:00
lukem
75ea7b3f7e
user friendly enhancments.
...
reworked from [bin/6710] by Brian Grayson <bgrayson@ece.utexas.edu>
1999-01-03 01:50:34 +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
8c5cee237e
* use mkstemp() instead of mktemp()
...
* remove "register" qualifiers
1997-03-19 08:42:51 +00:00
cgd
0114e805ce
convert to new RCS Id conventions; reduce my headache
1995-03-18 14:54:19 +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
0c1f0c97eb
Don't mix stat flags and inode flags.
1995-01-30 20:32:01 +00:00
mycroft
33ea52b638
Mostly sync with CSRG.
1994-12-28 02:21:43 +00:00
mycroft
ea7b5d4ec6
Eliminate uses of some obsolete functions.
1994-09-23 14:26:58 +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