Commit Graph

65 Commits

Author SHA1 Message Date
lukem
bca417d8e4 use %ll_ instead of the less standard %q_ 2001-01-05 03:54:34 +00:00
ad
97053d8364 Add a `-y' option which filters archives through bzip2(1). 2000-07-05 11:57:57 +00:00
kleink
5f8a717928 Change tot_written from u_quad_t to unsigned long long for portability's
sake.
2000-06-26 08:25:34 +00:00
hubertf
12b34d4ffe Only skip some bytes if the associated object is not a dir.
Needed for some tar files.

Fixes PR 9274 by Giles Lean <giles@nemeton.com.au>
2000-01-22 14:04:15 +00:00
wiz
6ed33701a8 fixed typo in example (fixes PR 9023) 2000-01-17 12:44:39 +00:00
tron
5f388312a6 Fix Y2K bug in date parser reported by Trevin Beattie in PR y2k/9123. 2000-01-05 21:34:11 +00:00
jdolecek
21cb7736e1 xref cpio(1), symlink(7) 1999-09-26 21:29:31 +00:00
enami
accf01ad1d - Use .Pa for pathname or file name.
- When listing another way to do same thing, make sure it actually do the same.
- Make sure necessary shell quoting is displayed.
- Don't pass more than 10 argument to .Dl.
1999-09-26 01:31:23 +00:00
enami
25c37b6e7b Use macros rather than writing double quote directly. 1999-09-26 00:50:05 +00:00
enami
13517d8f96 backout rev. 1.12. learned that comma inside quote is right english.
pointed out by cgd.
1999-09-26 00:45:44 +00:00
enami
d06f4f4302 Don't include a trailing comma inside of double quotation. 1999-09-26 00:12:24 +00:00
hubertf
abda8d9447 Allow hardlinks to symlinks.
Reviewed by: Bill Studenmund, Klaus Klein
1999-09-05 23:34:39 +00:00
bad
d32511c2f4 Cast hstat.st_size to size_t when passing it to ck_malloc().
Fixes PR port-m68k/8229.
1999-08-24 18:40:10 +00:00
enami
d8ad2663a8 In name section, use .Dq macro rather than writing double quote directly. 1999-08-17 03:36:35 +00:00
mycroft
41147083cf Don't use GNU malloc() any more. 1999-07-30 04:07:23 +00:00
garbled
d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
mycroft
dde7581d31 This file is not used. 1998-07-25 05:37:13 +00:00
fair
3f497748c6 convert change for PR#2212 from BSD to POSIX 1998-07-21 08:06:55 +00:00
fair
2fba732a32 flush TTY input for "new volume" query, fix for PR#2212 1998-07-06 07:50:27 +00:00
enami
3895445d9c - New switch ENABLE_SPARSE to enable an efficient sparse file handling
regardless of BSD42.
- Add -DENABLE_SPARSE to CPPFLAGS.
1998-06-07 02:30:12 +00:00
fair
dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
tv
482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
cgd
8aaf609a0a allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-02 19:42:25 +00:00
perry
f6aae0d6c2 RCSID Police 1998-01-05 04:54:16 +00:00
lukem
da49bfcda7 use CPPFLAGS instead of CFLAGS 1997-10-25 10:10:19 +00:00
thorpej
0640101d32 Always use --unlink. It's too easy to lose if you don't. 1997-10-10 00:16:02 +00:00
enami
062c3f563a Restore owner/group/mode/atime/mtime of symbolic links. 1997-10-08 22:51:27 +00:00
jeremy
22030e1170 Implement FreeBSD's --fast-read option needed for pkg_add. 1997-06-06 07:59:52 +00:00
mikel
084c671748 use u_quad_t to hold bytes written; fixes PR bin/3544. 1997-05-08 06:40:28 +00:00
christos
0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
mikel
ff253bf0b4 print file modes in octal; from Hubert Feyrer in PR bin/3180. 1997-02-07 03:58:45 +00:00
mikel
5762477f9f fix -C error message; from Hubert Feyrer in PR bin/3181. 1997-02-07 03:54:35 +00:00
mikel
5679bc5d7e fix a typo and add some text; from Hubert Feyrer in PR bin/3178, with
some changes by me.
also added some -mdoc macros where appropriate.
1997-02-06 06:05:39 +00:00
mikel
ec5fdae8b2 Fix typo; PR misc/2990. Also rcsid police. 1996-12-03 05:24:56 +00:00
cgd
d4ea3a96dc accept any tar header which begins with "ustar" (i.e. those 5 characters) as
a ustar-format archive.  POSIX specifies that ustar-format archives have magic
strings consisting of "ustar<nul>", however our PAX accepts anything starting
with just the 5 "ustar" chars, and this and other version of GNU tar output
ustar archives with magic numbers of "ustar  <nul>".  Leave the output format
of this version of GNU tar the same, so that old versions of GNU tar can
use ustar files it outputs.  (diff sent to GNU tar maintainer.)
1996-03-26 00:48:49 +00:00
jtc
04b0ab5344 Be pedantic, main() returns int in Standard C. 1996-03-21 18:30:19 +00:00
is
3725e6e117 Fix a typo and mention -P/--absolute-paths in the man page.
From Greg Earle, PR 1585.
1996-03-13 14:55:00 +00:00
cgd
55a02ad429 define STDC_HEADERS, because it seems to work and because we need the protos 1995-04-29 05:37:13 +00:00
cgd
6054080b24 include string.h on NetBSD; we need the proto 1995-04-29 05:36:24 +00:00
cgd
0f099d92af changes to make the src/gnu code compile happily on the alpha:
Mostly casts here and there to kill warnings or bugs.  occasional
addition of prototypes and/or changes to bring protos into scope.
1995-04-23 08:35:30 +00:00
cgd
81584a34e6 NetBSD RCS Id format 1995-04-23 07:58:27 +00:00
cgd
c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
deraadt
f91e2abb12 --file, not --filename 1994-11-02 07:06:37 +00:00
andrew
464ea0c010 Use /etc/rmt as per protocol definition, to ensure interoperability
(thanks theo :).  For NetBSD, /etc/rmt is a symlink to the real
/usr/sbin/rmt.
1994-10-18 06:04:08 +00:00
andrew
25386c8c8e Be sure to use /usr/bin/rsh and /usr/sbin/rmt. 1994-10-16 11:34:34 +00:00
deraadt
c06d1564bd some clarification from john 1994-08-17 06:30:31 +00:00
mycroft
820158688b Clean up some of the formatting. 1994-08-08 06:21:50 +00:00
deraadt
c95b4d82a2 manpage from <jfw@jfwhome.funhouse.com> 1994-08-07 00:44:32 +00:00
cgd
53ba44f2bd link these static, for safety. tar is going away, eventualy, anyway 1994-06-19 00:03:41 +00:00
cgd
d85e4acf72 off_t exp. 1994-03-27 09:26:59 +00:00