]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
17 years agoIssue 15, part 10. __FBSDID macro
Charles Wilson [Fri, 20 Mar 2009 06:10:07 +0000 (02:10 -0400)] 
Issue 15, part 10. __FBSDID macro
   Is defined on the non-FreeBSD cygwin platform.
   This is because its libc is based on newlib, which borrows
   a lot of FreeBSD code unchanged. So, can't unconditionally
   define this macro but must guard it.

SVN-Revision: 817

17 years agoIssue 15, part 9. WINVER macro
Charles Wilson [Fri, 20 Mar 2009 06:01:23 +0000 (02:01 -0400)] 
Issue 15, part 9. WINVER macro
  When compiling with the w32api headers (used by mingw and cygwin)
  some symbols are not brought into scope by _WIN32_WINNT alone, but
  also require WINVER. Also, in *_cygwin.c files, change 0x500 to
  0x0500, for consistency with *_windows.c ones.

SVN-Revision: 816

17 years agoIssue 15, part 8. Headers and #includes...
Charles Wilson [Fri, 20 Mar 2009 05:47:49 +0000 (01:47 -0400)] 
Issue 15, part 8. Headers and #includes...
  cpio/test/test.h: remove now-useless #else branch
  cpio/cpio.c: ensure <time.h> and <sys/time.h> are included
     (fixes compile failure on cygwin)
  libarchive/archive_write_disk.c: change order of #includes
     (sys/xattr must preceded attr/xattr on linux, or compile fails)

SVN-Revision: 815

17 years agoMark several nonsensical combinations of options as errors.
Tim Kientzle [Thu, 19 Mar 2009 23:27:45 +0000 (19:27 -0400)] 
Mark several nonsensical combinations of options as errors.
Permit bare -t as a synonym for -it.

SVN-Revision: 814

17 years agoAdd support for -n option from GNU cpio.
Tim Kientzle [Thu, 19 Mar 2009 23:09:01 +0000 (19:09 -0400)] 
Add support for -n option from GNU cpio.

SVN-Revision: 813

17 years agoImprove cmake detecting a function on linux.
Michihiro NAKAJIMA [Thu, 19 Mar 2009 22:21:35 +0000 (18:21 -0400)] 
Improve cmake detecting a function on linux.
The GNU C library defines stub functions(chflags, fchflags..),
and so cmake detecting the function process found out that
stub function. This commit avoid detecting the stub function.

SVN-Revision: 812

17 years agoEliminate failing some tests at bsdcpio_test when the platform
Michihiro NAKAJIMA [Thu, 19 Mar 2009 19:24:31 +0000 (15:24 -0400)] 
Eliminate failing some tests at bsdcpio_test when the platform
doesn't have a compression library such as gzip nor bzip2.

SVN-Revision: 811

17 years agoAdd checking if _FILE_OFFSET_BITS macro needed for large files.
Michihiro NAKAJIMA [Thu, 19 Mar 2009 09:28:53 +0000 (05:28 -0400)] 
Add checking if _FILE_OFFSET_BITS macro needed for large files.

SVN-Revision: 810

17 years agoCorrect regex to get right version.
Michihiro NAKAJIMA [Thu, 19 Mar 2009 06:03:36 +0000 (02:03 -0400)] 
Correct regex to get right version.

SVN-Revision: 809

17 years agoEliminate building error on Ubuntu.
Michihiro NAKAJIMA [Thu, 19 Mar 2009 05:40:58 +0000 (01:40 -0400)] 
Eliminate building error on Ubuntu.

SVN-Revision: 808

17 years agoDocument the write-side options interface.
Tim Kientzle [Thu, 19 Mar 2009 04:01:24 +0000 (00:01 -0400)] 
Document the write-side options interface.

SVN-Revision: 807

17 years agoI misspelled ".Cm" <sigh>
Tim Kientzle [Thu, 19 Mar 2009 04:01:02 +0000 (00:01 -0400)] 
I misspelled ".Cm" <sigh>

SVN-Revision: 806

17 years agoBack out r786 except cheking __CYGWIN__ macro.
Michihiro NAKAJIMA [Thu, 19 Mar 2009 04:00:51 +0000 (00:00 -0400)] 
Back out r786 except cheking __CYGWIN__ macro.

SVN-Revision: 805

17 years agoDocument the read side of the options framework.
Tim Kientzle [Thu, 19 Mar 2009 03:39:51 +0000 (23:39 -0400)] 
Document the read side of the options framework.

SVN-Revision: 804

17 years agoIssue 15, part 7. Add --same-owner option to bsdtar.
Charles Wilson [Thu, 19 Mar 2009 03:02:36 +0000 (23:02 -0400)] 
Issue 15, part 7. Add --same-owner option to bsdtar.

SVN-Revision: 803

