svn commit: r189515 - in head/usr.bin/tar: . test

2009-03-07 Thread Tim Kientzle
Author: kientzle Date: Sun Mar 8 05:24:37 2009 New Revision: 189515 URL: http://svn.freebsd.org/changeset/base/189515 Log: Merge r435,r443 from libarchive.googlecode.com: Let the compiler options determine how to read config.h. Modified: head/usr.bin/tar/bsdtar_platform.h

svn commit: r189516 - head/usr.bin/tar

2009-03-07 Thread Tim Kientzle
Author: kientzle Date: Sun Mar 8 05:28:52 2009 New Revision: 189516 URL: http://svn.freebsd.org/changeset/base/189516 Log: Merge r529 from libarchive.googlecode.com: Fix how we read ext2fs_fs.h headers on Linux. Modified: head/usr.bin/tar/write.c Modified: head/usr.bin/tar/write.c

svn commit: r189517 - head/usr.bin/tar

2009-03-07 Thread Tim Kientzle
Author: kientzle Date: Sun Mar 8 05:34:20 2009 New Revision: 189517 URL: http://svn.freebsd.org/changeset/base/189517 Log: Merge r552,r559 from libarchive.googlecode.com: High-resolution time support on Tru64, AIX, and GNU Hurd, thanks to Björn Jacke. Modified:

svn commit: r189518 - head/usr.bin/tar

2009-03-07 Thread Tim Kientzle
Author: kientzle Date: Sun Mar 8 05:35:59 2009 New Revision: 189518 URL: http://svn.freebsd.org/changeset/base/189518 Log: Merge r622 from libarchive.googlecode.com: Avoid warning on platforms that lack regex.h. Modified: head/usr.bin/tar/util.c Modified: head/usr.bin/tar/util.c

svn commit: r189519 - head/usr.bin/tar/test

2009-03-07 Thread Tim Kientzle
Author: kientzle Date: Sun Mar 8 05:38:45 2009 New Revision: 189519 URL: http://svn.freebsd.org/changeset/base/189519 Log: Merge r368,496,625,626 from libarchive.googlecode.com: A number of style and portability tweaks to the test harness. Most significantly, don't use getopt().

svn commit: r189524 - in head/usr.bin/tar: . test

2009-03-07 Thread Tim Kientzle
Author: kientzle Date: Sun Mar 8 06:09:20 2009 New Revision: 189524 URL: http://svn.freebsd.org/changeset/base/189524 Log: Match a comment to reduce differences with libarchive.googlecode.com. Modified: head/usr.bin/tar/bsdtar.c head/usr.bin/tar/test/main.c Modified:

svn commit: r189526 - head/usr.bin/tar

2009-03-07 Thread Tim Kientzle
Author: kientzle Date: Sun Mar 8 06:19:28 2009 New Revision: 189526 URL: http://svn.freebsd.org/changeset/base/189526 Log: Merge r492 from libarchive.googlecode.com: First cut at exposing the new options mechanism to userland. Documentation pending... Modified: head/usr.bin/tar/bsdtar.c

svn commit: r189527 - head/usr.bin/tar

2009-03-07 Thread Tim Kientzle
Author: kientzle Date: Sun Mar 8 06:20:35 2009 New Revision: 189527 URL: http://svn.freebsd.org/changeset/base/189527 Log: Update version to 2.6.901a to indicate this is synced up with r745 of libarchive.googlecode.com (except for the lzma/xz support). Modified: head/usr.bin/tar/Makefile

svn commit: r189464 - in head/lib/libarchive: . test

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 00:25:33 2009 New Revision: 189464 URL: http://svn.freebsd.org/changeset/base/189464 Log: Merge r659 from libarchive.googlecode.com: Correctly report none as the compression name when no other read filter bid. Add some assertions to various tests to

svn commit: r189465 - head/lib/libarchive

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 00:36:50 2009 New Revision: 189465 URL: http://svn.freebsd.org/changeset/base/189465 Log: Merge r283,r529 from libarchive.googlecode.com: Fix ext2_fs.h includes for Linux. Modified: head/lib/libarchive/archive_entry.c

