kientzle
867bb40c44
-U is now implemented. (It's been recognized by bsdtar for a while;
...
now libarchive actually supports the underlying request.)
2004-04-29 05:22:13 +00:00
kientzle
83ecd7781e
Refuse to extract entries with '..' in pathname.
...
Pointed out by: David Schultz
2004-04-28 18:53:07 +00:00
kientzle
927b01d312
Remove information about specific formats; replace with a
...
reference to libarchive-formats(5).
2004-04-28 04:43:57 +00:00
kientzle
06760f99a1
Update write.c to follow recent API changes to libarchive.
...
Also, bump up the default copy buffer from 8k to 64k
to improve performance.
2004-04-26 23:39:17 +00:00
silby
bd609915e0
Add the bad reset statistic (corresponds to tcp_input.c rev 1.235)
2004-04-26 02:57:33 +00:00
kientzle
fe93d4f02e
Fix username/groupname cache so it returns a name that
...
was just looked up by get{pw,gr}id(). Otherwise, it
returns a NULL name unless it's already in the cache.
Credit to Juergen Lock.
2004-04-23 16:33:51 +00:00
tjr
82d781d1b5
Print fork statistics with %u as they are unsigned quantities.
...
PR: 65889
Submitted by: Ken Stailey
2004-04-23 13:10:29 +00:00
kientzle
15ca1ccb2d
Eliminate a redundant call to archive_entry_set_pathname()
2004-04-21 05:16:28 +00:00
des
2416b781f7
Clarify and correct some compatibility notes.
...
PR: 65822
2004-04-21 00:42:55 +00:00
green
2f31d4ad3c
Treat kevent(2) returning an error EINTR as the non-error it is.
2004-04-20 22:04:12 +00:00
kientzle
6dec29ccab
Allow brave souls to install bsdtar as the
...
default "tar" command by defining WITH_BSDTAR.
Note: "gtar" and "bsdtar" commands both exist regardless.
2004-04-19 22:09:04 +00:00
cognet
7968cd95a0
Handle window resizing better.
...
Submitted by: Cyril Nguyen Huu
Obtained from: OpenBSD
2004-04-19 21:37:29 +00:00
marius
b84b33b31d
Add my birthday.
...
Approved by: marcel (mentor)
2004-04-18 01:05:55 +00:00
tjr
c5c33ab4e9
Restore old value of LESSKEYFILE_SYS.
2004-04-17 07:48:21 +00:00
tjr
051c999ac2
Regenerate with less 381 configure script.
2004-04-17 07:46:08 +00:00
kientzle
484ec180f1
--help is only supported if you have getopt_long().
...
This allows bsdtar to compile on FreeBSD 4.x.
2004-04-16 03:50:04 +00:00
kientzle
2b19543d6c
As suggested by Julian Elischer, use a self-sizing hash
...
table for the hardlink cache. This dramatically improves
performance when archiving millions of hardlinked files.
While I'm here, clean up some style bugs (per Bruce Evans)
and clarify some comments.
2004-04-15 22:37:54 +00:00
bde
b07f071cf0
Include <sys/proc.h> instead of depending on namespace pollution in
...
<sys/user.h> for the definition of TDF_SINTR. Fixed anachronous
spelling of TDF_SINTR in a comment
Demangled VCS ids. There were 2 misplaced copies of $FreeBSD$ and of
the include before it. The vendor id infrastructure was edited.
Fixed the only other remaining style bug since rev.1.1 (expansion of
struct member names made a line too long).
2004-04-14 09:34:17 +00:00
bde
253d68a52a
Include <sys/proc.h> for the definition of PS_INMEM instead of
...
depending on namespace pollution in <sys/user.h>.
Reduced nearby include messes.
2004-04-14 09:01:56 +00:00
kientzle
58455f9e3f
A simple cache of uid->uname lookups and gid->gname lookups eliminates
...
almost 1/2 of the CPU time required to create an uncompressed archive
and makes a noticable reduction in wallclock time.
2004-04-14 00:40:54 +00:00
kientzle
2d6a22a91d
When all the links to a file have been dumped, don't forget
...
to free() the memory used to store the filename.
2004-04-13 23:50:48 +00:00
kientzle
a67431b09b
Eliminate a lot of malloc/free calls by using
...
a stack-allocated buffer for safe_fprintf formatting.
Only if the result is too large do we resort to malloc.
2004-04-13 23:49:02 +00:00
kientzle
ec9a891664
Manpage changes suggested by Irina Liakh.
...
Also, add -h as a synonym for -H, for Linux Standards Base compliance.
2004-04-13 19:45:55 +00:00
luigi
ce58934c26
Replace ROUNDUP/ADVANCE with SA_SIZE
2004-04-13 11:24:43 +00:00
ru
01487d9cea
The .DEFAULT target with no commands caused a null pointer dereference.
...
PR: bin/63405
Obtained from: NetBSD
2004-04-12 20:05:11 +00:00
kientzle
d1f2ebdf42
Style fixes
...
Pointed out by: bde
2004-04-12 18:06:07 +00:00
ru
f044d0a524
Document the new .warning directive.
2004-04-12 18:00:54 +00:00
ru
5108eb2d06
Added the new .warning directive.
...
Submitted by: Cyrille Lefevre
2004-04-12 17:57:51 +00:00
ru
4998d56908
Show link-level multicast packet counters with the -a option.
2004-04-12 15:00:48 +00:00
ru
4db6a5ba58
Fixed alignment of multicast addresses when printing that got
...
broken in previous revision.
2004-04-12 09:44:42 +00:00
kientzle
cd3b6fa4ac
Add DPADD to Makefile (thanks to Andrey for pointing this out).
...
Generally clean up Makefile, remove dmalloc references from source
(there are better ways to do this than pollute the FreeBSD src tree).
2004-04-12 00:13:23 +00:00
emax
16d558884f
Use uint instead of u_int
2004-04-09 23:26:16 +00:00
emax
3513d3a4bf
Make sure Bluetooth stuff can be compiled on amd64
...
Submitted by: ps
2004-04-09 23:01:42 +00:00
mux
a9d45c1b82
Backout previous commit. It seems this comment applied to something
...
else than I thought, and thus really needs to go away.
Noticed by: ru
2004-04-09 17:30:26 +00:00
mux
cf4a17e308
Reintroduce a comment that was wrongly removed in revision 1.34.
2004-04-09 14:19:12 +00:00
tjr
9e9fb7be4d
Improve robustness of multibyte character handling (-m option), and
...
simplify the read buffering now that we can feed partial multibyte
characters to mbrtowc().
2004-04-09 11:17:29 +00:00
kientzle
e5943c5d79
Allow arguments to appear in any order.
...
While I'm here, add a couple of extra sanity-checks to
the argument parsing (reject -j -z, for instance) and
update the docs a bit.
Requested by: most everyone ;-)
2004-04-08 19:37:01 +00:00
kientzle
72bca63fd4
Document the newly-implemented -T option.
2004-04-08 06:21:03 +00:00
kientzle
1b8aab3f61
Add support for -T option on create.
...
(Required by pkg_create.)
2004-04-08 06:12:01 +00:00
kientzle
a970bab144
Correct signature in alternative stub implementation of setup_acls()
2004-04-07 17:43:48 +00:00
trhodes
9bd70cfd16
Add -acl and a small blurb about it to the options list.
...
Update date.
2004-04-07 14:48:30 +00:00
kientzle
a356af4fc7
Archive both access and default ACLs.
2004-04-06 23:08:31 +00:00
kientzle
f73108ad1c
Connect bsdtar to the build.
2004-04-06 17:04:38 +00:00
des
1a789b31d8
Workaround for servers that ignore byte ranges when using chunked
...
encoding.
MFC after: 3 days
2004-04-06 12:24:26 +00:00
kientzle
2588e5ad7a
Initial commit for bsdtar.
2004-04-05 21:32:18 +00:00
ru
63ecd76846
Unbreak compilation on RELENG_4.
...
Submitted by: des
2004-04-05 17:02:08 +00:00
des
dfeeeaf38c
Sort #includes, remove <sys/types.h> (made redundant by <sys/param.h>),
...
add <signal.h> (needed for sigaction())
Noticed by: Stefan Farfeleder <stefan@fafoe.narf.at>
2004-04-05 06:16:48 +00:00
charnier
71e0ff3811
Be consistant while reporting error conditions.
2004-04-04 19:17:38 +00:00
charnier
14b099f23f
Add FBSDID. Use %ld to printf(3) a long (even if the number is small).
2004-04-04 19:11:01 +00:00
charnier
055112142a
Add FBSDID. Do not dot terminate errx(3) string.
2004-04-04 18:56:53 +00:00