]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
16 years agoConvert a couple of multiplications into additions.
Tim Kientzle [Mon, 9 Mar 2009 21:28:14 +0000 (17:28 -0400)] 
Convert a couple of multiplications into additions.

SVN-Revision: 752

16 years agoAs suggested by Joerg Sonnenberger, change archive_strncat() to
Tim Kientzle [Mon, 9 Mar 2009 21:22:32 +0000 (17:22 -0400)] 
As suggested by Joerg Sonnenberger, change archive_strncat() to
take a void * source instead of char *.  In particular, this should
reduce the number of gratuitous casts in code that uses
"unsigned char *".

SVN-Revision: 751

16 years agoBe pedantic about argument range for ctype macros.
Joerg Sonnenberger [Sun, 8 Mar 2009 18:18:36 +0000 (14:18 -0400)] 
Be pedantic about argument range for ctype macros.

SVN-Revision: 750

16 years agoEliminate some code duplication.
Tim Kientzle [Sun, 8 Mar 2009 08:44:43 +0000 (04:44 -0400)] 
Eliminate some code duplication.

SVN-Revision: 749

16 years agoliblzmadec does handle end-of-stream properly, so we shouldn't bail out
Tim Kientzle [Sun, 8 Mar 2009 08:43:38 +0000 (04:43 -0400)] 
liblzmadec does handle end-of-stream properly, so we shouldn't bail out
on premature end of file.

SVN-Revision: 748

16 years agoSince the most popular XZ decompression library also supports LZMA,
Tim Kientzle [Sun, 8 Mar 2009 08:42:26 +0000 (04:42 -0400)] 
Since the most popular XZ decompression library also supports LZMA,
just fold the LZMA handling into the XZ reader.  This also eliminates
some duplication of bid code.  Also, clean up the style a bit to
exploit the peek/consume I/O style.

SVN-Revision: 747

16 years agoBidder free function doesn't do anything, so we can safely just drop it.
Tim Kientzle [Sun, 8 Mar 2009 07:22:16 +0000 (03:22 -0400)] 
Bidder free function doesn't do anything, so we can safely just drop it.

SVN-Revision: 746

16 years agoMark this as 2.6.901a - as of this point, FreeBSD-CURRENT is in sync with
Tim Kientzle [Sun, 8 Mar 2009 04:31:24 +0000 (23:31 -0500)] 
Mark this as 2.6.901a - as of this point, FreeBSD-CURRENT is in sync with
libarchive.googlecode.com (except for the xz/lzma support).

SVN-Revision: 745

16 years agoStyle fix: remove trailing whitespace on line.
Tim Kientzle [Sun, 8 Mar 2009 04:13:27 +0000 (23:13 -0500)] 
Style fix: remove trailing whitespace on line.

SVN-Revision: 744

16 years agoSpelling fix.
Tim Kientzle [Sat, 7 Mar 2009 07:19:01 +0000 (02:19 -0500)] 
Spelling fix.

SVN-Revision: 743

16 years agoWe no longer use ctype.h.
Tim Kientzle [Sat, 7 Mar 2009 03:01:53 +0000 (22:01 -0500)] 
We no longer use ctype.h.

SVN-Revision: 742

16 years agoOn Windows, pass test_option_L in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 17:03:26 +0000 (12:03 -0500)] 
On Windows, pass test_option_L in bsdcpio_test.

SVN-Revision: 741

16 years agoOn Windows, pass test_option_B in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 16:30:52 +0000 (11:30 -0500)] 
On Windows, pass test_option_B in bsdcpio_test.

SVN-Revision: 740

16 years agoComment fix.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 16:14:12 +0000 (11:14 -0500)] 
Comment fix.

SVN-Revision: 739

16 years agoOn Windows, pass test_gcpio_compat in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 16:05:49 +0000 (11:05 -0500)] 
On Windows, pass test_gcpio_compat in bsdcpio_test.

SVN-Revision: 738

16 years agoEliminate warning.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 15:39:11 +0000 (10:39 -0500)] 
Eliminate warning.

