| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
Obtained from: NetBSD
|
|
|
|
|
|
|
|
| |
These files had tags after teh copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).
Approved by: rwatson (mentor)
|
|
|
|
|
|
|
|
| |
These files had tags after the copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).
Approved by: rwatson (mentor)
|
|
|
|
|
|
|
|
| |
These files had tags at the start of the file
(incorrect, removed), and after the copyright
notices (correct).
Approved by: rwatson (mentor)
|
|
|
|
| |
this from looking at code generated by gcc.
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
| |
Do not choke on malformed network addresses.
Return n_name in static space, not on the function's stack.
MFC after: 1 week
|
|
|
|
| |
internal mutex and CV.
|
|
|
|
|
|
| |
Don't decrement it twice when it is taken.
Reported by: kris
|
|
|
|
| |
Reported by: kris
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Obtained from: NetBSD
PR: 62047
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
MFNetBSD rev. 1.15 + rev 1.16
PR: bin/60901
Submitted by: Logan Gabriel <gersh@sonn.com>
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
shift-too-large compile error
reviewed by: das
|
|
|
|
|
|
|
|
| |
http://citeseer.nj.nec.com/fluhrer01weaknesses.html and
http://citeseer.nj.nec.com/531224.html .
PR: 61126
Submitted by: Jeff Ito <jeffi@rcn.com>
|
|
|
|
|
|
|
|
|
| |
This results in no functional change, aside from fixing a data
corruption bug on LP64 platforms. The code here could still use a
significant amount of cleanup.
PR: 56502
Submitted by: hrs (earlier version)
|
|
|
|
|
|
|
| |
instead of lseek()/_read() and lseek()/_write().
PR: bin/54276
Submitted by: <dnelson@allantgroup.com>
|
|
|
|
| |
are now not built with warnings enabled at all).
|
|
|
|
| |
in order to quiet warnings.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Update and improve the documentation for %[aA]
o Like %[eE], %[aA] may round the result if a precision is specified.
o Grammar police: Fix a split infinitive.
o The FreeBSD implementation does better than the minimum required
by C99 (literal translation of the mantissa). The digit before
the hexadecimal-point is never 0 unless the number itself is 0.
o Clarify that the exponent field represents a decimal exponent of 2.
o Discuss the fact that multiple valid representations are possible.
o Remove the entry in the BUGS section claiming that %[aA] is not
implemented.
- Remove the entry in the BUGS section claiming that the ' flag for
printing thousands separators is unimplemented for floating-point.
- Remove the entry in the BUGS section claiming that the L modifier
reduces the precision to "double" before conversion.
|
|
|
|
|
| |
PR: bin/2442
Reviewed by: Friedemann Becker <zxmxy33@mail.uni-tuebingen.de>
|
|
|
|
| |
and %A, which print floating-point numbers in hexadecimal.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
these are not fully implemented and ifdef'd out, the bugs have
never manifested themselves. Specifically:
- Fix a memory leak in the case where %a follows another
floating-point format.
- Make the %a/%A code behave like %e/%E with respect to
precision.
- It is no longer valid to assume that '-' and '0x' are
mutually exclusive.
- Address other minor issues.
|
|
|
|
|
| |
Define DBL_MANH_SIZE and DBL_MANL_SIZE to be the sizes of the
high and low words of the mantissa in bits, respectively.
|
|
|
|
| |
high and low words of the mantissa in bits, respectively.
|
|
|
|
|
| |
incorrectly on architectures without an explicit normalization
bit (sparc64, powerpc).
|
|
|
|
|
| |
non-threaded won't build. The cancellation point support should be
further discussed.
|
|
|
|
|
|
| |
For pshared semaphore, this commit still does not enable cancellation
point, I think there should be a pthread_enter_cancellation_point_np
for libc to implement a safe cancellation point.
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
| |
Reviewed by: deischen
Repocopy by: markm
|
|
|
|
|
|
|
| |
- sem_*(3) manpages were repocopied from libc_r.
Reviewed by: deischen
Repocopy by: markm
|
| |
|
| |
|
| |
|