]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
14 years agoRemove pppd, it's gone.
trasz [Tue, 29 Dec 2009 20:14:39 +0000 (20:14 +0000)]
Remove pppd, it's gone.

14 years agoiwn(4) update. Notable changes:
rpaulo [Tue, 29 Dec 2009 19:47:34 +0000 (19:47 +0000)]
iwn(4) update. Notable changes:
* new firmware
* untested support for 1000 and 6000 series
* bgscan support
* remove unnecessary RXON changes
* allow setting of country/regdomain by enforcing channel flags read
  from the EEPROM
* suspend/resume fixes
* RF kill switch fixes
* LED adjustments
* several bus_dma*() related fixes
* addressed some LORs
* many other bug fixes

Submitted by: Bernhard Schmidt <bschmidt at techwires.net>
Obtained from: Brandon Gooch <jamesbrandongooch at gmail dot com> (LED
related changes), Benjamin Kaduk <kaduk at mit dot edu>
(LOR fixes), OpenBSD

14 years agoDocument _FAST and _PRECISE clocks.
kib [Tue, 29 Dec 2009 15:58:10 +0000 (15:58 +0000)]
Document _FAST and _PRECISE clocks.

Submitted by: Valentin Nechayev <netch segfault kiev ua>
MFC after: 3 days

14 years agoUse reallocf() to simplify some logic.
jhb [Tue, 29 Dec 2009 15:48:04 +0000 (15:48 +0000)]
Use reallocf() to simplify some logic.

MFC after: 2 weeks

14 years agoDocument CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2).
kib [Tue, 29 Dec 2009 14:29:08 +0000 (14:29 +0000)]
Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2).

Based on submission by: pluknet gmail com
MFC after: 3 days

14 years ago- Remove a redundant variable and an unnecessary cast.
marius [Tue, 29 Dec 2009 14:06:36 +0000 (14:06 +0000)]
- Remove a redundant variable and an unnecessary cast.
- Fix whitespace.

14 years ago- Prefer i and j over i and n for temporary integer variables.
marius [Tue, 29 Dec 2009 14:03:38 +0000 (14:03 +0000)]
- Prefer i and j over i and n for temporary integer variables.
- Wrap/shorten too long lines.
- Remove a redundant variable and an unnecessary cast in schizo(4).

14 years agoFix autonegotiation: tell the MAC where to find the PHY.
philip [Tue, 29 Dec 2009 14:00:17 +0000 (14:00 +0000)]
Fix autonegotiation: tell the MAC where to find the PHY.
Fix crashes in the detach path.

Submitted by: Kristof Provost <kristof@sigsegv.be>
MFC after: 1 month

14 years agoChange vlan interfaces to cope more usefully with the parent interface being
jhb [Tue, 29 Dec 2009 13:35:18 +0000 (13:35 +0000)]
Change vlan interfaces to cope more usefully with the parent interface being
renamed.  Previously the vlan interfaces would lose their configuration as if
the parent interface had been physically removed.  Now vlan interfaces ignore
rename events.
- Add a new ifnet flag (IFF_RENAMING) that is set while an ifnet is being
  renamed.  This flag can be checked in ifnet departure/arrival event
  handlers to treat rename events differently.
- Change the ifnet departure event handler in the if_vlan(4) driver to
  ignore departure events due to a trunk interface being renamed.

Reviewed by: brooks, rwatson
MFC after: 1 week

14 years agoUse clock_gettime(CLOCK_SECOND) instead of gettimeofday(2) for
kib [Tue, 29 Dec 2009 12:47:47 +0000 (12:47 +0000)]
Use clock_gettime(CLOCK_SECOND) instead of gettimeofday(2) for
implementation of time(3). CLOCK_SECOND is much faster.

No objections from: phk
Submitted by: Valentin Nechayev <netch segfault kiev ua>
MFC after: 1 week

14 years agoAdd missing me6 rules. Now, the IPv6 rules become equivalent
ume [Tue, 29 Dec 2009 11:27:51 +0000 (11:27 +0000)]
Add missing me6 rules.  Now, the IPv6 rules become equivalent
to the IPv4 rules.