SVN-Revision: 737

16 years agoOn Windows, pass test_format_newc in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 13:21:32 +0000 (08:21 -0500)] 
On Windows, pass test_format_newc in bsdcpio_test.

SVN-Revision: 736

16 years agoOn Windows, simulate POSIX stat. Add a reference count
Michihiro NAKAJIMA [Fri, 6 Mar 2009 13:02:36 +0000 (08:02 -0500)] 
On Windows, simulate POSIX stat.  Add a reference count
of its parent directory to a link count of the directory.

SVN-Revision: 735

16 years agoOn Windows, pass test_basic in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 11:15:09 +0000 (06:15 -0500)] 
On Windows, pass test_basic in bsdcpio_test.

SVN-Revision: 734

16 years agoMake sure close file descriptor in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 10:48:37 +0000 (05:48 -0500)] 
Make sure close file descriptor in bsdcpio_test.

SVN-Revision: 733

16 years agoOn Windows, use "rmdir" command instead of "rm" command.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 09:32:51 +0000 (04:32 -0500)] 
On Windows, use "rmdir" command instead of "rm" command.

SVN-Revision: 732

16 years agoOn Windows, use "NUL" instead of "/dev/null"
Michihiro NAKAJIMA [Fri, 6 Mar 2009 09:27:34 +0000 (04:27 -0500)] 
On Windows, use "NUL" instead of "/dev/null"

SVN-Revision: 731

16 years agoCorrect executable name of bsdcpio on Windows.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 09:25:17 +0000 (04:25 -0500)] 
Correct executable name of bsdcpio on Windows.

SVN-Revision: 730

16 years agoWe can build bsdcpio on Windows. But it hasn't tested yet.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 09:06:03 +0000 (04:06 -0500)] 
We can build bsdcpio on Windows. But it hasn't tested yet.

SVN-Revision: 729

16 years agoIn bsdcpio_test, Do not use getopt() function, which isn't
Michihiro NAKAJIMA [Fri, 6 Mar 2009 07:37:19 +0000 (02:37 -0500)] 
In bsdcpio_test, Do not use getopt() function, which isn't
available on all platforms.

SVN-Revision: 728

16 years agoRemove unnecessary lines.
Michihiro NAKAJIMA [Fri, 6 Mar 2009 07:17:26 +0000 (02:17 -0500)] 
Remove unnecessary lines.

SVN-Revision: 727

16 years agoOn Windows, remove la_exit function which is used for debugging.
Michihiro NAKAJIMA [Thu, 5 Mar 2009 12:50:58 +0000 (07:50 -0500)] 
On Windows, remove la_exit function which is used for debugging.

SVN-Revision: 726

16 years agoOn Windows, synchronize la_read function in bsdtar_windows.c
Michihiro NAKAJIMA [Thu, 5 Mar 2009 12:30:31 +0000 (07:30 -0500)] 
On Windows, synchronize la_read function in bsdtar_windows.c
with the one in libarchive_windows.c for maintenance to be
easily.

SVN-Revision: 725

16 years agoComment fix.
Michihiro NAKAJIMA [Wed, 4 Mar 2009 12:53:20 +0000 (07:53 -0500)] 
Comment fix.

SVN-Revision: 724

16 years agoOn Windows, move it from bsdtar to libarchive that
Michihiro NAKAJIMA [Wed, 4 Mar 2009 12:25:28 +0000 (07:25 -0500)] 
On Windows, move it from bsdtar to libarchive that
trying to set owner/group is no effect.

SVN-Revision: 723

16 years agoOn Windows, reduce memory allocation and character-set convert.
Michihiro NAKAJIMA [Tue, 3 Mar 2009 14:07:38 +0000 (09:07 -0500)] 
On Windows, reduce memory allocation and character-set convert.

SVN-Revision: 722

16 years agoSimplify that clean up path name characters in Windows.
Michihiro NAKAJIMA [Tue, 3 Mar 2009 07:32:55 +0000 (02:32 -0500)] 
Simplify that clean up path name characters in Windows.

SVN-Revision: 721