svn commit: r189466 - head/lib/libarchive

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 00:52:02 2009 New Revision: 189466 URL: http://svn.freebsd.org/changeset/base/189466 Log: Merge r552,r559 from libarchive.googlecode.com: Support high-resolution timestamps on Tru64, AIX, and GNU Hurd. Thanks to Björn Jacke. Modified:

svn commit: r189467 - head/lib/libarchive

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 01:08:16 2009 New Revision: 189467 URL: http://svn.freebsd.org/changeset/base/189467 Log: Minor whitespace adjustment to reduce diffs with libarchive.googlecode.com. Modified: head/lib/libarchive/archive_private.h Modified:

svn commit: r189468 - head/lib/libarchive/test

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 01:12:01 2009 New Revision: 189468 URL: http://svn.freebsd.org/changeset/base/189468 Log: Merge the rest of r453 from libarchive.googlecode.com: Test using libarchive APIs to read extended attributes from disk on FreeBSD. Modified:

svn commit: r189469 - head/lib/libarchive

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 01:17:13 2009 New Revision: 189469 URL: http://svn.freebsd.org/changeset/base/189469 Log: Merge r564,r566 from libarchive.googlecode.com: Fix segfault when specifying an option and the current format doesn't have an options handler. Modified:

svn commit: r189471 - head/lib/libarchive

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 01:18:30 2009 New Revision: 189471 URL: http://svn.freebsd.org/changeset/base/189471 Log: Merge r608 from libarchive.googlecode.com: Clear a newly-allocated bidder object. Modified: head/lib/libarchive/archive_read.c Modified:

svn commit: r189472 - in head/lib/libarchive: . test

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 01:21:46 2009 New Revision: 189472 URL: http://svn.freebsd.org/changeset/base/189472 Log: Merge r714,r715 from libarchive.googlecode.com: Fix Debian bug #516577. Don't crash if client does not provide a skip function. Extend one of the test cases to use

svn commit: r189473 - in head/lib/libarchive: . test

2009-03-06 Thread Tim Kientzle
) 2003-2009 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 the above copyright + *notice

svn commit: r189474 - in head/lib/libarchive: . test