Reported by: David Horn <dhorn2000__at__gmail.com>

14 years agoMake rpc.ruserd work with utmpx/libulog.
ed [Tue, 29 Dec 2009 10:28:20 +0000 (10:28 +0000)]
Make rpc.ruserd work with utmpx/libulog.

Because strings are now null-terminated, I've decided to just use an
array of utmpx structures, instead of the separated strings. This means
we just copy the entire utmpx structure and point to the strings within
the structures directly.

14 years agoMFV of tzdata2009u, r201187
edwin [Tue, 29 Dec 2009 10:13:45 +0000 (10:13 +0000)]
MFV of tzdata2009u, r201187

Bangladesh will change its clock back to Standard Time on Dec 31, 2009.

MFC after: now

14 years agoAdd forgotten `void' keyword. This function has no arguments.
ed [Tue, 29 Dec 2009 09:13:20 +0000 (09:13 +0000)]
Add forgotten `void' keyword. This function has no arguments.

14 years agoAdd missing `void' keyword for function without arguments.
ed [Tue, 29 Dec 2009 08:54:03 +0000 (08:54 +0000)]
Add missing `void' keyword for function without arguments.

14 years agoAdd missing `void' for functions without arguments.
ed [Tue, 29 Dec 2009 08:49:43 +0000 (08:49 +0000)]
Add missing `void' for functions without arguments.

While there, rename die_you_gravy_sucking_pig_dog() to something that's
less moronic.

14 years agoAdd missing `void' for function without arguments.
ed [Tue, 29 Dec 2009 08:45:50 +0000 (08:45 +0000)]
Add missing `void' for function without arguments.

14 years agoSLIP is gone; remove its mutex from witness.
trasz [Tue, 29 Dec 2009 08:45:27 +0000 (08:45 +0000)]
SLIP is gone; remove its mutex from witness.

14 years agoAdd missing `void' for function without arguments.
ed [Tue, 29 Dec 2009 08:45:07 +0000 (08:45 +0000)]
Add missing `void' for function without arguments.

14 years agoUse ANSI C function declarations.
ed [Tue, 29 Dec 2009 08:43:32 +0000 (08:43 +0000)]
Use ANSI C function declarations.

14 years agoUse ANSI C function declarations.
ed [Tue, 29 Dec 2009 08:42:58 +0000 (08:42 +0000)]
Use ANSI C function declarations.

14 years agoRationalize the support for cryptographic hashes.
kientzle [Tue, 29 Dec 2009 06:39:07 +0000 (06:39 +0000)]
Rationalize the support for cryptographic hashes.

14 years agoEssentially eliminate problems with false hardlinks in POSIX cpio
kientzle [Tue, 29 Dec 2009 06:34:23 +0000 (06:34 +0000)]
Essentially eliminate problems with false hardlinks in POSIX cpio
archives by generating synthetic ino values and mapping values
from disk into the new values.

14 years agoClear extraneous error messages.
kientzle [Tue, 29 Dec 2009 06:27:19 +0000 (06:27 +0000)]
Clear extraneous error messages.

14 years agoZip write support for libarchive.
kientzle [Tue, 29 Dec 2009 06:15:32 +0000 (06:15 +0000)]
Zip write support for libarchive.

The initial implementation was developed by Anselm Strauss as part of
Google Summer of Code 2008, then completed by Joerg Sonnenberger.

14 years agoIf we're linking against liblzma, allow the decompressor to use up to
kientzle [Tue, 29 Dec 2009 06:06:20 +0000 (06:06 +0000)]
If we're linking against liblzma, allow the decompressor to use up to
1<<30 bytes of memory, which is required for some streams.

Also, try to make the taster more discriminating about raw lzma streams.
The detection here is still really weak, though; please use xz instead
of lzma.

14 years agoar only needs to support ar format.
kientzle [Tue, 29 Dec 2009 05:58:40 +0000 (05:58 +0000)]
ar only needs to support ar format.

