]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
13 years agoCorrect a variable type.
Michihiro NAKAJIMA [Sat, 18 Feb 2012 07:23:36 +0000 (16:23 +0900)] 
Correct a variable type.

13 years agoIssue 243: CAB decompression doesn't work when libarchive build with MSVC2010.
Michihiro NAKAJIMA [Fri, 17 Feb 2012 02:21:24 +0000 (11:21 +0900)] 
Issue 243: CAB decompression doesn't work when libarchive build with MSVC2010.
Prevent unexpected code optimization from MSVC /O2 option.
It made CAB reader fail to decompress LZX.

13 years agoFix remaining build failure in agressive warnings.
Michihiro NAKAJIMA [Fri, 17 Feb 2012 05:59:54 +0000 (14:59 +0900)] 
Fix remaining build failure in agressive warnings.

13 years agoMake definitions, which I recently added, in archive.h portable.
Michihiro NAKAJIMA [Fri, 17 Feb 2012 02:09:14 +0000 (11:09 +0900)] 
Make definitions, which I recently added, in archive.h portable.

13 years agoFix build failure in aggressive warnings on msys.
Michihiro NAKAJIMA [Thu, 16 Feb 2012 04:17:12 +0000 (13:17 +0900)] 
Fix build failure in aggressive warnings on msys.

13 years agoFix up remaing work to turn to the current directory before access to the
Michihiro NAKAJIMA [Thu, 16 Feb 2012 03:15:48 +0000 (12:15 +0900)] 
Fix up remaing work to turn to the current directory before access to the
current entry path at directory traversals.

13 years agoFix build failure on linux
Michihiro NAKAJIMA [Wed, 15 Feb 2012 21:13:15 +0000 (06:13 +0900)] 
Fix build failure on linux

13 years agoFix test failure without zlib.
Michihiro NAKAJIMA [Wed, 15 Feb 2012 20:37:10 +0000 (05:37 +0900)] 
Fix test failure without zlib.

13 years agoFix issue 242:libarchive-3.0.3 fails to build with --without-zlib
Michihiro NAKAJIMA [Wed, 15 Feb 2012 19:27:43 +0000 (04:27 +0900)] 
Fix issue 242:libarchive-3.0.3 fails to build with --without-zlib

13 years agoFix issue 241:CAB decompression not 64bit compatible.
Michihiro NAKAJIMA [Tue, 14 Feb 2012 22:15:50 +0000 (07:15 +0900)] 
Fix issue 241:CAB decompression not 64bit compatible.

13 years agoImprove directory traversals on POSIX system. Delay changing a working
Michihiro NAKAJIMA [Wed, 15 Feb 2012 11:14:48 +0000 (20:14 +0900)] 
Improve directory traversals on POSIX system. Delay changing a working
directory until it's really needed and avoid unnecessary changing
directories.

13 years agoMinor clean up; remove duplicate code at directory traversals.
Michihiro NAKAJIMA [Wed, 15 Feb 2012 06:43:34 +0000 (15:43 +0900)] 
Minor clean up; remove duplicate code at directory traversals.

13 years agoFix build failure on FreeBSD/powerpc64.
Michihiro NAKAJIMA [Sat, 11 Feb 2012 14:42:13 +0000 (23:42 +0900)] 
Fix build failure on FreeBSD/powerpc64.

13 years agoFix issue 237.
Michihiro NAKAJIMA [Mon, 13 Feb 2012 20:45:06 +0000 (05:45 +0900)] 
Fix issue 237.
Properly set a clear error message when archive_{write,read}_set_options failed.

13 years agoFix build failure in aggressive warnings on FreeBSD/amd64.
Michihiro NAKAJIMA [Tue, 14 Feb 2012 07:05:25 +0000 (16:05 +0900)] 
Fix build failure in aggressive warnings on FreeBSD/amd64.

13 years agoSlightly simplify time_excluded funtion and add a check of the time flag
Michihiro NAKAJIMA [Sun, 12 Feb 2012 16:06:13 +0000 (01:06 +0900)] 
Slightly simplify time_excluded funtion and add a check of the time flag
into archive_match_exclude_entry().

