]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
17 years agoVisual Studio lacks getopt(). Fortunately, the
Tim Kientzle [Mon, 29 Dec 2008 06:47:01 +0000 (01:47 -0500)] 
Visual Studio lacks getopt().  Fortunately, the
test suite only requires fairly basic argument parsing,
so just add the dozen lines needed to implement it from
scratch.

SVN-Revision: 337

17 years agosvn:ignore tweak
Tim Kientzle [Mon, 29 Dec 2008 02:42:20 +0000 (21:42 -0500)] 
svn:ignore tweak

SVN-Revision: 336

17 years agoDisable a number of tests on platforms that lack ZLib or BZLib.
Tim Kientzle [Mon, 29 Dec 2008 02:34:31 +0000 (21:34 -0500)] 
Disable a number of tests on platforms that lack ZLib or BZLib.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 335

17 years agoComment out some tests on WIN32
Tim Kientzle [Mon, 29 Dec 2008 02:33:03 +0000 (21:33 -0500)] 
Comment out some tests on WIN32

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 334

17 years agoDon't use a compressed file here; that allows us to test
Tim Kientzle [Mon, 29 Dec 2008 02:31:44 +0000 (21:31 -0500)] 
Don't use a compressed file here; that allows us to test
on platforms that don't have zlib.

SVN-Revision: 333

17 years agoVarious Windows fixes
Tim Kientzle [Mon, 29 Dec 2008 02:28:40 +0000 (21:28 -0500)] 
Various Windows fixes

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 332

17 years agoDon't try to fuzz files that libarchive on this platform cannot read.
Tim Kientzle [Mon, 29 Dec 2008 02:28:05 +0000 (21:28 -0500)] 
Don't try to fuzz files that libarchive on this platform cannot read.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 331

17 years agoCast away a compiler warning.
Tim Kientzle [Mon, 29 Dec 2008 02:25:29 +0000 (21:25 -0500)] 
Cast away a compiler warning.

SVN-Revision: 330

17 years agoDon't try to initialize an array to be empty.
Tim Kientzle [Mon, 29 Dec 2008 02:23:33 +0000 (21:23 -0500)] 
Don't try to initialize an array to be empty.

SVN-Revision: 329

17 years agoCast away some more compile warnings.
Tim Kientzle [Mon, 29 Dec 2008 02:21:51 +0000 (21:21 -0500)] 
Cast away some more compile warnings.

SVN-Revision: 328

17 years agoDisable Zip read test on Windows.
Tim Kientzle [Mon, 29 Dec 2008 02:20:40 +0000 (21:20 -0500)] 
Disable Zip read test on Windows.

SVN-Revision: 327

17 years agoWe can't test Zip support without ZLIB.
Tim Kientzle [Mon, 29 Dec 2008 02:20:06 +0000 (21:20 -0500)] 
We can't test Zip support without ZLIB.

SVN-Revision: 326

17 years agoDon't test disk permission restore on Win32; it's known to be broken.
Tim Kientzle [Mon, 29 Dec 2008 02:19:36 +0000 (21:19 -0500)] 
Don't test disk permission restore on Win32; it's known to be broken.

SVN-Revision: 325

17 years agoCast away some compile errors.
Tim Kientzle [Mon, 29 Dec 2008 02:18:48 +0000 (21:18 -0500)] 
Cast away some compile errors.

SVN-Revision: 324

17 years agoFix the open file flags.
Tim Kientzle [Mon, 29 Dec 2008 02:18:10 +0000 (21:18 -0500)] 
Fix the open file flags.

SVN-Revision: 323

17 years agoSince this test doesn't use compressed reference files,
Tim Kientzle [Mon, 29 Dec 2008 02:17:33 +0000 (21:17 -0500)] 
Since this test doesn't use compressed reference files,
it's no longer conditional on zlib.

SVN-Revision: 322

17 years agoSwitch sparse gtar extraction test to use uncompressed archives,
Tim Kientzle [Mon, 29 Dec 2008 02:16:33 +0000 (21:16 -0500)] 
Switch sparse gtar extraction test to use uncompressed archives,
so this can be verified on platforms without zlib support.

