]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
15 years agoMFH OpenPAM Hydrangea
des [Sat, 23 Aug 2008 09:02:17 +0000 (09:02 +0000)]
MFH OpenPAM Hydrangea

15 years agoMFC r180753 by luoqi@:
mlaier [Sat, 23 Aug 2008 03:43:38 +0000 (03:43 +0000)]
MFC r180753 by luoqi@:
  Only enable MSI mappings for devices that use MSI.  Fixes interrupt loss
  on some nForce based boards.

PR:             kern/118842

15 years agoMFC: Back FreeBSD(98)'s copyright to 2003.
nyan [Fri, 22 Aug 2008 12:47:53 +0000 (12:47 +0000)]
MFC: Back FreeBSD(98)'s copyright to 2003.

15 years agoUse sx_sleep() when waiting for a file lock instead of explicitly dropping
jhb [Fri, 22 Aug 2008 01:17:56 +0000 (01:17 +0000)]
Use sx_sleep() when waiting for a file lock instead of explicitly dropping
the sx lock and then doing a tsleep() without a timeout.  The tsleep()
method leads to lost wakeups that can cause processes to hang waiting for
a lock on an unlocked file.  The lockf code already uses sx_sleep() in
7.x+.

15 years agoImplement sx_sleep() on 6.x. This is not an MFC as sx_sleep() in 7.0+ is
jhb [Fri, 22 Aug 2008 01:16:16 +0000 (01:16 +0000)]
Implement sx_sleep() on 6.x.  This is not an MFC as sx_sleep() in 7.0+ is
implemented via _sleep() and methods in the lock class and that would be
a lot to backport.  Instead, sx_sleep() is a new function that is largely
a copy of msleep.  It has identical semantics to sx_sleep() in 7.0+.

15 years agoRemove MPT_LOCK/UNLOCK from mpt_user_attach in RELENG_6.
sbruno [Thu, 21 Aug 2008 18:00:15 +0000 (18:00 +0000)]
Remove MPT_LOCK/UNLOCK from mpt_user_attach in RELENG_6.
This was causing a panic with witness enabled.

Reviewed by: scottl

15 years agoMFC r181557:
yongari [Thu, 21 Aug 2008 03:50:50 +0000 (03:50 +0000)]
MFC r181557:
  Use device_set_desc() instead of device_set_desc_copy() as we don't
  manipulate the verbose description of a device.

15 years agoMFC r180954:
yongari [Thu, 21 Aug 2008 03:39:03 +0000 (03:39 +0000)]
MFC r180954:
  style(9) - space after keywords, don't indent case.

15 years agoMFC r180952, r181556:
yongari [Thu, 21 Aug 2008 03:30:52 +0000 (03:30 +0000)]
MFC r180952, r181556:
  Nuke referencing softc in device probe.

15 years agoMFC r180950:
yongari [Thu, 21 Aug 2008 02:34:53 +0000 (02:34 +0000)]
MFC r180950:
  s/printf/device_printf/g
  Don't hard code function name in device_printf() and use __func__.
  While I'm here nuke bfe_unit in softc as it's not needed anymore.

  Also remove bfe_release_resources() in bus_setup_intr(9) failure
  path as bfe_release_resources() is called again at the end of
  bfe_attach() if any error has encountered.

15 years agoMFC: Change sleepq_add() to accept a lock_object rather than a mutex so
jhb [Wed, 20 Aug 2008 19:07:21 +0000 (19:07 +0000)]
MFC: Change sleepq_add() to accept a lock_object rather than a mutex so
that other lock types can be used as interlocks for sleeps.

15 years agoMFC: Decode "exotic" instructions such as pause as well as "cmov*" on i386.
jhb [Wed, 20 Aug 2008 18:01:59 +0000 (18:01 +0000)]
MFC: Decode "exotic" instructions such as pause as well as "cmov*" on i386.

15 years agoMFC r181619:
yongari [Wed, 20 Aug 2008 04:51:09 +0000 (04:51 +0000)]
MFC r181619:
  Restore link state handling which was broken in rev 1.69.
  Also report current link state while auto-negotiation is in
  progress.
  With this change link loss should be reported within a second
  and drivers that rely on link state should work.