13 years agoIntroduce archive_match_exclude_pattern_from_file(_w) and
Michihiro NAKAJIMA [Sun, 12 Feb 2012 13:41:47 +0000 (22:41 +0900)] 
Introduce archive_match_exclude_pattern_from_file(_w) and
archive_match_include_pattern_from_file(_w) reading exclusion/inclusion
patterns from a file. And so retire lafe_exclude_from_file() and
lafe_include_from_file because we can use new APIs instead.

13 years agoAdd a description of 7-Zip into README.
Michihiro NAKAJIMA [Thu, 9 Feb 2012 19:49:06 +0000 (04:49 +0900)] 
Add a description of 7-Zip into README.

13 years agoFix build failure in aggressive warnings
Michihiro NAKAJIMA [Thu, 9 Feb 2012 15:56:49 +0000 (00:56 +0900)] 
Fix build failure in aggressive warnings

13 years agoEnable aggressive warning options, -Wextra -Wunused -Wshadow -Wmissing-prototypes...
Michihiro NAKAJIMA [Thu, 9 Feb 2012 11:02:00 +0000 (20:02 +0900)] 
Enable aggressive warning options, -Wextra -Wunused -Wshadow -Wmissing-prototypes -Wcast-qual.
It helps us find out minor issues.

13 years agoIf a zip archive file is corruped, the compression type can be negative and
Michihiro NAKAJIMA [Thu, 9 Feb 2012 01:32:08 +0000 (10:32 +0900)] 
If a zip archive file is corruped, the compression type can be negative and
it can cause a segfault.

13 years agoFix build failure with -Wcast-qual GCC option since it happend on FreeBSD current.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 23:45:22 +0000 (08:45 +0900)] 
Fix build failure with -Wcast-qual GCC option since it happend on FreeBSD current.

13 years agoFix build failure with -Wmissing-prototypes GCC option since it happend on FreeBSD...
Michihiro NAKAJIMA [Wed, 8 Feb 2012 23:12:29 +0000 (08:12 +0900)] 
Fix build failure with -Wmissing-prototypes GCC option since it happend on FreeBSD current.

13 years agoFix build failure with -Wshadow GCC option since it happend on FreeBSD current.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 22:55:10 +0000 (07:55 +0900)] 
Fix build failure with -Wshadow GCC option since it happend on FreeBSD current.

13 years agoFix build failure with -Wextra -Wunused GCC options since it happend on FreeBSD current.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 22:20:28 +0000 (07:20 +0900)] 
Fix build failure with -Wextra -Wunused GCC options since it happend on FreeBSD current.

13 years agoCode quality:
Michihiro NAKAJIMA [Wed, 8 Feb 2012 11:31:45 +0000 (20:31 +0900)] 
Code quality:
 - Update comments.
 - Make variable names meaningful.

13 years agoMake archive_match_owner_exclude fast by sorting id list.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 10:44:18 +0000 (19:44 +0900)] 
Make archive_match_owner_exclude fast by sorting id list.

13 years agoSeperate internal functions set_timefilter_pathname* into Posix version and
Michihiro NAKAJIMA [Wed, 8 Feb 2012 08:51:47 +0000 (17:51 +0900)] 
Seperate internal functions set_timefilter_pathname* into Posix version and
Windows version respectively. And this reduces redundancy code at the Posix
version of those functions.

13 years agoRename an internal function name from set_time_str to set_timefilter_date.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 08:08:39 +0000 (17:08 +0900)] 
Rename an internal function name from set_time_str to set_timefilter_date.

13 years agoAlways overwrite comparson conditions if the pathname is the same
Michihiro NAKAJIMA [Wed, 8 Feb 2012 07:01:57 +0000 (16:01 +0900)] 
Always overwrite comparson conditions if the pathname is the same

13 years agoRename archive_matching to archive_match.
Michihiro NAKAJIMA [Tue, 7 Feb 2012 20:09:25 +0000 (05:09 +0900)] 
Rename archive_matching to archive_match.

13 years agoFix refactoring error in archive_matching. archive_matching_exclude_entry
Michihiro NAKAJIMA [Tue, 7 Feb 2012 16:07:58 +0000 (01:07 +0900)] 
Fix refactoring error in archive_matching. archive_matching_exclude_entry
made opposite effect.