SVN-Revision: 321

17 years agoCast away some compile warnings.
Tim Kientzle [Mon, 29 Dec 2008 02:10:39 +0000 (21:10 -0500)] 
Cast away some compile warnings.
Clean up a stray archive_entry on premature exit.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 320

17 years agoSkip gzip/bzip2 tests on platforms where they're not supported.
Tim Kientzle [Mon, 29 Dec 2008 02:05:30 +0000 (21:05 -0500)] 
Skip gzip/bzip2 tests on platforms where they're not supported.

SVN-Revision: 319

17 years agoCast away a type warning
Tim Kientzle [Mon, 29 Dec 2008 02:00:41 +0000 (21:00 -0500)] 
Cast away a type warning

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 318

17 years agoCompatibility, based on Windows compatibility fixes from Michihiro NAKAJIMA:
Tim Kientzle [Mon, 29 Dec 2008 01:59:44 +0000 (20:59 -0500)] 
Compatibility, based on Windows compatibility fixes from Michihiro NAKAJIMA:
 * We don't actually need the name we were run as; we can just use our expected program name (removes need to parse argv[0])
 * Add some platform-specific setup on Windows
 * Use getcwd() instead of trying to fork pwd shell command; this may need a bit more tweaking on Windows

SVN-Revision: 317

17 years agoDon't require gzip support for this test.
Tim Kientzle [Mon, 29 Dec 2008 01:57:21 +0000 (20:57 -0500)] 
Don't require gzip support for this test.

SVN-Revision: 316

17 years agoTest 'ar' read/write even on platforms that lack gzip/bzip2 support.
Tim Kientzle [Mon, 29 Dec 2008 01:55:50 +0000 (20:55 -0500)] 
Test 'ar' read/write even on platforms that lack gzip/bzip2 support.

SVN-Revision: 315

17 years agoCast away a few compiler warnings from Visual Studio
Tim Kientzle [Mon, 29 Dec 2008 01:20:20 +0000 (20:20 -0500)] 
Cast away a few compiler warnings from Visual Studio

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 314

17 years agoCast away some compiler warnings from Visual Studio
Tim Kientzle [Mon, 29 Dec 2008 01:19:21 +0000 (20:19 -0500)] 
Cast away some compiler warnings from Visual Studio

SVN-Revision: 313

17 years agoDon't put temp files directly into /tmp; the test
Tim Kientzle [Mon, 29 Dec 2008 01:18:31 +0000 (20:18 -0500)] 
Don't put temp files directly into /tmp; the test
harness has already created and chdir() into a suitable
temporary directory.

SVN-Revision: 312

17 years agoSkip compression test via external program if this support
Tim Kientzle [Mon, 29 Dec 2008 01:15:42 +0000 (20:15 -0500)] 
Skip compression test via external program if this support
isn't compiled into libarchive.

SVN-Revision: 311

17 years agoCast away a sign mismatch.
Tim Kientzle [Mon, 29 Dec 2008 01:13:04 +0000 (20:13 -0500)] 
Cast away a sign mismatch.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 310

17 years agoSkip this test if bzip2 decompression isn't compiled into
Tim Kientzle [Mon, 29 Dec 2008 01:12:17 +0000 (20:12 -0500)] 
Skip this test if bzip2 decompression isn't compiled into
libarchive.

SVN-Revision: 309

17 years agoIf archive_read_support_compression_program() is unsupported
Tim Kientzle [Mon, 29 Dec 2008 01:09:10 +0000 (20:09 -0500)] 
If archive_read_support_compression_program() is unsupported
on this platform, warn and continue.

SVN-Revision: 308

17 years agoCast away a sign mismatch.
Tim Kientzle [Mon, 29 Dec 2008 01:04:45 +0000 (20:04 -0500)] 
Cast away a sign mismatch.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 307

17 years agoCan't test hardlink handling on Windows.
Tim Kientzle [Mon, 29 Dec 2008 01:04:07 +0000 (20:04 -0500)] 
Can't test hardlink handling on Windows.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 306

17 years agoMissing cast.
Tim Kientzle [Mon, 29 Dec 2008 01:00:42 +0000 (20:00 -0500)] 
Missing cast.

