agc
b5b2954259
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
grant
a47ed375c9
backout previous; it was a missing prototype elsewhere.
...
noted by mrg.
2003-06-24 08:27:30 +00:00
grant
8560ab3c2b
add cast to fix an integer -> pointer warning.
2003-06-24 06:41:51 +00:00
grant
9432809ee1
consistently use "cannot" instead of "can not".
2003-06-23 13:06:53 +00:00
christos
c59371a05d
PR/6195: Matt Watson: Pax fails for paths of exactly 100 characters.
...
make sure that we don't strlcpy more than the source buffer.
2003-04-20 21:41:52 +00:00
christos
051306e25d
PR/18959: Xavier HUMBERT: Don't pay attention to sockets in gnu-tar mode.
2003-03-31 20:30:28 +00:00
christos
2cdcd6cab2
RP/8227: Peter Seeback: Emulate old gnu tar better.
2003-03-31 20:06:33 +00:00
christos
096c9d6313
remove debugging printf's I accidentally committed.
2003-01-09 18:24:08 +00:00
christos
e1a41a0e25
print a bit more info about checksum mismatches.
2003-01-09 17:22:26 +00:00
mrg
bad4b3376e
oops, remove a debug statement from the previous.
2002-12-08 02:00:10 +00:00
mrg
c3510d1409
add --exclude support.
...
XXX: --exclude & --exclude-from are still not 100% compatible, but since
rafal fixed --exclude-from's most annoying bug, they mostly work now.
2002-12-08 01:35:12 +00:00
christos
0ec6ea57f7
PR/18831: Andreas Wrede: Don't exit with an error when we are reading a gnu
...
tar archive.
2002-10-27 20:48:15 +00:00
christos
2665f9c68c
Only warn the user once about gnu extensions. From Eric Gillespie.
2002-10-18 15:55:08 +00:00
christos
ed254499e5
Factor out some more code, and don't expand names in ././@LongLink records.
2002-10-17 01:08:22 +00:00
christos
4472ef1520
Add proper longlink support. Previously we handled longname support, and
...
the longlink support was completely wrong.
2002-10-17 00:32:36 +00:00
christos
f830cb1865
turn gnu tar off by pax and cpio front ends.
2002-10-16 18:53:40 +00:00
christos
650f61c526
Warn if we are trying to read a gnu tar archive, if --strict is specified.
2002-10-16 04:40:55 +00:00
christos
f70dfaaf73
Support gnu long filename extensions by default for tar on create, list, and
...
extract. We now generate GNU tar archives by default ("ustar ^@" instead of
"ustar^@00"). GNU extensions can be disabled with --strict.
XXX: long symlinks untested.
2002-10-16 03:46:07 +00:00
christos
011898cd8e
Fix error in counting the archive's name length. From Eric Gillespie, thanks!
2002-10-13 17:21:50 +00:00
mrg
20bac70304
make this build on LP64
2002-10-13 00:34:16 +00:00
christos
0c61202168
merge OpenBSD changes:
...
- correct -C processing
- add ability to read filenames and flags from a file
- don't print dangerous escape sequences to the terminal
- use strlcpy/strncpy properly.
- handle tmpfile creation better.
- improve documentation of options.
- handle stdout/stderr list selection correctly.
- kill gzip when we get interrupted.
- simplify gzip setup.
- add more flags to programs.
additional changes:
- librmt processing.
- set POSIXLY_CORRECT in options parsing.
- prevent more string overruns.
- support -T
we don't turn the switch on to replace tar and cpio yet.
2002-10-12 15:39:29 +00:00
christos
35bdad4ed7
str{n,l}cpy fixes and buffer limit fixes from OpenBSD
2002-10-11 13:07:36 +00:00
tv
47b0d14e39
Protect __RCSID and __COPYRIGHT from being invoked if not defined.
2002-01-31 19:27:53 +00:00
lukem
9ee82d317a
s/u_longlong_t/unsigned long long/ to shut up the parc port
2001-10-28 13:06:43 +00:00
lukem
c1bd745ccb
- ansi KNF (just remove all the #ifndef __STDC__ prototype junk,
...
leaving the ansi stuff)
- use longlong_t instead of quad_t (etc), and rename *uqd*() -> *ull*()
- clean up the NET2_STAT stuff similar to ftpd; provide #defines and
macros which select which cast to use, etc
- clean up the NET2_FTS and NET2_REGEX #define use
2001-10-25 05:33:32 +00:00
itohy
f8adf56da0
Cleanup and fix typos.
...
Partially from FreeBSD.
2000-02-17 03:12:22 +00:00
mycroft
8493d15a0c
Fix a glitch with handling files larger than 2GB.
2000-01-19 18:41:23 +00:00
mrg
78e294d1bc
support ././@LongLink extraction, as created by GNU tar.
1999-10-22 10:43:11 +00:00
kleink
9d3e44943a
Add the ability to handle estranged V7 tar archives that use USTAR-style
...
directories; addresses PR bin/8220.
1999-08-18 17:46:28 +00:00
mycroft
75e40b3781
Make this build on the Alpha.
1999-01-21 08:46:06 +00:00
mrg
ce6b187617
implement the gnutar -X flag in terms of pax -s. fix some bugs in pax -s handling while i am here...
1999-01-20 14:45:09 +00:00
mycroft
5512409373
Reconstruct a split file name correctly.
1998-10-15 00:07:34 +00:00
tv
af575980ab
Transparently handle old-style GNU tar archives that may have garbage in
...
the trailing block and do not have an end-of-archive marker. (Does this
handling based on whether the ustar id is "ustar" or "ustar ".)
1998-08-10 22:34:59 +00:00
mycroft
d0e267dc7f
Use the uid/gid caching moved into libc. Fixed a memory leak!
1998-07-28 17:44:23 +00:00
christos
f3cd602281
- Rename local warn so tty_warn that we can include <err.h> since this program
...
uses err() and errx().
- Fix printf format strings.
- Added WARNS=1; note
- Added missing prototypes.
- Split overloaded trail function into trail() and subtrail().
1997-07-20 20:32:15 +00:00
kleink
5d1b524ff3
Fix OBOB: when reassembling a file name from the header block's `prefix'
...
and `name' fields, don't overwrite the glueing '/' between them.
1997-06-25 22:44:00 +00:00
kleink
e5b01aa2f2
Use '0' to front-pad octal strings, not ' '.
1997-05-16 09:38:40 +00:00
tls
48250187e6
kill 'register'
1997-01-11 02:04:27 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
mycroft
06f53b6838
Eliminate uses of some obsolete functions.
1994-09-23 11:28:39 +00:00
mycroft
8c95c5f91f
Fix up RCS ids.
1994-06-14 00:40:58 +00:00
jtc
7d76b00baf
Add RCS ID's
1994-06-13 16:33:34 +00:00
jtc
8b35abe2bf
From 4.4 lite
1994-06-13 16:13:35 +00:00