16 years agoFix "tomorrow UTC" and similar phrases by not setting the default
Tim Kientzle [Tue, 3 Mar 2009 03:55:54 +0000 (22:55 -0500)] 
Fix "tomorrow UTC" and similar phrases by not setting the default
time elements until after we've parsed the string.  Then we can
use the parsed timezone (if any) to set up the default time elements.
In particular, this makes this code a lot easier to test, since
otherwise local DST keeps intruding.

SVN-Revision: 720

16 years agolibarchive 2.6.2 v2.6.2
Tim Kientzle [Fri, 27 Feb 2009 06:51:06 +0000 (01:51 -0500)] 
libarchive 2.6.2

SVN-Revision: 719

16 years agoAdd test archiving the file whose name has unusable
Michihiro NAKAJIMA [Fri, 27 Feb 2009 05:15:39 +0000 (00:15 -0500)] 
Add test archiving the file whose name has unusable
characters in Windows.

SVN-Revision: 718

16 years agoMerge r715 from trunk: Don't crash if the client fails to
Tim Kientzle [Thu, 26 Feb 2009 04:44:08 +0000 (23:44 -0500)] 
Merge r715 from trunk:  Don't crash if the client fails to
provide a skip function.  Trunk has also added a test for
this which I didn't merge.

SVN-Revision: 716

16 years agoDon't crash if the client doesn't provide a skip function.
Tim Kientzle [Thu, 26 Feb 2009 04:37:22 +0000 (23:37 -0500)] 
Don't crash if the client doesn't provide a skip function.

Debian Bug #516577

SVN-Revision: 715

16 years agoAdd a variant of read_open_memory() that does not register open,
Tim Kientzle [Thu, 26 Feb 2009 04:35:57 +0000 (23:35 -0500)] 
Add a variant of read_open_memory() that does not register open,
skip, or close callbacks.  Use this in read_pax_truncated to partially
verify extraction with clients that only register a minimal set
of callbacks (recall that only the read callback function is
mandatory; in fact, the open callback is deprecated and will
likely be removed in libarchive 3.0).

Debian bug #516577

SVN-Revision: 714

16 years agoAdd test archiving the file start with drive letters.
Michihiro NAKAJIMA [Thu, 26 Feb 2009 04:25:49 +0000 (23:25 -0500)] 
Add test archiving the file start with drive letters.

SVN-Revision: 713

16 years agoLiteral strings should be treated as "const"
Tim Kientzle [Thu, 26 Feb 2009 04:05:24 +0000 (23:05 -0500)] 
Literal strings should be treated as "const"

SVN-Revision: 712

16 years agoEliminate link error.
Michihiro NAKAJIMA [Wed, 25 Feb 2009 08:05:20 +0000 (03:05 -0500)] 
Eliminate link error.

SVN-Revision: 711

16 years agoAdd test for Windows drive letters.
Michihiro NAKAJIMA [Wed, 25 Feb 2009 07:57:44 +0000 (02:57 -0500)] 
Add test for Windows drive letters.

SVN-Revision: 710

16 years agoImprove stripping Windows drive letters.
Michihiro NAKAJIMA [Wed, 25 Feb 2009 07:06:17 +0000 (02:06 -0500)] 
Improve stripping Windows drive letters.

SVN-Revision: 709

16 years agoOn Windows, rewrite permissive_name function.
Michihiro NAKAJIMA [Wed, 25 Feb 2009 06:53:34 +0000 (01:53 -0500)] 
On Windows, rewrite permissive_name function.
GetFullPathName Windows API does not always
return a full path name start with drive letters
such as "c:\". It wasn't that permissive_name
function had expected.

e.g.
 When we changed a current directory by "//./c:/path-to"
 and got a full path name of "file" by GetFullPathName,
 GetFullPathName API returned "\\.\c:\path-to\file"
 not "c:\path-to\file". And then permissive_name
 returned "\\?\\\.\c:\path-to\file" (wrong path).

SVN-Revision: 708