SVN-Revision: 305

17 years agoFix time restores and sparse file restores on Windows.
Tim Kientzle [Mon, 29 Dec 2008 00:47:19 +0000 (19:47 -0500)] 
Fix time restores and sparse file restores on Windows.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 304

17 years agoUse native conversion functions on Windows which
Tim Kientzle [Mon, 29 Dec 2008 00:45:58 +0000 (19:45 -0500)] 
Use native conversion functions on Windows which
handle UTF-16 encoding correctly.

I have two concerns about the current code:
 * Windows isn't unique in using UTF-16.  Its just a
   couple lines of code to combine surrogate pairs
   prior to converting to UTF-8.  Its another couple
   of lines to expand surrogate pairs when converting
   from UTF-8 (but only if sizeof(wchar_t) == 2).
 * mbtowc() isn't thread-safe.  Although there are
   parts of libarchive that aren't thread safe---in
   particular, archive_write_disk has some umask()
   and chdir() calls that are hard to avoid---most
   of libarchive can be made thread safe with a little
   care.  I originally switched this code to mbtowc()
   style for reasons of portability and error handling,
   so some care is needed.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 303

17 years agoHandle surrogate pairs properly when encoding UTF-8.
Tim Kientzle [Mon, 29 Dec 2008 00:36:39 +0000 (19:36 -0500)] 
Handle surrogate pairs properly when encoding UTF-8.
In particular, this gives us correct encoding of non-BMP
values on platforms such as Windows whose native wide
character representation is UTF-16.

Suggested by: Michihiro NAKAJIMA

SVN-Revision: 302

17 years agoUse MultiByteToWideChar() on Windows instead of mbstowcs().
Tim Kientzle [Mon, 29 Dec 2008 00:24:22 +0000 (19:24 -0500)] 
Use MultiByteToWideChar() on Windows instead of mbstowcs().
I'm not yet convinced about this approach.  Microsoft documents
mbstowcs(); I'd prefer to avoid platform conditionals.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 301

17 years agofutimes() and utimes() emulations for Windows.
Tim Kientzle [Mon, 29 Dec 2008 00:21:35 +0000 (19:21 -0500)] 
futimes() and utimes() emulations for Windows.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 300

17 years agoCorrect ssize_t for 32-bit and 64-bit Windows
Tim Kientzle [Mon, 29 Dec 2008 00:16:37 +0000 (19:16 -0500)] 
Correct ssize_t for 32-bit and 64-bit Windows

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 299

17 years agoVisual Studio supports futimes() and utimes() functions.
Tim Kientzle [Mon, 29 Dec 2008 00:15:18 +0000 (19:15 -0500)] 
Visual Studio supports futimes() and utimes() functions.
Define ssize_t correctly on 32-bit and 64-bit Windows.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 298

17 years agoUpdated Visual Studio solution files, including
Tim Kientzle [Mon, 29 Dec 2008 00:13:57 +0000 (19:13 -0500)] 
Updated Visual Studio solution files, including
projects for libarchive_test.  I'm still working
through the rest of Michihiro's fixes for getting
libarchive_test working under Visual Studio.

Submitted by: Michihiro NAKAJIMA

SVN-Revision: 297

17 years agoMerge r294 from trunk: Fix test on Cygwin.
Tim Kientzle [Sun, 28 Dec 2008 23:57:05 +0000 (18:57 -0500)] 
Merge r294 from trunk:  Fix test on Cygwin.

SVN-Revision: 296

17 years agoLibarchive 2.6 v2.6.0
Tim Kientzle [Sun, 28 Dec 2008 23:55:11 +0000 (18:55 -0500)] 
Libarchive 2.6

SVN-Revision: 295

17 years agoSkip a test for handling of invalid characters if the
Tim Kientzle [Sun, 28 Dec 2008 23:54:08 +0000 (18:54 -0500)] 
Skip a test for handling of invalid characters if the
local platform's "C" locale has no invalid characters.
In particular, this fixes libarchive_test on Cygwin.

SVN-Revision: 294

