kientzle
cf027fa3ed
Speed up safe_fprintf by copying to a temp buffer, then writing
...
blocks at a time, rather than using putc().
2004-05-17 07:35:52 +00:00
kientzle
7ac80717ef
Propagate struct bsdtar down into a lot more places.
...
Move global progname variable into struct bsdtar.
2004-05-17 05:44:53 +00:00
kientzle
34a7b89d37
Contrariwise, Linux sys/stat.h doesn't define mode_t and friends,
...
even though POSIX requires it. <sigh>
2004-05-04 21:40:09 +00:00
kientzle
cc93bc17a0
For portability, don't rely on libc's strmode(3). <sigh>
2004-05-03 21:05:59 +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
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
2588e5ad7a
Initial commit for bsdtar.
2004-04-05 21:32:18 +00:00