15 years agoMFC r181617-r181618:
yongari [Wed, 20 Aug 2008 04:31:55 +0000 (04:31 +0000)]
MFC r181617-r181618:
 r181617: Remove whitespace at the end of line.
 r181618: Remove 'cr' at the end of line.

15 years agoMFC: Allow comment to be placed at the end of a configuration line.
sobomax [Mon, 18 Aug 2008 20:34:00 +0000 (20:34 +0000)]
MFC: Allow comment to be placed at the end of a configuration line.

15 years agoMFC: Fix 6-year old cut&paste error. The # could be escaped with '\', not
sobomax [Mon, 18 Aug 2008 20:31:03 +0000 (20:31 +0000)]
MFC: Fix 6-year old cut&paste error. The # could be escaped with '\', not
with '\\'.

15 years agoRemove file Theory, as a manual MFC of r180208.
edwin [Sun, 17 Aug 2008 23:49:46 +0000 (23:49 +0000)]
Remove file Theory, as a manual MFC of r180208.

15 years agoAdd (somewhat belatedly) mention of SA-08:06.bind.
bmah [Sun, 17 Aug 2008 13:01:37 +0000 (13:01 +0000)]
Add (somewhat belatedly) mention of SA-08:06.bind.

15 years agoMFC: Use an explicit path to pw(8) so /usr/sbin does not have to be in
jhb [Fri, 15 Aug 2008 20:20:36 +0000 (20:20 +0000)]
MFC: Use an explicit path to pw(8) so /usr/sbin does not have to be in
the user's path.

15 years agoMFC: If the kernel fails to allocate resources for the initial value of a
jhb [Fri, 15 Aug 2008 20:17:08 +0000 (20:17 +0000)]
MFC: If the kernel fails to allocate resources for the initial value of a
PCI BAR, then zero the BAR and clear the resource list entry so that a
new resource will be allocated by the device driver.

15 years agoMFC: Fix some of the hangs reported with the real mode BTX by disabling
jhb [Fri, 15 Aug 2008 19:52:09 +0000 (19:52 +0000)]
MFC: Fix some of the hangs reported with the real mode BTX by disabling
interrupts for software interrupts.

15 years agoMFC: Initialize the vm86 structure to a known-good state, specifically
jhb [Fri, 15 Aug 2008 19:31:37 +0000 (19:31 +0000)]
MFC: Initialize the vm86 structure to a known-good state, specifically
eflags.

15 years agoPoint merge of a fix for --strip-components. I'm going to
kientzle [Fri, 15 Aug 2008 05:08:24 +0000 (05:08 +0000)]
Point merge of a fix for --strip-components.  I'm going to
wait a little longer before I merge the rest of r179322.

PR: bin/121158