17 years agoBranch libarchive 2.6 for release
Tim Kientzle [Sun, 28 Dec 2008 20:07:26 +0000 (15:07 -0500)] 
Branch libarchive 2.6 for release

SVN-Revision: 293

17 years agosvn:ignore updates
Tim Kientzle [Sun, 28 Dec 2008 20:03:59 +0000 (15:03 -0500)] 
svn:ignore updates

SVN-Revision: 291

17 years agoFill in missing doc/man and doc/text directories
Tim Kientzle [Sun, 28 Dec 2008 19:49:01 +0000 (14:49 -0500)] 
Fill in missing doc/man and doc/text directories

SVN-Revision: 290

17 years agoIFC
Tim Kientzle [Sat, 27 Dec 2008 22:06:46 +0000 (17:06 -0500)] 
IFC

SVN-Revision: 289

17 years agoIFC: Various style corrections to libarchive_test: Use more
Tim Kientzle [Sat, 27 Dec 2008 22:06:33 +0000 (17:06 -0500)] 
IFC: Various style corrections to libarchive_test:  Use more
informative assertXxxx macros; rework some tests so they give
up before failures get out of hand.

SVN-Revision: 288

17 years agoIFC: Reword an 'ar' error message
Tim Kientzle [Sat, 27 Dec 2008 22:04:38 +0000 (17:04 -0500)] 
IFC: Reword an 'ar' error message

SVN-Revision: 287

17 years agoIFC: libarchive_test now understands FreeBSD's /usr/obj convention.
Tim Kientzle [Sat, 27 Dec 2008 22:03:55 +0000 (17:03 -0500)] 
IFC: libarchive_test now understands FreeBSD's /usr/obj convention.

SVN-Revision: 286

17 years agoIFC: Spell "substitution"
Tim Kientzle [Sat, 27 Dec 2008 22:02:39 +0000 (17:02 -0500)] 
IFC: Spell "substitution"

SVN-Revision: 285

17 years ago2.5.905a with a couple of Cygwin fixes
Tim Kientzle [Sat, 27 Dec 2008 22:00:48 +0000 (17:00 -0500)] 
2.5.905a with a couple of Cygwin fixes

SVN-Revision: 284

17 years agoThe EXT2 ioctls are used on Linux to get/set file flags.
Tim Kientzle [Thu, 25 Dec 2008 14:41:32 +0000 (09:41 -0500)] 
The EXT2 ioctls are used on Linux to get/set file flags.
The header defining these exists on some Cygwin installations,
but it's broken.  I don't think Cygwin supports these ioctls
anyway, so I don't see any point in including the header there.
Someone with more autoconf-fu than I have probably knows a better
solution to this problem.

SVN-Revision: 283

17 years agoStraighten out the close handling. archive_read_close() now
Tim Kientzle [Thu, 25 Dec 2008 14:31:49 +0000 (09:31 -0500)] 
Straighten out the close handling.  archive_read_close() now
walks the decompression filter list, invoking the close handler
on each one.  In particular, this means that the compress handler
should not recursively invoke close on it's source.

SVN-Revision: 282

17 years agoClose a temporary file handle.
Tim Kientzle [Thu, 25 Dec 2008 14:30:17 +0000 (09:30 -0500)] 
Close a temporary file handle.

SVN-Revision: 281

17 years agoWarn about file descriptors (other than stdio) left open after
Tim Kientzle [Thu, 25 Dec 2008 14:29:38 +0000 (09:29 -0500)] 
Warn about file descriptors (other than stdio) left open after
a test.  This should detect various close failures.

SVN-Revision: 280

17 years agoIf conversion from UTF8 fails, don't mark Unicode as available.
Tim Kientzle [Mon, 22 Dec 2008 21:00:05 +0000 (16:00 -0500)] 
If conversion from UTF8 fails, don't mark Unicode as available.
Submitted by: Michihiro NAKAJIMA

SVN-Revision: 279

17 years agoReduce the number of file patterns tested from 200 to 170.
Tim Kientzle [Sun, 21 Dec 2008 19:02:56 +0000 (14:02 -0500)] 
Reduce the number of file patterns tested from 200 to 170.
This seems to be necessary in order to run the tests on Cygwin. (?)
Submitted by: Michihiro NAKAJIMA

