Author: kientzle
Date: Sat Jun 20 06:02:21 2009
New Revision: 194525
URL: http://svn.freebsd.org/changeset/base/194525
Log:
Fix tar --options=iso9660:joliet and other uses
of format-specific options.
Modified:
head/lib/libarchive/archive_read.c
Modified: head/lib/libarchive/archive_read.c
Author: kientzle
Date: Fri Jul 3 17:54:33 2009
New Revision: 195318
URL: http://svn.freebsd.org/changeset/base/195318
Log:
This fixes bsdcpio's -R option to accept numeric
user or group Ids as well as user or group names.
In particular, this fixes freesbie2, which uses
-R 0:0 to copy a
Jilles Tjoelker wrote:
On Wed, Jul 08, 2009 at 03:23:18PM +, Edward Tomasz Napierala wrote:
Author: trasz
Date: Wed Jul 8 15:23:18 2009
New Revision: 195458
URL: http://svn.freebsd.org/changeset/base/195458
Log:
There is an optimization in chmod(1), that makes it not to call chmod(2)
Author: kientzle
Date: Sat Jul 25 18:11:55 2009
New Revision: 195873
URL: http://svn.freebsd.org/changeset/base/195873
Log:
Libarchive recognizes hardlinked files on ISO images,
but returned them incorrectly, causing tar to actually
erase the resulting file while trying to restore the
Author: kientzle
Date: Sun Jul 26 18:11:44 2009
New Revision: 195895
URL: http://svn.freebsd.org/changeset/base/195895
Log:
The parser for Rockridge symlinks tended to insert
extra slashes at the beginning of absolute targets.
Thanks to Jung-uk Kim for pointing this out to me.
Author: kientzle
Date: Sat Aug 29 03:17:24 2009
New Revision: 196638
URL: http://svn.freebsd.org/changeset/base/196638
Log:
Style: Remove trailing whitespace.
Modified:
head/lib/libc/posix1e/acl_support.c
Modified: head/lib/libc/posix1e/acl_support.c
Author: kientzle
Date: Tue Sep 8 04:52:12 2009
New Revision: 196961
URL: http://svn.freebsd.org/changeset/base/196961
Log:
Update tests to match r195873, which corrected how hardlinked files
on iso9660 images were returned. While I'm poking around, update
some comments around this area to
Author: kientzle
Date: Tue Sep 8 05:02:41 2009
New Revision: 196962
URL: http://svn.freebsd.org/changeset/base/196962
Log:
Fiz /usr/bin/unzip: A bug deep in libarchive's read-ahead logic
(incorrect handling of zero-length reads before the copy buffer is
allocated) is masked by the iso9660
Andrey Chernov wrote:
On Tue, Sep 08, 2009 at 03:55:13PM +, Roman Divacky wrote:
+* Detect whether this is a text file. ... but libarchive
+* does not read the central directory, so we have to
+* guess ...
+*/
+ if (a_opt n == 0) {
+
Andrey Chernov wrote:
On Wed, Sep 09, 2009 at 08:16:09AM -0700, Tim Kientzle wrote:
Since this is only to support -a (which does end-of-line
conversions), I would suggest using a rather different
set of heuristics that examines end-of-line sequences
and control characters only:
* Any byte
Author: kientzle
Date: Thu Sep 17 06:31:59 2009
New Revision: 197266
URL: http://svn.freebsd.org/changeset/base/197266
Log:
MFC r196962: Fix /usr/bin/unzip: A bug deep in libarchive's read-ahead logic
(incorrect handling of zero-length reads before the copy buffer is
allocated) is masked by
Kostik Belousov wrote:
On Sun, Nov 01, 2009 at 06:25:11PM +, Christian Brueffer wrote:
Author: brueffer
Date: Sun Nov 1 18:25:11 2009
New Revision: 198768
URL: http://svn.freebsd.org/changeset/base/198768
Log:
Refine r198714, it's not as easy as just leaving the major number zero.
Author: kientzle
Date: Sun Apr 11 01:30:15 2010
New Revision: 206463
URL: http://svn.freebsd.org/changeset/base/206463
Log:
Correct the markup for the -s option,
document the iso9660:rockridge and mtree:indent options
Modified:
head/usr.bin/tar/bsdtar.1
Modified: head/usr.bin/tar/bsdtar.1
Author: kientzle
Date: Sun Apr 11 01:31:50 2010
New Revision: 206464
URL: http://svn.freebsd.org/changeset/base/206464
Log:
Remove an unnecessary include and conditionalize some code.
Modified:
head/usr.bin/tar/bsdtar.c
head/usr.bin/tar/bsdtar_platform.h
Modified:
Author: kientzle
Date: Sun Apr 11 01:32:30 2010
New Revision: 206465
URL: http://svn.freebsd.org/changeset/base/206465
Log:
Consistently specify O_BINARY when opening files.
Modified:
head/usr.bin/tar/write.c
Modified: head/usr.bin/tar/write.c
Author: kientzle
Date: Sun Apr 11 01:36:10 2010
New Revision: 206466
URL: http://svn.freebsd.org/changeset/base/206466
Log:
Fix -X.
Modified:
head/usr.bin/tar/matching.c
Modified: head/usr.bin/tar/matching.c
==
---
Author: kientzle
Date: Sun Apr 11 16:27:38 2010
New Revision: 206484
URL: http://svn.freebsd.org/changeset/base/206484
Log:
Diff reduction against bsdtar 2.8.3
Modified:
head/usr.bin/tar/subst.c
Modified: head/usr.bin/tar/subst.c
Author: kientzle
Date: Sun Apr 11 16:28:10 2010
New Revision: 206485
URL: http://svn.freebsd.org/changeset/base/206485
Log:
Diff reduction against bsdtar 2.8.3
Modified:
head/usr.bin/tar/tree.h
Modified: head/usr.bin/tar/tree.h
Alexander Best wrote:
does this commit fix bin/144786 entirely?
It fixes the problems listed in that bug.
In testing that bug, I've uncovered some other
problems with the inclusion/exclusion logic that
I'm still working through.
Tim
___
Author: kientzle
Date: Sun Apr 11 18:44:42 2010
New Revision: 206487
URL: http://svn.freebsd.org/changeset/base/206487
Log:
If a file is specifically both included and excluded, then:
* It is not extracted (because it is excluded)
* If it's not present in the archive, then an error is
Author: kientzle
Date: Sat May 8 15:43:59 2010
New Revision: 207786
URL: http://svn.freebsd.org/changeset/base/207786
Log:
Various manpage updates, including many long-option synonyms that were
previously undocumented.
Modified:
head/usr.bin/tar/bsdtar.1
Modified:
Author: kientzle
Date: Sat May 8 16:28:22 2010
New Revision: 207790
URL: http://svn.freebsd.org/changeset/base/207790
Log:
Config updates.
Modified:
head/usr.bin/tar/config_freebsd.h
Modified: head/usr.bin/tar/config_freebsd.h
Author: kientzle
Date: Sat May 8 16:29:02 2010
New Revision: 207791
URL: http://svn.freebsd.org/changeset/base/207791
Log:
FreeBSD is now using bsdtar 2.8.3.
Modified:
head/usr.bin/tar/Makefile
Modified: head/usr.bin/tar/Makefile
Author: kientzle
Date: Sat May 8 16:47:33 2010
New Revision: 207792
URL: http://svn.freebsd.org/changeset/base/207792
Log:
bsdcpio 2.8.3
Added:
head/usr.bin/cpio/err.h (contents, props changed)
head/usr.bin/cpio/line_reader.c (contents, props changed)
head/usr.bin/cpio/line_reader.h
Author: kientzle
Date: Sun May 16 20:43:17 2010
New Revision: 208169
URL: http://svn.freebsd.org/changeset/base/208169
Log:
Reorganize slightly in preparation for making lzma and bz2 support
conditional.
Modified:
head/lib/libarchive/Makefile
head/lib/libarchive/config_freebsd.h
Please try the attached patch and let me know if it fixes it for you...
Cheers,
Tim
Anonymous wrote:
Tim Kientzle kient...@freebsd.org writes:
Author: kientzle
Date: Sat May 8 16:28:22 2010
New Revision: 207790
URL: http://svn.freebsd.org/changeset/base/207790
Log:
Config updates
Author: kientzle
Date: Tue May 18 14:11:38 2010
New Revision: 208263
URL: http://svn.freebsd.org/changeset/base/208263
Log:
Retry reads that fail with EINTR. This fixes a problem
with bsdtar failing on SIGINT.
Modified:
head/lib/libarchive/archive_read_open_fd.c
Ah, yes. I did forget to add an EINTR check to the write side.
Attached patch should fix tar cf
Thanks for your careful testing...
Anonymous wrote:
Anonymous swel...@gmail.com writes:
Tim Kientzle kient...@freebsd.org writes:
Please try the attached patch and let me know if it fixes
Kostik Belousov wrote:
On 2010/05/26 11:47, Garrett Cooper wrote:
On Wed, May 26, 2010 at 11:28 AM, Rob Farmer rfar...@predatorlabs.net wrote:
Does the order of the libs entries matter? ...
In theory it shouldn't because the linker should be smart enough
to evaluate the dependencies and
Author: kientzle
Date: Mon Jun 14 02:26:13 2010
New Revision: 209147
URL: http://svn.freebsd.org/changeset/base/209147
Log:
Separate _posix1e_acl_id_to_name() into a separate file, to
break an unnecessary dependency on getpwuid() and getgrgid().
MFC after: 1 month
Added:
Author: kientzle
Date: Mon Jun 14 02:56:45 2010
New Revision: 209152
URL: http://svn.freebsd.org/changeset/base/209152
Log:
If the compressed data is larger than the uncompressed,
report the compression ratio as 0% instead of displaying
nonsense triggered by numeric overflow. This is
Author: kientzle
Date: Sat Jan 23 07:52:13 2010
New Revision: 202868
URL: http://svn.freebsd.org/changeset/base/202868
Log:
Fix a memory leak when a filter fails to initialize.
Modified:
head/lib/libarchive/archive_read.c
Modified: head/lib/libarchive/archive_read.c
Author: kientzle
Date: Sat Jan 23 07:52:44 2010
New Revision: 202869
URL: http://svn.freebsd.org/changeset/base/202869
Log:
Initialize the allocated 'struct zip'.
Modified:
head/lib/libarchive/archive_write_set_format_zip.c
Modified: head/lib/libarchive/archive_write_set_format_zip.c
Author: kientzle
Date: Sat Jan 23 07:54:15 2010
New Revision: 202871
URL: http://svn.freebsd.org/changeset/base/202871
Log:
If we can't stat a file, return the correct ARCHIVE_FAILED (this entry can't
be processed any further) and a suitable error string.
In particular, this improves the
Author: kientzle
Date: Sat Jan 23 07:55:53 2010
New Revision: 202872
URL: http://svn.freebsd.org/changeset/base/202872
Log:
Use a simpler memory-management strategy for the file objects.
Instead of trying to reference-count them and free them as soon
as they are no longer needed, we now
Author: kientzle
Date: Sat Jan 23 07:57:17 2010
New Revision: 202873
URL: http://svn.freebsd.org/changeset/base/202873
Log:
Don't try to hardlink block or character device nodes that come out
of cpio archives.
Modified:
head/lib/libarchive/archive_entry_link_resolver.c
Modified:
Author: kientzle
Date: Sat Jan 30 06:49:18 2010
New Revision: 203183
URL: http://svn.freebsd.org/changeset/base/203183
Log:
Support -V option to print a dot for each file processed.
Also, change the existing -vi behavior to send the filenames to
stderr rather than stdout, as GNU cpio does.
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/usr.bin/tar/err.c Sat Feb 6 19:44:37 2010(r203557)
@@ -0,0 +1,74 @@
+/*-
+ * Copyright (c) 2003-2010 Tim Kientzle
+ * All rights reserved
Author: kientzle
Date: Sat Feb 6 19:48:59 2010
New Revision: 203558
URL: http://svn.freebsd.org/changeset/base/203558
Log:
Allow -b up to 8192. I've had reports from people who routinely
use -b 2048 (1MiB block size). Setting the limit to 8192 should
allow some room for growth while
Author: kientzle
Date: Sat Feb 6 19:53:48 2010
New Revision: 203559
URL: http://svn.freebsd.org/changeset/base/203559
Log:
Reformat the Makefile slightly.
Modified:
head/usr.bin/tar/Makefile
Modified: head/usr.bin/tar/Makefile
Author: kientzle
Date: Sat Feb 6 19:56:32 2010
New Revision: 203560
URL: http://svn.freebsd.org/changeset/base/203560
Log:
Remove all traces of an experiment for handling root on Windows systems.
Modified:
head/usr.bin/tar/bsdtar.c
head/usr.bin/tar/bsdtar_platform.h
Modified:
Author: kientzle
Date: Sat Feb 6 20:27:36 2010
New Revision: 203568
URL: http://svn.freebsd.org/changeset/base/203568
Log:
Refactor the siginfo/sigusr1 handling. The read/write reporting
is sufficiently different that it was simpler to just put separate
reporting functions into read.c and
Author: kientzle
Date: Sat Feb 6 20:36:14 2010
New Revision: 203569
URL: http://svn.freebsd.org/changeset/base/203569
Log:
bsdtar doesn't actually know what compression is supported by libarchive
and it should not pretend that it does. It should just pass along the
user's request and
Author: kientzle
Date: Sat Feb 6 20:41:25 2010
New Revision: 203571
URL: http://svn.freebsd.org/changeset/base/203571
Log:
Fill in some missing error handling, be a little more careful about
error reporting, prefer int64_t to off_t.
Modified:
head/usr.bin/tar/read.c
Author: kientzle
Date: Sun Feb 7 01:07:58 2010
New Revision: 203586
URL: http://svn.freebsd.org/changeset/base/203586
Log:
Trim out some unused configuration variables, remove
some unused headers, etc.
Modified:
head/usr.bin/tar/bsdtar.c
head/usr.bin/tar/bsdtar_platform.h
Author: kientzle
Date: Sun Feb 7 01:16:05 2010
New Revision: 203587
URL: http://svn.freebsd.org/changeset/base/203587
Log:
Minor code rework.
Modified:
head/usr.bin/tar/getdate.c
Modified: head/usr.bin/tar/getdate.c
Author: kientzle
Date: Sun Feb 7 01:22:55 2010
New Revision: 203588
URL: http://svn.freebsd.org/changeset/base/203588
Log:
Restructure the logic that determines when we're crossing a mount
point. In particular, this carves out a place for detecting and
excluding synthetic or network
Author: kientzle
Date: Sun Feb 7 01:26:45 2010
New Revision: 203589
URL: http://svn.freebsd.org/changeset/base/203589
Log:
Various portability workarounds for non-FreeBSD platforms.
Modified:
head/usr.bin/tar/bsdtar.c
head/usr.bin/tar/write.c
Modified: head/usr.bin/tar/bsdtar.c
Author: kientzle
Date: Sun Feb 7 01:35:28 2010
New Revision: 203590
URL: http://svn.freebsd.org/changeset/base/203590
Log:
Style Portability: Use archive_entry methods to examine
file information, change some functions to static, remove
some unused headers.
Modified:
Feb 7 02:00:26 2010
(r203593)
@@ -0,0 +1,171 @@
+/*-
+ * Copyright (c) 2008 Tim Kientzle
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1
Garrett Cooper wrote:
On Wed, Feb 17, 2010 at 1:11 AM, Poul-Henning Kamp p...@freebsd.org wrote:
Author: phk
Date: Wed Feb 17 09:11:21 2010
New Revision: 203990
URL: http://svn.freebsd.org/changeset/base/203990
Log:
Mention EISDIR as a possible errno.
Modified:
head/lib/libc/sys/unlink.2
Author: kientzle
Date: Tue Oct 21 05:08:35 2008
New Revision: 184109
URL: http://svn.freebsd.org/changeset/base/184109
Log:
If we don't know the file size, leave the file size unset.
If it's not a regular file, don't return any data, even if the size is
unknown.
Update the Zip test with
23 04:48:48
2008(r184195, copy of r184038,
head/lib/libarchive/test/test_acl_freebsd.c)
@@ -0,0 +1,243 @@
+/*-
+ * Copyright (c) 2003-2008 Tim Kientzle
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted
23 04:50:06
2008(r184196, copy of r184038,
head/lib/libarchive/test/test_acl_freebsd.c)
@@ -0,0 +1,243 @@
+/*-
+ * Copyright (c) 2003-2008 Tim Kientzle
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted
/test_acl_freebsd.c Thu Oct 23 04:51:14
2008(r184197, copy of r184038,
head/lib/libarchive/test/test_acl_freebsd.c)
@@ -0,0 +1,243 @@
+/*-
+ * Copyright (c) 2003-2008 Tim Kientzle
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification
Author: kientzle
Date: Wed Nov 5 05:26:11 2008
New Revision: 184668
URL: http://svn.freebsd.org/changeset/base/184668
Log:
Fix compile warnings building on amd64. This is modified slightly
from Jaakko's original patch: I have misgivings about the portability
of the 'z' printf modifier so
Xin LI wrote:
Author: kientzle
Date: Wed Nov 5 05:26:11 2008
New Revision: 184668
URL: http://svn.freebsd.org/changeset/base/184668
[...]
@@ -494,7 +494,8 @@ test_assert_empty_file(const char *f1fmt
if (fd 0) {
fprintf(stderr, Unable to open %s\n, f1);
: This is why there's such a big push to get systems to properly support
: UTF-8. FreeBSD had a SoC project this year that was supposed to
: properly implement Unicode collations...
That makes sense.
Yes, UTF-8 is good. More UTF-8, please.
Tim
___
10 05:04:55
2008(r184807)
@@ -0,0 +1,77 @@
+/*-
+ * Copyright (c) 2003-2007 Tim Kientzle
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1
Tom Rhodes wrote:
Ed Schouten [EMAIL PROTECTED] wrote:
John Baldwin [EMAIL PROTECTED] wrote:
- * ARE DISCLAIMED. IN NO EVENT SHALL JOHN BALDWIN OR THE VOICES IN HIS HEAD
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES...
So you got rid
Author: kientzle
Date: Thu Nov 27 05:49:52 2008
New Revision: 185360
URL: http://svn.freebsd.org/changeset/base/185360
Log:
After visiting a subdirectory, we use chdir(..) or
fchdir() to return back to the parent. If those fail,
we're just dead in the water. Add a new error value
Author: kientzle
Date: Thu Nov 27 06:21:04 2008
New Revision: 185361
URL: http://svn.freebsd.org/changeset/base/185361
Log:
The timezone byte is a signed value, treat it as such.
Otherwise, time zone information for time zones west of
GMT gets discarded.
PR: kern/128934
Tim Kientzle
+ * Copyright (c) 2003-2008 Tim Kientzle
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -152,12 +152,29 @@ __LA_DECL struct archive_entry*archive_
/*
* Retrieve fields from an archive_entry.
+ *
+ * There are a number
@@
/*-
- * Copyright (c) 2003-2007 Tim Kientzle
+ * Copyright (c) 2003-2008 Tim Kientzle
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -152,12 +152,29 @@ __LA_DECL struct archive_entry*archive_
/*
* Retrieve fields from an archive_entry
Author: kientzle
Date: Fri Nov 28 20:14:41 2008
New Revision: 185411
URL: http://svn.freebsd.org/changeset/base/185411
Log:
MFC r185359: Non-zero exit when directories disappear
during the filesystem traversal.
Tested by:David Wolfskill
Approved by: re
Modified:
Author: kientzle
Date: Sat Nov 29 03:17:29 2008
New Revision: 185423
URL: http://svn.freebsd.org/changeset/base/185423
Log:
MFC r185361: timezone value is signed
PR: kern/128934
Submitted by: J.R. Oldroyd
Approved by: re
Modified:
stable/7/sys/fs/cd9660/cd9660_node.c
Author: kientzle
Date: Sat Nov 29 03:21:25 2008
New Revision: 185424
URL: http://svn.freebsd.org/changeset/base/185424
Log:
MFC r185361: Timezone value is signed.
PR: kern/128934
Submitted by: J.R. Oldroyd
Approved by: re
Modified:
releng/7.1/sys/fs/cd9660/cd9660_node.c
Author: kientzle
Date: Sat Nov 29 05:08:49 2008
New Revision: 185425
URL: http://svn.freebsd.org/changeset/base/185425
Log:
MFC r185334: Recognize Rockridge extensions even when the
IEEE-standard extension name (as standardized in 1994) is used.
PR: kern/128942
Submitted by:
Author: kientzle
Date: Sat Nov 29 05:10:30 2008
New Revision: 185426
URL: http://svn.freebsd.org/changeset/base/185426
Log:
MFC r185334: Recognize Rockridge extensions even when the
IEEE-standard extension name (as standardized in 1994) is used.
PR: kern/128942
Submitted by:
Alfred Perlstein wrote:
Author: alfred
Date: Mon Dec 1 00:45:51 2008
New Revision: 185499
URL: http://svn.freebsd.org/changeset/base/185499
Log:
Provide a 'tinderbox' target that compiles enough of FreeBSD that
a developer can rest reasonably assured that the tinderbox will not
be
Author: kientzle
Date: Sat Dec 6 05:52:01 2008
New Revision: 185664
URL: http://svn.freebsd.org/changeset/base/185664
Log:
2 is more portable than STDERR_FILENO
Modified:
head/lib/libarchive/archive_check_magic.c
Modified: head/lib/libarchive/archive_check_magic.c
Author: kientzle
Date: Sat Dec 6 05:55:46 2008
New Revision: 185666
URL: http://svn.freebsd.org/changeset/base/185666
Log:
Minor portability: Declare 'r' only within the conditional
block where it's used; S_ISLNK is more portable than S_ISLINK.
Modified:
Author: kientzle
Date: Sat Dec 6 05:56:43 2008
New Revision: 185667
URL: http://svn.freebsd.org/changeset/base/185667
Log:
New internal archive_string_concat utility function.
Modified:
head/lib/libarchive/archive_string.c
head/lib/libarchive/archive_string.h
Modified:
Author: kientzle
Date: Sat Dec 6 05:58:24 2008
New Revision: 185668
URL: http://svn.freebsd.org/changeset/base/185668
Log:
Recover from a test failure here.
Modified:
head/lib/libarchive/test/test_read_format_gtar_sparse.c
Modified: head/lib/libarchive/test/test_read_format_gtar_sparse.c
Author: kientzle
Date: Sat Dec 6 06:00:52 2008
New Revision: 185670
URL: http://svn.freebsd.org/changeset/base/185670
Log:
Style improvements.
Modified:
head/lib/libarchive/test/test_read_format_cpio_bin_bz2.c
Modified: head/lib/libarchive/test/test_read_format_cpio_bin_bz2.c
Author: kientzle
Date: Sat Dec 6 06:01:50 2008
New Revision: 185671
URL: http://svn.freebsd.org/changeset/base/185671
Log:
Style: skipping() function correctly counts this as a skipped test.
Modified:
head/lib/libarchive/test/test_write_disk_perms.c
Modified:
Author: kientzle
Date: Sat Dec 6 06:02:26 2008
New Revision: 185672
URL: http://svn.freebsd.org/changeset/base/185672
Log:
Recover after test failure.
Modified:
head/lib/libarchive/test/test_write_format_cpio.c
Modified: head/lib/libarchive/test/test_write_format_cpio.c
Author: kientzle
Date: Sat Dec 6 06:12:24 2008
New Revision: 185674
URL: http://svn.freebsd.org/changeset/base/185674
Log:
A couple of portability fixes from Joerg Sonnenberger
Modified:
head/lib/libarchive/archive_endian.h
Modified: head/lib/libarchive/archive_endian.h
Author: kientzle
Date: Sat Dec 6 06:17:18 2008
New Revision: 185675
URL: http://svn.freebsd.org/changeset/base/185675
Log:
Style fixes:
* Wrap long declarations to fit 80 chars
* #undef macros that shouldn't be exported
* Organize the version-dependent conditionals a
bit more
Author: kientzle
Date: Sat Dec 6 06:18:46 2008
New Revision: 185676
URL: http://svn.freebsd.org/changeset/base/185676
Log:
Structure declarations can't be dllexported.
Modified:
head/lib/libarchive/archive_entry.h
Modified: head/lib/libarchive/archive_entry.h
Author: kientzle
Date: Sat Dec 6 06:20:21 2008
New Revision: 185677
URL: http://svn.freebsd.org/changeset/base/185677
Log:
Use GCC-specific dead function markers only when using GCC.
Modified:
head/lib/libarchive/archive_private.h
Modified: head/lib/libarchive/archive_private.h
Author: kientzle
Date: Sat Dec 6 06:45:15 2008
New Revision: 185679
URL: http://svn.freebsd.org/changeset/base/185679
Log:
MfP4: Big read filter refactoring.
This is an attempt to eliminate a lot of redundant
code from the read (decompression) filters by
changing them to juggle
Author: kientzle
Date: Sat Dec 6 06:50:09 2008
New Revision: 185680
URL: http://svn.freebsd.org/changeset/base/185680
Log:
Conditionalize a bunch of debugging messages; this also
eliminates what should be the only remaining stdio dependency.
Modified:
Author: kientzle
Date: Sat Dec 6 06:55:07 2008
New Revision: 185681
URL: http://svn.freebsd.org/changeset/base/185681
Log:
General improvements to Rockridge parsing and ISO9660 format detection.
Modified:
head/lib/libarchive/archive_read_support_format_iso9660.c
Modified:
Author: kientzle
Date: Sat Dec 6 06:57:45 2008
New Revision: 185682
URL: http://svn.freebsd.org/changeset/base/185682
Log:
Strip ;1 and trailing . from ISO9660 entries.
This seems a better match for people's expectations.
Modified:
head/lib/libarchive/archive_read_support_format_iso9660.c
)
@@ -0,0 +1,89 @@
+/*-
+ * Copyright (c) 2003-2008 Tim Kientzle
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain
Author: kientzle
Date: Sat Dec 6 07:30:40 2008
New Revision: 185685
URL: http://svn.freebsd.org/changeset/base/185685
Log:
Custom command line parser for cpio; this is a little more
code but should be a lot fewer cross-platform compatibility
headaches.
Modified:
Author: kientzle
Date: Sat Dec 6 07:37:14 2008
New Revision: 185686
URL: http://svn.freebsd.org/changeset/base/185686
Log:
Only use GCC-specific __dead2 marker when building with GCC.
Modified:
head/usr.bin/tar/bsdtar.h
head/usr.bin/tar/bsdtar_platform.h
Modified:
Author: kientzle
Date: Sat Dec 6 07:38:14 2008
New Revision: 185688
URL: http://svn.freebsd.org/changeset/base/185688
Log:
bsdtar is synced up with 2.5.903a
Modified:
head/usr.bin/tar/Makefile
Modified: head/usr.bin/tar/Makefile
Author: kientzle
Date: Mon Dec 8 17:18:37 2008
New Revision: 185770
URL: http://svn.freebsd.org/changeset/base/185770
Log:
MFC r185667,r185680,r185681: Overhaul the Rockridge option
parsing and beef up the ISO9660 bidder. This makes the
ISO reader a lot more robust when reading malformed
Author: kientzle
Date: Mon Dec 8 17:22:44 2008
New Revision: 185771
URL: http://svn.freebsd.org/changeset/base/185771
Log:
Obey the TMPDIR, TMP, TEMP, or TEMPDIR environment variables
when choosing a scratch directory for the tests. Fallback
to /tmp, of course.
Modified:
Author: kientzle
Date: Tue Dec 9 04:17:44 2008
New Revision: 185783
URL: http://svn.freebsd.org/changeset/base/185783
Log:
MFC r185667,r185680,r185681: Overhaul the Rockridge option
parsing and beef up the ISO9660 bidder. This makes the
ISO reader a lot more robust when reading malformed
Benjamin Kaduk wrote:
... I think that the new
sentence--new line may also relate to having two spaces
between sentences -- I think that (e.g.) e.g. should be okay.
It's mostly about keeping diffs easy to read.
Changes that add, remove, or edit a single sentence
are pretty common.
If every
Author: kientzle
Date: Sat May 30 07:08:16 2009
New Revision: 193083
URL: http://svn.freebsd.org/changeset/base/193083
Log:
Link libarchive against -lmd and -lcrypto.
Thanks to Ed Schouten for the clue.
Modified:
head/lib/libarchive/Makefile
Modified: head/lib/libarchive/Makefile
Author: kientzle
Date: Sat May 30 17:26:55 2009
New Revision: 193101
URL: http://svn.freebsd.org/changeset/base/193101
Log:
Include libmd and libcrypto in DPADD
Modified:
head/lib/libarchive/Makefile
Modified: head/lib/libarchive/Makefile
Sam Leffler wrote:
Ed Schouten wrote:
Log:
Enable PRINTF_BUFR_SIZE on i386 and amd64 by default.
Thank you!
When I suggested enabling this by default for SMP configurations I was
reminded it wasn't enabled because of potential stack overflow.
If 128 is problematic, we can try a lower
... we'd have to mod apps to do things like remove use of
gnu-long-opts in to switch away from things like gtar and the savings is
unclear. But I can ask...
FYI: bsdtar already supports the most popular GNU tar
long options. There should be extremely few ports
that actually require GNU tar.
Author: kientzle
Date: Sun Mar 29 01:00:48 2009
New Revision: 190516
URL: http://svn.freebsd.org/changeset/base/190516
Log:
MFC r187976: Restore timestamps on symlinks
Before this fix, pax would stop the restore sequence for
symlinks after setting the owner. As a result, mode
Author: kientzle
Date: Sun Mar 29 01:04:13 2009
New Revision: 190517
URL: http://svn.freebsd.org/changeset/base/190517
Log:
Merge r188343 from -CURRENT: Unbreak writing shar archives.
When copying file data to the archive, don't write more
than was read. This seems to have only
Author: kientzle
Date: Sat Apr 4 20:08:08 2009
New Revision: 190699
URL: http://svn.freebsd.org/changeset/base/190699
Log:
Temporary hack to unbreak user/group lookups;
use a larger buffer for getpwuid_r/getgrgid_r.
This needs to be dynamically sized.
Modified:
1 - 100 of 407 matches
Mail list logo