| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
more complicated things than just setting the lock to 0.
- Implement stubs for this function in libc and the two threading libraries
that are currently in the tree.
|
|
|
|
| |
The ... 2 system call
|
| |
|
| |
|
| |
|
|
|
|
| |
in that case.
|
|
|
|
|
|
|
| |
by NIS work, like nsswitch.conf(5) promises to be able to.
(These modifications will be fed back to NetBSD, of course)
- In endusershell(), do not set `sl' to NULL if we know it already has
that value.
|
|
|
|
| |
leaving without deallocating `data' thereby creating a memory leak.
|
|
|
|
|
| |
explode, so nix the old strtod() / dtoa(). This change is part
of the gdtoa patches reviewed on standards@.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
dtoa() is buggy. The bug would cause incorrect output to be
generated when format strings such as '%5.0f' were used with
nonzero numbers whose magnitude is less than 1.
Reported by: df(1) by way of periodic(8)
Reviewed by: mike
|
| |
|
|
|
|
| |
OK'ed by: das
|
|
|
|
|
| |
struct member names and the corresponding comments so the lines don't
wrap on 80-column terminals.
|
| |
|
|
|
|
| |
last argument.
|
|
|
|
| |
Reviewed by: bde (briefly), mike (mentor), obrien
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
package, a more recent, generalized set of routines. Among the
changes:
- Declare strtof() and strtold() in stdlib.h.
- Add glue to libc to support these routines for all kinds
of ``long double''.
- Update printf() to reflect the fact that dtoa works slightly
differently now.
As soon as I see that nothing has blown up, I will kill
src/lib/libc/stdlib/strtod.c. Soon printf() will be able
to use the new routines to output long doubles without loss
of precision, but numerous bugs in the existing code must
be addressed first.
Reviewed by: bde (briefly), mike (mentor), obrien
|
|
|
|
|
|
|
|
| |
desired strptime(3) reentrancy by adding an extra argument to _strptime()
instead.
Approved by: markm (mentor)
MFC: 4 weeks
|
|
|
|
|
|
|
| |
hsearch(.., ENTER). Make the example reflect this.
PR: 49951
Submitted by: Peter Jeremy <peterjeremy@optushome.com.au>
|
|
|
|
|
|
|
| |
various tunables that are applicable to sendfile(2). Update tuning.7
to mention a reference to sendfile.2.
Approved by: keramida
|
|
|
|
| |
are at the top of loops.
|
| |
|
| |
|
|
|
|
| |
better than the code generated by gcc in many cases.
|
|
|
|
| |
to the Errors section.
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not save (restore) the global pointer (GP) in the jmpbuf in setjmp
(longjmp) because it's not needed in general. GP is considered a
scratch register at callsites and hence is always restored after a
call (when it's possible that the call resolves to a symbol in a
different loadmodule; otherwise GP does not have to be saved and
restored at all), including calls to setjmp/longjmp. There's just
one problem with this now that we use setjmp/longjmp for context
switching: A new context must have GP defined properly for the
thread's entry point. This means that we need to put GP in the
jmpbuf and consequently that we have to restore is in longjmp.
This automaticly requires us to save it as well.
When setjmp/longjmp isn't used for context switching, this can be
reverted again.
|
|
|
|
|
|
|
|
|
|
|
| |
the J_SIG0 field. While here, rename J_SIG0 to J_SIGSET and
remove J_SIG1. The main reason for this change is that the
128-bit sigset_t is now aligned on a 16-byte boundary, which
allows us to use 16-byte atomic loads and stores on CPUs that
support it. The removal of J_SIG1 is done to avoid confusion:
it is never accessed and should not be. Renaming J_SIG0 to
J_SIGSET is the icing on the cake that's better done now than
later.
|
| |
|
| |
|
|
|
|
| |
`implicit declaration of function' variety.
|
|
|
|
|
|
| |
endian at compile-time.
Reviewed by: das
|
| |
|
|
|
|
|
|
|
| |
The background info in this man page needs rewriting
in some parts since the last major changes
to the code, however it still accuratly reflects how to use the
API.
|
|
|
|
|
|
| |
Tidy up the markup.
Only describe the new, post-2.0 behavior.
Added the RETURN VALUES and ERRORS sections.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* use correct error detection of realloc failure
* strtol negative return check
* use strtol to validate string instead of rolling our own
validation code
* terminate the command sequence correctly
|
|
|
|
|
|
| |
fix const poisoning
add cast to silence warning
pull in unistd.h
|
| |
|
|
|
|
|
| |
Submitted by: imp
Reviewed by: silence on -audit
|
| |
|