SVN-Revision: 278

17 years agoWindows has wctomb() as well.
Tim Kientzle [Sat, 20 Dec 2008 23:54:03 +0000 (18:54 -0500)] 
Windows has wctomb() as well.
Submitted by: Michihiro NAKAJIMA

SVN-Revision: 277

17 years agoIFC.
Tim Kientzle [Sun, 14 Dec 2008 22:05:58 +0000 (17:05 -0500)] 
IFC.

SVN-Revision: 276

17 years agotar likes to use wctype.h when it's available; remember to probe for it
Tim Kientzle [Fri, 12 Dec 2008 23:16:14 +0000 (18:16 -0500)] 
tar likes to use wctype.h when it's available; remember to probe for it

SVN-Revision: 275

17 years ago2.5.904a should be the last RC before 2.6.0
Tim Kientzle [Fri, 12 Dec 2008 00:07:20 +0000 (19:07 -0500)] 
2.5.904a should be the last RC before 2.6.0

SVN-Revision: 274

17 years agoUse open(2) correctly.
Tim Kientzle [Wed, 10 Dec 2008 21:37:06 +0000 (16:37 -0500)] 
Use open(2) correctly.

SVN-Revision: 273

17 years agoWindows: Use __inline in MSVC++ and include the new mtree writer
Tim Kientzle [Mon, 8 Dec 2008 20:21:13 +0000 (15:21 -0500)] 
Windows: Use __inline in MSVC++ and include the new mtree writer
in the windows build.

SVN-Revision: 272

17 years agoProvide configure options to suppress use of zlib, bzlib, and lzmadec.
Tim Kientzle [Sun, 7 Dec 2008 11:42:15 +0000 (06:42 -0500)] 
Provide configure options to suppress use of zlib, bzlib, and lzmadec.
There are a few issues that should be addressed:  The test suites
shouldn't rely so heavily on gzip support; zip decoder should
have a private CRC calculation so it can read (uncompressed) zip
archives without zlib.
Submitted by:   Diego Petten\242

SVN-Revision: 271

17 years agoThe new and improved cpio -tv output relies on local system
Tim Kientzle [Sun, 7 Dec 2008 11:40:32 +0000 (06:40 -0500)] 
The new and improved cpio -tv output relies on local system
conventions, so a naive file comparison can't be used to test
it.  Someday, I'll put together code to carefully parse and verify
the format.  Until then, at least shut up the bogus warnings.
Submitted by:   Diego Petten\242

SVN-Revision: 270

17 years agoFix compile warnings building libarchive without Gzip support.
Tim Kientzle [Sun, 7 Dec 2008 11:39:00 +0000 (06:39 -0500)] 
Fix compile warnings building libarchive without Gzip support.
Submitted by:   Diego Petten\242

SVN-Revision: 269

17 years agoIFC
Tim Kientzle [Fri, 5 Dec 2008 23:44:44 +0000 (18:44 -0500)] 
IFC

SVN-Revision: 268

17 years agoRemove a no-longer needed TODO
Tim Kientzle [Fri, 5 Dec 2008 23:40:37 +0000 (18:40 -0500)] 
Remove a no-longer needed TODO

SVN-Revision: 267

17 years agoIFC
Tim Kientzle [Fri, 5 Dec 2008 23:22:24 +0000 (18:22 -0500)] 
IFC

SVN-Revision: 266

17 years ago2.5.903a
Tim Kientzle [Fri, 5 Dec 2008 23:21:05 +0000 (18:21 -0500)] 
2.5.903a

SVN-Revision: 265

17 years agoIFC
Tim Kientzle [Thu, 4 Dec 2008 22:08:00 +0000 (17:08 -0500)] 
IFC

SVN-Revision: 264

17 years agoAnother attempt to refactor the gzip decompressor.
Tim Kientzle [Thu, 4 Dec 2008 21:58:59 +0000 (16:58 -0500)] 
Another attempt to refactor the gzip decompressor.

SVN-Revision: 263