13 years agoFix style.
Michihiro NAKAJIMA [Mon, 6 Feb 2012 22:00:39 +0000 (07:00 +0900)] 
Fix style.

13 years agoSimplify a string conversion WCS <==> MBS to stop using mbsnrtowcs and wcsnrtombs.
Michihiro NAKAJIMA [Mon, 6 Feb 2012 21:41:20 +0000 (06:41 +0900)] 
Simplify a string conversion WCS <==> MBS to stop using mbsnrtowcs and wcsnrtombs.

13 years agoRefactor archive_matching_{newer,older}_* interfaces to reduce the number
Michihiro NAKAJIMA [Tue, 7 Feb 2012 13:36:53 +0000 (22:36 +0900)] 
Refactor archive_matching_{newer,older}_* interfaces to reduce the number
of those functions.

13 years agorename test_getdate to test_archive_getdate.
Michihiro NAKAJIMA [Tue, 7 Feb 2012 07:44:09 +0000 (16:44 +0900)] 
rename test_getdate to test_archive_getdate.

13 years agoAdd the ability to parse a date string into archive_matching.
Michihiro NAKAJIMA [Mon, 6 Feb 2012 13:28:00 +0000 (22:28 +0900)] 
Add the ability to parse a date string into archive_matching.

13 years agoMerge pull request #3 from ggcueroad/topic/issue238
Michihiro NAKAJIMA [Tue, 7 Feb 2012 06:19:54 +0000 (22:19 -0800)] 
Merge pull request #3 from ggcueroad/topic/issue238

Fix issue 238.

13 years agoFix issue 238. 3/head
Michihiro NAKAJIMA [Sun, 5 Feb 2012 19:51:16 +0000 (04:51 +0900)] 
Fix issue 238.
Skip the setup sparse on linux without a check of errno if
ioctl(,FS_IOC_FIEMAP,) failed because the errno is not fixed
, for example, some file system returns ENOTTY, another returns
EOPNOTSUPP, or EINVAL and so on. We cannot decide what errno
exactly indicates an unsupported error.

13 years agoFix crypto checks in cmake builds.
Andres Mejia [Mon, 6 Feb 2012 00:30:37 +0000 (19:30 -0500)] 
Fix crypto checks in cmake builds.

13 years agoFix implicit function declaration warning when building with cmake.
Andres Mejia [Sun, 5 Feb 2012 21:16:16 +0000 (16:16 -0500)] 
Fix implicit function declaration warning when building with cmake.

13 years agoAdd generated dist tarball to .gitignore.
Andres Mejia [Sun, 5 Feb 2012 21:04:37 +0000 (16:04 -0500)] 
Add generated dist tarball to .gitignore.

13 years agoAdd generated doc files to .gitignore.
Andres Mejia [Sun, 5 Feb 2012 21:02:35 +0000 (16:02 -0500)] 
Add generated doc files to .gitignore.

13 years agoRemove old script that generates wiki pages for googlecode wiki.
Andres Mejia [Sun, 5 Feb 2012 21:00:12 +0000 (16:00 -0500)] 
Remove old script that generates wiki pages for googlecode wiki.

13 years agoUpdate URL section in test files for RPMs.
Andres Mejia [Sun, 5 Feb 2012 20:10:15 +0000 (15:10 -0500)] 
Update URL section in test files for RPMs.

13 years agoAdd entries to NEWS about new home for libarchive.
Andres Mejia [Sun, 5 Feb 2012 20:07:24 +0000 (15:07 -0500)] 
Add entries to NEWS about new home for libarchive.

13 years agoUpdate README, pointing to new home for development and issue tracking.
Andres Mejia [Sun, 5 Feb 2012 20:04:09 +0000 (15:04 -0500)] 
Update README, pointing to new home for development and issue tracking.

13 years agoMerge pull request #1 from amejia1/master
Andres Mejia [Sun, 5 Feb 2012 19:26:31 +0000 (11:26 -0800)] 
Merge pull request #1 from amejia1/master

