| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__sFILE. This was supposed to be done in 6.0. Some notes:
- Where possible I restored the various lines to their pre-__sFILEX state.
- Retire INITEXTRA() and just initialize the wchar bits (orientation and
mbstate) explicitly instead. The various places that used INITEXTRA
didn't need the locking fields or _up initialized. (Some places needed
_up to exist and not be off the end of a NULL or garbage pointer, but
they didn't require it to be initialized to a specific value.)
- For now, stdio.h "knows" that pthread_t is a 'struct pthread *' to
avoid namespace pollution of including all the pthread types in stdio.h.
Once we remove all the inlines and make __sFILE private it can go back
to using pthread_t, etc.
- This does not remove any of the inlines currently and does not change
any of the public ABI of 'FILE'.
MFC after: 1 month
Reviewed by: peter
Notes:
svn path=/head/; revision=178287
|
| |
|
|
|
|
|
|
|
| |
deals with the usual __opendir2() calls, and the rest part with an interface
translator to expose fdopendir(3) functionality. Manual page was obtained from
kib@'s work for *at(2) system calls.
Notes:
svn path=/head/; revision=178256
|
| |
|
|
|
|
|
|
| |
- Use /*- for copyright block;
- ANSIfy.
Notes:
svn path=/head/; revision=178253
|
| |
|
|
| |
Notes:
svn path=/head/; revision=178249
|
| |
|
|
|
|
|
| |
Submitted by: kib
Notes:
svn path=/head/; revision=178248
|
| |
|
|
|
|
|
| |
Reviewed by: ru
Notes:
svn path=/head/; revision=178245
|
| |
|
|
|
|
|
| |
when I have more brain cells to try again.
Notes:
svn path=/head/; revision=178239
|
| |
|
|
|
|
|
| |
included it.
Notes:
svn path=/head/; revision=178238
|
| |
|
|
| |
Notes:
svn path=/head/; revision=178237
|
| |
|
|
| |
Notes:
svn path=/head/; revision=178236
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
counted in the width specification in scanf.
This is not a security problem, since this function is only used to
parse a user's configuration file.
Submitted by: Joerg Sonnenberger
Obtained from: dragonflybsd
MFC after: 1 week
Notes:
svn path=/head/; revision=178234
|
| |
|
|
|
|
|
| |
PR: stand/107561
Notes:
svn path=/head/; revision=178219
|
| |
|
|
| |
Notes:
svn path=/head/; revision=178194
|
| |
|
|
| |
Notes:
svn path=/head/; revision=178175
|
| |
|
|
|
|
|
| |
Pointy hat to yours truly.
Notes:
svn path=/head/; revision=178154
|
| |
|
|
|
|
|
| |
numbers.
Notes:
svn path=/head/; revision=178141
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Previously, printing the number 1.0 could produce 0x1p+0, 0x2p-1,
0x4p-2, or 0x8p-3, depending on what happened to be convenient. This
meant that printing a value as a double and printing the same value
as a long double could produce different (but equivalent) results.
The change is to always make the leading digit a 1, unless the
number is 0. This solves the aforementioned problem and has
several other advantages.
2. Use the FPU to do rounding. This is far simpler and more portable
than manipulating the bits, and it fixes an obsure round-to-even
bug. It also raises the exceptions now required by IEEE 754R.
The drawbacks are that it is usually slightly slower, and it makes
printf less effective as a debugging tool when the FPU is hosed
(e.g., due to a buggy softfloat implementation).
3. On i386, twiddle the rounding precision so that (2) works properly
for long doubles.
4. Make several simplifications that are now possible due to (2).
5. Split __hldtoa() into a separate file.
Thanks to remko for access to a sparc64 box for testing.
Notes:
svn path=/head/; revision=178140
|
| |
|
|
|
|
|
|
|
| |
the wrong answer for virtually all inputs.
Thanks to remko for access to a sparc64 box for testing.
Notes:
svn path=/head/; revision=178139
|
| |
|
|
|
|
|
|
|
|
| |
flags appropriately. The next step is to make it raise a SIGFPE if
any exceptions are unmasked.
Thanks to remko for access to a sparc64 box for testing.
Notes:
svn path=/head/; revision=178138
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=178051
|
| |
|
|
|
|
|
| |
to 8.0 belong in the FBSD_1.1 symbol namespace.
Notes:
svn path=/head/; revision=177980
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177935
|
| |
|
|
|
|
|
|
|
|
| |
struct flock with l_sysid member can work properly on an an old kernel which
doesn't support l_sysid.
Sponsored by: Isilon Systems
Notes:
svn path=/head/; revision=177911
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177893
|
| |
|
|
|
|
|
| |
harsh reality.
Notes:
svn path=/head/; revision=177882
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- fma(x, y, z) returns z, not NaN, if z is infinite, x and y are finite,
x*y overflows, and x*y and z have opposite signs.
- fma(x, y, z) doesn't generate an overflow, underflow, or inexact exception
if z is NaN or infinite, as per IEEE 754R.
- If the rounding mode is set to FE_DOWNWARD, fma(1.0, 0.0, -0.0) is -0.0,
not +0.0.
Notes:
svn path=/head/; revision=177875
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177871
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177870
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177869
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177861
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177855
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177854
|
| |
|
|
|
|
|
|
|
| |
returns errno, because errno can be mucked by user's signal handler and
most of pthread api heavily depends on errno to be correct, this change
should improve stability of the thread library.
Notes:
svn path=/head/; revision=177853
|
| |
|
|
|
|
|
|
|
| |
implementation does not switch pointers when it resumes waiters.
Asked by: jeff
Notes:
svn path=/head/; revision=177850
|
| |
|
|
|
|
|
|
| |
replace mutex with rwlock, this should eliminate lock contention in
most cases.
Notes:
svn path=/head/; revision=177824
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177823
|
| |
|
|
|
|
|
| |
static branch prediction.
Notes:
svn path=/head/; revision=177818
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177793
|
| |
|
|
|
|
|
|
|
|
| |
Based on the submission by rdivacky,
sponsored by Google Summer of Code 2007
Reviewed by: rwatson, rdivacky
Tested by: pho
Notes:
svn path=/head/; revision=177791
|
| |
|
|
|
|
|
| |
Pointy hat: Me
Notes:
svn path=/head/; revision=177776
|
| |
|
|
|
|
|
|
|
|
| |
eliminates internal mutex lock contention when most rwlock operations
are read.
Orignal patch provided by: jeff
Notes:
svn path=/head/; revision=177770
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177768
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177766
|
| |
|
|
|
|
|
| |
remquol() performs to compute the quotient is negligible.
Notes:
svn path=/head/; revision=177765
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177764
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177761
|
| |
|
|
| |
Notes:
svn path=/head/; revision=177760
|
| |
|
|
|
|
|
| |
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
Notes:
svn path=/head/; revision=177759
|
| |
|
|
|
|
|
| |
as double.
Notes:
svn path=/head/; revision=177758
|
| |
|
|
|
|
|
| |
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
Notes:
svn path=/head/; revision=177757
|