16 years agoTweak a mtree format test.
Michihiro NAKAJIMA [Mon, 23 Feb 2009 13:19:34 +0000 (08:19 -0500)] 
Tweak a mtree format test.
Make directories for through the routine which open
a directory in reading a mtree format.
If we don't make directories, the routine won't try
to open the directory.

SVN-Revision: 707

16 years agoIssue 5: On Windows, convert illegal filename characters to '_'.
Tim Kientzle [Mon, 23 Feb 2009 03:05:20 +0000 (22:05 -0500)] 
Issue 5: On Windows, convert illegal filename characters to '_'.
Among other things, this removes a pain point when
extracting non-Windows tar archives on Windows platforms.
(Note: submitted patch was accidentally attached to Issue 6.)

Obtained from: rosenfield.albert

SVN-Revision: 702

16 years agoMake the current time be an argument to get_date(), to facilitate
Tim Kientzle [Mon, 23 Feb 2009 01:47:28 +0000 (20:47 -0500)] 
Make the current time be an argument to get_date(), to facilitate
testing.  In particular, this should make it easier to test
relative time names such as "3am next tuesday".

SVN-Revision: 701

16 years agoA few more test cases.
Tim Kientzle [Mon, 23 Feb 2009 01:42:42 +0000 (20:42 -0500)] 
A few more test cases.

SVN-Revision: 700

16 years agoLots of comments, some minor code restructuring and cleanup.
Tim Kientzle [Mon, 23 Feb 2009 01:14:58 +0000 (20:14 -0500)] 
Lots of comments, some minor code restructuring and cleanup.
One structural change:  timezones are now represented as seconds
offset from GMT, which makes everything a tad more consistent.

SVN-Revision: 699

16 years agoEliminate the global state object by allocating it
Tim Kientzle [Mon, 23 Feb 2009 00:38:20 +0000 (19:38 -0500)] 
Eliminate the global state object by allocating it
in the top-level get_date() function and passing it
down.

SVN-Revision: 698

16 years agoCollect all global state into a single structure called "global" for now.
Tim Kientzle [Sun, 22 Feb 2009 22:09:42 +0000 (17:09 -0500)] 
Collect all global state into a single structure called "global" for now.

SVN-Revision: 697

16 years agoNo more YACC: Translated the old getdate.y into a recursive-descent
Tim Kientzle [Sun, 22 Feb 2009 07:54:25 +0000 (02:54 -0500)] 
No more YACC:  Translated the old getdate.y into a recursive-descent
parser in plain C.  Should recognize exactly the same date specifications
as the former YACC version.

SVN-Revision: 696

16 years agoTrack first and last parsed token.
Tim Kientzle [Sun, 22 Feb 2009 06:41:48 +0000 (01:41 -0500)] 
Track first and last parsed token.

SVN-Revision: 695

16 years agoAnother step in refactoring getdate.y: We now tokenize the
Tim Kientzle [Sun, 22 Feb 2009 06:30:59 +0000 (01:30 -0500)] 
Another step in refactoring getdate.y:  We now tokenize the
entire string, then return elements from the token array.
This will greatly simplify handling look-ahead in the next
refactoring step.

SVN-Revision: 694

16 years agoTowards a yacc-less bsdtar: Push some bookkeeping down towards the
Tim Kientzle [Sun, 22 Feb 2009 06:23:03 +0000 (01:23 -0500)] 
Towards a yacc-less bsdtar:  Push some bookkeeping down towards the
leaves, which gets us closer to a simple "phrase book" structure for
the grammar.  Isolate a stateless tokenizer that can be used in other
ways.

SVN-Revision: 693

16 years agosvn property fixup.
Tim Kientzle [Sun, 22 Feb 2009 06:20:14 +0000 (01:20 -0500)] 
svn property fixup.

SVN-Revision: 692

16 years agogetdate.c and getdate.h are not as special as they used to be.
Tim Kientzle [Sun, 22 Feb 2009 06:19:54 +0000 (01:19 -0500)] 
getdate.c and getdate.h are not as special as they used to be.

SVN-Revision: 691