17 years agoBasic test for gzip compatibility.
Tim Kientzle [Thu, 4 Dec 2008 21:58:03 +0000 (16:58 -0500)] 
Basic test for gzip compatibility.
I've commented out the test for handling concatenated gzip streams,
as it appears I need to do more work on refactoring the read
filter framework before this is reasonable to implement.
Fortunately, concatenated gzip streams are uncommon.

SVN-Revision: 262

17 years agoStrip trailing ';1' and trailing '.' from ISO9660 filenames.
Tim Kientzle [Mon, 24 Nov 2008 22:13:30 +0000 (17:13 -0500)] 
Strip trailing ';1' and trailing '.' from ISO9660 filenames.
This matches common usage a bit better.

SVN-Revision: 261

17 years agoAdd a fuzz tester to the libarchive test suite. This
Tim Kientzle [Sat, 22 Nov 2008 22:02:45 +0000 (17:02 -0500)] 
Add a fuzz tester to the libarchive test suite.  This
takes known-good archives, changes random bytes, then feeds
them through libarchive trying to provoke a crash or hang.

This has exposed a couple of problems reading malformed
ISO9660 images.  As a result, I now have a rewritten
Rockridge extension parser, better handling of malformed
PVDs, and some additional checks around end-of-archive conditions.

SVN-Revision: 260

17 years agoDon't export structure definitions.
Tim Kientzle [Thu, 20 Nov 2008 22:13:10 +0000 (17:13 -0500)] 
Don't export structure definitions.
Submitted by: Ivailo Petrov

SVN-Revision: 259

17 years agoIf you can't verify group restore, mark it as a skipped test,
Tim Kientzle [Tue, 18 Nov 2008 16:38:45 +0000 (11:38 -0500)] 
If you can't verify group restore, mark it as a skipped test,
don't just printf().

SVN-Revision: 258

17 years agoRework Bzip2 stream management. Mostly, this makes the stream
Tim Kientzle [Tue, 18 Nov 2008 16:14:08 +0000 (11:14 -0500)] 
Rework Bzip2 stream management.  Mostly, this makes the stream
initialization lazy so we can re-open the decompressor for
a new stream.  This should allow us to read pbzip2 output,
which compresses large blocks separately and writes them
as independent streams, while still handling files such as
Gentoo binary packages, which store unrelated data after the
end of the bzip2 data.

Thanks to: Ivan Voras for pointing out the pbzip2 case
Thanks to: Diego "Flameeyes" Petteno for pointing out
 the problem with Gentoo binary packages

SVN-Revision: 257

17 years agoDon't assign through a NULL pointer.
Tim Kientzle [Tue, 18 Nov 2008 16:09:40 +0000 (11:09 -0500)] 
Don't assign through a NULL pointer.

SVN-Revision: 256

17 years agoIFC
Tim Kientzle [Tue, 18 Nov 2008 12:33:49 +0000 (07:33 -0500)] 
IFC

SVN-Revision: 255

17 years ago<sigh> Weaken the already-weak LZMA format check.
Tim Kientzle [Thu, 13 Nov 2008 12:43:54 +0000 (07:43 -0500)] 
<sigh> Weaken the already-weak LZMA format check.

SVN-Revision: 254

17 years agoMinor fixes to build on Windows.
Tim Kientzle [Mon, 10 Nov 2008 19:03:49 +0000 (14:03 -0500)] 
Minor fixes to build on Windows.
Submitted by: Ivailo Petrov

SVN-Revision: 253

17 years agoAllow zip reader to build on platforms that lack zlib.
Tim Kientzle [Mon, 10 Nov 2008 19:03:21 +0000 (14:03 -0500)] 
Allow zip reader to build on platforms that lack zlib.
However, this breaks reading non-compressed zip entries as well.
Submitted by: Ivailo Petrov

SVN-Revision: 252

17 years ago2 is more portable than STDERR_FILENO
Tim Kientzle [Mon, 10 Nov 2008 18:59:35 +0000 (13:59 -0500)] 
2 is more portable than STDERR_FILENO

SVN-Revision: 251

17 years agoFix compile error.
Tim Kientzle [Mon, 10 Nov 2008 18:57:16 +0000 (13:57 -0500)] 
Fix compile error.
Submitted by: Ivailo Petrov

