| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
in order to get SUSv2 conformant behavior in higher level calls like
fputs() and puts().
Reviewed by: bde
Notes:
svn path=/head/; revision=126506
|
| |
|
|
|
|
|
| |
Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
Notes:
svn path=/head/; revision=126475
|
| |
|
|
|
|
|
|
|
|
| |
define for it.
Don't catch POSIXLY_CORRECT env. into static variable, it can be changed
on the fly by program.
Use P1003.2 standartized illoptchar[]
Notes:
svn path=/head/; revision=126452
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126440
|
| |
|
|
|
|
|
|
| |
in favour of GNU instead of NetBSD, because configure's use us and
expect GNU.
Notes:
svn path=/head/; revision=126439
|
| |
|
|
|
|
|
|
| |
in favour of GNU instead of NetBSD, because configure's use us and
expect GNU.
Notes:
svn path=/head/; revision=126438
|
| |
|
|
|
|
|
|
|
| |
- Fix syntax
- Remove the (slightly wrong) duplicate explanation of the error condition
- Change reference to invalid multibyte character into invalid wide character
Notes:
svn path=/head/; revision=126313
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The getaddrinfo(3), getipnodebyname(3) and resolver(3) can coincide now
with what should be totally reentrant, and h_errno values will now
be preserved correctly, but this does not affect interfaces such as
gethostbyname(3) which are still mostly non-reentrant.
In all of these relevant functions, the thread-safety has been pushed
down as far as it seems possible right now. This means that operations
that are selected via nsdispatch(3) (i.e. files, yp, dns) are protected
still under global locks that getaddrinfo(3) defines, but where possible
the locking is greatly reduced. The most noticeable improvement is
that multiple DNS lookups can now be run at the same time, and this
shows major improvement in performance of DNS-lookup threaded programs,
and solves the "Mozilla tab serialization" problem.
No single-threaded applications need to be recompiled. Multi-threaded
applications that reference "_res" to change resolver(3) options will
need to be recompiled, and ones which reference "h_errno" will also
if they desire the correct h_errno values. If the applications already
understood that _res and h_errno were not thread-safe and had their own
locking, they will see no performance improvement but will not
actually break in any way.
Please note that when NSS modules are used, or when nsdispatch(3)
defaults to adding any lookups of its own to the individual libc
_nsdispatch() calls, those MUST be reentrant as well.
Notes:
svn path=/head/; revision=126243
|
| |
|
|
|
|
|
|
| |
PR: 63173
Submitted by: Marius Strobl <marius@alchemy.franken.de>
Notes:
svn path=/head/; revision=126189
|
| |
|
|
|
|
|
|
| |
Submitted by: "Christian S.J. Peron" <maneo@bsdpro.com>
PR: bin/63283
Notes:
svn path=/head/; revision=126180
|
| |
|
|
|
|
|
|
|
|
| |
Approved by: simon(mentor)
Reviewed by: ru
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
PR: docs/60044
Notes:
svn path=/head/; revision=126164
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126143
|
| |
|
|
|
|
|
| |
not in <unistd.h>
Notes:
svn path=/head/; revision=126139
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126138
|
| |
|
|
|
|
|
| |
will assume that syscalls will succeed rather than fail.
Notes:
svn path=/head/; revision=126107
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
through a realloc like function.
Make the malloc_active variable a local static to this new function.
Don't warn about recursion more than once per base call.
constify malloc_func.
Notes:
svn path=/head/; revision=126061
|
| |
|
|
|
|
|
|
|
|
|
|
| |
has been hit, this makes it cover more cases.
Call the message function directly rather than fiddle with flag-saving
when we find an unknown character in our options.
The 'A' flag should not trigger on legal out of memory conditions.
Notes:
svn path=/head/; revision=126060
|
| |
|
|
|
|
|
|
| |
though getipnodebyname(3) is obsoleted api, some major applications
such as Mozilla are still using it. so, it will help ipv4 users.
Notes:
svn path=/head/; revision=126052
|
| |
|
|
|
|
|
| |
<gnuregex.h>.
Notes:
svn path=/head/; revision=126039
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126034
|
| |
|
|
|
|
|
| |
and fix a typo in the !__GNUC__ case.
Notes:
svn path=/head/; revision=125867
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125866
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125865
|
| |
|
|
|
|
|
|
| |
Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
Obtained from: NetBSD
Notes:
svn path=/head/; revision=125733
|
| |
|
|
|
|
|
|
|
|
|
| |
These files had tags after teh copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=125669
|
| |
|
|
|
|
|
|
|
|
|
| |
These files had tags after the copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=125668
|
| |
|
|
|
|
|
|
|
|
|
| |
These files had tags at the start of the file
(incorrect, removed), and after the copyright
notices (correct).
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=125667
|
| |
|
|
|
|
|
| |
this from looking at code generated by gcc.
Notes:
svn path=/head/; revision=125600
|
| |
|
|
|
|
|
|
|
|
| |
checks that the code actually performs. Judging from the 4.2BSD
release notes, the docs have only been out of date for 20 years.
PR: 29844
Notes:
svn path=/head/; revision=125592
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125587
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125562
|
| |
|
|
|
|
|
|
|
|
| |
Do not choke on malformed network addresses.
Return n_name in static space, not on the function's stack.
MFC after: 1 week
Notes:
svn path=/head/; revision=125555
|
| |
|
|
|
|
|
| |
internal mutex and CV.
Notes:
svn path=/head/; revision=125521
|
| |
|
|
|
|
|
|
|
| |
Don't decrement it twice when it is taken.
Reported by: kris
Notes:
svn path=/head/; revision=125518
|
| |
|
|
|
|
|
| |
Reported by: kris
Notes:
svn path=/head/; revision=125509
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125502
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125446
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
overridden by the threads library to provide a userland version
of non-pshared semaphores and cancellation points. Also add
a sem_timedwait().
The libc version of semaphores always uses kernel semaphores
regardless of whether pshared is set or not. When threads are
not present, it is difficult to get sem_wait() or sem_timedwait()
to do the right thing (since pthread_cond_timedwait() and
pthread_cond_wait() are stubs in libc and just return immediately).
Notes:
svn path=/head/; revision=125372
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125283
|
| |
|
|
|
|
|
|
|
|
| |
Note that this bug is unrelated to recent work in this area; it seems
to have been present since revision 1.1.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=125282
|
| |
|
|
|
|
|
|
| |
Obtained from: NetBSD
PR: 62047
Notes:
svn path=/head/; revision=125274
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125190
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125039
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125038
|
| |
|
|
| |
Notes:
svn path=/head/; revision=124952
|
| |
|
|
|
|
|
|
|
|
|
| |
MFNetBSD rev. 1.15 + rev 1.16
PR: bin/60901
Submitted by: Logan Gabriel <gersh@sonn.com>
Obtained from: NetBSD
Notes:
svn path=/head/; revision=124897
|
| |
|
|
|
|
|
|
|
|
| |
and to reduce diffs between vfprintf.c and vfwprintf.c, declare xdigs*
to be char arrays rather than wchar_t arrays.
In collaboration with: tjr
Notes:
svn path=/head/; revision=124887
|
| |
|
|
| |
Notes:
svn path=/head/; revision=124769
|
| |
|
|
|
|
|
|
|
| |
shift-too-large compile error
reviewed by: das
Notes:
svn path=/head/; revision=124767
|
| |
|
|
|
|
|
|
|
|
|
| |
http://citeseer.nj.nec.com/fluhrer01weaknesses.html and
http://citeseer.nj.nec.com/531224.html .
PR: 61126
Submitted by: Jeff Ito <jeffi@rcn.com>
Notes:
svn path=/head/; revision=124741
|