16 years agoFix signed/unsigned mismatch.
Tim Kientzle [Sat, 21 Feb 2009 22:42:51 +0000 (17:42 -0500)] 
Fix signed/unsigned mismatch.

SVN-Revision: 690

16 years agoCheck in getdate.c and getdate.h.
Tim Kientzle [Sat, 21 Feb 2009 19:19:33 +0000 (14:19 -0500)] 
Check in getdate.c and getdate.h.

On systems that have Yacc or Bison, these are constructed from
getdate.y.  However, as we push the portability envelope, we're
encountering more systems that don't have Yacc/Bison and the
lack of these files is making it difficult for people on those
platforms to contribute.

Eventually, I'd like to rewrite getdate() into straight C
and lose the Yacc dependency entirely, but I'm not quite
ready for that.

SVN-Revision: 689

16 years agoMinor fidgeting with the AM/PM parsing.
Tim Kientzle [Sat, 21 Feb 2009 07:22:59 +0000 (02:22 -0500)] 
Minor fidgeting with the AM/PM parsing.

SVN-Revision: 688

16 years agoAdd in more tests of the date-parsing logic.
Tim Kientzle [Sat, 21 Feb 2009 07:19:03 +0000 (02:19 -0500)] 
Add in more tests of the date-parsing logic.

SVN-Revision: 687

16 years agoPartial fix for Issue 5: If -P is not specified, strip Windows drive
Tim Kientzle [Sat, 21 Feb 2009 06:13:58 +0000 (01:13 -0500)] 
Partial fix for Issue 5: If -P is not specified, strip Windows drive
letters as well as leading '/' characters.

SVN-Revision: 682

16 years agoSynchronize la_open function in bsdtar_windows.c
Michihiro NAKAJIMA [Sat, 21 Feb 2009 03:08:18 +0000 (22:08 -0500)] 
Synchronize la_open function in bsdtar_windows.c
with the one in libarchive_windows.c for
maintenance to be easily.

SVN-Revision: 681

16 years agoOn Windows, Avoid la_open function returning error
Michihiro NAKAJIMA [Sat, 21 Feb 2009 02:46:41 +0000 (21:46 -0500)] 
On Windows, Avoid la_open function returning error
when we open a direcotry with O_RDONLY mode.
A behavior of la_open function is close to
the POSIX open function.

SVN-Revision: 680

16 years agoFix a bug. Did not handle character '\' when
Michihiro NAKAJIMA [Fri, 20 Feb 2009 23:19:48 +0000 (18:19 -0500)] 
Fix a bug. Did not handle character '\' when
converting to wide-character is failed.

SVN-Revision: 679

16 years agoWindows shell whose name is command.exe/cmd.exe does not
Michihiro NAKAJIMA [Fri, 20 Feb 2009 22:25:23 +0000 (17:25 -0500)] 
Windows shell whose name is command.exe/cmd.exe does not
deal with wildcard characters '*' and '?'.
Windows application should handle those characters by
FindFirstFile() Win32 API for usability.

SVN-Revision: 678

16 years agoIf we don't have yacc or bison, just warn and continue.
Tim Kientzle [Fri, 20 Feb 2009 07:09:03 +0000 (02:09 -0500)] 
If we don't have yacc or bison, just warn and continue.
In particular, most Windows folks don't have it; that's why
we include pre-built getdate.c/getdate.h in the shipped packages.

SVN-Revision: 677

16 years agoSimplify cheking that a compression is not supported.
Michihiro NAKAJIMA [Thu, 19 Feb 2009 08:42:27 +0000 (03:42 -0500)] 
Simplify cheking that a compression is not supported.

SVN-Revision: 676

16 years agoCompress/uncompress programs such as gzip or gunzip are
Michihiro NAKAJIMA [Thu, 19 Feb 2009 06:46:54 +0000 (01:46 -0500)] 
Compress/uncompress programs such as gzip or gunzip are
not always available in the system on which test program
(libarchive_test) is running.

SVN-Revision: 675

