freebsd-nq/lib/libc/stdlib
Andrey A. Chernov 542e13498f Optimize prev. commit for speed.
1) Don't iterate the loop from the environment array beginning each time,
iterate it under the last place we deactivate instead.
2) Call __rebuild_environ() not on each iteration but once, only at the end
of whole loop (of course, only in case if something is changed).

MFC after:      1 week
2012-10-03 04:46:58 +00:00
..
jemalloc Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch, 2012-04-17 07:22:14 +00:00
_Exit.c
a64l.3
a64l.c
abort.3
abort.c
abs.3
abs.c
alloca.3
at_quick_exit.3 Update the 'C1x draft' reference to '.St -isoC-2011' mdoc macro. 2012-07-26 12:04:11 +00:00
atexit.3 Implement quick_exit() / at_quick_exit() from C++11 / C1x. Also add a 2011-12-07 15:25:48 +00:00
atexit.c Do not call __pthread_cxa_finalize with invalid struct dl_phdr_info. 2010-08-27 19:57:17 +00:00
atexit.h
atof.3
atof.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
atoi.3
atoi.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
atol.3 "-isoC-99" should be spelled without 'c'. 2009-03-01 05:44:28 +00:00
atol.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
atoll.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
bsearch.3
bsearch.c
div.3
div.c
exit.3 Implement quick_exit() / at_quick_exit() from C++11 / C1x. Also add a 2011-12-07 15:25:48 +00:00
exit.c
getenv.3 General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
getenv.c Optimize prev. commit for speed. 2012-10-03 04:46:58 +00:00
getopt_long.3 Add missing opening and closing brackets in getopt_long.3 and getsubopt.3 2011-12-26 03:14:37 +00:00
getopt_long.c Switch from 4-clause to 2-clause BSD license. (OpenBSD r1.22) 2012-06-11 22:25:20 +00:00
getopt.3 mdoc: remove unbalanced quotes 2010-08-02 13:11:41 +00:00
getopt.c
getsubopt.3 Add missing opening and closing brackets in getopt_long.3 and getsubopt.3 2011-12-26 03:14:37 +00:00
getsubopt.c
hcreate.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
hcreate.c
heapsort.c
imaxabs.3
imaxabs.c
imaxdiv.3
imaxdiv.c
insque.3
insque.c
l64a.c
labs.3
labs.c
ldiv.3
ldiv.c
llabs.3
llabs.c
lldiv.3
lldiv.c
lsearch.3
lsearch.c
Makefile.inc Add more locale-specific functions to the relevant man pages and 2012-06-25 21:51:40 +00:00
memory.3
merge.c
ptsname.3 According to a clarification at http://austingroupbugs.net/view.php?id=503 2012-09-12 17:54:09 +00:00
ptsname.c According to a clarification at http://austingroupbugs.net/view.php?id=503 2012-09-12 17:54:09 +00:00
qsort_r.c
qsort.3
qsort.c
quick_exit.3 Update the 'C1x draft' reference to '.St -isoC-2011' mdoc macro. 2012-07-26 12:04:11 +00:00
quick_exit.c Small style(9) improvements. 2011-12-15 11:16:41 +00:00
radixsort.3
radixsort.c
rand.3 Bump dates. 2012-09-04 22:03:16 +00:00
rand.c libc: Use O_CLOEXEC for various internal file descriptors. 2012-09-29 11:54:34 +00:00
random.3 Add the same warning to rand48(3) as to rand(3) and random(3). 2012-09-11 12:55:15 +00:00
random.c libc: Use O_CLOEXEC for various internal file descriptors. 2012-09-29 11:54:34 +00:00
reallocf.3 Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch, 2012-04-17 07:22:14 +00:00
reallocf.c In reallocf(3), free the memory only when size != 0. Otherwise, when the 2010-03-03 15:43:26 +00:00
realpath.3 According to SUSv4, realpath(3) must fail if 2012-05-11 11:29:08 +00:00
realpath.c Avoid mapping ENOENT to ENOTDIR for non-existent path components. 2012-09-12 17:05:39 +00:00
remque.c
strfmon.3 Remove end of line whitespace. 2012-06-26 05:34:31 +00:00
strfmon.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
strtod.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
strtoimax.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
strtol.3
strtol.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
strtoll.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
strtonum.3 Revert to r214147, errno is not clobbered as originally 2010-10-22 08:51:49 +00:00
strtonum.c
strtoq.c
strtoul.3
strtoul.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
strtoull.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
strtoumax.c Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
strtouq.c
Symbol.map Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch, 2012-04-17 07:22:14 +00:00
system.3
system.c Fix many "function declaration isn't a prototype" warnings in libc. 2009-12-05 19:31:38 +00:00
tdelete.c
tfind.c
tsearch.3
tsearch.c
twalk.c