17 years agoIssue 15, part 6. Fix test failure on cygwin-1.7.x
Charles Wilson [Thu, 19 Mar 2009 02:54:30 +0000 (22:54 -0400)] 
Issue 15, part 6. Fix test failure on cygwin-1.7.x
  In cpio/test/tests.h: new #define to disable certain
  tests on cygwin. POSIX does not require that the .nlinks
  field be accurate for directories, and as an optimization
  newer cygwin does not even try to ensure its accuracy.
  Therefore, it is not a failure if wrong; cpio tests should
  not verify its value -- at least on cygwin.
  cpio/test/test_format_newc.c: Use new #define to skip
     .nlinks test.
  cpio/test/test_option_c.c: ditto.

SVN-Revision: 802

17 years agoIssue 15, part 5. New files for cygwin/cpio
Charles Wilson [Thu, 19 Mar 2009 02:43:53 +0000 (22:43 -0400)] 
Issue 15, part 5. New files for cygwin/cpio
  Added cpio/cpio_cygwin.[c|h] which are simply copies
  of the relevant portions of cpio/cpio_windows.[c|h]
  Modified cpio/cpio_platform.h to #include as needed.
  Modified cpio/cpio.c to call new bsdcpio_is_privileged()
  function on cygwin also.

SVN-Revision: 801

17 years agoIssue 15, part 4. New files for cygwin/bsdtar
Charles Wilson [Thu, 19 Mar 2009 02:36:24 +0000 (22:36 -0400)] 
Issue 15, part 4. New files for cygwin/bsdtar
  Added tar/bsdtar_cygwin.[c|h] which are simply copies
  of the relevant portions of tar/bsdtar_windows.[c|h]
  Modified tar/bsdtar_platform.h to #include as needed.

SVN-Revision: 800

17 years agoUpdate the comments around the archive_write_disk functions.
Tim Kientzle [Thu, 19 Mar 2009 01:12:05 +0000 (21:12 -0400)] 
Update the comments around the archive_write_disk functions.

SVN-Revision: 799

17 years agoOn the cmake build process, it is better to use FindOpenSSL module
Michihiro NAKAJIMA [Wed, 18 Mar 2009 22:05:18 +0000 (18:05 -0400)] 
On the cmake build process, it is better to use FindOpenSSL module
to find out OpenSSL library.

SVN-Revision: 798

17 years agoAvoid building error when target system is Win64.
Michihiro NAKAJIMA [Wed, 18 Mar 2009 21:19:52 +0000 (17:19 -0400)] 
Avoid building error when target system is Win64.

SVN-Revision: 797

17 years agoMinor fix. correct comment about cmake on Windows.
Michihiro NAKAJIMA [Wed, 18 Mar 2009 19:12:31 +0000 (15:12 -0400)] 
Minor fix. correct comment about cmake on Windows.

SVN-Revision: 796

17 years agoMinor fix. correct return value type.
Michihiro NAKAJIMA [Wed, 18 Mar 2009 18:59:10 +0000 (14:59 -0400)] 
Minor fix. correct return value type.

SVN-Revision: 795

17 years agoOn Windows, fix build error.
Michihiro NAKAJIMA [Wed, 18 Mar 2009 18:51:20 +0000 (14:51 -0400)] 
On Windows, fix build error.

SVN-Revision: 794

17 years agoComplete test coverage of archive_entry_strmode().
Tim Kientzle [Wed, 18 Mar 2009 11:10:33 +0000 (07:10 -0400)] 
Complete test coverage of archive_entry_strmode().

SVN-Revision: 793

17 years agoCoverage testing revealed a few under-tested areas of archive_entry
Tim Kientzle [Wed, 18 Mar 2009 10:51:47 +0000 (06:51 -0400)] 
Coverage testing revealed a few under-tested areas of archive_entry
which in turn uncovered a bug in archive_entry (sourcepath not being
cloned).

SVN-Revision: 792

17 years agoParse the status code that comes back from waitpid() at close time.
Tim Kientzle [Wed, 18 Mar 2009 09:57:44 +0000 (05:57 -0400)] 
Parse the status code that comes back from waitpid() at close time.

SVN-Revision: 791

17 years agoReport errors from archive_read_close().
Tim Kientzle [Wed, 18 Mar 2009 09:56:36 +0000 (05:56 -0400)] 
Report errors from archive_read_close().

SVN-Revision: 790

17 years agoIssue 15, part 3. Mechanical conversion of #defines, cpio/
Charles Wilson [Wed, 18 Mar 2009 04:11:40 +0000 (00:11 -0400)] 
Issue 15, part 3. Mechanical conversion of #defines, cpio/
   #ifdef _WIN32   --> #if defined(_WIN32) && !defined(__CYGWIN__)
   #ifndef _WIN32  --> #if !defined(_WIN32) || defined(__CYGWIN__)