14 years agoMinor style fixes plus a fix for an obscure crash on certain malformed
kientzle [Tue, 29 Dec 2009 05:52:13 +0000 (05:52 +0000)]
Minor style fixes plus a fix for an obscure crash on certain malformed
mtree files.

14 years agoBe a little more skeptical of dev/ino matches when reading cpio files.
kientzle [Tue, 29 Dec 2009 05:50:34 +0000 (05:50 +0000)]
Be a little more skeptical of dev/ino matches when reading cpio files.
This eliminates some false-positives in the hardlink detection logic.

14 years agoStyle and portability fixes for pax writer. Mostly very routine, except for:
kientzle [Tue, 29 Dec 2009 05:47:46 +0000 (05:47 +0000)]
Style and portability fixes for pax writer.  Mostly very routine, except for:
 * Use ino64 where appropriate
 * Don't pass atime or nsec to ustar formatter

14 years agoStyle fixes to tar reader:
kientzle [Tue, 29 Dec 2009 05:44:39 +0000 (05:44 +0000)]
Style fixes to tar reader:
  For portability, prefer int64_t to off_t.
  Improve numeric overflow handling when parsing.
  Fix some variable types.
  Eliminate some unused results.

14 years agoVarious style fixes to the 'newc' cpio writer:
kientzle [Tue, 29 Dec 2009 05:41:57 +0000 (05:41 +0000)]
Various style fixes to the 'newc' cpio writer:
 * Warn about truncation of ino
 * Use a macro to hide the somewhat obscure pad-to-multiple-of-4 calculation
 * Eliminate some unused variables

14 years agoVarious fixes when creating objects on disk:
kientzle [Tue, 29 Dec 2009 05:35:40 +0000 (05:35 +0000)]
Various fixes when creating objects on disk:
 * Write xattrs last instead of first (required on platforms that use
   system xattrs for security attributes)
 * Better handling of chdir() failures
 * Don't bother trying to shorten files via seek()/write()
 * Fix build on systems that lack link()/symlink()/mknod()
 * Prefer futimens()/utimensat() when they're present

14 years agoCatch decompression failures earlier. In particular, this gives
kientzle [Tue, 29 Dec 2009 05:30:23 +0000 (05:30 +0000)]
Catch decompression failures earlier.  In particular, this gives
immediate feedback if we fail to fork an external decompression program.

14 years agoVarious style and portability fixes, including:
kientzle [Tue, 29 Dec 2009 05:28:28 +0000 (05:28 +0000)]
Various style and portability fixes, including:
 * Enforce option interface can only be used before the archive is opened
 * Correctly handle large skips on platforms with 32-bit off_t
 * Use int64_t instead of off_t

14 years ago64-bit ino support and discourage bad use of this header.
kientzle [Tue, 29 Dec 2009 05:20:12 +0000 (05:20 +0000)]
64-bit ino support and discourage bad use of this header.

14 years agoUse VFS_{LOCK,UNLOCK}_GIANT() around the call to vrele().
jkoshy [Tue, 29 Dec 2009 02:35:50 +0000 (02:35 +0000)]
Use VFS_{LOCK,UNLOCK}_GIANT() around the call to vrele().

Reviewed by:  kib

14 years agowe really need htonl() here, see the comment a few lines above in the code.
luigi [Tue, 29 Dec 2009 00:02:57 +0000 (00:02 +0000)]
we really need htonl() here, see the comment a few lines above in the code.

14 years agoUse ANSI declarations instead of K&R.
ed [Mon, 28 Dec 2009 23:12:55 +0000 (23:12 +0000)]
Use ANSI declarations instead of K&R.

14 years agoDon't forget to use `void' for sched_balance(). It has no arguments.
ed [Mon, 28 Dec 2009 23:12:12 +0000 (23:12 +0000)]
Don't forget to use `void' for sched_balance(). It has no arguments.

14 years agoPerform cleanups to rpc.rusersd:
ed [Mon, 28 Dec 2009 23:01:24 +0000 (23:01 +0000)]
Perform cleanups to rpc.rusersd:

- Perform whitespace fixes. Use tabs instead of 8 spaces.
- Make it build at WARNS=6.