SVN-Revision: 250

17 years agoCleanup on platforms that lack utimes() or stat.st_blksize
Tim Kientzle [Mon, 10 Nov 2008 18:55:20 +0000 (13:55 -0500)] 
Cleanup on platforms that lack utimes() or stat.st_blksize
Submitted by: Ivailo Petrov

SVN-Revision: 249

17 years agoFix gzip/bzip2 support compiling on platforms that lack zlib/bzlib.
Tim Kientzle [Mon, 10 Nov 2008 18:53:33 +0000 (13:53 -0500)] 
Fix gzip/bzip2 support compiling on platforms that lack zlib/bzlib.
Submitted by: Ivailo Petrov

SVN-Revision: 248

17 years agoMinor tweak to release script.
Tim Kientzle [Mon, 10 Nov 2008 18:51:41 +0000 (13:51 -0500)] 
Minor tweak to release script.

SVN-Revision: 247

17 years agoIFC
Tim Kientzle [Sun, 9 Nov 2008 20:04:07 +0000 (15:04 -0500)] 
IFC

SVN-Revision: 246

17 years agoUpdate NEWS, version to 2.5.902a.
Tim Kientzle [Sun, 9 Nov 2008 20:02:31 +0000 (15:02 -0500)] 
Update NEWS, version to 2.5.902a.

SVN-Revision: 245

17 years agoShar utility by Jaakko Heinonen
Tim Kientzle [Sun, 9 Nov 2008 19:38:06 +0000 (14:38 -0500)] 
Shar utility by Jaakko Heinonen

SVN-Revision: 244

17 years agoUpdate NEWS with a few of the things that have happened
Tim Kientzle [Sun, 9 Nov 2008 18:00:18 +0000 (13:00 -0500)] 
Update NEWS with a few of the things that have happened
since 2.5.5 was released.  I still need to dig through old
commit messages to fill this in further before releasing 2.6.0.

Bump the version numbers to 2.5.901 to reflect the pre-release
status.  Bump bsdcpio version to 1.1.0.

SVN-Revision: 243

17 years agoAdd LZMA test, more detailed comments about the sorry state
Tim Kientzle [Sun, 9 Nov 2008 17:45:24 +0000 (12:45 -0500)] 
Add LZMA test, more detailed comments about the sorry state
of LZMA magic number checks, update Makefiles to include
lzma reader and lzma test.

Because LZMA support is optional, the lzma test is pretty forgiving
about failures at open time.  It does report the skip (including
the underlying libarchive failure) which should reduce the risk of
false passes somewhat.

SVN-Revision: 242

17 years agoFix lzma decoder to build properly when LZMA libraries are unavailable.
Tim Kientzle [Sat, 8 Nov 2008 21:52:59 +0000 (16:52 -0500)] 
Fix lzma decoder to build properly when LZMA libraries are unavailable.

SVN-Revision: 241

17 years agoBump version to 2.5.900 to start testing of what will become 2.6
Tim Kientzle [Sat, 8 Nov 2008 21:45:44 +0000 (16:45 -0500)] 
Bump version to 2.5.900 to start testing of what will become 2.6

SVN-Revision: 240

17 years agoHack up the lzma decoder to at least compile; there aren't
Tim Kientzle [Sat, 8 Nov 2008 21:44:40 +0000 (16:44 -0500)] 
Hack up the lzma decoder to at least compile; there aren't
any tests for it yet, so I'm not sure if it actually works.

SVN-Revision: 239

17 years agoMinor style update to cpio_bin_bz2 read test.
Tim Kientzle [Sat, 8 Nov 2008 13:59:51 +0000 (08:59 -0500)] 
Minor style update to cpio_bin_bz2 read test.
Make tar_sparse read test a bit more robust; have it stop
after the first header read failure.

SVN-Revision: 238

17 years agoConditionalize some debugging code.
Tim Kientzle [Sat, 8 Nov 2008 13:57:46 +0000 (08:57 -0500)] 
Conditionalize some debugging code.
This also removes an extraneous stdio dependency.
MFP4 after: 3 days

SVN-Revision: 237