Exceptions to the general rule:
   cpio/test/main.c: some additional comments
   cpio/cpio.c: some additional comments

SVN-Revision: 789

17 years agoIssue 15, part 2. Mechanical conversion of #defines, tar/
Charles Wilson [Wed, 18 Mar 2009 03:53:23 +0000 (23:53 -0400)] 
Issue 15, part 2. Mechanical conversion of #defines, tar/
   #ifdef _WIN32   --> #if defined(_WIN32) && !defined(__CYGWIN__)
   #ifndef _WIN32  --> #if !defined(_WIN32) || defined(__CYGWIN__)
Exceptions to the general rule:
   tar/test/main.c: some additional comments
   tar/bsdtar.c: some additional comments

SVN-Revision: 788

17 years agoIssue 15, part 1. Mechanical conversion of #defines, libarchive/
Charles Wilson [Wed, 18 Mar 2009 03:43:12 +0000 (23:43 -0400)] 
Issue 15, part 1. Mechanical conversion of #defines, libarchive/
   #ifdef _WIN32   --> #if defined(_WIN32) && !defined(__CYGWIN__)
   #ifndef _WIN32  --> #if !defined(_WIN32) || defined(__CYGWIN__)
Exceptions to the general rule:
   libarchive/archive.h: we want declspec for both
   libarchive/archive_entry.h: ditto
   libarchive/archive_write_disk.c: we want to fix backslashs,
     and to use cleanup_pathname_win on both.

SVN-Revision: 787

17 years agoMove _WIN32_WINNT macro to build/cmake/config.h.in
Michihiro NAKAJIMA [Wed, 18 Mar 2009 01:54:17 +0000 (21:54 -0400)] 
Move _WIN32_WINNT macro to build/cmake/config.h.in

SVN-Revision: 786

17 years agoOur installation instructions assume you already have a tar
Tim Kientzle [Tue, 17 Mar 2009 22:51:42 +0000 (18:51 -0400)] 
Our installation instructions assume you already have a tar
program.  This is a minimalist implementation that should
allow people to bootstrap the full libarchive distribution.

SVN-Revision: 780

17 years agoOn Windows, previous commit occurs link error.
Michihiro NAKAJIMA [Tue, 17 Mar 2009 22:19:39 +0000 (18:19 -0400)] 
On Windows, previous commit occurs link error.
This commit just avoid it.

SVN-Revision: 779

17 years agoOn the cmake build process, bsdtar and bsdcpio
Michihiro NAKAJIMA [Tue, 17 Mar 2009 21:43:52 +0000 (17:43 -0400)] 
On the cmake build process, bsdtar and bsdcpio
use static library of libarchive because
configure build process does it.

SVN-Revision: 778

17 years agoThe cmake build process makes static library as configure does.
Michihiro NAKAJIMA [Tue, 17 Mar 2009 20:31:21 +0000 (16:31 -0400)] 
The cmake build process makes static library as configure does.

SVN-Revision: 777

17 years agoAdd support shared library number to the cmake build.
Michihiro NAKAJIMA [Tue, 17 Mar 2009 19:53:31 +0000 (15:53 -0400)] 
Add support shared library number to the cmake build.

SVN-Revision: 776

17 years agoInitial support install target for the cmake build.
Michihiro NAKAJIMA [Mon, 16 Mar 2009 19:23:29 +0000 (15:23 -0400)] 
Initial support install target for the cmake build.

SVN-Revision: 775

17 years agoOn Windows, libarchive has already supported hardlink.
Michihiro NAKAJIMA [Mon, 16 Mar 2009 18:53:36 +0000 (14:53 -0400)] 
On Windows, libarchive has already supported hardlink.

SVN-Revision: 774

17 years agoOn Windows, skip test_owner_parse. Windows cannot handle uid/gid as
Michihiro NAKAJIMA [Mon, 16 Mar 2009 12:47:21 +0000 (08:47 -0400)] 
On Windows, skip test_owner_parse. Windows cannot handle uid/gid as
UNIX like system. We need to improve it.

Now all bsdcpio tests passed.
Results are:
0 of 22 tests reported failures
 Total of 675 assertions checked.
 Total of 0 assertions failed.
 Total of 1 assertions skipped.

SVN-Revision: 773

17 years agoNL macro is no longer needed.
Michihiro NAKAJIMA [Fri, 13 Mar 2009 14:04:49 +0000 (10:04 -0400)] 
NL macro is no longer needed.

SVN-Revision: 772

17 years agoOn Windows, pass test_passthrough_reverse in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 13 Mar 2009 13:51:44 +0000 (09:51 -0400)] 
On Windows, pass test_passthrough_reverse in bsdcpio_test.

SVN-Revision: 771