14 years ago(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
antoine [Mon, 28 Dec 2009 22:56:30 +0000 (22:56 +0000)]
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.

PR: 137213
Submitted by: Eygene Ryabinkin (initial version)
MFC after: 1 month

14 years agoApply OpenSolaris revision 8012 which brings our zpool to version 14,
delphij [Mon, 28 Dec 2009 22:15:11 +0000 (22:15 +0000)]
Apply OpenSolaris revision 8012 which brings our zpool to version 14,
making it possible for zpools created on OpenSolaris 2009.06 be used
on FreeBSD.

PR: kern/141800
Submitted by: mm
Reviewed by: pjd, trasz
Obtained from: OpenSolaris
MFC after: 2 weeks

14 years agoThe net/if_slvar.h header is long gone.
trasz [Mon, 28 Dec 2009 22:14:49 +0000 (22:14 +0000)]
The net/if_slvar.h header is long gone.

14 years agoMake the compiler happy after r201125:
bz [Mon, 28 Dec 2009 21:14:18 +0000 (21:14 +0000)]
Make the compiler happy after r201125:
- + remove two unnecessary initializations in ip_output;
+ + remove one unnecessary initializations in ip_output;

14 years agoMigrate finger(1) away from <utmp.h>.
ed [Mon, 28 Dec 2009 20:54:34 +0000 (20:54 +0000)]
Migrate finger(1) away from <utmp.h>.

Unfortunately it also uses lastlog, which means we must resort to local
extensions of the utmpx-interface. Because the user name and TTY name
are now nul-terminated, there is no need to copy around strings as
often.

14 years agoAdd BIO_DELETE support to ada(4):
mav [Mon, 28 Dec 2009 20:08:01 +0000 (20:08 +0000)]
Add BIO_DELETE support to ada(4):
- For SSDs use TRIM feature of DATA SET MANAGEMENT command, as defined by
ACS-2 specification working draft.
- For CompactFlash use CFA ERASE command, same as ad(4) does.

With this patch, `newfs -E /dev/ada1` was able to restore write speed of
my heavily weared OCZ Vertex SSD (firmware 1.4) up to the initial level
for the most part of it's capacity. Previous 1.3 firmware, even reportiong
TRIM capabilty bit set, was not working, reporting ABORT error for every
DSM command.

I have no idea whether it is normal, but for some reason it takes 200ms
to handle any TRIM command on this drive, that was making delete extremely
slow. But TRIM command is able to accept long list of LBAs and the length of
that list seems doesn't affect it's execution time. Implemented request
clusting algorithm allowed me to rise delete rate up to reasonable numbers,
when many parallel DELETE requests running.

14 years agoCorrect alignment and boundary constraints in blkfront's bus dma tag. The
gibbs [Mon, 28 Dec 2009 18:59:13 +0000 (18:59 +0000)]
Correct alignment and boundary constraints in blkfront's bus dma tag.  The
blkif interface in Xen requires all I/O to be 512 byte aligned with each
segment bounded by a 4k page.

Note: This submission only documents the proper contraints for blkif I/O.
      The alignment code in busdma does not yet handle alignment constraints
      correctly in all cases.

14 years agoGrammar fix.
delphij [Mon, 28 Dec 2009 18:51:26 +0000 (18:51 +0000)]
Grammar fix.

Submitted by: Kenyon Ralph <kenyon kenyonralph com>
MFC after: 1 week

14 years agoMake umount(8) WARNS=6 clean:
delphij [Mon, 28 Dec 2009 17:57:37 +0000 (17:57 +0000)]
Make umount(8) WARNS=6 clean:
 - Cast delimiter width to integer [1]
 - Solve name conflicts against system header
 - Constify parameters to avoid qualifier conflict

PR: bin/140017 [1]
Submitted by: Ulrich Spörlein <uqs spoerlein net> [1]
MFC after: 1 month
Sponsored by: iXsystems, Inc

14 years agoAdd a knob to allow reclaim of the directory vnodes that are source of
kib [Mon, 28 Dec 2009 15:35:39 +0000 (15:35 +0000)]
Add a knob to allow reclaim of the directory vnodes that are source of
the namecache records. The reclamation is not enabled by default because
for typical workload it would make namecache unusable, but large nested
directory tree easily puts any process that accesses filesystem into 1
second wait for vlru.

Reported by: yar (long time ago)
MFC after: 3 days

14 years agointroduce a local variable rte acting as a cache of ro->ro_rt
luigi [Mon, 28 Dec 2009 14:48:32 +0000 (14:48 +0000)]
introduce a local variable rte acting as a cache of ro->ro_rt
within ip_output, achieving (in random order of importance):
- a reduction of the number of 'r's in the source code;
- improved legibility;
- a reduction of 64 bytes in the .text

14 years agoAccount for firmware versions which include the CDMA interrupts in
marius [Mon, 28 Dec 2009 14:16:40 +0000 (14:16 +0000)]
Account for firmware versions which include the CDMA interrupts in
the OFW device tree.

MFC after: 3 days

14 years ago+ remove an unused #define print_ip;
luigi [Mon, 28 Dec 2009 14:09:46 +0000 (14:09 +0000)]
+ remove an unused #define print_ip;
+ remove two unnecessary initializations in ip_output;
+ localize 'len';
+ introduce a temporary variable n to count the number of fragments,
  the compiler seems unable to identify a common subexpression
  (written 3 times, used twice);
+ document some assumptions on ip_len and ip_hl

14 years agobring the NGM_IPFW_COOKIE back into ng_ipfw.h, libnetgraph expects
luigi [Mon, 28 Dec 2009 12:29:13 +0000 (12:29 +0000)]
bring the NGM_IPFW_COOKIE back into ng_ipfw.h, libnetgraph expects
to find it there. Unfortunately this reintroduces the dependency
on ip_fw_pfil.c

14 years agothis file is also affected by the ipfw changes
luigi [Mon, 28 Dec 2009 10:48:01 +0000 (10:48 +0000)]
this file is also affected by the ipfw changes

14 years agobring in several cleanups tested in ipfw3-head branch, namely:
luigi [Mon, 28 Dec 2009 10:47:04 +0000 (10:47 +0000)]
bring in several cleanups tested in ipfw3-head branch, namely:

r201011
- move most of ng_ipfw.h into ip_fw_private.h, as this code is
  ipfw-specific. This removes a dependency on ng_ipfw.h from some files.

- move many equivalent definitions of direction (IN, OUT) for
  reinjected packets into ip_fw_private.h

- document the structure of the packet tags used for dummynet
  and netgraph;

r201049
- merge some common code to attach/detach hooks into
  a single function.

r201055
- remove some duplicated code in ip_fw_pfil. The input
  and output processing uses almost exactly the same code so
  there is no need to use two separate hooks.
  ip_fw_pfil.o goes from 2096 to 1382 bytes of .text

r201057 (see the svn log for full details)
- macros to make the conversion of ip_len and ip_off
  between host and network format more explicit

r201113 (the remaining parts)
- readability fixes -- put braces around some large for() blocks,
  localize variables so the compiler does not think they are uninitialized,
  do not insist on precise allocation size if we have more than we need.

r201119
- when doing a lookup, keys must be in big endian format because
  this is what the radix code expects (this fixes a bug in the
  recently-introduced 'lookup' option)

No ABI changes in this commit.

MFC after: 1 week

14 years agoreadability fixes -- add braces on large blocks, remove unnecessary
luigi [Mon, 28 Dec 2009 10:19:53 +0000 (10:19 +0000)]
readability fixes -- add braces on large blocks, remove unnecessary
initializations

14 years agoexplain details of operation of table lookups, and improve portability
luigi [Mon, 28 Dec 2009 10:12:35 +0000 (10:12 +0000)]
explain details of operation of table lookups, and improve portability

14 years agoBump manual page dates.
trasz [Mon, 28 Dec 2009 09:41:13 +0000 (09:41 +0000)]
Bump manual page dates.

14 years agoDon't refer to pppd(8).
trasz [Mon, 28 Dec 2009 09:37:33 +0000 (09:37 +0000)]
Don't refer to pppd(8).

14 years agoChange u3g(4) and ucom(4) to not refer to pppd(8), which is gone.
trasz [Mon, 28 Dec 2009 09:32:45 +0000 (09:32 +0000)]
Change u3g(4) and ucom(4) to not refer to pppd(8), which is gone.

14 years agoLine discipline support is gone; update tty(4) manual page to reflect this.
trasz [Mon, 28 Dec 2009 09:28:22 +0000 (09:28 +0000)]
Line discipline support is gone; update tty(4) manual page to reflect this.

Reviewed by: ed

14 years agoAdd references to termios-related stuff.
trasz [Mon, 28 Dec 2009 09:26:46 +0000 (09:26 +0000)]
Add references to termios-related stuff.

14 years agoPortability.
kientzle [Mon, 28 Dec 2009 06:59:35 +0000 (06:59 +0000)]
Portability.

14 years agoRemove some dead assignments, fix some declarations.
kientzle [Mon, 28 Dec 2009 03:33:05 +0000 (03:33 +0000)]
Remove some dead assignments, fix some declarations.

14 years agoClarify an example so Linux folks won't keep getting confused by this point.
kientzle [Mon, 28 Dec 2009 03:31:29 +0000 (03:31 +0000)]
Clarify an example so Linux folks won't keep getting confused by this point.

14 years agoCompatibility with old systems with non-POSIX getpwuid_r/getgrgid_r.
kientzle [Mon, 28 Dec 2009 03:30:31 +0000 (03:30 +0000)]
Compatibility with old systems with non-POSIX getpwuid_r/getgrgid_r.

14 years agoFix some unused variables and dead assignments.
kientzle [Mon, 28 Dec 2009 03:28:21 +0000 (03:28 +0000)]
Fix some unused variables and dead assignments.

14 years agoRemove an unused variable and an unreachable statement.
kientzle [Mon, 28 Dec 2009 03:25:33 +0000 (03:25 +0000)]
Remove an unused variable and an unreachable statement.

14 years agoFix line endings.
kientzle [Mon, 28 Dec 2009 03:24:56 +0000 (03:24 +0000)]
Fix line endings.

14 years agoDiscourage external use of this header.
kientzle [Mon, 28 Dec 2009 03:20:54 +0000 (03:20 +0000)]
Discourage external use of this header.

14 years agoRemove unused variable.
kientzle [Mon, 28 Dec 2009 03:14:30 +0000 (03:14 +0000)]
Remove unused variable.

14 years agoO_BINARY for Windows.
kientzle [Mon, 28 Dec 2009 03:13:49 +0000 (03:13 +0000)]
O_BINARY for Windows.

14 years agoHandle Zip CRC validation for uncompressed Zip archives even on
kientzle [Mon, 28 Dec 2009 03:11:36 +0000 (03:11 +0000)]
Handle Zip CRC validation for uncompressed Zip archives even on
platforms that lack zlib.

14 years agoInclude limits.h; remove unused variable.
kientzle [Mon, 28 Dec 2009 03:06:27 +0000 (03:06 +0000)]
Include limits.h; remove unused variable.

14 years agoUse ino64 interface.
kientzle [Mon, 28 Dec 2009 03:05:31 +0000 (03:05 +0000)]
Use ino64 interface.

14 years agoUse new ino64 interface.
kientzle [Mon, 28 Dec 2009 03:03:00 +0000 (03:03 +0000)]
Use new ino64 interface.

14 years agoNew archive_file_count() utility.
kientzle [Mon, 28 Dec 2009 02:58:14 +0000 (02:58 +0000)]
New archive_file_count() utility.

14 years agoPortability fixes.
kientzle [Mon, 28 Dec 2009 02:45:56 +0000 (02:45 +0000)]
Portability fixes.

14 years agoVarious portability fixes, plus:
kientzle [Mon, 28 Dec 2009 02:41:27 +0000 (02:41 +0000)]
Various portability fixes, plus:
 * New "ino64" field.
 * New UTF8 interfaces for hardlink/symlink updates

14 years agoRemove an unused variable and an unnecessary increment.
kientzle [Mon, 28 Dec 2009 02:33:22 +0000 (02:33 +0000)]
Remove an unused variable and an unnecessary increment.

14 years agoEliminate an unused assignment.
kientzle [Mon, 28 Dec 2009 02:29:21 +0000 (02:29 +0000)]
Eliminate an unused assignment.

14 years agoPortability: Set the file descriptor to binary mode on Win32
kientzle [Mon, 28 Dec 2009 02:28:44 +0000 (02:28 +0000)]
Portability:  Set the file descriptor to binary mode on Win32

14 years agoDiscourage outside use of this internal header.
kientzle [Mon, 28 Dec 2009 02:26:06 +0000 (02:26 +0000)]
Discourage outside use of this internal header.

14 years agoRemove dead assignment.
kientzle [Mon, 28 Dec 2009 02:22:41 +0000 (02:22 +0000)]
Remove dead assignment.

14 years agoPortability:
kientzle [Mon, 28 Dec 2009 02:22:04 +0000 (02:22 +0000)]
Portability:
 * some non-FreeBSD platforms do actually define __FBSDID() in sys/cdefs.h
 * Borland C <sigh>

14 years agoPortability: terminate abnormally via abort() instead of segfault,
kientzle [Mon, 28 Dec 2009 02:20:23 +0000 (02:20 +0000)]
Portability: terminate abnormally via abort() instead of segfault,
watch the return value from write(), and avoid signed arithmetic on
unsigned values.

14 years agoAllow more formats to be active at a time; discourage outside use.
kientzle [Mon, 28 Dec 2009 02:18:55 +0000 (02:18 +0000)]
Allow more formats to be active at a time; discourage outside use.

14 years agoEnforce this as an internal-only header.
kientzle [Mon, 28 Dec 2009 02:18:26 +0000 (02:18 +0000)]
Enforce this as an internal-only header.

14 years agoDiscourage people from using this header outside of libarchive.
kientzle [Mon, 28 Dec 2009 02:17:53 +0000 (02:17 +0000)]
Discourage people from using this header outside of libarchive.

14 years agoCompatibility: I found some more compilers that don't like 'inline' keyword.
kientzle [Mon, 28 Dec 2009 02:17:15 +0000 (02:17 +0000)]
Compatibility:  I found some more compilers that don't like 'inline' keyword.
Protection:  Discourage people from using this header outside libarchive.

14 years agoSync with googlecode some changes that have no impact on FreeBSD.
kientzle [Mon, 28 Dec 2009 02:14:09 +0000 (02:14 +0000)]
Sync with googlecode some changes that have no impact on FreeBSD.

14 years agoCompatibility fix for some older systems with non-POSIX getgrnam_r/getpwnam_r
kientzle [Mon, 28 Dec 2009 02:09:57 +0000 (02:09 +0000)]
Compatibility fix for some older systems with non-POSIX getgrnam_r/getpwnam_r
and a minor style fix for the hash function.

14 years agoCatch certain gzip failures at close time.
kientzle [Mon, 28 Dec 2009 02:05:28 +0000 (02:05 +0000)]
Catch certain gzip failures at close time.

14 years agoRemove a dead assignment.
kientzle [Mon, 28 Dec 2009 02:04:42 +0000 (02:04 +0000)]
Remove a dead assignment.

14 years agoRemove some unused variables and dead assignments.
kientzle [Mon, 28 Dec 2009 02:03:54 +0000 (02:03 +0000)]
Remove some unused variables and dead assignments.

14 years agoUpdate the hard-coded configuration for libarchive.
kientzle [Mon, 28 Dec 2009 02:01:42 +0000 (02:01 +0000)]
Update the hard-coded configuration for libarchive.

14 years agoUpdate format manpages for libarchive.
kientzle [Mon, 28 Dec 2009 01:50:23 +0000 (01:50 +0000)]
Update format manpages for libarchive.

14 years agomake the memory filesystem larger, and add an example
luigi [Mon, 28 Dec 2009 01:25:05 +0000 (01:25 +0000)]
make the memory filesystem larger, and add an example
on how to import files from the host