Add updates to mdoc2mediawiki.awk script

13 years agoUse syntax highlighting markup from Github's gollum to add code blocks. 1/head
Andres Mejia [Sat, 4 Feb 2012 02:14:21 +0000 (21:14 -0500)] 
Use syntax highlighting markup from Github's gollum to add code blocks.
Fixes issue using <pre> tags for github wiki pages. See
https://github.com/github/gollum, section 'SYNTAX HIGHLIGHTING' for info on
using this markup.

13 years agoUse states to determine if writing literal text for <pre> tags.
Andres Mejia [Sat, 4 Feb 2012 02:13:53 +0000 (21:13 -0500)] 
Use states to determine if writing literal text for <pre> tags.

13 years agoFix spacing for all lines printed out.
Andres Mejia [Sat, 4 Feb 2012 02:13:01 +0000 (21:13 -0500)] 
Fix spacing for all lines printed out.
This removes need to print out extra line per macro.

13 years agoAdd generated files from cmake to .gitignore.
Andres Mejia [Sun, 5 Feb 2012 19:23:31 +0000 (14:23 -0500)] 
Add generated files from cmake to .gitignore.

13 years agoAdd .gitignore file.
Andres Mejia [Sun, 5 Feb 2012 19:19:10 +0000 (14:19 -0500)] 
Add .gitignore file.

13 years agoFix spacing around .Cm macros.
Andres Mejia [Thu, 2 Feb 2012 23:10:14 +0000 (18:10 -0500)] 
Fix spacing around .Cm macros.

SVN-Revision: 4231

13 years agoFix spacing for .Dv macros.
Andres Mejia [Thu, 2 Feb 2012 23:10:08 +0000 (18:10 -0500)] 
Fix spacing for .Dv macros.

SVN-Revision: 4230

13 years agoFix spacing around .Ar and .Cm macros.
Andres Mejia [Thu, 2 Feb 2012 22:48:18 +0000 (17:48 -0500)] 
Fix spacing around .Ar and .Cm macros.

SVN-Revision: 4229

13 years agoRemove duplicate SYNOPSIS section.
Andres Mejia [Thu, 2 Feb 2012 22:36:43 +0000 (17:36 -0500)] 
Remove duplicate SYNOPSIS section.

SVN-Revision: 4228

13 years agoAdd library section for all library function manpages.
Andres Mejia [Thu, 2 Feb 2012 22:36:25 +0000 (17:36 -0500)] 
Add library section for all library function manpages.

SVN-Revision: 4227

13 years agoAdd LIBRARY section in archive_entry manpage.
Andres Mejia [Thu, 2 Feb 2012 20:03:06 +0000 (15:03 -0500)] 
Add LIBRARY section in archive_entry manpage.
This doesn't use .Lb, since the libarchive description needed by groff, i.e.
".ds str-Lb-libarchive Streaming Archive Library (libarchive, \-larchive)"
would not be found on all systems by default.

SVN-Revision: 4226

13 years agoRemove LIBRARY section from manpages.
Andres Mejia [Thu, 2 Feb 2012 00:46:25 +0000 (19:46 -0500)] 
Remove LIBRARY section from manpages.
Using .Lb seems redundant to what NAME section already provides.

SVN-Revision: 4225

13 years agoFix spacing from .Xr directives for mediawiki pages.
Andres Mejia [Thu, 2 Feb 2012 00:34:02 +0000 (19:34 -0500)] 
Fix spacing from .Xr directives for mediawiki pages.

SVN-Revision: 4224

13 years agoFix spacing between lines for mediawiki pages.
Andres Mejia [Thu, 2 Feb 2012 00:25:50 +0000 (19:25 -0500)] 
Fix spacing between lines for mediawiki pages.

SVN-Revision: 4223

13 years agoGet rid of warnings from awk scripts.
Andres Mejia [Thu, 2 Feb 2012 00:03:13 +0000 (19:03 -0500)] 
Get rid of warnings from awk scripts.

SVN-Revision: 4222

13 years agoUse proper format for bold in mediawiki.
Andres Mejia [Thu, 2 Feb 2012 00:03:08 +0000 (19:03 -0500)] 
Use proper format for bold in mediawiki.

