summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Define iaddr_t and saddr_t for arm.cognet2004-05-141-1/+4
|
* Use WARNS?=3 for these in the arm case for now, due to toolchain issues.cognet2004-05-143-0/+13
|
* Import _setjmp.S for arm in libstand.cognet2004-05-141-0/+106
|
* Import libkvm MD file for arm.cognet2004-05-141-0/+103
|
* Arm bits for libpthread. It has no chances to work and should be consideredcognet2004-05-1410-0/+942
| | | | as stubs.
* C runtime support for FreeBSD/arm.cognet2004-05-144-0/+169
|
* Import the softfloat emulation library, needed for FreeBSD/arm right now.cognet2004-05-1439-0/+14975
| | | | | It should become useless when gcc 3.4 will be imported, as libgcc from gcc 3.4 contains this bits for arm.
* Import the FreeBSD/arm libc bits.cognet2004-05-1453-0/+6228
| | | | Obtained from: NetBSD
* We use __arm__, not __arm32__.cognet2004-05-141-1/+1
|
* Define malloc_pageshift and malloc_minsize for arm.cognet2004-05-141-0/+4
|
* Fixed some minor style bugs.bde2004-05-132-14/+20
|
* Allow encoding modules to override the default implementations oftjr2004-05-138-9/+113
| | | | | mbsrtowcs() and wcsrtombs(). Provide a fast implementation for the trivial "NONE" encoding.
* Update raw byte count statistic correctly.kientzle2004-05-131-1/+1
|
* Add MLINK for newly-added archive_read_extract_set_progress_callback(3).kientzle2004-05-132-0/+2
|
* Add hook for a client-provided progress callback to be invokedkientzle2004-05-136-2/+34
| | | | during lengthy extract operations.
* Fix braino in previous: check that the second byte in the charactertjr2004-05-132-2/+2
| | | | | buffer is non-null when the character is two bytes long, not when the buffer is two bytes long.
* Fix some^Wseveral style bugs from last commit.peadar2004-05-123-45/+38
| | | | | | | | | | Remove "sys/types.h" as "sys/param.h" is already included Use cast rather than back-pointer to convert from public to private version of FTS data, and so avoid littering fts.h with any of the details. Pointed out By: bde, kientzle
* Fix typo.josef2004-05-121-1/+1
| | | | | Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us> PR: docs/66576
* Fix typo.josef2004-05-121-1/+1
| | | | | Submitted by: Michel Lavondès <fox@vader.aacc.cc.md.us> PR: docs/66538
* Reduce overhead by calling internal versions of the multibyte conversiontjr2004-05-128-11/+19
| | | | functions directly wherever possible.
* Move prototypes of various encoding-related functions into a new headertjr2004-05-1216-71/+72
| | | | file to avoid extern'ing them all over the place.
* Link radixsort(3) to sradixsort(3), make the latter appear inru2004-05-122-1/+2
| | | | the whatis(1) output.
* Put crypto-aware version of the library into the right distribution.ru2004-05-121-0/+1
|
* Document the fact that in a jailed environment, sendto(2) could failcsjp2004-05-111-0/+4
| | | | | | | returning EPERM if the source address specified in the IP header did not match the address bound to the prison. Approved by: bmilekic (mentor)
* In the absence of proper validation, at least check that null bytestjr2004-05-114-1/+19
| | | | do not appear as anything but the first byte of a multibyte character.
* Fix and clarify unparsable sentence.dds2004-05-111-3/+3
| | | | MFC after: 2 weeks
* Bring the description for login_getclassbyname in sync with the function'sdds2004-05-112-8/+28
| | | | | | | arguments. The function has as a second argument a struct passwd * pointer, not a directory name. MFC after: 2 weeks
* Remove a trailing newline, to behave as documented in syslog(3):dds2004-05-101-0/+4
| | | | | | | | | | | | | "A trailing newline is added if none is present." The code in syslogd, stderr, and console output always adds a newline at the EOL. However, the existing code never actually removed a trailing newline, and apparently relied on syslogd to convert it into a space character. Thus, the existing newline was converted to a trailing space at the EOL by syslogd, while stderr, and console output resulted in an empty line. MFC after: 2 weeks
* Fixed style bugs in previous commit (bogus forward declaration andbde2004-05-101-3/+1
| | | | inconsistent capitalization in comments).
* Use a binary search to find the range containing a character intjr2004-05-093-20/+34
| | | | | | RuneRange arrays. This is much faster when there are hundreds of ranges (as is the case in UTF-8 locales) and was inspired by a similar change made by Apple in Darwin.
* o fix a sentence to match with the synopsis [1]brueffer2004-05-091-3/+3
| | | | | | | | | o fix grammar nit PR: 66289 [1] Submitted by: Michel Lavondès <fox@vader.aacc.cc.md.us> Obtained from: OpenBSD [1] MFC after: 3 days
* The FTS_NOSTAT option is an optimisation that reduces the numberpeadar2004-05-083-6/+153
| | | | | | | | | | | | | | | | | | | of stat(2) calls by keeping an eye of the number of links a directory has. It assumes that each subdirectory will have a hard link to its parent, to represent the ".." node, and stops calling stat(2) when all links are accounted for in a given directory. This assumption is really only valid for UNIX-like filesystems: A concrete example is NTFS. The NTFS "i-node" does contain a link count, but most/all directories have a link count between 0 and 2 inclusive. The end result is that find on an NTFS volume won't actually traverse the entire hierarchy of the directories passed to it. (Those with a link count of two are not traversed at all) The fix checks the "UFSness" of the filesystem before enabling the optimisation. Reviewed By: Tim Kientzle (kientzle@)
* Add an implementation of copysignl(), a long double version of copysign().stefanf2004-05-074-4/+57
| | | | Approved by: das (mentor)
* Add an MLINK for fabsl().stefanf2004-05-071-1/+1
| | | | Approved by: das (mentor)
* The prototypes for cabs() and cabsf() are in <complex.h>. Fix their arguments'stefanf2004-05-061-8/+11
| | | | | | | types and describe them briefly. Reviewed by: ru, bde Approved by: das (mentor)
* A minor refactoring to simplify portability: assign the filenamekientzle2004-05-052-10/+14
| | | | | length to a separate variable so that it will be easier to adapt to systems that don't have d_namlen in struct dirent.
* Consistify: #define gets 1 tab character afterwardskientzle2004-05-038-60/+60
| | | | Pointed out by: Simon Nielsen
* Remove bogus FBSDID.obrien2004-05-021-3/+1
|
* Fix damaged FBSDID.obrien2004-05-021-3/+1
|
* Merge vfscanf.c, v1.37:das2004-05-021-8/+7
| | | | - s/#ifdef FLOATING_POINT/#ifndef NO_FLOATING_POINT/
* Merge vfprintf.c, v1.65:das2004-05-021-24/+17
| | | | | - s/#ifdef FLOATING_POINT/#ifndef NO_FLOATING_POINT/ - Remove HEXFLOAT
* Add option NO_FP_LIBC, which disables floating-point support indas2004-05-021-0/+3
| | | | | | | | *printf() and *scanf(). Currently, this reduces the size of libc.so by 9K on i386. But the real savings are for static binaries that use *printf() or *scanf() but not strtod(); with an FP-disabled libc, these binaries will not depend on the gdtoa routines, making each binary about 22K smaller.
* - To make it easier to compile *printf() and *scanf() withoutdas2004-05-022-31/+21
| | | | | | | | | floating-point support, remove default definition of FLOATING_POINT from the source, and change the compile-time option to NO_FLOATING_POINT. - Remove the HEXFLOAT option. It saves an insignificant amount of space (<0.1% of the size of libc on i386) and complicates vfprintf() and checkfmt().
* When *printf() and *scanf() are compiled without floating-pointdas2004-05-021-0/+4
| | | | | support, fmtcheck() should not accept format strings that contain floating-point formats.
* Include appropriate flag header on Linux.kientzle2004-05-021-0/+4
|
* Create missing directories when extracting hardlinks and symlinks.kientzle2004-04-301-9/+39
|
* Implement ARCHIVE_EXTRACT_UNLINK for regular files. This supports thekientzle2004-04-291-7/+49
| | | | | | | | | | | | -U flag to bsdtar. Essentially, this option breaks existing hard links. According to SUSv2, tar is supposed to overwrite existing files on extract by default which, in particular, preserves existing hard links. Note that this is yet another bug in gtar; it appears to always break existing links. (Maybe gtar's -U is broken?) I'm unsure about how to handle this for other file types; the current code always unlinks first unless the NO_OVERWRITE flag is specified. I've commented this issue liberally and will come back to it later.
* Add statistics: track offset in compressed and uncompressed archive,kientzle2004-04-2810-1/+43
| | | | provide an interface for the client to query this information.
* Correct spelling of "shell archive" to match /usr/share/misc/magic.kientzle2004-04-281-1/+1
|
* Add the libarchive-formats.5 manpage. This summarizes the variouskientzle2004-04-283-0/+229
| | | | | | | | | | archive formats supported by libarchive, with some information about the relative strengths and weaknesses of each format and notes about issues with libarchive's support for those formats. This page should make it unnecessary to list all of the libarchive formats in the manpage of each program that uses libarchive. Such programs can simply refer to libarchive-formats(5).
OpenPOWER on IntegriCloud