a slight change to the look ahead strategy for SFX ZIP archives.
The new code repeatedly extends the look-ahead window in small
increments.
SVN-Revision: 231
these 80 extra lines of code, we get consistent argument
handling on all platforms which in turn will simplify the test
harness. I did try importing a "standard" getopt_long()
implementation but those tend to be 600+ lines of code and
provoke some awkward namespace conflicts with platform getopt().
SVN-Revision: 229
Make end-of-file persistent; don't call the client again.
Comment the upcoming change to the end-of-file semantics for now,
since I still need to do a little more groundwork.
SVN-Revision: 227
strict read_ahead() semantics, which return a failure instead of
a short read at end-of-file. This seems to be one of the very
few cases where the short read is actually informative.
SVN-Revision: 226
return a short read except at end-of-file (and I think that should
probably return an error as well). The old loose semantics
resulted in a lot of extra checks throughout the library to verify
the size of the returned data; this is a step towards removing
most such checks.
N.B.: I've only made this change to compression_none for
now since I'm planning to refactor a lot of the compression pipeline
very soon anyway.
SVN-Revision: 223
both more portable and more straightforward than the earlier
getopt()/getopt_long() wrapper approach, requires no fancy
configure/make glue to choose a platform implementation, and
gives me consistent command line parsing on every platform,
which should greatly simplify my attempts at building a robust
test suite.
I should have done this years ago.
SVN-Revision: 219
Add a new test to exercise different time specifications and
make sure that omitted timestamps, high-res timestamps are
all handled correctly.
SVN-Revision: 212
Start a basic test for 'pax' format: Write entries, read them back,
make sure they are the same. This needs to be extended. A lot.
Submitted by: Pedro Giffuni (birthtime)
SVN-Revision: 210
I'd be happier if there were a BSD-licensed lzma library; this
cannot be enabled in FreeBSD base system until that's resolved.
Submitted by: Miklos Vajna
SVN-Revision: 207
rest of source (fortunately, most Windows code editors are
agnostic about line endings). Remove trailing spaces, tab
after #define, remove a couple of definitions that are
not actually used in the source.
SVN-Revision: 201