freebsd-skq/lib/libc
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
..
amd64 libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00
arm Merging of projects/armv6, part 2 2012-08-15 03:09:00 +00:00
compat-43 General mdoc(7) and typo fixes. 2012-05-08 18:56:21 +00:00
db Globally replace u_int*_t from (non-contributed) man pages. 2012-02-12 18:29:56 +00:00
gdtoa Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
gen libc: Use O_CLOEXEC for various internal file descriptors. 2012-09-29 11:54:34 +00:00
gmon mdoc: end list context with El. 2012-05-12 07:52:45 +00:00
i386 libc/i386: Do not export .cerror. 2012-09-05 21:41:05 +00:00
ia64 Make the sys/ucontext.h self-contained by changing the return type 2012-02-01 13:33:53 +00:00
iconv Fix Fo arguments. 2012-03-28 19:20:28 +00:00
include Use struct vdso_timehands data to implement fast gettimeofday(2) and 2012-06-22 07:13:30 +00:00
inet A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
isc A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
locale libc: Use O_CLOEXEC for various internal file descriptors. 2012-09-29 11:54:34 +00:00
mips Implement _set_tp 2012-03-06 03:30:09 +00:00
nameser A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
net Return zero from get_addrselectpolicy() when no source-address-selection 2012-07-18 15:52:09 +00:00
nls libc: Use O_CLOEXEC for various internal file descriptors. 2012-09-29 11:54:34 +00:00
posix1e Minor mdoc nits. 2012-05-13 14:16:04 +00:00
powerpc Doh... Don't add __eabi to an old version tag (i.e. FBSD_1.0). Add it to the 2012-05-25 16:30:42 +00:00
powerpc64 Do not restore the register holding the TLS pointer when doing various 2012-04-11 00:00:40 +00:00
quad A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
regex Remove some duplicated copyright notices. 2012-03-06 12:53:44 +00:00
resolv Remove meaningless self-assignment in res_send.c, otherwise clang will 2011-12-15 20:10:12 +00:00
rpc rpc: convert all uid and gid variables of the type uid_t and gid_t. 2012-10-03 03:44:23 +00:00
softfloat Conditionalize the __floatunsisf and __floatunsidf functions, added in 2012-01-20 14:44:21 +00:00
sparc64 Make the sys/ucontext.h self-contained by changing the return type 2012-02-01 13:33:53 +00:00
stdio Correct double "the the" 2012-09-14 21:28:56 +00:00
stdlib Optimize prev. commit for speed. 2012-10-03 04:46:58 +00:00
stdtime Add more locale-specific functions to the relevant man pages and 2012-06-25 21:51:40 +00:00
string clarify the wording for 'first' and 'last' 2012-09-30 03:25:04 +00:00
sys sigaction(2),sigwait(2),sigwaitinfo(2): Remove [EFAULT] error condition. 2012-09-27 17:48:04 +00:00
uuid Note that memory should be freed after uuid_to_string(3) call. 2012-03-01 14:39:01 +00:00
xdr Add a HISTORY section 2011-07-10 06:57:00 +00:00
yp libc: Use O_CLOEXEC for various internal file descriptors. 2012-09-29 11:54:34 +00:00
Makefile Disable NLS catalog use in libc if built with WITHOUT_NLS option. 2012-05-21 08:10:42 +00:00
Versions.def Add a FBSD_1.3 namespace for FreeBSD 10. 2011-10-10 15:42:33 +00:00