17 years agoOn Windows, pass test_passthrough_dotdot in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 13 Mar 2009 13:42:22 +0000 (09:42 -0400)] 
On Windows, pass test_passthrough_dotdot in bsdcpio_test.

SVN-Revision: 770

17 years agoOn Windows, pass test_option_y in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 13 Mar 2009 12:59:06 +0000 (08:59 -0400)] 
On Windows, pass test_option_y in bsdcpio_test.

SVN-Revision: 769

17 years agoOn Windows, pass test_option_version in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 13 Mar 2009 12:55:21 +0000 (08:55 -0400)] 
On Windows, pass test_option_version in bsdcpio_test.

SVN-Revision: 768

17 years agoOn Windows, pass test_option_t in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 13 Mar 2009 12:46:17 +0000 (08:46 -0400)] 
On Windows, pass test_option_t in bsdcpio_test.

SVN-Revision: 767

17 years agoOn Windows, pass test_option_m in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 13 Mar 2009 12:07:16 +0000 (08:07 -0400)] 
On Windows, pass test_option_m in bsdcpio_test.

SVN-Revision: 766

17 years agoOn Windows, pass test_option_f in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 13 Mar 2009 12:05:15 +0000 (08:05 -0400)] 
On Windows, pass test_option_f in bsdcpio_test.

SVN-Revision: 765

17 years agoOn Windows, pass test_option_d in bsdcpio_test.
Michihiro NAKAJIMA [Fri, 13 Mar 2009 11:21:05 +0000 (07:21 -0400)] 
On Windows, pass test_option_d in bsdcpio_test.

SVN-Revision: 764

17 years agoAdd assertFileTextContents to bsdcpio_test.
Michihiro NAKAJIMA [Fri, 13 Mar 2009 11:05:58 +0000 (07:05 -0400)] 
Add assertFileTextContents to bsdcpio_test.
It asserts the contents of a text file and pass over
different new line characters.

SVN-Revision: 763

17 years agoReassign option -J to xz compression(--xz) at bsdtar.
Michihiro NAKAJIMA [Thu, 12 Mar 2009 21:27:42 +0000 (17:27 -0400)] 
Reassign option -J to xz compression(--xz) at bsdtar.
gtar 1.22 has been changed it.

SVN-Revision: 762

17 years agoNew documentation...
Tim Kientzle [Wed, 11 Mar 2009 21:54:33 +0000 (17:54 -0400)] 
New documentation...

SVN-Revision: 761

17 years agoOn Windows, pass test_option_c in bsdcpio_test.
Michihiro NAKAJIMA [Wed, 11 Mar 2009 09:41:51 +0000 (05:41 -0400)] 
On Windows, pass test_option_c in bsdcpio_test.

SVN-Revision: 760

17 years agoOn Windows, pass test_option_a in bsdcpio_test.
Michihiro NAKAJIMA [Wed, 11 Mar 2009 09:38:00 +0000 (05:38 -0400)] 
On Windows, pass test_option_a in bsdcpio_test.
- Tweak cpio; close a file descriptor to restore access times
  before we call lutimes/utimes function.

SVN-Revision: 759

17 years agoIf a platform doesn't have fchdir function, it is unnecessary
Michihiro NAKAJIMA [Tue, 10 Mar 2009 14:19:33 +0000 (10:19 -0400)] 
If a platform doesn't have fchdir function, it is unnecessary
that calling open(".", ..) and related handling in tar/tree.c.

Suggested by Joerg Sonnenberger.

SVN-Revision: 758

17 years agoCheck _WIN32 instead of __timeval when we use struct __timeval.
Michihiro NAKAJIMA [Tue, 10 Mar 2009 11:41:16 +0000 (07:41 -0400)] 
Check _WIN32 instead of __timeval when we use struct __timeval.
__timeval is defined in archive_windows.h and we use it for
Windows only, so __timeval is not expected for using on other
platform.

SVN-Revision: 757

17 years agoFirst cut at archive_read_disk documentation.
Tim Kientzle [Tue, 10 Mar 2009 06:00:55 +0000 (02:00 -0400)] 
First cut at archive_read_disk documentation.

SVN-Revision: 756

17 years agoTweak the "other platforms" installation instructions; this
Tim Kientzle [Tue, 10 Mar 2009 04:29:31 +0000 (00:29 -0400)] 
Tweak the "other platforms" installation instructions; this
needs lots more help.

SVN-Revision: 755

17 years agoMinor README updates.
Tim Kientzle [Tue, 10 Mar 2009 00:21:14 +0000 (20:21 -0400)] 
Minor README updates.

SVN-Revision: 754

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

SVN-Revision: 743

17 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

17 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

17 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

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

SVN-Revision: 739

17 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

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

SVN-Revision: 737

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

SVN-Revision: 727

17 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

17 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

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

SVN-Revision: 724

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

SVN-Revision: 711