15 years agoMFC of r180208:
edwin [Fri, 15 Aug 2008 01:28:01 +0000 (01:28 +0000)]
MFC of r180208:

    Remove Theory, which isn't part of the zoneinfo module but came out
    of /head/usr.sbin/zic (and isn't installed from there neither).

15 years agoMFC of r181413, r181418, r181421, r181424
edwin [Fri, 15 Aug 2008 01:18:05 +0000 (01:18 +0000)]
MFC of r181413, r181418, r181421, r181424

  Set magic fbsd:nokeywords property

  Remove Theory, which isn't part of the zoneinfo module but came out
  of /head/usr.sbin/zic (and isn't installed from there neither).

  MFC of tzdata2008c

  - Africa/Morocco will have DST in 2008.
  - Asia/Choibalsan should be GMT+08:00.
  - Asia/Pakistan will have DST in 2008.

  MFC of tzdata2008d

  - Mauritius will have a DST experiment between 2008-11-01 and 2009-03-31.
  - Add/Fix historical data for C-Eur, the SovietZone, Germany,
    Bahamas, San Luis.
  - Add information about West Para (America/Santarem)
  - America/Eirunepe and America/Rio_Branco go to UTC-4

  MFC on tzdata2008e:

  - Fix dates in 2008/2009 for Africa/Mauritius.
  - Leap second notification for the end of 2008.

15 years agoMFC: Use an sx lock to serialize writes and remove D_NEEDGIANT.
jhb [Thu, 14 Aug 2008 18:37:49 +0000 (18:37 +0000)]
MFC: Use an sx lock to serialize writes and remove D_NEEDGIANT.

15 years agoMFC r180252:
kib [Thu, 14 Aug 2008 12:40:42 +0000 (12:40 +0000)]
MFC r180252:
The uniqdosname() function takes char[12] as it third argument.

15 years agoMFC r176431 by marcel:
kib [Thu, 14 Aug 2008 12:33:40 +0000 (12:33 +0000)]
MFC r176431 by marcel:
Don't check the bpbSecPerTrack and bpbHeads fields of the BPB. They
are typically 0 on new ia64 systems. Since we don't use either field,
there's no harm in not checking.

Tested by: Timothy Bourke <timbob bigpond com>

15 years agoMFC of r181352
edwin [Thu, 14 Aug 2008 01:47:42 +0000 (01:47 +0000)]
MFC of r181352

Update the units library file.

- Merge changes from NetBSD and OpenBSD.
- Add the Euro as a primitive unit, add old converted currency and
  pegged currency (Obtained from Wikipedia)
- Rename "dollar" to "usdollar" as primitive unit, remove non-pegged
  currency and add pegged currency (Obtained from Wikipedia)
- Updated the accuracy of a lot of constants (Obtained from Wikipedia)

PR:             bin/106545 bin/88252
Submitted by:   trasz<trasz@pin.if.uz.zgora.pl>, J Vinopal <banshee@abattoir.com
>

15 years agoFix the merge of r175051, which inadvertently broke the output of tar --version.
kientzle [Wed, 13 Aug 2008 14:50:42 +0000 (14:50 +0000)]
Fix the merge of r175051, which inadvertently broke the output of tar --version.

15 years agoMFC: r180922/181687: allow kernel config files to include files other
obrien [Wed, 13 Aug 2008 14:34:53 +0000 (14:34 +0000)]
MFC: r180922/181687: allow kernel config files to include files other
                     than those in the CWD, using unquoted paths.

15 years agoMFC r180274: Minor fix for Linux build
kientzle [Wed, 13 Aug 2008 05:54:49 +0000 (05:54 +0000)]
MFC r180274: Minor fix for Linux build

15 years agoMFC r180273: Use %H:%M in strftime() instead of non-portable %R
kientzle [Wed, 13 Aug 2008 05:54:15 +0000 (05:54 +0000)]
MFC r180273: Use %H:%M in strftime() instead of non-portable %R

15 years agoMFC r179131: avoid calling malloc(0) in a rather unusual situation
kientzle [Wed, 13 Aug 2008 05:46:28 +0000 (05:46 +0000)]
MFC r179131: avoid calling malloc(0) in a rather unusual situation

15 years agoMFC r180827: Provide a correct example of using mtree input, document --version
kientzle [Wed, 13 Aug 2008 05:43:55 +0000 (05:43 +0000)]
MFC r180827: Provide a correct example of using mtree input, document --version

15 years agoMFC r180275: Remove an unused macro
kientzle [Wed, 13 Aug 2008 05:42:18 +0000 (05:42 +0000)]
MFC r180275: Remove an unused macro

15 years agoMFC r179236: No need to guard against free(NULL)
kientzle [Wed, 13 Aug 2008 05:41:09 +0000 (05:41 +0000)]
MFC r179236: No need to guard against free(NULL)

15 years agoMFC r178717:
kientzle [Wed, 13 Aug 2008 05:39:33 +0000 (05:39 +0000)]
MFC r178717:
 * Doc fix: --format can be used with -r or -u
 * Remove an erroneous check that suppressed the
   above combo, even though lower-level code supports it
 * Doc fix: -o is a synonym for --format=ustar when used with -c/-r/-u

15 years agoMFC r178714: Allow -r with -T when there are no files on the command line
kientzle [Wed, 13 Aug 2008 05:36:49 +0000 (05:36 +0000)]
MFC r178714: Allow -r with -T when there are no files on the command line

PR: bin/123246

15 years agoMFC r177214: style(9) fix
kientzle [Wed, 13 Aug 2008 05:35:34 +0000 (05:35 +0000)]
MFC r177214: style(9) fix

15 years agoMFC r177208,r177211: -q is now a synonym for --fast-read,
kientzle [Wed, 13 Aug 2008 05:31:40 +0000 (05:31 +0000)]
MFC r177208,r177211: -q is now a synonym for --fast-read,
 --insecure is now a synonym for -P

15 years agoMFC r177206,r177210: --chroot option for tar
kientzle [Wed, 13 Aug 2008 05:29:14 +0000 (05:29 +0000)]
MFC r177206,r177210: --chroot option for tar

15 years agoMFC r176395: Allow appending to archives on block devices
kientzle [Wed, 13 Aug 2008 05:27:32 +0000 (05:27 +0000)]
MFC r176395: Allow appending to archives on block devices

15 years agoMFC r181485: Make 'ar' and 'pax' writers robust against multiple
kientzle [Wed, 13 Aug 2008 05:08:22 +0000 (05:08 +0000)]
MFC r181485: Make 'ar' and 'pax' writers robust against multiple
calls to their destroy() functions.

15 years agoMFC r180423: GC an unused variable
kientzle [Wed, 13 Aug 2008 05:07:26 +0000 (05:07 +0000)]
MFC r180423: GC an unused variable

15 years agoMFC r179914: If we fail to open the file, return ARCHIVE_FAILED
kientzle [Wed, 13 Aug 2008 05:05:43 +0000 (05:05 +0000)]
MFC r179914: If we fail to open the file, return ARCHIVE_FAILED
so that clients (such as bsdtar) will know they shouldn't
try to write the file body.

15 years agoFixup the mergeinfo slightly; record that libarchive/archive.h and
kientzle [Wed, 13 Aug 2008 05:02:43 +0000 (05:02 +0000)]
Fixup the mergeinfo slightly; record that libarchive/archive.h and
libarchive/archive_read_support_format_iso9660.c are up-to-date wrt
the other MFCs to this dir.

15 years agoMFC r179794: Recover after seeing a Zip entry with an unsupported
kientzle [Wed, 13 Aug 2008 04:42:12 +0000 (04:42 +0000)]
MFC r179794: Recover after seeing a Zip entry with an unsupported
compression method.

15 years agoRemove archive.h.in, now that archive.h is no longer a constructed file.
kientzle [Wed, 13 Aug 2008 04:39:38 +0000 (04:39 +0000)]
Remove archive.h.in, now that archive.h is no longer a constructed file.

15 years agoMFC r179798,179916,180026,180204,180209: Various test harness improvements
kientzle [Wed, 13 Aug 2008 04:33:31 +0000 (04:33 +0000)]
MFC r179798,179916,180026,180204,180209: Various test harness improvements

15 years agoMFC r179791-179792,179800,180269,180271: Several minor portability tweaks:
kientzle [Wed, 13 Aug 2008 04:29:05 +0000 (04:29 +0000)]
MFC r179791-179792,179800,180269,180271: Several minor portability tweaks:

15 years agoMFC r179351: Check that end of string exists before trying to access it.
kientzle [Wed, 13 Aug 2008 04:19:25 +0000 (04:19 +0000)]
MFC r179351: Check that end of string exists before trying to access it.

15 years agoMFC r180016,180027-180028,180122-180123,181489: Implement CRC validation
kientzle [Wed, 13 Aug 2008 04:11:22 +0000 (04:11 +0000)]
MFC r180016,180027-180028,180122-180123,181489: Implement CRC validation
when reading Zip archives.  Update the test suite to check that the CRC
actually fails for damaged entries.

15 years agoMFC r179789: Never match dirs as hardlinks.
kientzle [Wed, 13 Aug 2008 04:05:33 +0000 (04:05 +0000)]
MFC r179789: Never match dirs as hardlinks.

15 years agoMFC r179679,179799,179915: Various fixes to the mtree reader:
kientzle [Wed, 13 Aug 2008 04:03:36 +0000 (04:03 +0000)]
MFC r179679,179799,179915: Various fixes to the mtree reader:
  * Parsing of malformed device specifications
  * Be more careful about closing file descriptors
  * Handle quoted newlines and C-style escapes

15 years agoMerge of r181555 missed a line. Now the test harness runs again.
kientzle [Wed, 13 Aug 2008 03:57:31 +0000 (03:57 +0000)]
Merge of r181555 missed a line.  Now the test harness runs again.

15 years agoMFC r181555: Fix test suite to work with libarchive 1.x API.
kientzle [Wed, 13 Aug 2008 03:54:53 +0000 (03:54 +0000)]
MFC r181555: Fix test suite to work with libarchive 1.x API.

15 years agoMFC r179321,179349,179790,179797,179801-179802
kientzle [Wed, 13 Aug 2008 03:27:33 +0000 (03:27 +0000)]
MFC r179321,179349,179790,179797,179801-179802

This brings in all of the updates from libarchive 2.5.4b plus
the most critical of the fixes from 2.5.5.  Note the internal
version is 1.9.25 to mark the fact that it still uses the
libarchive 1.x API in order to preserve API/ABI compatibility
with previous FreeBSD 6 releases.

15 years agoMFC of SVN rev 181482:
brix [Tue, 12 Aug 2008 19:40:28 +0000 (19:40 +0000)]
MFC of SVN rev 181482:

Add quirks for making uhid(4) ignore the Apple iPhone and iPhone 3G.

Approved by: sam

15 years agoMFC of SVN r181466:
ed [Tue, 12 Aug 2008 08:56:19 +0000 (08:56 +0000)]
MFC of SVN r181466:

Delete unused files in the window(1) directory that contain a colon.

During the import of the 4.4BSD Lite sources, four files got added to
the repository called :tt, :tty, :var and :ww. They seem to contain some
kind of debug information. These files aren't used/installed anywhere.

Unfortunately the colons in the filenames prevents us from checking out
the source tree on file systems that don't support colons (such as FAT).
Just remove these unneeded files to keep SVN happy.

Reported by:    Rohit Tripathi <rohit trip gmail com>

15 years agoMFC of r181322
edwin [Tue, 12 Aug 2008 04:55:33 +0000 (04:55 +0000)]
MFC of r181322

style(9)ify usr.bin/calendar

PR: bin/118644

15 years agoMFC: 181399
marius [Mon, 11 Aug 2008 20:28:45 +0000 (20:28 +0000)]
MFC: 181399

Allow 53C1010 without NVRAM to negotiate Ultra-3.

15 years agoMFC r177217,r177218: a few improvements to the mtree reader
kientzle [Mon, 11 Aug 2008 05:18:10 +0000 (05:18 +0000)]
MFC r177217,r177218:  a few improvements to the mtree reader

15 years agoMFC r179125, r179234, r179235: A couple of bugs discovered by Colin
kientzle [Mon, 11 Aug 2008 05:16:03 +0000 (05:16 +0000)]
MFC r179125, r179234, r179235: A couple of bugs discovered by Colin
using Coverity Prevent

15 years agoMFC r176404: portability to Windows
kientzle [Mon, 11 Aug 2008 05:13:55 +0000 (05:13 +0000)]
MFC r176404: portability to Windows

15 years agoMFC r177473: link manpage for archive_write_close
kientzle [Mon, 11 Aug 2008 05:12:28 +0000 (05:12 +0000)]
MFC r177473: link manpage for archive_write_close

15 years agoMFC r177226: comment update
kientzle [Mon, 11 Aug 2008 05:11:32 +0000 (05:11 +0000)]
MFC r177226: comment update

15 years agoMFC r177221, r177223: clean up after tests
kientzle [Mon, 11 Aug 2008 05:10:35 +0000 (05:10 +0000)]
MFC r177221, r177223:  clean up after tests

15 years agoMFC r177220: Remove duplicate fields and update the code to use the correct
kientzle [Mon, 11 Aug 2008 05:09:44 +0000 (05:09 +0000)]
MFC r177220: Remove duplicate fields and update the code to use the correct
ones.

15 years agoMFC r177213: use fstat() on FreeBSD, and use it correctly.
kientzle [Mon, 11 Aug 2008 05:06:27 +0000 (05:06 +0000)]
MFC r177213:  use fstat() on FreeBSD, and use it correctly.

15 years agoMFC r177201, r177212: Implement /PaxHeader.<pid>/ as the fake directory
kientzle [Mon, 11 Aug 2008 05:05:29 +0000 (05:05 +0000)]
MFC r177201, r177212:  Implement /PaxHeader.<pid>/ as the fake directory
used to store the pax extended headers, per SUS, but disable it because
it mucks up testing.

15 years agoMFC r177200: GC an unused variable
kientzle [Mon, 11 Aug 2008 05:03:44 +0000 (05:03 +0000)]
MFC r177200: GC an unused variable

15 years agosvn:ignore built files
kientzle [Mon, 11 Aug 2008 04:07:18 +0000 (04:07 +0000)]
svn:ignore built files

15 years agoMFC r177189: Minor type fix.
kientzle [Mon, 11 Aug 2008 04:05:34 +0000 (04:05 +0000)]
MFC r177189: Minor type fix.

15 years agoMFC r177193, r177199: If the locale of the filename on disk doesn't
kientzle [Mon, 11 Aug 2008 03:00:44 +0000 (03:00 +0000)]
MFC r177193, r177199:  If the locale of the filename on disk doesn't
match the locale in effect when the archiver is run, then attempts
to convert filenames to UTF-8 can fail and result in truncated filenames
in pax format archives.  Detect such failures and fall back on storing
the filename as a binary string in such cases.  Read the log message
for r177199 for more details about this problem.

On FreeBSD, using "C" locale is a good workaround.

15 years agoMFC r177191: new public functions archive_entry_copy_link() and
kientzle [Mon, 11 Aug 2008 02:51:42 +0000 (02:51 +0000)]
MFC r177191: new public functions archive_entry_copy_link() and
archive_entry_copy_link_w()

15 years agoMFC r177192: The default block size actually should not be published
kientzle [Mon, 11 Aug 2008 02:42:08 +0000 (02:42 +0000)]
MFC r177192: The default block size actually should not be published
as a public constant.  Just hardcode the numeric value for now
until we can do something more clever.

15 years agoMFC r177190: comment out argument names in public header to guard
kientzle [Mon, 11 Aug 2008 02:40:08 +0000 (02:40 +0000)]
MFC r177190: comment out argument names in public header to guard
against inadvertent namespace problems.

15 years agoMFC r177188: Allow archive_entry_clear() (and hence, archive_entry_free()) to
kientzle [Mon, 11 Aug 2008 02:36:45 +0000 (02:36 +0000)]
MFC r177188:  Allow archive_entry_clear() (and hence, archive_entry_free()) to
graciously accept a NULL argument.  This makes archive_entry_free() parallel
with free(3).

15 years agoMFC r177185,r177186,r177187: Rework the versioning interface again.
kientzle [Mon, 11 Aug 2008 02:31:07 +0000 (02:31 +0000)]
MFC r177185,r177186,r177187:  Rework the versioning interface again.
The new interface has fewer elements and seems to be easier to use.
Of course, I'm retaining the old interface until libarchive 3.x.

15 years agoMFC r177183: compress write support, thanks to Joerg Sonnenberger.
kientzle [Mon, 11 Aug 2008 02:20:24 +0000 (02:20 +0000)]
MFC r177183: compress write support, thanks to Joerg Sonnenberger.

15 years agoMFC r177182: Use the correct numeric constant instead
kientzle [Mon, 11 Aug 2008 02:17:32 +0000 (02:17 +0000)]
MFC r177182:  Use the correct numeric constant instead
of the wrong symbolic one.

15 years agoDon't MFC r177122. It's nice to be able to read very large
kientzle [Mon, 11 Aug 2008 02:15:12 +0000 (02:15 +0000)]
Don't MFC r177122.  It's nice to be able to read very large
'ar' archives, but it changes the API, so it is inappropriate
for a stable branch.  'ar' support is new enough in this branch
that the lack of support for GNU/SVR4 filename tables over 64k is not
a problem.

15 years agoMFC r177082: remove unused fields from the private archive_read structure.
kientzle [Mon, 11 Aug 2008 02:09:08 +0000 (02:09 +0000)]
MFC r177082: remove unused fields from the private archive_read structure.

15 years agoMFC r177081, r177082: Fix return values when you hit the end of an
kientzle [Mon, 11 Aug 2008 02:08:03 +0000 (02:08 +0000)]
MFC r177081, r177082: Fix return values when you hit the end of an
ACL or xattr list.

15 years agoMFC r176620, r177029, r177030: Spelling and formatting corrections.
kientzle [Mon, 11 Aug 2008 02:05:22 +0000 (02:05 +0000)]
MFC r176620, r177029, r177030:  Spelling and formatting corrections.

15 years agoMFC r176619: Optimize skipping of zip bodies. This greatly accelerates
kientzle [Mon, 11 Aug 2008 02:01:57 +0000 (02:01 +0000)]
MFC r176619:  Optimize skipping of zip bodies.  This greatly accelerates
"tar -tf" on large Zip archives.

15 years agoMFC r176432: sanity-check the compression buffer size for gzip.
kientzle [Mon, 11 Aug 2008 02:00:37 +0000 (02:00 +0000)]
MFC r176432: sanity-check the compression buffer size for gzip.
This should be overhauled to allow the compression buffer to be
larger than the output block size, but the check is better than
nothing.

15 years agoMFC ISO9660 improvements from r176403 and r179321:
kientzle [Mon, 11 Aug 2008 01:57:42 +0000 (01:57 +0000)]
MFC ISO9660 improvements from r176403 and r179321:
  * More portable substitute for platforms that lack timegm()
  * detect buffer allocation overflow
  * don't be confused by zero-length files (such as symlinks or device nodes)
    with garbage offsets; this seems to fix most instances of "Ignoring
    out-of-order file"

15 years agoMFC r176402: Minor code cleanup
kientzle [Mon, 11 Aug 2008 01:51:41 +0000 (01:51 +0000)]
MFC r176402: Minor code cleanup

15 years agoMFC r176401, r177084: Test harness improvements.
kientzle [Mon, 11 Aug 2008 01:50:00 +0000 (01:50 +0000)]
MFC r176401, r177084: Test harness improvements.

15 years agoMFC r176396-176400,176405: various portability fixes: Don't use
kientzle [Sun, 10 Aug 2008 21:57:23 +0000 (21:57 +0000)]
MFC r176396-176400,176405: various portability fixes: Don't use
non-portable symbolic constants when portable numbers will do,
use O_BINARY on platforms that define it, accomodate systems
that lack device nodes.

15 years agoMFC: comment update and version # tweak.
kientzle [Sun, 10 Aug 2008 21:51:42 +0000 (21:51 +0000)]
MFC: comment update and version # tweak.

15 years agoMFC r175589: Fix symlink writing in newc format.
kientzle [Sun, 10 Aug 2008 21:47:02 +0000 (21:47 +0000)]
MFC r175589: Fix symlink writing in newc format.

15 years agoMFC r175423,175426-175428,175842-175843: Various improvements to hardlink
kientzle [Sun, 10 Aug 2008 21:45:52 +0000 (21:45 +0000)]
MFC r175423,175426-175428,175842-175843: Various improvements to hardlink
restore handling.

15 years agoMFC r175422: Reconnect the progress callback that got disconnected
kientzle [Sun, 10 Aug 2008 21:35:28 +0000 (21:35 +0000)]
MFC r175422: Reconnect the progress callback that got disconnected
in the 2.0 refactoring of the write-to-disk logic.  This isn't
used by bsdtar, but is used by other libarchive-based applications.

15 years agoMFC r175358: Support single-file multifile Zip archives.
kientzle [Sun, 10 Aug 2008 21:33:38 +0000 (21:33 +0000)]
MFC r175358: Support single-file multifile Zip archives.

15 years agoMFC r175343: Recognize uppercase hex digits in cpio archives.
kientzle [Sun, 10 Aug 2008 21:32:26 +0000 (21:32 +0000)]
MFC r175343:  Recognize uppercase hex digits in cpio archives.

15 years agoMFC r175307: Don't worry about multiple initializations of the 'tar'
kientzle [Sun, 10 Aug 2008 21:31:15 +0000 (21:31 +0000)]
MFC r175307:  Don't worry about multiple initializations of the 'tar'
reader, recognize empty tar archives as such, update test.

15 years agoMFC: Rename 'i4' to 'archive_le32dec', etc.
kientzle [Sun, 10 Aug 2008 21:29:06 +0000 (21:29 +0000)]
MFC:  Rename 'i4' to 'archive_le32dec', etc.