SVN-Revision: 4221

13 years agoUse modified mdoc2wiki.awk script to generate wiki pages in mediawiki format.
Andres Mejia [Wed, 1 Feb 2012 23:31:56 +0000 (18:31 -0500)] 
Use modified mdoc2wiki.awk script to generate wiki pages in mediawiki format.

SVN-Revision: 4220

13 years agoUse html2wiki to generate mediawiki pages from generated html pages.
Andres Mejia [Wed, 1 Feb 2012 19:29:19 +0000 (14:29 -0500)] 
Use html2wiki to generate mediawiki pages from generated html pages.
Set use of html2wiki as optional.

SVN-Revision: 4219

13 years agoUse more basic groff options to generate html pages from mdoc pages.
Andres Mejia [Wed, 1 Feb 2012 19:29:15 +0000 (14:29 -0500)] 
Use more basic groff options to generate html pages from mdoc pages.

SVN-Revision: 4218

13 years agoMerge libarchive 3.0
Brad King [Mon, 30 Jan 2012 06:19:37 +0000 (01:19 -0500)] 
Merge libarchive 3.0

This commit was manufactured during conversion from SVN
to merge the libarchive 3.0 branch.

13 years agoMerged revision(s) 4216 from trunk:
Michihiro NAKAJIMA [Mon, 30 Jan 2012 06:19:37 +0000 (01:19 -0500)] 
Merged revision(s) 4216 from trunk:
Issue 236.
bsdtar creates invalid 7zip archives if there are no empty files.

SVN-Revision: 4217

13 years agoIssue 236.
Michihiro NAKAJIMA [Mon, 30 Jan 2012 06:11:17 +0000 (01:11 -0500)] 
Issue 236.
bsdtar creates invalid 7zip archives if there are no empty files.

SVN-Revision: 4216