16 years agoOn Windows, libarchive/bsdtar can deal with an external program.
Michihiro NAKAJIMA [Thu, 19 Feb 2009 06:15:21 +0000 (01:15 -0500)] 
On Windows, libarchive/bsdtar can deal with an external program.

SVN-Revision: 674

16 years agoSince gzip has a fallback to an executable, we can unconditionally
Tim Kientzle [Wed, 18 Feb 2009 22:26:33 +0000 (17:26 -0500)] 
Since gzip has a fallback to an executable, we can unconditionally
support it in archive_read_support_compression_all().

SVN-Revision: 669

16 years agoDon't redefine isdigit(). Since this is only used in one place,
Tim Kientzle [Wed, 18 Feb 2009 22:25:31 +0000 (17:25 -0500)] 
Don't redefine isdigit().  Since this is only used in one place,
just expand it there and remove the macro.

SVN-Revision: 668

16 years agoBoth cpio/test/test.h and cpio/cpio_platform.h try to define __FBSDID
Tim Kientzle [Wed, 18 Feb 2009 21:32:02 +0000 (16:32 -0500)] 
Both cpio/test/test.h and cpio/cpio_platform.h try to define __FBSDID
on non-FreeBSD platforms.  Avoid conflicts.

SVN-Revision: 661

16 years agoIssue 8: Compression name should be "none" if we're reading
Tim Kientzle [Wed, 18 Feb 2009 05:59:34 +0000 (00:59 -0500)] 
Issue 8: Compression name should be "none" if we're reading
an uncompressed archive.  Fill in assertions to verify textual
name for various compression formats.

SVN-Revision: 659

16 years agoIssue 7: Only flush and close the file if the file was actually
Tim Kientzle [Wed, 18 Feb 2009 05:46:34 +0000 (00:46 -0500)] 
Issue 7: Only flush and close the file if the file was actually
opened.  Add a test for this case and update all the build systems.
(Note: the FreeBSD-specific Makefiles should be removed; three
build systems is too many.)

SVN-Revision: 658

16 years agoCatch up with some file renaming.
Tim Kientzle [Wed, 18 Feb 2009 05:41:49 +0000 (00:41 -0500)] 
Catch up with some file renaming.

SVN-Revision: 657

16 years agoAdd test_compat_xz.c into CMakeLists.txt.
Michihiro NAKAJIMA [Tue, 17 Feb 2009 23:34:38 +0000 (18:34 -0500)] 
Add test_compat_xz.c into CMakeLists.txt.
I forgot it.

SVN-Revision: 656

16 years agoAdd xz compatibly test.
Michihiro NAKAJIMA [Tue, 17 Feb 2009 23:31:22 +0000 (18:31 -0500)] 
Add xz compatibly test.

SVN-Revision: 655

16 years agoFor portability, some platform cannot always support
Michihiro NAKAJIMA [Tue, 17 Feb 2009 21:01:05 +0000 (16:01 -0500)] 
For portability, some platform cannot always support
gzip compression(zlib).

SVN-Revision: 654

16 years agoRemove all compiling condition of ZLIB and BZLIB2
Michihiro NAKAJIMA [Tue, 17 Feb 2009 07:43:15 +0000 (02:43 -0500)] 
Remove all compiling condition of ZLIB and BZLIB2
from libarchive_test.

SVN-Revision: 653

16 years agoAdd stricter warning option to Visual Studio.
Michihiro NAKAJIMA [Tue, 17 Feb 2009 06:04:44 +0000 (01:04 -0500)] 
Add stricter warning option to Visual Studio.

SVN-Revision: 652

16 years agoAdd test_read_format_txz.c into CMakeLists.txt
Michihiro NAKAJIMA [Tue, 17 Feb 2009 05:41:12 +0000 (00:41 -0500)] 
Add test_read_format_txz.c into CMakeLists.txt

SVN-Revision: 651

16 years agoAdd more xz format test.
Michihiro NAKAJIMA [Tue, 17 Feb 2009 05:32:05 +0000 (00:32 -0500)] 
Add more xz format test.

SVN-Revision: 650

