| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
as stubs.
|
| |
|
|
|
|
|
| |
It should become useless when gcc 3.4 will be imported, as libgcc from
gcc 3.4 contains this bits for arm.
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
| |
|
| |
|
|
|
|
|
| |
mbsrtowcs() and wcsrtombs(). Provide a fast implementation for the
trivial "NONE" encoding.
|
| |
|
| |
|
|
|
|
| |
during lengthy extract operations.
|
|
|
|
|
| |
buffer is non-null when the character is two bytes long, not when
the buffer is two bytes long.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
PR: docs/66576
|
|
|
|
|
| |
Submitted by: Michel Lavondès <fox@vader.aacc.cc.md.us>
PR: docs/66538
|
|
|
|
| |
functions directly wherever possible.
|
|
|
|
| |
file to avoid extern'ing them all over the place.
|
|
|
|
| |
the whatis(1) output.
|
| |
|
|
|
|
|
|
|
| |
returning EPERM if the source address specified in the IP header did
not match the address bound to the prison.
Approved by: bmilekic (mentor)
|
|
|
|
| |
do not appear as anything but the first byte of a multibyte character.
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
arguments. The function has as a second argument a struct passwd * pointer,
not a directory name.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
| |
inconsistent capitalization in comments).
|
|
|
|
|
|
| |
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 grammar nit
PR: 66289 [1]
Submitted by: Michel Lavondès <fox@vader.aacc.cc.md.us>
Obtained from: OpenBSD [1]
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@)
|
|
|
|
| |
Approved by: das (mentor)
|
|
|
|
| |
Approved by: das (mentor)
|
|
|
|
|
|
|
| |
types and describe them briefly.
Reviewed by: ru, bde
Approved by: das (mentor)
|
|
|
|
|
| |
length to a separate variable so that it will be easier to adapt to
systems that don't have d_namlen in struct dirent.
|
|
|
|
| |
Pointed out by: Simon Nielsen
|
| |
|
| |
|
|
|
|
| |
- s/#ifdef FLOATING_POINT/#ifndef NO_FLOATING_POINT/
|
|
|
|
|
| |
- s/#ifdef FLOATING_POINT/#ifndef NO_FLOATING_POINT/
- Remove HEXFLOAT
|
|
|
|
|
|
|
|
| |
*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.
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
| |
support, fmtcheck() should not accept format strings that contain
floating-point formats.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
-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.
|
|
|
|
| |
provide an interface for the client to query this information.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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).
|