13 years agoSet trunk version to 3.0.200a for pre-3.1 development.
Tim Kientzle [Mon, 30 Jan 2012 02:41:45 +0000 (21:41 -0500)] 
Set trunk version to 3.0.200a for pre-3.1 development.
(Mac OS doesn't like 900 here.)

SVN-Revision: 4215

13 years agoIssue 234: Fix typos in comments
Tim Kientzle [Sun, 29 Jan 2012 18:18:35 +0000 (13:18 -0500)] 
Issue 234: Fix typos in comments

SVN-Revision: 4214

13 years agoAdditional tests that for a combination of both archive_matching_newer_mtime_than
Michihiro NAKAJIMA [Wed, 25 Jan 2012 11:25:12 +0000 (06:25 -0500)] 
Additional tests that for a combination of both archive_matching_newer_mtime_than
and archive_matching_older_mtime_than, and also a combination of both
archive_matching_newer_ctime_than and archive_matching_older_ctime_than.

SVN-Revision: 4209

13 years agoSeparate sample files referenced from tests matching mtime or ctime into
Michihiro NAKAJIMA [Wed, 25 Jan 2012 11:08:52 +0000 (06:08 -0500)] 
Separate sample files referenced from tests matching mtime or ctime into
two types, one for mtime tests and other for ctime tests.

SVN-Revision: 4208

13 years agoFurther speed up test_archive_matching_time.
Michihiro NAKAJIMA [Wed, 25 Jan 2012 05:54:12 +0000 (00:54 -0500)] 
Further speed up test_archive_matching_time.

SVN-Revision: 4207

13 years agoSpeed up test_archive_matching_time by stopping making reference files for each
Michihiro NAKAJIMA [Wed, 25 Jan 2012 05:41:15 +0000 (00:41 -0500)] 
Speed up test_archive_matching_time by stopping making reference files for each
tests, wich take time to make sure those files have different ctime. And
make common reference files instead.

SVN-Revision: 4206

13 years agoSplit test_newer_than_file into two functions, test_newer_mtime than_file and
Michihiro NAKAJIMA [Wed, 25 Jan 2012 05:28:46 +0000 (00:28 -0500)] 
Split test_newer_than_file into two functions, test_newer_mtime than_file and
test_newer_ctime_than_file, and split test_older_than_file as well.

SVN-Revision: 4205

13 years agoRemove both MBS and WCS interfaces of archive_matching_pathname_newer_mtime.
Michihiro NAKAJIMA [Tue, 24 Jan 2012 10:00:59 +0000 (05:00 -0500)] 
Remove both MBS and WCS interfaces of archive_matching_pathname_newer_mtime.
I think them will not be used since archive_matching_pathname_newer_mtime is used for
matching entries that are already in an archive file being updated.
And rename archive_matching_pathname_newer_mtime_ae to archive_matching_pathname_newer_mtime.

SVN-Revision: 4204

13 years agoMerge fix for Issue 226 from trunk.
Tim Kientzle [Tue, 24 Jan 2012 06:52:48 +0000 (01:52 -0500)] 
Merge fix for Issue 226 from trunk.

SVN-Revision: 4203

13 years agoIssue 232: Restructure this so that r is correctly set
Tim Kientzle [Tue, 24 Jan 2012 06:43:52 +0000 (01:43 -0500)] 
Issue 232: Restructure this so that r is correctly set
before being used.

SVN-Revision: 4202

13 years agoIssue 226: Fix infinite loop when a data descriptor marking
Tim Kientzle [Tue, 24 Jan 2012 06:05:46 +0000 (01:05 -0500)] 
Issue 226: Fix infinite loop when a data descriptor marking
the end of an uncompressed entry falls exactly at the end of
a block and the seeking Zip reader tries to skip it.

To test this, the test_compat_zip_7 test reads a small sample
XPS file with every block size from 1 byte up to 1000 bytes.
(For this specific bug, an 807-byte block triggers the
problem.)

SVN-Revision: 4201

13 years agoSort entries in the central directory of a Zip archive by its local header offset
Michihiro NAKAJIMA [Tue, 24 Jan 2012 06:04:14 +0000 (01:04 -0500)] 
Sort entries in the central directory of a Zip archive by its local header offset
in order to reduce file seeking(calling __archive_read_seek) for read performance.

SVN-Revision: 4200

13 years agoIssue 225: The seeking Zip reader should fall back on
Tim Kientzle [Tue, 24 Jan 2012 05:23:53 +0000 (00:23 -0500)] 
Issue 225: The seeking Zip reader should fall back on
the filename to determine whether the current file
is a directory if there is not a POSIX mode value stored.

SVN-Revision: 4199

13 years agoDon't do direct comparison of timestamps that
Tim Kientzle [Tue, 24 Jan 2012 05:18:00 +0000 (00:18 -0500)] 
Don't do direct comparison of timestamps that
are in local time.

SVN-Revision: 4198

13 years agoIssue 232: Fix a missing header.
Tim Kientzle [Tue, 24 Jan 2012 05:11:51 +0000 (00:11 -0500)] 
Issue 232: Fix a missing header.

SVN-Revision: 4197

13 years agoRefactor archive_write_open_filename(_w) to make it simple, and be able to exceed...
Michihiro NAKAJIMA [Mon, 23 Jan 2012 13:16:49 +0000 (08:16 -0500)] 
Refactor archive_write_open_filename(_w) to make it simple, and be able to exceed MAX_PATH on Windows
when an MBS filename is specified.

SVN-Revision: 4196

13 years agoEliminate invoking __archive_errx() from archive_acl.c.
Michihiro NAKAJIMA [Mon, 23 Jan 2012 09:55:01 +0000 (04:55 -0500)] 
Eliminate invoking __archive_errx() from archive_acl.c.

SVN-Revision: 4195

13 years agoFix a memory leak in archive_matching.
Michihiro NAKAJIMA [Mon, 23 Jan 2012 09:12:54 +0000 (04:12 -0500)] 
Fix a memory leak in archive_matching.

SVN-Revision: 4194

13 years agoWhen ENOMEM happened in archive_string_append_from_wcs and archive_string_append_from...
Michihiro NAKAJIMA [Mon, 23 Jan 2012 09:08:46 +0000 (04:08 -0500)] 
When ENOMEM happened in archive_string_append_from_wcs and archive_string_append_from_mbs,
those function should report the error to the caller instead of invoking __archive_errx().
We should report that ENOMEM error as possible as we can and we still need to further
improve reporting ENOEM.

SVN-Revision: 4193

13 years agoRename read_open_memory2 to read_open_memory_minimal, which is
Tim Kientzle [Mon, 23 Jan 2012 05:06:04 +0000 (00:06 -0500)] 
Rename read_open_memory2 to read_open_memory_minimal, which is
a bit more descriptive.

SVN-Revision: 4192

13 years agoIssue 226: Try to reproduce a hang when reading archives
Tim Kientzle [Mon, 23 Jan 2012 04:56:28 +0000 (23:56 -0500)] 
Issue 226: Try to reproduce a hang when reading archives
where the length-at-end marker ends exactly on a block boundary.

This doesn't yet succeed, but I want to save this before
I do some other refactoring that might help get to it.

SVN-Revision: 4191

13 years agoIssue 225: Misreading directories in MSDOS Zip files.
Tim Kientzle [Mon, 23 Jan 2012 03:21:30 +0000 (22:21 -0500)] 
Issue 225: Misreading directories in MSDOS Zip files.

These files don't put a POSIX "mode" value in the "external
attributes" field.  We used to always assume a regular file if we
didn't see that.

Now, the code leaves the mode set to zero in that case.  When we read
the local file header, the fallback heuristics will kick in and
examine the filename to determine whether this is a directory
or a regular file.

SVN-Revision: 4190

13 years agoClarify an error message.
Tim Kientzle [Sun, 22 Jan 2012 19:53:42 +0000 (14:53 -0500)] 
Clarify an error message.

SVN-Revision: 4189

13 years agoProperly generate errno by la_dosmapper() and pass it to archive_set_error() in direc...
Michihiro NAKAJIMA [Sat, 21 Jan 2012 14:29:43 +0000 (09:29 -0500)] 
Properly generate errno by la_dosmapper() and pass it to archive_set_error() in directory traversals on Windows.

SVN-Revision: 4188

13 years agoDo not return ARCHIVE_WARN even if the current file cannot descend, simply returns...
Michihiro NAKAJIMA [Thu, 19 Jan 2012 11:56:38 +0000 (06:56 -0500)] 
Do not return ARCHIVE_WARN even if the current file cannot descend, simply returns ARCHIVE_OK.

SVN-Revision: 4187

13 years agoImplement optional behavior of archive_read_disk that do not traverse mount points...
Michihiro NAKAJIMA [Thu, 19 Jan 2012 11:51:43 +0000 (06:51 -0500)] 
Implement optional behavior of archive_read_disk that do not traverse mount points if user requests.

SVN-Revision: 4186

13 years agoAdd archive_read_disk_set_behavior function and drop archive_read_disk_honor_nodump and
Michihiro NAKAJIMA [Thu, 19 Jan 2012 11:15:41 +0000 (06:15 -0500)] 
Add archive_read_disk_set_behavior function and drop archive_read_disk_honor_nodump and
archive_read_disk_disable_mac_copyfile.

SVN-Revision: 4184

13 years agoMerge libarchive 2.8
Brad King [Thu, 19 Jan 2012 08:53:59 +0000 (03:53 -0500)] 
Merge libarchive 2.8

This commit was manufactured during conversion from SVN
to merge the libarchive 2.8 branch.

13 years agoIssue 224:Mishandling CD9660 images with RockRidge extensions from FreeBSD makefs.
Michihiro NAKAJIMA [Thu, 19 Jan 2012 08:53:59 +0000 (03:53 -0500)] 
Issue 224:Mishandling CD9660 images with RockRidge extensions from FreeBSD makefs.
Merge r4181 from trunk.

SVN-Revision: 4183

13 years agoIssue 224:Mishandling CD9660 images with RockRidge extensions from FreeBSD makefs.
Michihiro NAKAJIMA [Thu, 19 Jan 2012 08:53:30 +0000 (03:53 -0500)] 
Issue 224:Mishandling CD9660 images with RockRidge extensions from FreeBSD makefs.
Merge r4181 from trunk.

SVN-Revision: 4182