2009-03-06 Thread Tim Kientzle
(r189474) @@ -1,5 +1,6 @@ /*- * Copyright (c) 2003-2007 Tim Kientzle + * Copyright (c) 2009 Andreas Henriksson andr...@fatal.se * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -148,6 +149,28 @@ __FBSDID($FreeBSD$); #error PVD offset and size

svn commit: r189475 - head/lib/libarchive

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 02:29:43 2009 New Revision: 189475 URL: http://svn.freebsd.org/changeset/base/189475 Log: Merge r591 from libarchive.googlecode.com: signed/unsigned fixes. Modified: head/lib/libarchive/archive_read_support_compression_bzip2.c Modified:

svn commit: r189476 - head/lib/libarchive

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 02:47:04 2009 New Revision: 189476 URL: http://svn.freebsd.org/changeset/base/189476 Log: Merge r550,584,587,609,647,674 from libarchive.googlecode.com: Refactor the read_compression_program to add two new abilities: * Public API: You can now include a

svn commit: r189479 - head/lib/libarchive

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 03:00:44 2009 New Revision: 189479 URL: http://svn.freebsd.org/changeset/base/189479 Log: Merge r723 from libarchive.googlecode.com: Don't try to restore owner or SUID bits on Windows; just ignore them. Modified: head/lib/libarchive/archive_write_disk.c

svn commit: r189480 - head/lib/libarchive

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 03:04:06 2009 New Revision: 189480 URL: http://svn.freebsd.org/changeset/base/189480 Log: Merge r540 from libarchive.googlecode.com: Interix doesn't have inttypes.h either. sigh Modified: head/lib/libarchive/archive.h Modified:

svn commit: r189482 - head/lib/libarchive/test

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 03:30:35 2009 New Revision: 189482 URL: http://svn.freebsd.org/changeset/base/189482 Log: Merge r335,653,676 from libarchive.googlecode.com: Instead of conditioning tests on HAVE_ZLIB, etc, just ask libarchive for the service and handle the failure coming

svn commit: r189486 - head/lib/libarchive/test

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 07:19:25 2009 New Revision: 189486 URL: http://svn.freebsd.org/changeset/base/189486 Log: Fix spelling. Modified: head/lib/libarchive/test/main.c Modified: head/lib/libarchive/test/main.c

svn commit: r189487 - head/lib/libarchive/test

2009-03-06 Thread Tim Kientzle
Author: kientzle Date: Sat Mar 7 07:23:04 2009 New Revision: 189487 URL: http://svn.freebsd.org/changeset/base/189487 Log: Merge r718 from libarchive.googlecode.com: Some additional tests of restoring files to disk with unusual characters, specifically to exercise Windows issues.

svn commit: r189417 - head/lib/libarchive/test

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 18:30:50 2009 New Revision: 189417 URL: http://svn.freebsd.org/changeset/base/189417 Log: Merge r386,r395,r451 from libarchive.googlecode.com: On Windows, break into the debugger on test setup failures (otherwise, the console window just goes away and you

svn commit: r189419 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 18:38:36 2009 New Revision: 189419 URL: http://svn.freebsd.org/changeset/base/189419 Log: Merge r389 from libarchive.googlecode.com: Fix a memory leak in ISO9660 handler structure whenever a file entry has a nonsensical CE offset. Modified:

svn commit: r189424 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 21:18:10 2009 New Revision: 189424 URL: http://svn.freebsd.org/changeset/base/189424 Log: Merge r390,r391,r392,r397 from libarchive.googlecode.com: Virtualize close and finish across both read and write interfaces. (Someday, finish should be renamed to

svn commit: r189427 - in head/lib/libarchive: . test

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 04:21:23 2009 New Revision: 189427 URL: http://svn.freebsd.org/changeset/base/189427 Log: Merge r394,r396 from libarchive.googlecode.com: Plug some memory leaks in the ACL test, correctly mark that FreeBSD has acl_get_perm_np(). Modified:

svn commit: r189429 - in head/lib/libarchive: . test

2009-03-05 Thread Tim Kientzle
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libarchive/archive_read_disk.c Fri Mar 6 04:35:31 2009 (r189429) @@ -0,0 +1,198 @@ +/*- + * Copyright (c) 2003-2009 Tim Kientzle + * All rights reserved. + * + * Redistribution and use

svn commit: r189430 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 04:50:39 2009 New Revision: 189430 URL: http://svn.freebsd.org/changeset/base/189430 Log: Merge r407,r508 from libarchive.googlecode.com: Correctly handle Zip entries that are zero length but stored with deflate. This is arguably a silly thing to do

svn commit: r189431 - in head/lib/libarchive: . test

2009-03-05 Thread Tim Kientzle
(r189431) @@ -0,0 +1,154 @@ +/*- + * Copyright (c) 2003-2009 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

svn commit: r189432 - in head/lib/libarchive: . test

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:04:15 2009 New Revision: 189432 URL: http://svn.freebsd.org/changeset/base/189432 Log: Merge r435,r443 from libarchive.googlecode.com: Read config files from include path; this makes it easier to support multiple build frameworks. Modified:

svn commit: r189433 - head/lib/libarchive/test

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:07:03 2009 New Revision: 189433 URL: http://svn.freebsd.org/changeset/base/189433 Log: Merge r420,r494 from libarchive.googlecode.com: Prettify the test harness a bit: remove a dead comment, tweak the wording of the summary report. Modified:

svn commit: r189434 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:13:12 2009 New Revision: 189434 URL: http://svn.freebsd.org/changeset/base/189434 Log: Merge r457 from libarchive.googlecode.com: Stop appending strerror() information to error strings. This caused a lot of unnecessary duplication in error messages; in

svn commit: r189436 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:38:53 2009 New Revision: 189436 URL: http://svn.freebsd.org/changeset/base/189436 Log: Merge r403,702,721 from libarchive.googlecode.com: Handle odd pathnames on Windows by mapping '\\' to '/' and converting illegal characters to '_'. Modified:

svn commit: r189437 - head/lib/libarchive/test

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 05:40:09 2009 New Revision: 189437 URL: http://svn.freebsd.org/changeset/base/189437 Log: Merge r448 from libarchive.googlecode.com: Suppress testing write_disk failures on Windows for now. Someday this will be revisited. Modified:

svn commit: r189439 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 06:13:25 2009 New Revision: 189439 URL: http://svn.freebsd.org/changeset/base/189439 Log: Merge r541,r542 from libarchive.googlecode.com: Two sign mismatches in the Zip reader. Modified: head/lib/libarchive/archive_read_support_format_zip.c Modified:

svn commit: r189440 - head/lib/libarchive

2009-03-05 Thread Tim Kientzle
Author: kientzle Date: Fri Mar 6 06:14:44 2009 New Revision: 189440 URL: http://svn.freebsd.org/changeset/base/189440 Log: Merge r668 from libarchive.googlecode.com: Style correction to the 'ar' reader: Don't redefine 'isdigit' and don't create a macro that's only used once. Modified:

svn commit: r189381 - head/lib/libarchive/test

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:31:48 2009 New Revision: 189381 URL: http://svn.freebsd.org/changeset/base/189381 Log: Merge r341,r345,r346,347 from libarchive.googlecode.com: Style fixes to test harness and a few extra guards to detect tests that can't succeed on certain platforms.

svn commit: r189382 - head/lib/libarchive

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:35:21 2009 New Revision: 189382 URL: http://svn.freebsd.org/changeset/base/189382 Log: Merge r344 from libarchive.googlecode.com: __LA_INT64_T and __LA_SSIZE_T are part of the public API and therefore need to be exposed. This is ugly; I'd like to find a

svn commit: r189383 - head/lib/libarchive

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:36:13 2009 New Revision: 189383 URL: http://svn.freebsd.org/changeset/base/189383 Log: Merge r342 from libarchive.googlecode.com: Remove some Windows special casing. Modified: head/lib/libarchive/archive_write_disk.c Modified:

svn commit: r189384 - head/lib/libarchive/test

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:41:02 2009 New Revision: 189384 URL: http://svn.freebsd.org/changeset/base/189384 Log: Merge r362 from libarchive.googlecode.com: Minor fix to custom argument parser. Modified: head/lib/libarchive/test/main.c Modified: head/lib/libarchive/test/main.c

svn commit: r189385 - head/lib/libarchive/test

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:42:50 2009 New Revision: 189385 URL: http://svn.freebsd.org/changeset/base/189385 Log: Merge r357 from libarchive.googlecode.com: bzip2 compression support can always be enabled even if bzlib doesn't exist on this platform; don't give up until we fail to

svn commit: r189386 - head/lib/libarchive

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 00:44:12 2009 New Revision: 189386 URL: http://svn.freebsd.org/changeset/base/189386 Log: Merge r356 and r358 from libarchive.googlecode.com: Remove a Windows special case from archive_entry.c, add one to archive_check_magic.c. Modified:

svn commit: r189388 - head/lib/libarchive

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 01:59:49 2009 New Revision: 189388 URL: http://svn.freebsd.org/changeset/base/189388 Log: Correct r189383, which mis-merged a change from libarchive.googlecode.com. Modified: head/lib/libarchive/archive_write_disk.c Modified:

svn commit: r189389 - in head/lib/libarchive: . test

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 02:19:42 2009 New Revision: 189389 URL: http://svn.freebsd.org/changeset/base/189389 Log: Merge r364, r378, r379, r393, and r539 from libarchive.googlecode.com: This is the last phase of the big decompression refactor that puts a lazy reblocking layer

svn commit: r189390 - in head/lib/libarchive: . test

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 02:37:05 2009 New Revision: 189390 URL: http://svn.freebsd.org/changeset/base/189390 Log: Merge r551,r561 from libarchive.googlecode.com: Update gzip read filter to fully take advantage of the new peek/consume I/O support. In particular, this now properly

svn commit: r189392 - head/lib/libarchive

2009-03-04 Thread Tim Kientzle
Author: kientzle Date: Thu Mar 5 06:26:08 2009 New Revision: 189392 URL: http://svn.freebsd.org/changeset/base/189392 Log: Argh. r189389 was supposed to include r539 from libarchive.googlecode.com but those compile fixes somehow got lost. This should fix the build. Modified:

svn commit: r189293 - head/lib/libarchive

2009-03-02 Thread Tim Kientzle
Author: kientzle Date: Tue Mar 3 03:28:09 2009 New Revision: 189293 URL: http://svn.freebsd.org/changeset/base/189293 Log: Merge r272 from libarchive.googlecode.com: Fix building on MSVC6. Modified: head/lib/libarchive/archive_endian.h Modified: head/lib/libarchive/archive_endian.h

svn commit: r189294 - head/lib/libarchive

2009-03-02 Thread Tim Kientzle
Author: kientzle Date: Tue Mar 3 03:33:25 2009 New Revision: 189294 URL: http://svn.freebsd.org/changeset/base/189294 Log: Merge r282 from libarchive.googlecode.com: Close multiple filters by walking the filter list in archive_read_close(). Modified: head/lib/libarchive/archive_read.c

svn commit: r189296 - head/lib/libarchive/test

2009-03-02 Thread Tim Kientzle
Author: kientzle Date: Tue Mar 3 07:01:57 2009 New Revision: 189296 URL: http://svn.freebsd.org/changeset/base/189296 Log: Merge r294 from libarchive.googlecode.com: Skip testing for locale-based failures on systems where the C locale is so permissive that it cannot possibly fail. In

svn commit: r188343 - head/usr.bin/tar

2009-02-08 Thread Tim Kientzle
Author: kientzle Date: Sun Feb 8 22:02:46 2009 New Revision: 188343 URL: http://svn.freebsd.org/changeset/base/188343 Log: When copying file data to the archive, don't write more than was read. This seems to have only affected the shar writer, since other formats proactively truncate

svn commit: r188344 - head/usr.bin/tar

2009-02-08 Thread Tim Kientzle
Author: kientzle Date: Sun Feb 8 22:04:17 2009 New Revision: 188344 URL: http://svn.freebsd.org/changeset/base/188344 Log: Fix multiple -s options. MFC after:7 days Modified: head/usr.bin/tar/subst.c Modified: head/usr.bin/tar/subst.c

svn commit: r188367 - in stable/7/lib/libarchive: . test

2009-02-08 Thread Tim Kientzle
of r187704, head/lib/libarchive/test/test_write_disk_sparse.c) @@ -0,0 +1,278 @@ +/*- + * 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

svn commit: r187940 - head/usr.sbin/mtree

2009-01-30 Thread Tim Kientzle
Author: kientzle Date: Sat Jan 31 05:17:28 2009 New Revision: 187940 URL: http://svn.freebsd.org/changeset/base/187940 Log: Write timestamps with exactly 9 digits after the period. This ensures that the value written is both compatible with older mtree versions (which expect the value after

svn commit: r187910 - head/usr.sbin/mtree

2009-01-29 Thread Tim Kientzle
Author: kientzle Date: Fri Jan 30 05:49:27 2009 New Revision: 187910 URL: http://svn.freebsd.org/changeset/base/187910 Log: Accept integer times. Previously, the field time=1233294539 would be rejected as invalid. Modified: head/usr.sbin/mtree/spec.c Modified: head/usr.sbin/mtree/spec.c

svn commit: r187704 - in head/lib/libarchive: . test

2009-01-25 Thread Tim Kientzle
(r187704) @@ -0,0 +1,278 @@ +/*- + * 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. Redistributions of source code must

svn commit: r187521 - in head/lib/libarchive: . test

2009-01-20 Thread Tim Kientzle
, because file is newly added) +++ head/lib/libarchive/test/test_write_disk_failures.c Wed Jan 21 06:55:27 2009(r187521) @@ -0,0 +1,62 @@ +/*- + * Copyright (c) 2003-2007 Tim Kientzle + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without

Re: svn commit: r187332 - head/tools/regression/usr.bin/jot

2009-01-19 Thread Tim Kientzle
David O'Brien wrote: On Mon, Jan 19, 2009 at 04:55:04PM +, Robert Watson wrote: So I have to reformat my Mac OS X file systems in order to check out FreeBSD source trees on them because the jot(1) regression test relies on having two files in the same directory that differ only in case?

svn commit: r187126 - head/lib/libarchive

2009-01-12 Thread Tim Kientzle
Author: kientzle Date: Tue Jan 13 04:56:41 2009 New Revision: 187126 URL: http://svn.freebsd.org/changeset/base/187126 Log: The first part is just to give more info, the latter part fixes an error to read files past the 32bit byte offset, for instance on DVDs. Submitted by: phk@ MFC

svn commit: r186670 - head/lib/libarchive

2008-12-31 Thread Tim Kientzle
Author: kientzle Date: Thu Jan 1 02:29:57 2009 New Revision: 186670 URL: http://svn.freebsd.org/changeset/base/186670 Log: Don't try to read the next Gzip header after we reach the end of the compressed stream. This is desirable behavior, but the implementation here is very broken and

svn commit: r186366 - head/lib/libarchive/test

2008-12-20 Thread Tim Kientzle
Author: kientzle Date: Sun Dec 21 00:13:50 2008 New Revision: 186366 URL: http://svn.freebsd.org/changeset/base/186366 Log: Teach get_refdir() about FreeBSD's /usr/obj convention. In development, I run libarchive_test frequently by hand and it gets tedious having to specify a suitable -r

svn commit: r186244 - head/lib/libarchive

2008-12-17 Thread Tim Kientzle
Author: kientzle Date: Wed Dec 17 19:02:42 2008 New Revision: 186244 URL: http://svn.freebsd.org/changeset/base/186244 Log: Clarify an 'ar' error message. Modified: head/lib/libarchive/archive_read_support_format_ar.c Modified: head/lib/libarchive/archive_read_support_format_ar.c

svn commit: r186118 - head/usr.bin/tar

2008-12-14 Thread Tim Kientzle
Author: kientzle Date: Mon Dec 15 06:00:25 2008 New Revision: 186118 URL: http://svn.freebsd.org/changeset/base/186118 Log: Spell substitution correctly. PR: bin/128616 Submitted by: Jaakko Heinonen Pointy hat: Tim Kientzle MFC after:30 days Modified: head/usr.bin

Re: svn commit: r185682 - head/lib/libarchive

2008-12-12 Thread Tim Kientzle
John Baldwin wrote: On Saturday 06 December 2008 01:57:45 am Tim Kientzle wrote: 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

svn commit: r185770 - stable/7/lib/libarchive

2008-12-08 Thread Tim Kientzle
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

svn commit: r185771 - head/lib/libarchive/test

2008-12-08 Thread Tim Kientzle
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:

svn commit: r185783 - releng/7.1/lib/libarchive

2008-12-08 Thread Tim Kientzle
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

svn commit: r185664 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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

svn commit: r185666 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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:

svn commit: r185667 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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:

svn commit: r185668 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
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

svn commit: r185670 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
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

svn commit: r185671 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
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:

svn commit: r185672 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
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

svn commit: r185674 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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

svn commit: r185675 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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

svn commit: r185676 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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

svn commit: r185677 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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

svn commit: r185679 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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

svn commit: r185680 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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:

svn commit: r185681 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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:

svn commit: r185682 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
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

svn commit: r185683 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
) @@ -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

svn commit: r185685 - head/usr.bin/cpio

2008-12-05 Thread Tim Kientzle
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:

svn commit: r185686 - head/usr.bin/tar

2008-12-05 Thread Tim Kientzle
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:

svn commit: r185688 - head/usr.bin/tar

2008-12-05 Thread Tim Kientzle
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

Re: svn commit: r185499 - head

2008-11-30 Thread Tim Kientzle
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

svn commit: r185408 - in stable/7/lib/libarchive: . test

2008-11-28 Thread Tim Kientzle
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

svn commit: r185409 - in releng/7.1/lib/libarchive: . test

2008-11-28 Thread Tim Kientzle
@@ /*- - * 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

svn commit: r185411 - releng/7.1/usr.bin/tar

2008-11-28 Thread Tim Kientzle
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:

svn commit: r185423 - stable/7/sys/fs/cd9660

2008-11-28 Thread Tim Kientzle
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

svn commit: r185424 - releng/7.1/sys/fs/cd9660

2008-11-28 Thread Tim Kientzle
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

svn commit: r185425 - releng/7.1/sys/fs/cd9660

2008-11-28 Thread Tim Kientzle
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:

svn commit: r185426 - stable/7/sys/fs/cd9660

2008-11-28 Thread Tim Kientzle
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:

svn commit: r185360 - head/usr.bin/tar

2008-11-26 Thread Tim Kientzle
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

svn commit: r185361 - head/sys/fs/cd9660

2008-11-26 Thread Tim Kientzle
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

Re: svn commit: r184945 - in stable/6/sys: . kern

2008-11-13 Thread Tim Kientzle
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

svn commit: r184807 - in head/usr.bin/tar: . test

2008-11-09 Thread Tim Kientzle
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

<    1   2   3   4   5   >