| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2003-03-04 | Don't acquire __environ_lock around exec*() calls; nothing requires | nathanw | |
| that these calls be thread-safe with respect to the environment, and it causes serious problems for threaded applications which call vfork() and exec*() (including indirectly, via popen() or system()). Acquire and release __environ_lock in the parent in popen() and system() to play safe and provide the child with a stable environment. __environ_lock should also have an atfork() handler; still under development. | |||
| 2003-03-04 | Fix lib/20558: | thorpej | |
| A dynamically linked program invokes the rtld cleanup routine via an atexit handler. This rtld cleanup routine invokes _fini() for shared libraries, which in-turn invoke __cxa_finalize() with their DSO handle. By luck, this happens to work okay for non-threaded programs, but for a threaded program, this leads to deadlock (sometimes manifested as an assertion failure, if the program didn't actually create any threads). Fixed by teaching __cxa_finalize() that it can be recursively invoked, adjusting the handler list manipulation accordingly. | |||
| 2003-03-01 | Add _Exit(), for C99 and POSIX-2001. | bjh21 | |
| Proposed on tech-userlevel to a resounding silence in April last year. | |||
| 2003-03-01 | Rewrite atexit(3), and add support for __cxa_atexit()/__cxa_finalize(), | thorpej | |
| as specified by the C++ ABI for Itanium. Despite the ABI document's name, many of the items in it are implemented for other architectures. See the following URL for a reference: http://www.codesourcery.com/cxx-abi/abi.html#dso-dtor Fixes lib/18379 (from Joel Baker). | |||
| 2003-02-08 | Use definition in "namespace.h" to rename functions, not home grown. | itohy | |
| 2003-01-29 | Provide some more details for papers by Bentley/M.D. McIlroy and by | heinz | |
| P.M. McIlroy (after short e-mail conversation with M.D. McIlroy on www@). | |||
| 2003-01-20 | Fix lib/17248 properly | dsl | |
| 'ls -l-' now reports unknown option -- - 'env -' and 'su -' both work ok (change approved by christos) | |||
| 2003-01-18 | s/_REENT/_REENTRANT/ | christos | |
| 2003-01-18 | Merge the nathanw_sa branch. | thorpej | |
| 2002-12-09 | Add a couple of missing THREAD_UNLOCK's, for the error exit path. | chris | |
| No functional change on Mainline, however SA branch probably needs this. | |||
| 2002-11-29 | a <-> an fixes. | wiz | |
| 2002-11-29 | add strsuftoll(3) and strsuftollx(3) - parse a string for a number | lukem | |
| with an optional suffix, product (two numbers separated by `x'), and provide range checking | |||
| 2002-11-15 | Fix indent in sample code. | enami | |
| 2002-11-11 | Fix signed/unsigned comparison warnings. | thorpej | |
| 2002-11-11 | Fix signed/unsigned comparison warnings. | thorpej | |
| 2002-10-06 | pull in config.h (et al) for libnbcompat | lukem | |
| 2002-10-02 | Grammar fixes and markup improvements. | wiz | |
| 2002-10-02 | completely with only one "el". | wiz | |
| 2002-10-01 | New sentence, new line. From Robert Elz. | wiz | |
| 2002-08-20 | Mark up NULL and ENOMEM. | wiz | |
| 2002-08-20 | Remove superfluous double quotes and a superfluous Ns. | wiz | |
| 2002-08-11 | bring in EXAMPLES and a note. | yamt | |
| from openbsd. | |||
| 2002-08-11 | bring in EXAMPLES from OpenBSD. | yamt | |
| 2002-08-11 | - more description about realloc. | yamt | |
| - mention errno. - add FILES section for malloc.conf. from openbsd. | |||
| 2002-08-10 | fix sample code. from openbsd. | yamt | |
| 2002-08-10 | result of getenv should be treated as read-only. | yamt | |
| from OpenBSD. | |||
| 2002-08-10 | bump .Dd . | yamt | |
| 2002-08-10 | note only 8 bits of exit-status is passed. | yamt | |
| from OpenBSD. | |||
| 2002-08-10 | note that alloca can't report error. | yamt | |
| from OpenBSD. | |||
| 2002-08-10 | bump .Dd for my previous commit. | yamt | |
| 2002-08-10 | note that abort(3) causes streams flushed and closed. | yamt | |
| from OpenBSD. | |||
| 2002-07-31 | restore the previous form of the condition checking malloc() return value, which | jdolecek | |
| was changed in previous revision | |||
| 2002-07-31 | allow calloc(0, x) and calloc(x, 0). sync w/openbsd | itojun | |
| 2002-07-30 | die if integer overflow. from openbsd | itojun | |
| 2002-07-10 | import CAVEATS sections from OpenBSD. | yamt | |
| with little tweak by me. | |||
| 2002-06-21 | Undo last two, until I have time to take a good look at the problems. | wiz | |
| 2002-06-13 | According to POSIX, "-" (the string) is an exception and should not | wiz | |
| be parsed as option. Restore behaviour broken by previous commit. Mirrors second part of patch from lib/17248. | |||
| 2002-06-13 | Fix '-' handling. POSIX only recognizes "--" as end-of-options. | wiz | |
| Problem noted in lib/17248 by David Laight, including a patch. Part of this patch was used. | |||
| 2002-06-06 | Added hppa support (some of it incomplete) to lib/csu, lib/libc, | fredette | |
| and lib/libkvm. | |||
| 2002-06-03 | Fix SYNOPSIS, noted by Martin Macok on tech-userlevel. | wiz | |
| 2002-05-26 | Remove #ifdef Bad_float_h and #ifndef __STDC__ parts (unneeded). | wiz | |
| 2002-04-28 | Xref fabs(3) | zuntum | |
| OK'd by Jaromir Dolecek | |||
| 2002-02-07 | generate & symbolically | ross | |
| 2002-02-07 | Generate <>& symbolically. | ross | |
| 2002-01-31 | Roll in fixes to permit cross-compiling from non-NetBSD hosts. This | tv | |
| round has been tested on Solaris/x86 and Linux hosts. * Add host tools cap_mkdb, ctags, m4, uudecode. * Protect __RCSID() and __COPYRIGHT() better. * Reduce the number of places that need to include "config.h", to keep sources closer to their "vanilla" versions. * Add more compat #defines and autoconf-checked functions. | |||
| 2002-01-29 | Make almost all tools compile and run properly on non-NetBSD hosts. (In | tv | |
| particular, most tools now run correctly on Solaris 7.) | |||
| 2002-01-28 | Punctuation fixes. | wiz | |
| 2002-01-28 | C99: support INF, INFINITY, NAN and NAN(n-char-sequence-opt) arguments. | kleink | |
| 2002-01-15 | Use .Pp instead of empty lines. | wiz | |
| 2002-01-15 | Use Aq for email address. | wiz | |
