| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=129184
|
| |
|
|
|
|
|
|
| |
mbsrtowcs() and wcsrtombs(). Provide a fast implementation for the
trivial "NONE" encoding.
Notes:
svn path=/head/; revision=129179
|
| |
|
|
|
|
|
|
| |
buffer is non-null when the character is two bytes long, not when
the buffer is two bytes long.
Notes:
svn path=/head/; revision=129166
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=129161
|
| |
|
|
|
|
|
|
| |
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
PR: docs/66576
Notes:
svn path=/head/; revision=129160
|
| |
|
|
|
|
|
| |
functions directly wherever possible.
Notes:
svn path=/head/; revision=129154
|
| |
|
|
|
|
|
| |
file to avoid extern'ing them all over the place.
Notes:
svn path=/head/; revision=129153
|
| |
|
|
|
|
|
| |
the whatis(1) output.
Notes:
svn path=/head/; revision=129151
|
| |
|
|
|
|
|
|
|
|
| |
returning EPERM if the source address specified in the IP header did
not match the address bound to the prison.
Approved by: bmilekic (mentor)
Notes:
svn path=/head/; revision=129120
|
| |
|
|
|
|
|
| |
do not appear as anything but the first byte of a multibyte character.
Notes:
svn path=/head/; revision=129117
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"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
Notes:
svn path=/head/; revision=129091
|
| |
|
|
|
|
|
| |
inconsistent capitalization in comments).
Notes:
svn path=/head/; revision=129081
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=129065
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=129064
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@)
Notes:
svn path=/head/; revision=129052
|
| |
|
|
|
|
|
|
| |
length to a separate variable so that it will be easier to adapt to
systems that don't have d_namlen in struct dirent.
Notes:
svn path=/head/; revision=128946
|
| |
|
|
| |
Notes:
svn path=/head/; revision=128844
|
| |
|
|
| |
Notes:
svn path=/head/; revision=128843
|
| |
|
|
|
|
|
| |
- s/#ifdef FLOATING_POINT/#ifndef NO_FLOATING_POINT/
Notes:
svn path=/head/; revision=128822
|
| |
|
|
|
|
|
|
| |
- s/#ifdef FLOATING_POINT/#ifndef NO_FLOATING_POINT/
- Remove HEXFLOAT
Notes:
svn path=/head/; revision=128821
|
| |
|
|
|
|
|
|
|
|
|
| |
*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.
Notes:
svn path=/head/; revision=128820
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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().
Notes:
svn path=/head/; revision=128819
|
| |
|
|
|
|
|
|
| |
support, fmtcheck() should not accept format strings that contain
floating-point formats.
Notes:
svn path=/head/; revision=128818
|
| |
|
|
| |
Notes:
svn path=/head/; revision=128674
|
| |
|
|
|
|
|
|
| |
PR: 62694
Submitted by: moulin p <moulin.p@calyopea.com>
Notes:
svn path=/head/; revision=128650
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
after their change from an array of char to an array of enum.
This fixes problems that occurred when using positional arguments in
format strings, particularly with more than STATIC_ARG_TBL_SIZE (8)
of them.
PR: 65841
Submitted by: Steven Smith (mostly)
Notes:
svn path=/head/; revision=128550
|
| |
|
|
|
|
|
|
|
|
| |
adjunct maps are used. One symtom of this bug is sshd saying:
login_get_lastlog: Cannot find account for uid X
when logging in. The problem here is caused by an incorrect reuse of the rv
variable when previous values are needed later.
Notes:
svn path=/head/; revision=128537
|
| |
|
|
| |
Notes:
svn path=/head/; revision=128517
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
res_search only incremented got_servfail for h_errno == TRY_AGAIN *AND*
hp->rcode == SERVFAIL. However, there are cases such as timeouts where
rcode is not always set to SERVFAIL. This leads to inconsistent nameserver
operation during multi-domain and truncated dot searches, especially during
booting when portions of the network are being brought up simultanious with
dns lookups.
This patch attempts to correct the problem by unconditionally terminating
the search if TRY_AGAIN is returned (after res_query has gone through all
retries and name servers) instead of trying other domain elements in the
domain seach path.
This patch should fix reported problems (which I can reproduce) with some
NFS mounts failing during boot. This occured because mount_nfs thought the
host name lookup returned a definitive failure using a non-dotted host name
when, in fact, it timed out on the first part (host.search.domain.name) and
got a definitive host-not-found response on the second part (host.).
Generally speaking, search path name server timeouts can exceed 60 seconds
per element and most machines which consistently timeout on earlier portions
of a search path are effectively non-operational due to the imposed delays.
It is more important for DNS lookups to return the proper error code then
to be able to recover a valid lookup in later portions of the search path
in these situations.
Obtained from: DragonFly
MFC after: 3 weeks
Notes:
svn path=/head/; revision=128507
|
| |
|
|
|
|
|
| |
Observed by: jmg
Notes:
svn path=/head/; revision=128499
|
| |
|
|
|
|
|
| |
have no effect), while attempts to munmap zero bytes will fail.
Notes:
svn path=/head/; revision=128411
|
| |
|
|
|
|
|
|
|
| |
kern.acct_chkfreq is specified in seconds, not minutes.
Cluebat provided by: kensmith
Notes:
svn path=/head/; revision=128336
|
| |
|
|
|
|
|
| |
Submitted by: ru
Notes:
svn path=/head/; revision=128335
|
| |
|
|
|
|
|
|
|
| |
PR: 65070
Submitted by: Marc Silver <marcs@draenor.org>
X-MFC after: re approval
Notes:
svn path=/head/; revision=128332
|
| |
|
|
| |
Notes:
svn path=/head/; revision=128155
|
| |
|
|
| |
Notes:
svn path=/head/; revision=128153
|
| |
|
|
|
|
|
|
| |
updated to use getvfsbyname(3) or the vfs.conflist sysctl since a
long time, except mount_smbfs(8) which has just been fixed.
Notes:
svn path=/head/; revision=128143
|
| |
|
|
| |
Notes:
svn path=/head/; revision=128102
|
| |
|
|
| |
Notes:
svn path=/head/; revision=128089
|
| |
|
|
|
|
|
| |
Spotted by: bde
Notes:
svn path=/head/; revision=128081
|
| |
|
|
|
|
|
|
|
|
| |
null pointer constant. (The latter may be an integer constant, which
is not correct here.)
Submitted by: Stefan Farfeleder
Notes:
svn path=/head/; revision=128050
|
| |
|
|
| |
Notes:
svn path=/head/; revision=128032
|
| |
|
|
|
|
|
|
| |
objects passed to mbrtowc(), mbsrtowcs(), and mbrlen(), as required
by C99.
Notes:
svn path=/head/; revision=128004
|
| |
|
|
|
|
|
|
| |
state-dependent encodings with locking shifts will come later if there
is demand for it.
Notes:
svn path=/head/; revision=128002
|
| |
|
|
|
|
|
| |
conversion state.
Notes:
svn path=/head/; revision=127999
|
| |
|
|
|
|
|
|
| |
taking shortcuts when it comes to storing and passing around conversion
states.
Notes:
svn path=/head/; revision=127998
|
| |
|
|
|
|
|
| |
(This change is non-functional since nothing uses states yet.)
Notes:
svn path=/head/; revision=127986
|
| |
|
|
|
|
|
|
| |
taking shortcuts when it comes to storing and passing around conversion
states.
Notes:
svn path=/head/; revision=127944
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127933
|
| |
|
|
|
|
|
| |
Reminded by: ru
Notes:
svn path=/head/; revision=127931
|