16 years agoEliminate compiling warning in xz compression.
Michihiro NAKAJIMA [Tue, 17 Feb 2009 03:53:10 +0000 (22:53 -0500)] 
Eliminate compiling warning in xz compression.

SVN-Revision: 649

16 years agoEliminate compiling warning.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 20:12:49 +0000 (15:12 -0500)] 
Eliminate compiling warning.

SVN-Revision: 648

16 years agoEliminate linking error when the platform is non-Posix
Michihiro NAKAJIMA [Mon, 16 Feb 2009 19:44:09 +0000 (14:44 -0500)] 
Eliminate linking error when the platform is non-Posix
system and does not have zlib.

SVN-Revision: 647

16 years agoFill in a missing #else
Tim Kientzle [Mon, 16 Feb 2009 19:33:52 +0000 (14:33 -0500)] 
Fill in a missing #else

SVN-Revision: 646

16 years agoClarify the failure messages and generalize the end-of-line test to
Tim Kientzle [Mon, 16 Feb 2009 19:33:31 +0000 (14:33 -0500)] 
Clarify the failure messages and generalize the end-of-line test to
accept \r\n or \n line termination.

SVN-Revision: 645

16 years agoSkip symlink tests on Windows.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 07:56:21 +0000 (02:56 -0500)] 
Skip symlink tests on Windows.
Now, all bsdtar tests passed on Windows.
Results are:
0 of 13 tests reported failures
 Total of 84126 assertions checked.
 Total of 0 assertions failed.
 Total of 9 assertions skipped.

Still needs more improvement.

SVN-Revision: 644

16 years agoFix spelling.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 07:33:47 +0000 (02:33 -0500)] 
Fix spelling.

SVN-Revision: 643

16 years agoOn Windows, a file mode of group members and others
Michihiro NAKAJIMA [Mon, 16 Feb 2009 07:04:28 +0000 (02:04 -0500)] 
On Windows, a file mode of group members and others
does not work.

SVN-Revision: 642

16 years agoConsider carriage return code on Windows.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 06:56:51 +0000 (01:56 -0500)] 
Consider carriage return code on Windows.

SVN-Revision: 641

16 years agoSkip the test using -s option if bsdtar does not support
Michihiro NAKAJIMA [Mon, 16 Feb 2009 06:52:20 +0000 (01:52 -0500)] 
Skip the test using -s option if bsdtar does not support
that platform does not have regex.h.

SVN-Revision: 640

16 years agocommand.com cannot handle "`" operation like unix shell.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 06:43:41 +0000 (01:43 -0500)] 
command.com cannot handle "`" operation like unix shell.
e.g. bsdtar cvf - `cat listfile` > xxx

SVN-Revision: 639

16 years agocommand.com cannot accept the command used '/' with drive
Michihiro NAKAJIMA [Mon, 16 Feb 2009 06:29:46 +0000 (01:29 -0500)] 
command.com cannot accept the command used '/' with drive
name such as c:/xxx/bsdtar.exe when use '|' pipe handling.

SVN-Revision: 638

16 years agoMake sure close file descriptor in bsdtar_test.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 06:15:43 +0000 (01:15 -0500)] 
Make sure close file descriptor in bsdtar_test.

SVN-Revision: 637

16 years agoSimplify Windows conditionals just a bit.
Tim Kientzle [Mon, 16 Feb 2009 05:10:51 +0000 (00:10 -0500)] 
Simplify Windows conditionals just a bit.

SVN-Revision: 636

16 years agoAdd execution bit to directory mode.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 04:13:35 +0000 (23:13 -0500)] 
Add execution bit to directory mode.
It is more simular unix.

SVN-Revision: 635

16 years agoBug fix. we need how log match path1 and path2 are.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 03:40:08 +0000 (22:40 -0500)] 
Bug fix. we need how log match path1 and path2 are.

SVN-Revision: 634

16 years agoConsider a directory separator of Windows.
Michihiro NAKAJIMA [Mon, 16 Feb 2009 02:23:17 +0000 (21:23 -0500)] 
Consider a directory separator of Windows.

SVN-Revision: 633