]>
Commit | Line | Data |
---|---|---|
a8c79c40 UD |
1 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | [BZ #3427] | |
4 | * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all | |
5 | exceptions both in SW and MXCSR. | |
6 | * sysdeps/x86_64/fpu/feupdateenv.c: New file. | |
7 | * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. | |
8 | * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. | |
9 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
10 | in MXCSR if SSE is available. | |
11 | * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h | |
12 | and ldsodefs.h. | |
13 | (__feupdateenv): Query exceptions also from MXCSR if SSE is available. | |
14 | Fix comment typo. | |
15 | * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. | |
16 | Return 0 rather than 1. | |
17 | * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. | |
18 | Remove incorrect part of a comment. Fix argument to feraiseexcept. | |
19 | * math/test-fenv.c (feholdexcept_tests): New function. | |
20 | (main): Call it. | |
21 | ||
22 | 2007-01-05 Richard B. Kreckel <kreckel@ginac.de> | |
23 | ||
24 | [BZ #3427] | |
25 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
26 | in SW. | |
27 | ||
30a3aa75 JJ |
28 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
29 | ||
30 | [BZ #4344] | |
31 | * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. | |
32 | Reported by David Anderson <davea42@earthlink.net>. | |
33 | ||
75587bfe UD |
34 | 2007-04-07 Ulrich Drepper <drepper@redhat.com> |
35 | ||
36 | * posix/sys/wait.h: Remove unnecessary forward declaration. | |
37 | ||
88fa1769 JJ |
38 | 2007-04-05 Jakub Jelinek <jakub@redhat.com> |
39 | ||
40 | * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers | |
41 | with obj->do_servers after first_shoot. | |
42 | ||
eab1bdfb UD |
43 | 2007-04-03 Ulrich Drepper <drepper@redhat.com> |
44 | ||
45 | * posix/Makefile (routines): Add sched_cpucount. | |
46 | (tests): Add tst-cpucount. | |
47 | * posix/sched_cpucount.c: New file. | |
48 | * posix/tst-cpucount.c: New file. | |
49 | * posix/Versions: Export __sched_cpucount with version GLIBC_2.6. | |
b4afdd06 UD |
50 | * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount. |
51 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
52 | * posix/sched.h: Define CPU_COUNT. | |
eab1bdfb | 53 | |
9700b039 UD |
54 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
55 | ||
56 | * posix/fnmatch.c (STRUCT): Define. | |
57 | (fnmatch): Pass NULL as last argument to internal_fn{,w}match. | |
58 | * posix/fnmatch_loop.c (struct STRUCT): New type. | |
59 | (FCT): Add ends argument. If ends != NULL and normal * is | |
60 | seen in the pattern, store current pattern and string pointers | |
61 | and return. Adjust recursive calls. | |
62 | (EXT): Adjust FCT callers. | |
63 | (STRUCT): Undef at the end of the file. | |
64 | * posix/Makefile (tests): Add tst-fnmatch2. | |
65 | * posix/tst-fnmatch2.c: New test. | |
66 | ||
d64e9790 JJ |
67 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
68 | ||
933dfe7b JJ |
69 | * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success |
70 | and 1 on failure. | |
71 | ||
d64e9790 JJ |
72 | * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): |
73 | Change last argument to unsigned int. | |
74 | ||
e1f0c5bc UD |
75 | 2007-03-23 Jakub Jelinek <jakub@redhat.com> |
76 | ||
77 | * scripts/check-local-headers.sh: Filter out sys/capability.h. | |
78 | ||
79 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> | |
80 | ||
81 | * config.h.in (HAVE_LIBCAP): Add. | |
82 | * nscd/selinux.h: Include sys/capability.h rather than non-existent | |
83 | sys/capabilities.h. | |
84 | * nscd/selinux.c (preserve_capabilities): Use cap_free instead of | |
85 | free_caps. Cast away const from 4th cap_set_flag argument. | |
86 | ||
4e87573f UD |
87 | 2007-03-26 Ulrich Drepper <drepper@redhat.com> |
88 | ||
89 | * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to | |
90 | GLIBC_2.6. | |
91 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
92 | Add sync_file_range. | |
93 | Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
94 | ||
fa6e3bc3 UD |
95 | 2007-03-19 Steven Munroe <sjmunroe@us.ibm.com> |
96 | ||
97 | * sysdeps/powerpc/bits/atomic.h | |
98 | [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ. | |
99 | [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL. | |
100 | (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
101 | (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx. | |
102 | (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
103 | (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx. | |
104 | * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]: | |
105 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
106 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
107 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
108 | * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]: | |
109 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
110 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
111 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
112 | (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
113 | (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx. | |
114 | (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
115 | (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx. | |
116 | (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
117 | (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx. | |
118 | ||
119 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> | |
c7693af7 UD |
120 | |
121 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c | |
122 | (__cache_line_size): Define the variable here. Add | |
123 | attribute_hidden, remove weak_extern. | |
124 | (__libc_start_main): Set __cache_line_size | |
125 | unconditionally. | |
126 | * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c | |
127 | (__cache_line_size): Define the variable here. Add | |
128 | attribute_hidden, remove weak_extern. | |
129 | (DL_PLATFORM_AUXV): Set __cache_line_size | |
130 | unconditionally. | |
131 | * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove | |
132 | weak_extern, add attribute_hidden. | |
133 | (__elf_machine_runtime_setup): Assume __cache_line_size is always | |
134 | defined in ld.so. | |
135 | * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove | |
136 | definition. | |
137 | * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise. | |
138 | ||
0479e581 JJ |
139 | 2007-03-26 Jakub Jelinek <jakub@redhat.com> |
140 | ||
141 | [BZ #4276] | |
142 | * timezone/africa: Update from tzdata2007d. | |
143 | * timezone/asia: Likewise. | |
144 | * timezone/australasia: Likewise. | |
145 | * timezone/backward: Likewise. | |
146 | * timezone/europe: Likewise. | |
147 | * timezone/iso3166.tab: Likewise. | |
148 | * timezone/leapseconds: Likewise. | |
149 | * timezone/northamerica: Likewise. | |
150 | * timezone/southamerica: Likewise. | |
151 | * timezone/zone.tab: Likewise. | |
152 | ||
153 | * timezone/private.h: Update from tzcode2007d. | |
154 | * timezone/zdump.c: Likewise. | |
155 | * timezone/zic.c: Likewise. | |
156 | ||
697d37b1 JJ |
157 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
158 | ||
159 | * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. | |
160 | (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New | |
161 | variables. | |
162 | (nis_server_cache_search, nis_server_cache_add): New functions. | |
163 | (__nisfind_server): Use them. Add dbp and flags argument, if | |
164 | call __nisbind_create. | |
165 | (__nisbind_create): Add server_used and current_ep arguments, | |
166 | only call __nis_findfastest if server_used is ~0. | |
167 | (__do_niscall2, __prepare_niscall): Adjust callers. | |
168 | (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid, | |
169 | ckey_cache_euid, ckey_cache_lock): New variables. | |
170 | (get_ckey): New function. | |
171 | (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to | |
172 | __pmap_getnisport. Save __pmap_getnisport result in | |
173 | dbp->addr.sin_port if non-zero. Use get_ckey to create conversation | |
174 | key. | |
175 | * nis/nis_lookup.c (nis_lookup): Likewise. | |
176 | * nis/nis_table.c (nis_list): Likewise. | |
177 | * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust | |
178 | prototypes. | |
179 | ||
180 | * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r, | |
181 | _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list. | |
182 | * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r, | |
183 | _nss_nisplus_getservbyport_r): Likewise. | |
184 | * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r, | |
185 | _nss_nisplus_getnetbyaddr_r): Likewise. | |
186 | * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise. | |
187 | * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r, | |
188 | _nss_nisplus_getntohost_r): Likewise. | |
189 | * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r, | |
190 | _nss_nisplus_getrpcbynumber_r): Likewise. | |
191 | ||
06029c20 JJ |
192 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> |
193 | ||
371f84a4 JJ |
194 | * configure.in (libc_cv_gnu89_inline): Only do compile test. |
195 | * configure: Rebuilt. | |
196 | ||
06029c20 JJ |
197 | * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac |
198 | bit-fields. | |
199 | * soft-fp/extended.h (_FP_UNION_E): Likewise. | |
200 | ||
201 | 2006-06-07 Joseph Myers <joseph@codesourcery.com> | |
202 | ||
203 | [BZ #2831] | |
204 | * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac | |
205 | bit-fields. | |
206 | ||
addc8335 UD |
207 | 2007-03-18 Jakub Jelinek <jakub@redhat.com> |
208 | ||
209 | * nscd/gai.c: Include alloca.h. | |
210 | (__libc_use_alloca): Define. | |
211 | ||
b037a293 UD |
212 | 2007-03-16 Jakub Jelinek <jakub@redhat.com> |
213 | ||
965cba04 UD |
214 | * elf/dl-open.c (dl_open_worker): Declare l in 2 different |
215 | smaller scopes. | |
216 | * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. | |
217 | (DL_DST_REQUIRED): Adjust user. | |
218 | ||
219 | * include/dlfcn.h (struct link_map): New forward decl. | |
220 | ||
221 | * inet/getnameinfo.c: Include stddef.h. | |
222 | (getnameinfo): Use offsetof. | |
223 | ||
224 | * time/tst-mktime2.c (do_test): Don't rely on signed wrap. | |
225 | ||
226 | * stdio-common/vfprintf.c (_itoa): Undef before redefining. | |
227 | ||
228 | * string/strerror_l.c: Include stdlib.h. | |
229 | ||
b037a293 UD |
230 | * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. |
231 | * config.make.in (gnu89-inline-CFLAGS): New variable. | |
232 | * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with | |
233 | -std=gnu99. | |
234 | * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. | |
235 | * argp/argp.h: Use it. | |
236 | * bits/mathinline.h: Likewise. | |
237 | * bits/sigset.h: Likewise. | |
238 | * bits/string.h: Likewise. | |
239 | * ctype/ctype.h: Likewise. | |
240 | * hurd/hurd.h: Likewise. | |
241 | * hurd/hurd/fd.h: Likewise. | |
242 | * hurd/hurd/port.h: Likewise. | |
243 | * hurd/hurd/signal.h: Likewise. | |
244 | * hurd/hurd/threadvar.h: Likewise. | |
245 | * hurd/hurd/userlink.h: Likewise. | |
246 | * io/sys/stat.h: Likewise. | |
247 | * libio/bits/stdio.h: Likewise. | |
248 | * libio/bits/stdio2.h: Likewise. | |
249 | * mach/lock-intern.h: Likewise. | |
250 | * mach/mach/mig_support.h: Likewise. | |
251 | * math/bits/cmathcalls.h: Likewise. | |
252 | * posix/bits/unistd.h: Likewise. | |
253 | * socket/bits/socket2.h: Likewise. | |
254 | * stdlib/bits/stdlib.h: Likewise. | |
255 | * stdlib/stdlib.h: Likewise. | |
256 | * string/argz.h: Likewise. | |
257 | * string/bits/string2.h: Likewise. | |
258 | * string/bits/string3.h: Likewise. | |
259 | * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. | |
260 | * sysdeps/generic/inttypes.h: Likewise. | |
261 | * sysdeps/generic/machine-lock.h: Likewise. | |
262 | * sysdeps/generic/machine-sp.h: Likewise. | |
263 | * sysdeps/i386/fpu/bits/mathinline.h: Likewise. | |
264 | * sysdeps/i386/i486/bits/string.h: Likewise. | |
265 | * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. | |
266 | * sysdeps/mach/alpha/machine-lock.h: Likewise. | |
267 | * sysdeps/mach/alpha/machine-sp.h: Likewise. | |
268 | * sysdeps/mach/i386/machine-lock.h: Likewise. | |
269 | * sysdeps/mach/powerpc/machine-lock.h: Likewise. | |
270 | * sysdeps/mach/powerpc/machine-sp.h: Likewise. | |
271 | * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. | |
272 | * sysdeps/s390/bits/string.h: Likewise. | |
273 | * sysdeps/s390/fpu/bits/mathinline.h: Likewise. | |
274 | * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. | |
275 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. | |
276 | * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. | |
277 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
278 | * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. | |
279 | * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. | |
280 | * wcsmbs/bits/wchar2.h: Likewise. | |
281 | * wcsmbs/wchar.h: Likewise. | |
282 | * stdlib/gmp.h: Likewise. Include <features.h> to get | |
283 | __extern_inline definition. | |
284 | ||
6b2665f5 UD |
285 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> |
286 | ||
b037a293 UD |
287 | * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is |
288 | NULL. | |
289 | ||
6b2665f5 UD |
290 | [BZ #3919] |
291 | * math/libm-test.inc (log_test): Test -Inf and NaN. | |
292 | (log10_test, log1p_test, log2_test): Test -Inf. | |
293 | * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise | |
294 | FE_INVALID when argument is qNaN. | |
295 | * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. | |
296 | * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. | |
297 | * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. | |
298 | * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace | |
299 | andb $1, %ah with testb $1, %ah, don't test for parity, instead | |
300 | testb $4, %ah and jump if non-zero. | |
301 | * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. | |
302 | * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. | |
303 | ||
44969f17 UD |
304 | [BZ #4101] |
305 | * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find | |
306 | ancestors with the same depths. | |
307 | Patch by Niels Moeller <nisse@lysator.liu.se>. | |
308 | (filter_doc): Don't crash if argp is NULL. | |
309 | * argp/Makefile (tests): Add tst-argp2. | |
310 | * argp/tst-argp2.c: New test. | |
311 | ||
05eb8975 UD |
312 | [BZ #4130] |
313 | * login/utmp_file.c (setutent_file): Use O_LARGEFILE for | |
314 | open_not_cancel_2. | |
315 | (updwtmp_file): Likewise. | |
316 | ||
6cb988fa UD |
317 | [BZ #4181] |
318 | * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0. | |
319 | (inet6_opt_append): Don't check extlen is big enough if extbuf | |
320 | is NULL. | |
321 | (inet6_opt_finish): Likewise. | |
322 | * inet/Makefile (tests): Add test-inet6_opt. | |
323 | * inet/test-inet6_opt.c: New test. | |
324 | ||
325 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never | |
326 | reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY | |
327 | NLMSG_ERR. Instead use a page sized buffer. | |
328 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized | |
329 | buffer. | |
330 | ||
aea1d19e RH |
331 | 2007-03-14 Richard Henderson <rth@redhat.com> |
332 | ||
b6df547c RH |
333 | * sysdeps/alpha/fpu/s_llround.c: New file. |
334 | * sysdeps/alpha/fpu/s_llroundf.c: New file. | |
335 | * sysdeps/alpha/fpu/s_lround.c: New file. | |
336 | * sysdeps/alpha/fpu/s_lroundf.c: New file. | |
337 | * sysdeps/alpha/fpu/s_round.c: New file. | |
338 | * sysdeps/alpha/fpu/s_roundf.c: New file. | |
339 | * sysdeps/alpha/fpu/s_trunc.c: New file. | |
340 | * sysdeps/alpha/fpu/s_truncf.c: New file. | |
341 | ||
aea1d19e RH |
342 | * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches. |
343 | * sysdeps/alpha/fpu/s_ceilf.c: Likewise. | |
344 | * sysdeps/alpha/fpu/s_floor.c: Likewise. | |
345 | * sysdeps/alpha/fpu/s_floorf.c: Likewise. | |
346 | * sysdeps/alpha/fpu/s_rint.c: Likewise. | |
347 | * sysdeps/alpha/fpu/s_rintf.c: Likewise. | |
348 | ||
349 | * sysdeps/alpha/fpu/s_fmax.S: New file. | |
350 | * sysdeps/alpha/fpu/s_fmaxf.S: New file. | |
351 | * sysdeps/alpha/fpu/s_fmin.S: New file. | |
352 | * sysdeps/alpha/fpu/s_fminf.S: New file. | |
353 | * sysdeps/alpha/fpu/s_isnan.c: New file. | |
354 | * sysdeps/alpha/fpu/s_isnanf.c: New file. | |
355 | * sysdeps/alpha/fpu/s_llrint.c: New file. | |
356 | * sysdeps/alpha/fpu/s_llrintf.c: New file. | |
357 | * sysdeps/alpha/fpu/s_lrint.c: New file. | |
358 | * sysdeps/alpha/fpu/s_lrintf.c: New file. | |
359 | * sysdeps/alpha/fpu/s_nearbyint.c: New file. | |
360 | * sysdeps/alpha/fpu/s_nearbyintf.c: New file. | |
361 | ||
362 | * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove. | |
363 | (__fdimf, fdimf, __fdim, fdim): Remove. | |
364 | (__signbitf, __signbit, __signbitl): Use gcc builtin if available. | |
365 | (__isnanf, __isnan, __isnanl): New. | |
366 | ||
9e43b50d RH |
367 | 2007-03-13 Richard Henderson <rth@redhat.com> |
368 | ||
369 | * sysdeps/ieee754/ldbl-128/Makefile: New file. | |
370 | ||
62789da3 RH |
371 | 2007-03-13 Richard Henderson <rth@redhat.com> |
372 | ||
373 | * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. | |
374 | * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. | |
375 | * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. | |
376 | * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. | |
377 | * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. | |
378 | * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. | |
379 | ||
47dbe62b RH |
380 | 2007-03-13 Richard Henderson <rth@redhat.com> |
381 | ||
382 | * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV. | |
383 | * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. | |
384 | * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. | |
385 | * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): | |
386 | Move to dl-auxv.h; initialize instead of extern weak. | |
387 | (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef | |
388 | weak symbol. | |
389 | * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): | |
390 | Extern instead of initialized. | |
391 | ||
b8097bed RH |
392 | 2007-03-13 Richard Henderson <rth@redhat.com> |
393 | ||
394 | * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for | |
395 | __sigsuspend_nocancel. | |
396 | ||
6bf4a686 UD |
397 | 2007-03-06 Ulrich Drepper <drepper@redhat.com> |
398 | ||
399 | * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for | |
400 | 172.16/12 address range. | |
401 | ||
0b3b1a0c UD |
402 | 2007-03-02 Jakub Jelinek <jakub@redhat.com> |
403 | ||
404 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with | |
405 | a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC | |
406 | message. | |
407 | ||
8f3edfee UD |
408 | 2007-03-01 Jakub Jelinek <jakub@redhat.com> |
409 | ||
c1c5e654 | 410 | [BZ #4069] |
8f3edfee UD |
411 | * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN |
412 | earlier. | |
413 | * math/libm-test.inc (pow_test): Add more tests involving NaNs. | |
414 | ||
415 | * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception | |
416 | for x qNaN and y either +-inf or non-integer value. | |
417 | * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise. | |
418 | * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. | |
419 | * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. | |
420 | ||
245a1481 UD |
421 | 2007-02-10 Mike Frysinger <vapier@gentoo.org> |
422 | ||
423 | * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h | |
424 | from sysdep_headers. | |
425 | ||
c217692b UD |
426 | 2007-02-28 Jakub Jelinek <jakub@redhat.com> |
427 | ||
428 | * time/tzfile.c (find_transition): Instead of a linear search try to | |
429 | guess the transition index, use a linear search if the result is at | |
430 | most 10 transitions away from the guess or binary search otherwise. | |
431 | ||
fe64626c JJ |
432 | 2007-02-27 Jakub Jelinek <jakub@redhat.com> |
433 | ||
434 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix | |
435 | memory reallocation. | |
436 | ||
0f7769f7 UD |
437 | 2007-02-21 Ulrich Drepper <drepper@redhat.com> |
438 | ||
621c133d UD |
439 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions |
440 | and fix some typos. | |
441 | Optimize use of TOLOWER. | |
9cf147d8 | 442 | |
cdfd61e1 UD |
443 | [BZ #3325] |
444 | * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem. | |
445 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
446 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
447 | ||
8889e7aa UD |
448 | [BZ #3458] |
449 | * sysdeps/unix/sysv/linux/posix_madvise.c: New file. | |
450 | * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry. | |
451 | ||
63a2f305 UD |
452 | [BZ #4076] |
453 | * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /. | |
454 | (open_dir_stream): Likewise. | |
455 | * io/Makefile (tests): Add bug-ftw5. | |
456 | io/bug-ftw5.c: New file. | |
457 | ||
c8703f88 UD |
458 | * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional. |
459 | * nscd/servicescache.c (cache_addserv): Likewise. | |
460 | ||
461 | * nscd/grpcache.c (cache_addgr): In case a record changed on | |
462 | refresh, adjust key_copy. | |
463 | ||
61705e06 UD |
464 | [BZ #4074] |
465 | * nscd/pwdcache.c (cache_addpw): In case a record changed on | |
466 | refresh, adjust key_copy. | |
467 | ||
0f7769f7 UD |
468 | [BZ #4070] |
469 | * stdio-common/printf_fp.c (___printf_fp): Handle a few more | |
0f7769f7 | 470 | special cases. |
8889e7aa | 471 | * stdio-common/tfformat.c (sprint_doubles): Some more tests. |
0f7769f7 | 472 | |
3979024a UD |
473 | 2007-02-19 Ulrich Drepper <drepper@redhat.com> |
474 | ||
4c02bf1a UD |
475 | * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor |
476 | optimization. | |
477 | ||
3979024a UD |
478 | * stdio-common/vfscanf.c: Small cleanups throughout. |
479 | ||
821d3e70 UD |
480 | 2007-02-18 Ulrich Drepper <drepper@redhat.com> |
481 | ||
2484468b UD |
482 | [BZ #3325] |
483 | * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem. | |
484 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
485 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
486 | Patch by Jared Casper <jaredcasper@gmail.com>. | |
487 | ||
858ee15d UD |
488 | * sysdeps/unix/closedir.c: Outside libc don't use locking. |
489 | * sysdeps/unix/opendir.c: Likewise. | |
490 | * sysdeps/unix/readdir.c: Likewise. | |
491 | ||
ecb72bd5 UD |
492 | [BZ #2211] |
493 | * stdio-common/vfscanf.c: Handle localized digits etc for floating | |
494 | point numbers. | |
495 | Patch mostly by Hamed Malek <hamed@farsiweb.info>. | |
496 | ||
ac2ca022 UD |
497 | * stdio-common/vfscanf.c: Fix problems in width accounting. |
498 | * stdio-common/tst-sscanf.c (double_tests): New tests. | |
499 | (main): Hook them up. | |
500 | ||
e9bb5246 | 501 | * stdio-common/vfscanf.c: Remove unused WIDTH handling. |
da50f001 | 502 | More simplifications of floating-point reader. |
e9bb5246 | 503 | |
821d3e70 UD |
504 | * stdio-common/Makefile (tests): Add tst-swscanf. |
505 | * stdio-common/tst-sscanf.c: Make tests usable for swscanf | |
506 | testing. | |
507 | * stdio-common/tst-swscanf.c: New file. | |
508 | ||
07fb5185 UD |
509 | 2007-02-17 Ulrich Drepper <drepper@redhat.com> |
510 | ||
9138cc0b UD |
511 | [BZ #2633] |
512 | * libio/stdio.h: Define struct _IO_FILE in global namespace. | |
513 | * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace. | |
514 | Remove using for __jmp_buf_tag. | |
515 | * locale/locale.h (struct lconv): Also define in std namespace. | |
516 | * wcsmbs/wchar.h: Move using declaration for tm out of namespace. | |
517 | ||
6818d837 UD |
518 | [BZ #3842] |
519 | * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut | |
520 | using __libc_enable_secure. | |
521 | ||
15c4b5a4 UD |
522 | [BZ #3818] |
523 | * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define. | |
524 | ||
5e9e9c14 UD |
525 | [BZ #3745] |
526 | * locale/programs/ld-collate.c (handle_ellipsis): Fix generation | |
527 | of names for ellipsises. | |
528 | ||
07fb5185 UD |
529 | [BZ #3348] |
530 | * malloc/memusage.sh: Cleanups. | |
531 | * debug/xtrace.sh: Quoting and trap changes. | |
532 | ||
8c6d1043 UD |
533 | 2007-02-16 Ulrich Drepper <drepper@redhat.com> |
534 | ||
07fb5185 UD |
535 | * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries. |
536 | ||
93e66914 | 537 | * locale/iso-3166.def: Update entry for Serbia. |
93e36434 UD |
538 | * locale/iso-4217.def: Define RSD, remove CSD. |
539 | ||
ad0b348c UD |
540 | * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16- |
541 | and 64-bit operations. | |
542 | ||
543 | [BZ #4040] | |
544 | * sysdeps/i386/i486/bits/atomic.h: One more change, this time for | |
545 | 16-bit operations. | |
546 | ||
8c6d1043 UD |
547 | * nscd/nscd.c (parse_opt): One more conversion to use send instead |
548 | of writev. | |
549 | ||
987f54c6 UD |
550 | 2007-02-15 Ulrich Drepper <drepper@redhat.com> |
551 | ||
b3715c05 UD |
552 | [BZ #3991] |
553 | * assert/assert.h (assert): Simplify. | |
554 | (assert_perror): Likewise. | |
555 | Patch by Israel G. Lugo <ilugo@bridonsecurity.com>. | |
556 | ||
6eea8e0d UD |
557 | * nscd/nscd_helper.c (open_socket): Don't send padding bytes from |
558 | reqdata. | |
559 | ||
987f54c6 UD |
560 | * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic |
561 | change: don't pass NULL in place of an integer. | |
562 | ||
3dc08a7e UD |
563 | 2007-02-02 Bruno Haible <bruno@clisp.org> |
564 | ||
06c17c78 UD |
565 | [BZ #3954] |
566 | * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs): | |
567 | Add mapping for U+327E. | |
568 | * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment. | |
569 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable | |
570 | mapping of 0xD9 0xE8. | |
571 | * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable | |
572 | mapping of U+327E. | |
573 | Reported by Jungshik Shin <jungshik@google.com>. | |
574 | ||
575 | [BZ #3955] | |
3dc08a7e UD |
576 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable |
577 | mapping of 0xD9 0xE6 and of 0xD9 0xE7. | |
578 | Reported by Jungshik Shin <jungshik@google.com>. | |
579 | ||
a810e68c UD |
580 | 2007-02-14 Ulrich Drepper <drepper@redhat.com> |
581 | ||
582 | * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some | |
583 | byte variants. | |
584 | ||
585 | [BZ #4040] | |
586 | * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some | |
587 | byte variants. Patch mostly be tom@tommay.net. | |
588 | ||
05f135ba UD |
589 | 2007-02-14 Jakub Jelinek <jakub@redhat.com> |
590 | ||
591 | [BZ #3996] | |
592 | * posix/glob.c (attribute_hidden): Define if not defined. | |
593 | (glob): Unescape dirname, filename or username when needed and not | |
594 | GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename | |
595 | is NULL. Handle unescaped [ in pattern without closing ]. | |
596 | Don't pass GLOB_CHECK down to recursive glob for directories. | |
597 | (__glob_pattern_type): New function. | |
598 | (__glob_pattern_p): Implement using __glob_pattern_type. | |
599 | (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta | |
600 | characters and backslashes if not GLOB_NOESCAPE or unterminated [. | |
601 | Remove unreachable code. | |
602 | * posix/globtest.sh: Add a couple of new tests. | |
603 | ||
2f699967 UD |
604 | 2007-02-13 Ulrich Drepper <drepper@redhat.com> |
605 | ||
606 | * po/ru.po: Update from translation team. | |
607 | ||
3a7cd5b4 JJ |
608 | 2007-02-12 Jakub Jelinek <jakub@redhat.com> |
609 | ||
610 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ | |
611 | to the list of i486+ CPUs. | |
612 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
613 | ||
2f978feb UD |
614 | 2007-02-12 Ulrich Drepper <drepper@redhat.com> |
615 | ||
616 | * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference. | |
617 | * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined | |
618 | references. | |
619 | ||
2bbb7d5b UD |
620 | 2007-02-09 Ulrich Drepper <drepper@redhat.com> |
621 | ||
5ed61e0f UD |
622 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. |
623 | ||
2bbb7d5b UD |
624 | * resolv/res_init.c (res_setoptions): Recognize edns0 option. |
625 | * resolv/res_mkquery.c: Define __res_nopt. | |
626 | * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set | |
627 | try adding EDNS0 record. | |
628 | * resolv/res_send.c (send_dg): If request failed with FORMERR and | |
629 | EDNS0 record was send make sure we don't try it again. | |
630 | * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0. | |
631 | * include/resolv.h: Declare __res_nopt. | |
632 | ||
00458b5b UD |
633 | 2007-02-08 Jakub Jelinek <jakub@redhat.com> |
634 | ||
635 | [BZ #3944] | |
636 | * time/strptime_l.c (__strptime_internal): Set have_mon for | |
637 | %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday | |
638 | have been computed from tm_yday and tm_year. Don't crash | |
639 | in day_of_the_week or day_of_the_year if not have_mon | |
640 | and tm_mon contains bogus value. | |
641 | * time/Makefile (tests): Add tst-strptime3. | |
642 | * time/tst-strptime3.c: New test. | |
643 | ||
784aacea UD |
644 | 2007-02-05 Jakub Jelinek <jakub@redhat.com> |
645 | ||
646 | [BZ #3957] | |
647 | * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0' | |
648 | bit for RE_HAT_LISTS_NOT_NEWLINE. | |
649 | (build_charclass_op): Remove bogus comment. | |
650 | * posix/Makefile (tests): Add bug-regex27 and bug-regex28. | |
651 | * posix/bug-regex27.c: New test. | |
652 | * posix/bug-regex28.c: New test. | |
653 | ||
bf7a2463 UD |
654 | 2007-02-03 Ulrich Drepper <drepper@redhat.com> |
655 | ||
656 | * po/sv.po: Update from translation team. | |
657 | ||
f2ccf983 UD |
658 | 2007-02-02 Ulrich Drepper <drepper@redhat.com> |
659 | ||
660 | * nscd/nscd_helper.c (open_socket): Minor size optimization. | |
661 | ||
73f50d5a UD |
662 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
663 | ||
664 | * include/locale.h (__uselocale): Add libc_hidden_proto. | |
665 | * locale/uselocale.c (__uselocale): Add libc_hidden_def. | |
666 | ||
f6bf9e59 JJ |
667 | * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of |
668 | gettimeofday. | |
669 | ||
4a44ce79 UD |
670 | 2007-02-01 Ulrich Drepper <drepper@redhat.com> |
671 | ||
672 | * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before | |
673 | returning. | |
674 | (PTR_DEMANGLE): Real definition now that it's not the same as | |
675 | PRT_MANGLE anymore. | |
676 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
677 | ||
678 | * string/strerror_l.c: New file. | |
679 | * string/Makefile (routines): Add strerror_l. | |
680 | * string/string.h: Declare strerror_l. | |
681 | * string/Versions: Export strerror_l for GLIBC_2.6. | |
682 | ||
58a2d52e UD |
683 | 2007-01-31 Ulrich Drepper <drepper@redhat.com> |
684 | ||
685 | * nscd/nscd_helper.c (open_socket): Now takes request type and key | |
686 | as parameter. Construct request record. Try sending request | |
687 | before the first poll use, it usually succeeds. Adjust all | |
688 | callers. | |
689 | * nscd/nscd-client.h: Define MAXKEYLEN. | |
4a44ce79 | 690 | * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here. |
58a2d52e | 691 | |
1a77d37f JJ |
692 | 2007-01-31 Jakub Jelinek <jakub@redhat.com> |
693 | ||
694 | * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier | |
695 | from return value. | |
696 | * nscd/nscd_helper.c: Include string.h. | |
697 | (__nscd_cache_search): Remove const qualifier from return value. | |
698 | On strict alignment architectures check hash entry and data head | |
699 | alignment. | |
700 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because | |
701 | mmapped data during GC cycle contains garbage. If | |
702 | __nscd_drop_map_ref fails, decrement mapped->counter when returning | |
703 | error or if retrying with NO_MAPPING, only __nscd_unmap if counter | |
704 | dropped to 0. | |
705 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
706 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
707 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
708 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
709 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
710 | ||
ee314200 UD |
711 | 2007-01-30 Ulrich Drepper <drepper@redhat.com> |
712 | ||
713 | * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. | |
714 | ||
14c8bf3b UD |
715 | 2007-01-26 Ulrich Drepper <drepper@redhat.com> |
716 | ||
717 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register | |
718 | names not numbers in cfi_*. | |
719 | ||
d2708e67 AJ |
720 | 2007-01-26 Andreas Jaeger <aj@suse.de> |
721 | ||
722 | * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, | |
14c8bf3b | 723 | ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add. |
d2708e67 AJ |
724 | Correct values of PER_HPUX and PER_OSF4. |
725 | ||
7fbc8784 UD |
726 | 2007-01-24 Ulrich Drepper <drepper@redhat.com> |
727 | ||
8aaf53ee | 728 | * elf/dl-minimal.c: Undefine _itoa first. |
7fbc8784 UD |
729 | * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. |
730 | * malloc/mtrace.c: Revert last change. | |
731 | * posix/wordexp.c: Likewise. | |
732 | ||
9d6cde3d UD |
733 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
734 | ||
735 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ | |
736 | and __geode__ to the list of i486+ CPUs. | |
737 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
738 | ||
c1f0486a UD |
739 | 2007-01-23 Ulrich Drepper <drepper@redhat.com> |
740 | ||
741 | * stdio-common/_itoa.c: Include <limits.h>. | |
742 | * stdio-common/_itowa.c: Likewise. | |
743 | ||
6cae3957 UD |
744 | 2007-01-22 Ulrich Drepper <drepper@redhat.com> |
745 | ||
765bbb24 UD |
746 | * stdio-common/_itowa.c: Don't compile _itowa for 64-bit |
747 | platforms. | |
748 | * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for | |
749 | 64-bit platforms. | |
750 | * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if | |
751 | possible. | |
752 | * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa | |
753 | if possible. | |
754 | ||
6cae3957 UD |
755 | [BZ #3902] |
756 | * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. | |
757 | * stdio-common/Makefile (tests): Add bug17. | |
758 | * stdio-common/bug17.c: New file. | |
759 | ||
ddaafd04 UD |
760 | 2007-01-19 Ulrich Drepper <drepper@redhat.com> |
761 | ||
762 | * iconvdata/brf.c: New file. | |
439201de UD |
763 | * iconvdata/testdata/BRF: New file. |
764 | * iconvdata/testdata/BRF..UTF8: New file. | |
765 | Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
ddaafd04 UD |
766 | * iconvdata/Makefile: Add rules to build BRF. |
767 | * iconvdata/TESTS: Add BRF entry. | |
768 | * iconvdata/gconv-modules: Likewise. | |
769 | * iconvdata/tst-tables.sh: Likewise. | |
ddaafd04 | 770 | |
9e6e344e UD |
771 | 2007-01-18 Anton Nikishaev <anton.nik@gmail.com> |
772 | ||
773 | * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of | |
774 | type `long long int', not `long int'. | |
775 | (wcstoq): Likewise. | |
776 | ||
299f7b0f UD |
777 | 2007-01-18 Ulrich Drepper <drepper@redhat.com> |
778 | ||
779 | * scripts/gen-as-const.awk: Add cast to long to avoid int promotion | |
780 | of values on 64-bit platforms which are too large. | |
781 | ||
cd8127cc JJ |
782 | 2007-01-12 Steven Munroe <sjmunroe@us.ibm.com> |
783 | Joe Kerian <jkerian@us.us.ibm.com> | |
784 | ||
785 | [BZ #2749] | |
786 | * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include | |
787 | <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro. | |
788 | (__copysignl): Use signbit() for comparison. | |
789 | * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for | |
790 | SET_LDOUBLE_WORDS64. | |
791 | ||
792 | [BZ #2423, #2749] | |
793 | * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>. | |
794 | (__ceill): Remove calls to fegetround(), fesetround(). | |
795 | * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. | |
796 | * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. | |
797 | * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. | |
798 | ||
b3acfdf7 JJ |
799 | 2007-01-17 Jakub Jelinek <jakub@redhat.com> |
800 | ||
4a2e03c6 JJ |
801 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos. |
802 | ||
b3acfdf7 JJ |
803 | * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. |
804 | ||
1476bce6 UD |
805 | 2007-01-17 Ulrich Drepper <drepper@redhat.com> |
806 | ||
807 | * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to | |
808 | demangle pointer. | |
809 | * csu/libc-start.c: Likewise. | |
810 | ||
d78bce1c UD |
811 | 2007-01-16 Ulrich Drepper <drepper@redhat.com> |
812 | ||
813 | * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot | |
814 | really work anyway. | |
815 | ||
1bd79025 UD |
816 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
817 | ||
000b027e UD |
818 | * nscd/connections.c (servinfo): Renamed to reqinfo. Change all |
819 | users. | |
820 | (handle_request): Remove unnecessary tests. | |
821 | ||
1bd79025 UD |
822 | * nscd/cache.c (cache_add): Record the failure to add to the cache. |
823 | ||
d68f5d2c JJ |
824 | 2007-01-15 Jakub Jelinek <jakub@redhat.com> |
825 | ||
826 | * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear | |
827 | workbits in semi-raw fraction. | |
828 | ||
829 | * math/test-misc.c: Add new tests. | |
830 | ||
831 | 2007-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
832 | ||
833 | * math/basic-test.c: Include test-skeleton.c. | |
834 | (TEST_TRUNC): Define. | |
835 | (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. | |
836 | (main): Rename to ... | |
837 | (do_test): ...this. Run new tests. | |
838 | (TEST_FUNCTION): Define. | |
839 | ||
840 | 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com> | |
841 | Joe Kerian <jkerian@us.us.ibm.com> | |
842 | ||
843 | [BZ #2749] | |
844 | * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow | |
845 | handling for high words. | |
846 | * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact | |
847 | and overflow for infinity. | |
848 | ||
4e35ef2c UD |
849 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
850 | ||
2a1dea97 UD |
851 | * nscd/connections.c (handle_request): Add a __builtin_expect. |
852 | ||
9691d83c UD |
853 | * nscd/connections.c (serv2db): Change type into structure which |
854 | also says whether this is a request for data. Renamed to | |
855 | servinfo. All users changed. | |
856 | (handle_request): Much simpler test whether we should search the cache. | |
857 | ||
49ee6d79 UD |
858 | * nscd/connections.c (handle_request): Fix thinko in selinux test |
859 | invocation. | |
860 | ||
4e35ef2c UD |
861 | * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. |
862 | * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock | |
863 | it before getting dl_load_lock and then relock. | |
864 | (_dl_lookup_symbol_x): Pass flags to add_dependency. | |
865 | When rerunning _dl_lookup_symbol_x, compute symbol_scope again in | |
866 | case we unlocked the scope. | |
867 | * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to | |
868 | _dl_lookup_symbol_x in case we locked the scope. | |
869 | (_dl_profile_fixup): Likewise. | |
870 | * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also | |
871 | set DL_LOOKUP_SCOPE_LOCK. | |
872 | ||
23691ab2 UD |
873 | 2007-01-13 Ulrich Drepper <drepper@redhat.com> |
874 | ||
fb453d08 UD |
875 | * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and |
876 | CFLAGS-getsrvbynpt_r.c. | |
877 | * nscd/getsrvbynm_r.c: New file. | |
878 | * nscd/getsrvbypt_r.c: New file. | |
879 | * nscd/nscd_getserv_r.c: New file. | |
880 | * nscd/servicescache.c: New file. | |
881 | * nscd/Makefile (routines): Add nscd_getserv_r. | |
882 | (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache. | |
883 | Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and | |
884 | CFLAGS-getsrvbypt_r.c. | |
885 | * nscd/cache.c (prune_cache): Rewrite to get re-add function from | |
886 | table. Add entries for services database. | |
887 | * nscd/connections.c (serv2str): Mark as const. Add entries for | |
888 | services database. | |
889 | (dbs): Add .reset_res and servdb initialization. | |
890 | (serv2db): Add entries for services database. | |
891 | (verify_persistent_db): Accept dbnr == servdb. | |
892 | (invalidate_cache): Rewrite database name recognition to use a table. | |
893 | Call res_init() if .reset_res is set for database. | |
894 | (handle_request): Add code to handle services database. | |
895 | * nscd/gai.c: Don't define __getservbyname_r. | |
896 | * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add | |
897 | GETSERVBYNAME, GETSERVBYPORT, GETFDSERV. | |
898 | (serv_response_header): Define. | |
899 | (struct datahead): Add serv_response_header member. | |
900 | * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value | |
901 | using table. | |
902 | * nscd/nscd.conf: Add entries for services database. | |
903 | * nscd/nscd.h: Adjust declaration of dbnames and serv2str. | |
904 | Declare serv_iov_disabled. | |
905 | Declare addservbyname, readdservbyname, addservbyport, and | |
906 | readdservbyport. | |
907 | * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry. | |
908 | (find_db): Fix error message. | |
909 | * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services, | |
910 | __nscd_getservbyname_r, and __nscd_getservbyport_r. | |
911 | * nscd/selinux.c (perms): Add entries for services database. | |
912 | * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE. | |
913 | * nss/nsswitch.c (__nss_disable_nscd): Also disable services database. | |
914 | ||
915 | * nscd/grpcache.c: Remove obsolete code. Cleanups. | |
916 | * nscd/hstcache.c: Likewise. | |
917 | * nscd/pwdcache.c: Likewise. | |
918 | ||
b21fa963 UD |
919 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct |
920 | computation of keylen. | |
921 | ||
23691ab2 UD |
922 | * include/string.h: Only redefine strndupa if this is really for |
923 | libc code. | |
924 | ||
8980796b UD |
925 | 2007-01-12 Ulrich Drepper <drepper@redhat.com> |
926 | ||
4a4a65f2 UD |
927 | * nscd/nscd_gethst_r.c: Minor cleanups. |
928 | ||
43397eaf UD |
929 | * nscd/connections.c (handle_request): Check selinux permissions |
930 | for all non-admin commands. | |
931 | ||
038a1a9f UD |
932 | * sysdeps/i386/i486/bits/atomic.h: Define |
933 | atomic_compare_and_exchange_val_acq, | |
934 | atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add | |
935 | using __sync_* built-ins for gcc >= 4.1. | |
936 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
937 | ||
8980796b UD |
938 | [BZ #3840] |
939 | * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d, | |
940 | and .oS.d files. | |
941 | ||
32c075e1 JJ |
942 | 2007-01-05 Steven Munroe <sjmunroe@us.ibm.com> |
943 | ||
944 | * stdlib/tst-makecontext.c: Include errno.h. Change main() | |
945 | to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. | |
946 | (do_test): Check errno and exit(0) if ENOSYS. | |
947 | ||
948 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> | |
949 | ||
950 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte | |
951 | thousands separators. | |
952 | * stdlib/Makefile: Add rules to build and run tst-strtod4. | |
953 | * stdlib/tst-strtod4.c: New test. | |
954 | ||
955 | [BZ #3855] | |
956 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by | |
957 | hexadecimal digit should accept just the initial 0. | |
958 | * stdlib/tst-strtod2.c (tests): New variable. | |
959 | (do_test): Run several tests rather than just one. | |
960 | ||
11bf311e | 961 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> |
df859a0c | 962 | |
11bf311e UD |
963 | * sysdeps/i386/soft-fp/sfp-machine.h: Remove. |
964 | * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. | |
df859a0c | 965 | |
11bf311e | 966 | 2007-01-10 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 967 | |
11bf311e UD |
968 | * io/fts.c: Make sure fts_cur is always valid after return from |
969 | fts_read. | |
970 | Patch by Miloslav Trmac <mitr@redhat.com>. | |
64a0aa0f | 971 | |
11bf311e | 972 | 2006-10-27 Richard Sandiford <richard@codesourcery.com> |
32c075e1 | 973 | |
11bf311e UD |
974 | * elf/elf.h (R_MIPS_GLOB_DAT): Define. |
975 | (R_MIPS_NUM): Bump by 1. | |
32c075e1 | 976 | |
11bf311e | 977 | 2007-01-03 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 978 | |
11bf311e UD |
979 | * posix/execvp.c: Include alloca.h. |
980 | (allocate_scripts_argv): Renamed to... | |
981 | (scripts_argv): ... this. Don't allocate buffer here nor count | |
982 | arguments. | |
983 | (execvp): Use alloca if possible. | |
984 | * posix/Makefile: Add rules to build and run tst-vfork3 test. | |
985 | * posix/tst-vfork3.c: New test. | |
32c075e1 JJ |
986 | |
987 | 2007-01-03 Ulrich Drepper <drepper@redhat.com> | |
988 | ||
989 | * string/Makefile (tst-strxfrm2-ENV): Define. | |
11bf311e | 990 | * stdlib/Makefile (tst-strtod3-ENV): Define. |
32c075e1 | 991 | |
11bf311e | 992 | 2007-01-02 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 993 | |
11bf311e UD |
994 | * posix/getconf.c: Update copyright year. |
995 | * nss/getent.c: Likewise. | |
996 | * iconv/iconvconfig.c: Likewise. | |
997 | * iconv/iconv_prog.c: Likewise. | |
998 | * elf/ldconfig.c: Likewise. | |
999 | * catgets/gencat.c: Likewise. | |
1000 | * csu/version.c: Likewise. | |
1001 | * elf/ldd.bash.in: Likewise. | |
1002 | * elf/sprof.c (print_version): Likewise. | |
1003 | * locale/programs/locale.c: Likewise. | |
1004 | * locale/programs/localedef.c: Likewise. | |
1005 | * nscd/nscd.c (print_version): Likewise. | |
1006 | * debug/xtrace.sh: Likewise. | |
1007 | * malloc/memusage.sh: Likewise. | |
1008 | * malloc/mtrace.pl: Likewise. | |
1009 | * debug/catchsegv.sh: Likewise. | |
64a0aa0f | 1010 | |
11bf311e | 1011 | 2006-12-24 Ulrich Drepper <drepper@redhat.com> |
48576885 | 1012 | |
11bf311e UD |
1013 | * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment |
1014 | attempts. | |
48576885 | 1015 | |
11bf311e | 1016 | 2006-12-23 Ulrich Drepper <drepper@redhat.com> |
3b6667a4 | 1017 | |
11bf311e | 1018 | * posix/wordexp.c: Remove some unnecessary tests. |
3b6667a4 | 1019 | |
33c6de58 UD |
1020 | 2006-12-22 Gavin Romig-Koch <gavin@redhat.com> |
1021 | ||
1022 | * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't | |
1023 | blacklist the group till after we look it up. | |
1024 | ||
fc242bef UD |
1025 | 2006-12-21 Ulrich Drepper <drepper@redhat.com> |
1026 | ||
1027 | * include/atomic.h (atomic_forced_read): New macro. | |
1028 | ||
11bf311e UD |
1029 | 2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
1030 | ||
1031 | * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file. | |
1032 | ||
a12dcecc UD |
1033 | 2006-12-19 Jakub Jelinek <jakub@redhat.com> |
1034 | ||
11bf311e UD |
1035 | * nss/getXXbyYY_r.c: Include atomic.h. |
1036 | (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, | |
1037 | add atomic_write_barrier () in between. | |
1038 | ||
a12dcecc UD |
1039 | * stdlib/Makefile (tests): Add tst-makecontext. |
1040 | * stdlib/tst-makecontext.c: New test. | |
1041 | ||
1042 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S | |
1043 | (__makecontext): Don't realign uc_mcontext.uc_regs. | |
1044 | ||
11bf311e | 1045 | 2006-11-28 Jakub Jelinek <jakub@redhat.com> |
594d423a | 1046 | |
11bf311e UD |
1047 | * elf/dl-support.c: Include dl-procinfo.h. |
1048 | * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, | |
1049 | PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, | |
1050 | PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): | |
1051 | Define. | |
1052 | (_dl_string_platform): Use PPC_PLATFORM_* macros instead of | |
1053 | hardcoded constants. | |
1054 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use | |
1055 | PPC_PLATFORM_* macros for array designators. | |
594d423a | 1056 | |
11bf311e | 1057 | 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com> |
594d423a | 1058 | |
11bf311e UD |
1059 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap |
1060 | names to the beginning. | |
1061 | (_dl_powerpc_platforms): Add "power6x". | |
1062 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
1063 | (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. | |
1064 | (_DL_PLATFORMS_COUNT): Increase. | |
1065 | (_dl_string_platform): Handle power6x case. | |
1066 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, | |
1067 | PPC_FEATURE_POWER6_EXT): Define. | |
1068 | (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. | |
594d423a | 1069 | |
5bcba0ed UD |
1070 | 2006-12-18 Jakub Jelinek <jakub@redhat.com> |
1071 | ||
1072 | [BZ #3747] | |
1073 | * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the | |
11bf311e | 1074 | [-2^31 .. 2^31) range. |
5bcba0ed UD |
1075 | * stdlib/tst-rand48.c (main): Fix expected values for 64-bit |
1076 | targets. | |
1077 | * stdlib/tst-rand48-2.c: New test. | |
1078 | * stdlib/Makefile (tests): Add tst-rand48-2. | |
1079 | ||
9e1444fc UD |
1080 | 2006-12-14 Jakub Jelinek <jakub@redhat.com> |
1081 | ||
1082 | * misc/tst-pselect.c (do_test): Fix sigblock argument. | |
1083 | ||
36775704 UD |
1084 | 2006-12-14 Ulrich Drepper <drepper@redhat.com> |
1085 | ||
1086 | * misc/tst-pselect.c (do_test): Make sure the helper process is | |
1087 | terminating when the test is aborted. | |
1088 | ||
1e88bd0f UD |
1089 | 2006-12-13 Ulrich Drepper <drepper@redhat.com> |
1090 | ||
11bf311e UD |
1091 | * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. |
1092 | * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): | |
1093 | Handle relatime mount option. | |
1094 | ||
1e88bd0f UD |
1095 | [BZ #2337] |
1096 | * libio/Makefile (tests): Add tst-setvbuf1. | |
1097 | * libio/tst-setvbuf1.c: New file. | |
1098 | ||
1099 | 2006-12-08 Jakub Jelinek <jakub@redhat.com> | |
1100 | ||
1101 | [BZ #2337] | |
1102 | * libio/genops.c (__uflow): Fix a typo. | |
1103 | * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat | |
1104 | nor set _IO_LINE_BUF bit here. Size the wide buffer based on | |
1105 | the narrow buffer size. | |
1106 | ||
1107 | 2006-11-24 Jakub Jelinek <jakub@redhat.com> | |
1108 | ||
1109 | [BZ #2337] | |
1110 | * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. | |
1111 | * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set | |
1112 | _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit | |
1113 | in _flags. | |
1114 | * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, | |
1115 | _IO_wstr_finish): Likewise. | |
1116 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
1117 | * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] | |
1118 | even for wide streams. | |
1119 | ||
11bf311e | 1120 | 2006-12-13 Jakub Jelinek <jakub@redhat.com> |
1f55ce48 | 1121 | |
11bf311e UD |
1122 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include |
1123 | kernel-features.h. | |
1124 | ||
1125 | 2006-12-11 Ulrich Drepper <drepper@redhat.com> | |
1126 | ||
1127 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand | |
1128 | separators also if no non-zero digits found. | |
1129 | * stdlib/Makefile (tests): Add tst-strtod3. | |
1f55ce48 | 1130 | |
d117c1ce UD |
1131 | 2006-12-09 Ulrich Drepper <drepper@redhat.com> |
1132 | ||
f85fb97b UD |
1133 | [BZ #3632] |
1134 | * include/features.h: Fix comment about default value for | |
1135 | _POSIX_C_SOURCE. | |
1136 | ||
11bf311e UD |
1137 | [BZ #3664] |
1138 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize | |
1139 | empty parsed strings. | |
1140 | * stdlib/Makefile (tests): Add tst-strtod2. | |
1141 | * stdlib/tst-strtod2.c: New file. | |
1142 | ||
1143 | [BZ #3673] | |
1144 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit | |
1145 | computation. | |
1146 | * stdlib/Makefile (tests): Add tst-atof2. | |
1147 | * stdlib/tst-atof2.c: New file. | |
1148 | ||
1149 | [BZ #3674] | |
1150 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value | |
1151 | correctly if removing trailing zero of hex-float. | |
1152 | * stdlib/Makefile (tests): Add tst-atof1. | |
1153 | * stdlib/tst-atof1.c: New file. | |
1154 | ||
a822d9f4 UD |
1155 | 2006-12-09 Jakub Jelinek <jakub@redhat.com> |
1156 | ||
11bf311e UD |
1157 | * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. |
1158 | Start searching for next comma at p rather than rest. | |
1159 | * misc/Makefile (tests): Add tst-mntent2. | |
1160 | * misc/tst-mntent2.c: New test. | |
1161 | ||
a822d9f4 UD |
1162 | * misc/getusershell.c (initshells): Check for integer overflows. |
1163 | Make strings buffer one bigger as fgets always succeeds when second | |
1164 | argument is 1. Don't use calloc for shells array. Disallow | |
11bf311e | 1165 | / as shell. |
f0d5e1f6 | 1166 | |
11bf311e | 1167 | 2006-12-08 Ulrich Drepper <drepper@redhat.com> |
f0d5e1f6 | 1168 | |
11bf311e UD |
1169 | * malloc/memusage.c: Handle realloc with new size of zero and |
1170 | non-NULL pointer correctly. | |
1171 | (me): Really write first record twice. | |
1172 | (struct entry): Make format bi-arch safe. | |
1173 | (dest): Write out more realloc statistics. | |
1174 | * malloc/memusagestat.c (struct entry): Make format bi-arch safe. | |
32c075e1 | 1175 | |
11bf311e | 1176 | 2006-12-05 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 1177 | |
11bf311e | 1178 | * nis/nis_subr.c (nis_getnames): Revert last change. |
32c075e1 | 1179 | |
f0d5e1f6 UD |
1180 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
1181 | ||
1182 | * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. | |
1183 | (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. | |
1184 | * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. | |
1185 | (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to | |
1186 | ENOTTY. | |
1187 | * io/Makefile: Add rules to build and run tst-ttyname_r test. | |
1188 | * io/tst-ttyname_r.c: New test. | |
1189 | ||
11bf311e | 1190 | 2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
5df4fe08 | 1191 | |
11bf311e | 1192 | * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed. |
5df4fe08 | 1193 | |
11bf311e | 1194 | 2006-11-30 H.J. Lu <hongjiu.lu@intel.com> |
ee50871d | 1195 | |
11bf311e UD |
1196 | * sysdeps/i386/i686/memcmp.S: Use jump table as the base of |
1197 | jump table entries. | |
1198 | ||
1199 | 2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> | |
1200 | ||
1201 | * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost | |
1202 | `clone' function to ensure proper unwinding stop of gdb. | |
1203 | * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. | |
1204 | ||
1205 | 2006-12-01 Ulrich Drepper <drepper@redhat.com> | |
1206 | ||
1207 | * nscd/nscd.init: Remove obsolete and commented-out -S option | |
1208 | handling. | |
1209 | ||
1210 | 2006-11-23 Jakub Jelinek <jakub@redhat.com> | |
1211 | ||
1212 | [BZ #3514] | |
1213 | * manual/string.texi (strncmp): Fix pastos from wcscmp description. | |
1214 | ||
1215 | [BZ #3515] | |
1216 | * manual/string.texi (strtok): Remove duplicate paragraph. | |
1217 | ||
1218 | 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com> | |
1219 | ||
1220 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with | |
1221 | libgcc not supporting `rflags' unwinding (register # >= 17). | |
1222 | ||
1223 | 2006-11-30 Jakub Jelinek <jakub@redhat.com> | |
1224 | ||
1225 | * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc | |
1226 | succeeded. | |
1227 | ||
1228 | 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com> | |
1229 | Jakub Jelinek <jakub@redhat.com> | |
1230 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
1231 | ||
1232 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct | |
1233 | unwind information. | |
1234 | * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for | |
1235 | 'restore_rt' even in the 'signal' directory. | |
1236 | * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list. | |
ee50871d | 1237 | |
b1a758f3 UD |
1238 | 2006-11-27 Jakub Jelinek <jakub@redhat.com> |
1239 | ||
1240 | [BZ #3559] | |
1241 | * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if | |
11bf311e UD |
1242 | malloc crashed. Don't allocate memory unnecessarily in each |
1243 | loop. | |
b1a758f3 | 1244 | |
11bf311e | 1245 | 2006-10-21 Jakub Jelinek <jakub@redhat.com> |
854d1124 | 1246 | |
11bf311e | 1247 | * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. |
dfc99a56 | 1248 | |
11bf311e | 1249 | 2006-11-20 Ulrich Drepper <drepper@redhat.com> |
dfc99a56 | 1250 | |
11bf311e | 1251 | * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. |
852d657c | 1252 | |
11bf311e | 1253 | 2006-11-18 Bruno Haible <bruno@clisp.org> |
852d657c | 1254 | |
11bf311e UD |
1255 | * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke |
1256 | __sysconf only after having tried to call getgroups32. | |
36c0a636 | 1257 | |
11bf311e | 1258 | 2006-11-19 Ulrich Drepper <drepper@redhat.com> |
36c0a636 | 1259 | |
11bf311e UD |
1260 | * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style |
1261 | addresses for IPv4 queries if they can be mapped. | |
b1f0c2a6 | 1262 | |
11bf311e | 1263 | 2006-11-16 Jakub Jelinek <jakub@redhat.com> |
b1f0c2a6 | 1264 | |
11bf311e UD |
1265 | * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text. |
1266 | * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise. | |
1267 | (signmask): Add .size directive. | |
1268 | (othermask): Add .type directive. | |
bef8927a | 1269 | |
11bf311e | 1270 | 2006-11-14 Ulrich Drepper <drepper@redhat.com> |
2c53fa20 | 1271 | |
11bf311e | 1272 | * po/nl.po: Update from translation team. |
854d1124 | 1273 | |
11bf311e | 1274 | * timezone/zdump.c: Redo fix for BZ #3137. |
3f1e9205 | 1275 | |
11bf311e | 1276 | 2006-11-14 Jakub Jelinek <jakub@redhat.com> |
bef8927a | 1277 | |
11bf311e UD |
1278 | * nss/nss_files/files-alias.c (get_next_alias): Set line back |
1279 | to first_unused after parsing :include: file. | |
5c2af134 | 1280 | |
32c075e1 | 1281 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> |
e1b37083 | 1282 | |
11bf311e UD |
1283 | * timezone/africa: Update from tzdata2006o. |
1284 | * timezone/antarctica: Likewise. | |
1285 | * timezone/asia: Likewise. | |
1286 | * timezone/australasia: Likewise. | |
1287 | * timezone/backward: Likewise. | |
1288 | * timezone/europe: Likewise. | |
1289 | * timezone/iso3166.tab: Likewise. | |
1290 | * timezone/northamerica: Likewise. | |
1291 | * timezone/southamerica: Likewise. | |
1292 | * timezone/zone.tab: Likewise. | |
1293 | ||
1294 | * time/tzfile.c (__tzfile_read): Extend to handle new file format | |
1295 | on machines with 64-bit time_t. | |
1296 | ||
1297 | * timezone/checktab.awk: Update from tzcode2006o. | |
1298 | * timezone/ialloc.c: Likewise. | |
1299 | * timezone/private.h: Likewise. | |
1300 | * timezone/scheck.c: Likewise. | |
1301 | * timezone/tzfile.h: Likewise. | |
1302 | * timezone/tzselect.ksh: Likewise. | |
1303 | * timezone/zdump.c: Likewise. | |
1304 | * timezone/zic.c: Likewise. | |
1305 | ||
1306 | [BZ #3483] | |
1307 | * elf/ldconfig.c (main): Call setlocale and textdomain. | |
1308 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
1309 | ||
1310 | [BZ #3480] | |
1311 | * manual/argp.texi: Fix typos. | |
1312 | * manual/charset.texi: Likewise. | |
1313 | * manual/errno.texi: Likewise. | |
1314 | * manual/filesys.texi: Likewise. | |
1315 | * manual/lang.texi: Likewise. | |
1316 | * manual/maint.texi: Likewise. | |
1317 | * manual/memory.texi: Likewise. | |
1318 | * manual/message.texi: Likewise. | |
1319 | * manual/resource.texi: Likewise. | |
1320 | * manual/search.texi: Likewise. | |
1321 | * manual/signal.texi: Likewise. | |
1322 | * manual/startup.texi: Likewise. | |
1323 | * manual/stdio.texi: Likewise. | |
1324 | * manual/sysinfo.texi: Likewise. | |
1325 | * manual/syslog.texi: Likewise. | |
1326 | * manual/time.texi: Likewise. | |
1327 | Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. | |
1328 | ||
1329 | [BZ #3465] | |
1330 | * sunrpc/clnt_raw.c: Minimal message improvements. | |
1331 | * sunrpc/pm_getmaps.c: Likewise. | |
1332 | * nis/nss_nisplus/nisplus-publickey.c: Likewise. | |
1333 | * nis/nis_print_group_entry.c: Likewise. | |
1334 | * locale/programs/repertoire.c: Likewise. | |
1335 | * locale/programs/charmap.c: Likewise. | |
1336 | * malloc/memusage.sh: Likewise. | |
1337 | * elf/dl-deps.c: Likewise. | |
1338 | * locale/programs/ld-collate.c: Likewise. | |
1339 | * libio/vswprintf.c: Likewise. | |
1340 | * malloc/memusagestat.c: Likewise. | |
1341 | * sunrpc/auth_unix.c: Likewise. | |
1342 | * sunrpc/rpc_main.c: Likewise. | |
1343 | * nscd/cache.c: Likewise. | |
1344 | * locale/programs/repertoire.c: Unify output messages. | |
1345 | * locale/programs/charmap.c: Likewise. | |
1346 | * locale/programs/ld-ctype.c: Likewise. | |
1347 | * locale/programs/ld-monetary.c: Likewise. | |
1348 | * locale/programs/ld-numeric.c: Likewise. | |
1349 | * locale/programs/ld-time.c: Likewise. | |
1350 | * elf/ldconfig.c: Likewise. | |
1351 | * nscd/selinux.c: Likewise. | |
1352 | * elf/cache.c: Likewise. | |
1353 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
1354 | ||
5c2af134 UD |
1355 | [BZ #3451] |
1356 | * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode | |
1357 | change atomic. | |
1358 | (ceil): Likewise. | |
1359 | ||
11bf311e UD |
1360 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> |
1361 | ||
1362 | * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization | |
1363 | if N is one bigger than return value. | |
1364 | * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 | |
1365 | and l1 last arguments, if buf is defined, verify the return value | |
1366 | equals to strlen (buf) and verify no byte beyond passed length | |
1367 | is modified. | |
1368 | ||
1369 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> | |
1370 | ||
1371 | * po/sv.po: Update from translation team. | |
1372 | ||
37afcf79 UD |
1373 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
1374 | ||
1375 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add | |
1376 | noinline attribute. | |
1377 | ||
1378 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> | |
1379 | ||
1380 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add | |
1381 | noinline attribute. | |
1382 | ||
11bf311e UD |
1383 | * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): |
1384 | Use __new_sys_siglist instead of _sys_siglist_internal as | |
1385 | second macro argument. | |
1386 | (_old_sys_siglist): Use declare_symbol_alias macro instead of | |
1387 | strong_alias. | |
2692deea | 1388 | |
11bf311e UD |
1389 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
1390 | ||
1391 | [BZ #3493] | |
1392 | * posix/unistd.h (sysconf): Remove const attribute. | |
1393 | ||
1394 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for | |
1395 | temporary or deprecated addresses. | |
1396 | Patch by Sridhar Samudrala <sri@us.ibm.com>. | |
1397 | ||
1398 | * string/Makefile (tests): Add tst-strxfrm2. | |
1399 | * string/tst-strxfrm2.c: New file. | |
1400 | ||
1401 | 2006-10-09 Jakub Jelinek <jakub@redhat.com> | |
1402 | ||
1403 | * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 | |
1404 | rather than r->r_brk. | |
2692deea UD |
1405 | |
1406 | 2006-11-08 Jakub Jelinek <jakub@redhat.com> | |
1407 | ||
11bf311e UD |
1408 | * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal |
1409 | optimization even if needed > n. | |
1410 | ||
2692deea UD |
1411 | * elf/dl-load.c (decompose_rpath): Return bool rather than void. |
1412 | If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and | |
1413 | return false, otherwise return true. | |
1414 | (cache_rpath): Return decompose_rpath return value. | |
1415 | ||
11bf311e UD |
1416 | 2006-11-07 Jakub Jelinek <jakub@redhat.com> |
1417 | ||
1418 | * include/libc-symbols.h (declare_symbol): Rename to... | |
1419 | (declare_symbol_alias): ... this. Add ORIGINAL argument, imply | |
1420 | strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes | |
1421 | .size directive. | |
1422 | * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias | |
1423 | changes. | |
1424 | * sysdeps/gnu/siglist.c: Likewise. | |
1425 | ||
1426 | 2006-11-03 Steven Munroe <sjmunroe@us.ibm.com> | |
1427 | ||
1428 | * sysdeps/powerpc/fpu/bits/mathinline.h | |
1429 | [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... | |
1430 | * sysdeps/powerpc/fpu/math_private.h: ...here. New file. | |
1431 | ||
1432 | 2006-11-05 Ulrich Drepper <drepper@redhat.com> | |
1433 | ||
1434 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): | |
1435 | Update handling of cache descriptor 0x49 for new models. | |
1436 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): | |
1437 | Likewise. | |
1438 | ||
9666e36c UD |
1439 | 2006-11-02 Jakub Jelinek <jakub@redhat.com> |
1440 | ||
1441 | * malloc/memusage.c (dest): Reset not_me back to false after | |
1442 | printing statistics. | |
1443 | ||
11bf311e UD |
1444 | 2006-11-02 Ulrich Drepper <drepper@redhat.com> |
1445 | ||
1446 | * configure.in: Work around ld --help change and avoid -z relro | |
1447 | test completely if the architecture doesn't care about security. | |
1448 | ||
1449 | 2006-11-01 Ulrich Drepper <drepper@redhat.com> | |
1450 | ||
1451 | * po/sv.po: Update from translation team. | |
1452 | ||
1453 | 2006-10-31 Ulrich Drepper <drepper@redhat.com> | |
1454 | ||
1455 | * stdlib/atexit.c (atexit): Don't mark as hidden when used to | |
1456 | generate compatibility version. | |
1457 | ||
1458 | 2006-10-29 Ulrich Drepper <drepper@redhat.com> | |
1459 | ||
1460 | * configure.in: Relax -z relro requirement a bit. | |
1461 | ||
1462 | * po/sv.po: Update from translation team. | |
1463 | ||
1464 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> | |
1465 | ||
1466 | * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. | |
1467 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. | |
1468 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
1469 | * elf/dl-open.c (_dl_open_worker): Likewise. | |
1470 | * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. | |
1471 | ||
b2369ca3 UD |
1472 | 2006-10-27 Ulrich Drepper <drepper@redhat.com> |
1473 | ||
11bf311e UD |
1474 | * configure.in: Require assembler support for visibility, compiler |
1475 | support for visibility and aliases, linker support for various -z | |
1476 | options. | |
1477 | * Makeconfig: Remove conditional code which now is unnecessary. | |
1478 | * config.h.in: Likewise. | |
1479 | * config.make.in: Likewise. | |
1480 | * dlfcn/Makefile: Likewise. | |
1481 | * elf/Makefile: Likewise. | |
1482 | * elf/dl-load.c: Likewise. | |
1483 | * elf/rtld.c: Likewise. | |
1484 | * include/libc-symbols.h: Likewise. | |
1485 | * include/stdio.h: Likewise. | |
1486 | * io/Makefile: Likewise. | |
1487 | * io/fstat.c: Likewise. | |
1488 | * io/fstat64.c: Likewise. | |
1489 | * io/fstatat.c: Likewise. | |
1490 | * io/fstatat64.c: Likewise. | |
1491 | * io/lstat.c: Likewise. | |
1492 | * io/lstat64.c: Likewise. | |
1493 | * io/mknod.c: Likewise. | |
1494 | * io/mknodat.c: Likewise. | |
1495 | * io/stat.c: Likewise. | |
1496 | * io/stat64.c: Likewise. | |
1497 | * libio/stdio.c: Likewise. | |
1498 | * nscd/Makefile: Likewise. | |
1499 | * stdlib/Makefile: Likewise. | |
1500 | * stdlib/atexit.c: Likewise. | |
1501 | * sysdeps/generic/ldsodefs.h: Likewise. | |
1502 | * sysdeps/i386/dl-machine.h: Likewise. | |
1503 | * sysdeps/i386/sysdep.h: Likewise. | |
1504 | * sysdeps/i386/i686/memcmp.S: Likewise. | |
1505 | * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. | |
1506 | * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. | |
1507 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. | |
1508 | ||
1509 | * Makerules: USE_TLS support is now default. | |
1510 | * tls.make.c: Likewise. | |
1511 | * csu/Versions: Likewise. | |
1512 | * csu/libc-start.c: Likewise. | |
1513 | * csu/libc-tls.c: Likewise. | |
1514 | * csu/version.c: Likewise. | |
1515 | * dlfcn/dlinfo.c: Likewise. | |
1516 | * elf/dl-addr.c: Likewise. | |
1517 | * elf/dl-cache.c: Likewise. | |
1518 | * elf/dl-close.c: Likewise. | |
1519 | * elf/dl-iteratephdr.c: Likewise. | |
1520 | * elf/dl-load.c: Likewise. | |
1521 | * elf/dl-lookup.c: Likewise. | |
1522 | * elf/dl-object.c: Likewise. | |
1523 | * elf/dl-open.c: Likewise. | |
1524 | * elf/dl-reloc.c: Likewise. | |
1525 | * elf/dl-support.c: Likewise. | |
1526 | * elf/dl-sym.c: Likewise. | |
1527 | * elf/dl-sysdep.c: Likewise. | |
1528 | * elf/dl-tls.c: Likewise. | |
1529 | * elf/ldconfig.c: Likewise. | |
1530 | * elf/rtld.c: Likewise. | |
1531 | * elf/tst-tls-dlinfo.c: Likewise. | |
1532 | * elf/tst-tls1.c: Likewise. | |
1533 | * elf/tst-tls10.h: Likewise. | |
1534 | * elf/tst-tls14.c: Likewise. | |
1535 | * elf/tst-tls2.c: Likewise. | |
1536 | * elf/tst-tls3.c: Likewise. | |
1537 | * elf/tst-tls4.c: Likewise. | |
1538 | * elf/tst-tls5.c: Likewise. | |
1539 | * elf/tst-tls6.c: Likewise. | |
1540 | * elf/tst-tls7.c: Likewise. | |
1541 | * elf/tst-tls8.c: Likewise. | |
1542 | * elf/tst-tls9.c: Likewise. | |
1543 | * elf/tst-tlsmod1.c: Likewise. | |
1544 | * elf/tst-tlsmod13.c: Likewise. | |
1545 | * elf/tst-tlsmod13a.c: Likewise. | |
1546 | * elf/tst-tlsmod14a.c: Likewise. | |
1547 | * elf/tst-tlsmod2.c: Likewise. | |
1548 | * elf/tst-tlsmod3.c: Likewise. | |
1549 | * elf/tst-tlsmod4.c: Likewise. | |
1550 | * elf/tst-tlsmod5.c: Likewise. | |
1551 | * elf/tst-tlsmod6.c: Likewise. | |
1552 | * include/errno.h: Likewise. | |
1553 | * include/link.h: Likewise. | |
1554 | * include/tls.h: Likewise. | |
1555 | * locale/global-locale.c: Likewise. | |
1556 | * locale/localeinfo.h: Likewise. | |
1557 | * malloc/arena.c: Likewise. | |
1558 | * malloc/hooks.c: Likewise. | |
1559 | * malloc/malloc.c: Likewise. | |
1560 | * resolv/Versions: Likewise. | |
1561 | * sysdeps/alpha/dl-machine.h: Likewise. | |
1562 | * sysdeps/alpha/libc-tls.c: Likewise. | |
1563 | * sysdeps/generic/ldsodefs.h: Likewise. | |
1564 | * sysdeps/generic/tls.h: Likewise. | |
1565 | * sysdeps/i386/dl-machine.h: Likewise. | |
1566 | * sysdeps/ia64/dl-machine.h: Likewise. | |
1567 | * sysdeps/ia64/libc-tls.c: Likewise. | |
1568 | * sysdeps/mach/hurd/fork.c: Likewise. | |
1569 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
1570 | * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. | |
1571 | * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. | |
1572 | * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. | |
1573 | * sysdeps/s390/libc-tls.c: Likewise. | |
1574 | * sysdeps/s390/s390-32/dl-machine.h: Likewise. | |
1575 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
1576 | * sysdeps/sh/dl-machine.h: Likewise. | |
1577 | * sysdeps/sparc/sparc32/dl-machine.h: Likewise. | |
1578 | * sysdeps/sparc/sparc64/dl-machine.h: Likewise. | |
1579 | * sysdeps/x86_64/dl-machine.h: Likewise. | |
1580 | ||
131c4428 UD |
1581 | * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and |
1582 | split out locking and parameter checking. | |
1583 | (_dl_close): Call _dl_close_worker after locking and checking. | |
1584 | * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of | |
1585 | _dl_close. | |
ffd0e1b7 UD |
1586 | * elf/Makefile: Add rules to build and run tst-thrlock. |
1587 | * elf/tst-thrlock.c: New file. | |
131c4428 | 1588 | |
11bf311e UD |
1589 | [BZ #3426] |
1590 | * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to | |
1591 | reality. | |
1592 | ||
b2369ca3 UD |
1593 | [BZ #3429] |
1594 | * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until | |
131c4428 | 1595 | we are sure we do not need it anymore for _dl_close. Also move |
b2369ca3 UD |
1596 | the asserts inside the lock region. |
1597 | Patch mostly by Suzuki <suzuki@in.ibm.com>. | |
1598 | ||
11bf311e UD |
1599 | 2006-10-27 Jakub Jelinek <jakub@redhat.com> |
1600 | ||
1601 | * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope | |
1602 | argument. | |
1603 | (_dl_lookup_symbol_x): Adjust caller. | |
1604 | ||
1605 | * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove | |
1606 | _ns_global_scope. | |
1607 | * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. | |
1608 | ||
1609 | * elf/dl-libc.c: Revert l_scope name changes. | |
1610 | * elf/dl-load.c: Likewise. | |
1611 | * elf/dl-object.c: Likewise. | |
1612 | * elf/rtld.c: Likewise. | |
1613 | * elf/dl-close.c (_dl_close): Likewise. | |
1614 | * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, | |
1615 | always use __rtld_mrlock_{change,done}. Always free old scope list | |
1616 | here if not l_scope_mem. | |
1617 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name | |
1618 | change. Never free scope list here. Just __rtld_mrlock_lock before | |
1619 | the lookup and __rtld_mrlock_unlock it after the lookup. | |
1620 | * elf/dl-sym.c: Likewise. | |
1621 | * include/link.h (struct r_scoperec): Remove. | |
1622 | (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem | |
1623 | with l_scope_mem and l_scoperec_lock with l_scope_lock. | |
1624 | ||
1625 | 2006-10-25 Ulrich Drepper <drepper@redhat.com> | |
1626 | ||
1627 | * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION. | |
1628 | ||
1629 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
1630 | ||
1631 | * configure.in: Disable building profile libraries by default. | |
1632 | ||
609cf614 UD |
1633 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> |
1634 | ||
1635 | * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses | |
1636 | as signed longs, check for x_base + pos overflow. | |
1637 | * sunrpc/Makefile (tests): Add tst-xdrmem2. | |
1638 | * sunrpc/tst-xdrmem2.c: New test. | |
1639 | ||
11bf311e UD |
1640 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> |
1641 | ||
1642 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to | |
1643 | _dl_lookup_symbol_x code. | |
1644 | ||
1645 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
1646 | ||
1647 | * elf/dl-runtime.c: Include sysdep-cancel.h. | |
1648 | (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and | |
1649 | scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* | |
1650 | instead of catomic_* macros. | |
1651 | * elf/dl-sym.c: Include sysdep-cancel.h. | |
1652 | (do_sym): Use __rtld_mrlock_* and scoperec->nusers only | |
1653 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
1654 | * elf/dl-close.c: Include sysdep-cancel.h. | |
1655 | (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only | |
1656 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
1657 | * elf/dl-open.c: Include sysdep-cancel.h. | |
1658 | (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only | |
1659 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
1660 | ||
1661 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
1662 | ||
1663 | [BZ #3313] | |
1664 | * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last | |
1665 | fastbin rather than end of fastbin array. | |
1666 | ||
1667 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
1668 | ||
1669 | * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct | |
1670 | body macro. | |
1671 | * sysdeps/x86_64/bits/atomic.h | |
1672 | (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. | |
1673 | (catomic_decrement): Use correct body macro. | |
1674 | ||
1675 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
1676 | ||
1677 | * include/atomic.h: Add a unique prefix to all local variables | |
1678 | in macros. | |
1679 | * csu/tst-atomic.c (do_test): Test also catomic_* macros. | |
1680 | ||
4a85a8ee UD |
1681 | 2006-10-16 Ulrich Drepper <drepper@redhat.com> |
1682 | ||
1683 | [BZ #3369] | |
1684 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 | |
1685 | and 7. | |
1686 | ||
11bf311e UD |
1687 | 2006-10-14 Ulrich Drepper <drepper@redhat.com> |
1688 | ||
1689 | * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated. | |
1690 | ||
ff8d96be UD |
1691 | 2006-10-13 Ulrich Drepper <drepper@redhat.com> |
1692 | ||
11bf311e UD |
1693 | [BZ #3313] |
1694 | * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to | |
1695 | determine highest fast bin to consolidate, always look into all of | |
1696 | them. | |
1697 | (do_check_malloc_state): Only require for empty bins for large | |
1698 | sizes in main arena. | |
1699 | ||
1700 | * libio/stdio.h: Add more __wur attributes. | |
1701 | ||
ff8d96be UD |
1702 | * elf/dl-minimal.c (realloc): Optimize last patch. |
1703 | ||
90a0991a UD |
1704 | 2006-10-12 Richard Sandiford <richard@codesourcery.com> |
1705 | ||
1706 | [BZ #3352] | |
1707 | * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, | |
1708 | and use memcpy() if it does. | |
ff8d96be | 1709 | |
11bf311e UD |
1710 | 2006-11-12 Andreas Jaeger <aj@suse.de> |
1711 | ||
1712 | [BZ #2510] | |
1713 | * manual/search.texi (Hash Search Function): Clarify. | |
1714 | (Array Search Function): Clarify. | |
1715 | ||
1716 | 2006-11-12 Joseph Myers <joseph@codesourcery.com> | |
1717 | ||
1718 | [BZ #2830] | |
1719 | * math/atest-exp.c (main): Cast hex value to mp_limb_t before | |
1720 | shifting. | |
1721 | * math/atest-exp2.c (read_mpn_hex): Likewise. | |
1722 | * math/atest-sincos.c (main): Likewise. | |
1723 | ||
37fb7595 UD |
1724 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> |
1725 | ||
11bf311e UD |
1726 | * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait. |
1727 | * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. | |
1728 | * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for | |
1729 | version GLIBC_2.6. | |
1730 | * Versions.def: Add GLIBC_2.6 for libc. | |
1731 | ||
46c38bd7 UD |
1732 | * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. |
1733 | ||
11bf311e UD |
1734 | * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support. |
1735 | ||
1736 | 2006-10-11 Jakub Jelinek <jakub@redhat.com> | |
1737 | ||
1738 | * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. | |
1739 | ||
1740 | * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. | |
1741 | ||
1742 | * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. | |
1743 | * sysdeps/generic/unsecvars.h: Add NIS_PATH. | |
1744 | ||
1745 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> | |
1746 | ||
1747 | * include/atomic.c: Define catomic_* operations. | |
1748 | * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. | |
1749 | * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. | |
1750 | * malloc/memusage.c: Likewise. | |
1751 | * gmon/mcount.c: Likewise. | |
1752 | * elf/dl-close.c: Likewise. | |
1753 | * elf/dl-open.c: Likewise. | |
1754 | * elf/dl-profile.c: Likewise. | |
1755 | * elf/dl-sym.c: Likewise. | |
1756 | * elf/dl-runtime.c: Likewise. | |
1757 | * elf/dl-fptr.c: Likewise. | |
1758 | * resolv/res_libc.c: Likewise. | |
1759 | ||
2a6ee549 UD |
1760 | 2006-10-10 Ulrich Drepper <drepper@redhat.com> |
1761 | ||
1762 | * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH | |
1763 | components which lack them. | |
1764 | ||
1765 | * nis/nis_subr.c (nis_getnames): Make sure that we always return | |
1766 | at least one entry consisting of the parameter concatenated with | |
1767 | the domain. | |
1768 | ||
11bf311e | 1769 | 2006-10-10 Roland McGrath <roland@frob.com> |
c4f9fc3a | 1770 | |
11bf311e UD |
1771 | * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. |
1772 | * sysdeps/mach/hurd/futimes.c: Likewise. | |
1773 | * sysdeps/mach/hurd/lutimes.c: Likewise. | |
1774 | ||
1775 | 2006-10-09 Ulrich Drepper <drepper@redhat.com> | |
1776 | Jakub Jelinek <jakub@redhat.com> | |
1777 | ||
1778 | Implement reference counting of scope records. | |
1779 | * elf/dl-close.c (_dl_close): Remove all scopes from removed objects | |
1780 | from the list in objects which remain. Always allocate new scope | |
1781 | record. | |
1782 | * elf/dl-open.c (dl_open_worker): When growing array for scopes, | |
1783 | don't resize, allocate a new one. | |
1784 | * elf/dl-runtime.c: Update reference counters before using a scope | |
1785 | array. | |
1786 | * elf/dl-sym.c: Likewise. | |
1787 | * elf/dl-libc.c: Adjust for l_scope name change. | |
1788 | * elf/dl-load.c: Likewise. | |
1789 | * elf/dl-object.c: Likewise. | |
1790 | * elf/rtld.c: Likewise. | |
1791 | * include/link.h: Include <rtld-lowlevel.h>. Define struct | |
1792 | r_scoperec. Replace r_scope with pointer to r_scoperec structure. | |
1793 | Add l_scoperec_lock. | |
1794 | * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. | |
1795 | * sysdeps/generic/rtld-lowlevel.h: New file. | |
1796 | ||
1797 | * include/atomic.h: Rename atomic_and to atomic_and_val and | |
1798 | atomic_or to atomic_or_val. Define new macros atomic_and and | |
1799 | atomic_or which do not return values. | |
1800 | * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. | |
1801 | Various cleanups. | |
1802 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
1803 | ||
1804 | * po/sv.po: Update from translation team. | |
1805 | ||
1806 | 2006-10-07 Ulrich Drepper <drepper@redhat.com> | |
1807 | ||
1808 | * Versions.def: Add GLIBC_2.6 to libpthread. | |
1809 | ||
1810 | * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. | |
1811 | (versioned_symbol): Likewise. | |
1812 | (compat_symbol): Likewise. | |
1813 | ||
1814 | * po/tr.po: Update from translation team. | |
feb87ad1 | 1815 | |
4df92d57 UD |
1816 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
1817 | ||
11bf311e UD |
1818 | * nis/Banner: Removed. It's been integral part forever and the |
1819 | author info is incomplete anyway. | |
1820 | * libio/Banner: Likewise. | |
1821 | ||
4df92d57 UD |
1822 | * nis/nis_table.c (nis_list): If __follow_path fails in the new |
1823 | code, make sure the nis_freeresult call doesn't crash and that the | |
1824 | result is reported correctly. | |
1825 | ||
68361572 UD |
1826 | 2006-09-27 Jakub Jelinek <jakub@redhat.com> |
1827 | ||
1828 | * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS | |
1829 | when callback is NULL. | |
1830 | ||
1831 | * nis/Versions (libnss_nisplus): Add | |
1832 | _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. | |
1833 | * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. | |
1834 | * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, | |
1835 | _nss_create_tablename): Rename to... | |
1836 | (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): | |
1837 | ... these. No longer static. | |
1838 | (internal_setgrent): Adjust users. | |
1839 | (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. | |
1840 | Don't use locking around _nss_grp_create_tablename call. | |
1841 | * nis/nss_nisplus/nisplus-initgroups.c: New file. | |
1842 | ||
11bf311e UD |
1843 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
1844 | ||
1845 | * version.h (VERSION): Bump to 2.5.90 for new development tree. | |
1846 | ||
3a4e0609 UD |
1847 | 2006-10-06 Andreas Jaeger <aj@suse.de> |
1848 | ||
1849 | * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. | |
1850 | ||
1851 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> | |
1852 | ||
1853 | * po/pl.po: Update from translation team. | |
1854 | ||
1855 | * nscd/nscd.c (main): Fix typo in message. | |
1856 | Patch by Jakub Bogsz <qboosh@pld-linux.org>. | |
1857 | ||
97e57dee UD |
1858 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
1859 | ||
1860 | [BZ #3291] | |
1861 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
1862 | errno.h, signal.h, unistd.h and sysdep-cancel.h. | |
1863 | (__sigprocmask): Define. | |
1864 | ||
768027a4 UD |
1865 | 2006-10-02 Ulrich Drepper <drepper@redhat.com> |
1866 | ||
1867 | * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is | |
1868 | used. | |
1869 | ||
0b25a49a UD |
1870 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
1871 | ||
1872 | * nscd/mem.c (mempool_alloc): Round array size to 16 bytes | |
1873 | in oldtotal and newtotal calculation. | |
1874 | * nscd/nscd-client.h (struct mapped_database): Add datasize | |
1875 | field. | |
1876 | * nscd/nscd_helper.c (get_mapping): Initialize datasize field. | |
1877 | (__nscd_get_map_ref): Get a new mapping even if mapping's data_size | |
1878 | increased. | |
1879 | (__nscd_cache_search): Add checks to make sure we never reference | |
1880 | data beyond the current mapping. | |
1881 | ||
a1286745 UD |
1882 | 2006-10-02 Dmitry V. Levin <ldv@altlinux.org> |
1883 | ||
d4ed7561 UD |
1884 | * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val |
1885 | variables const to avoid compiler warnings. | |
1886 | ||
a1286745 UD |
1887 | * io/fts.c (fts_close): Remove redundant checks. |
1888 | (fts_build): Likewise. | |
1889 | (fts_palloc): Likewise. | |
1890 | ||
1891 | * manual/message.texi (Advanced gettext functions, | |
1892 | Using gettextized software): Fix typos. | |
1893 | ||
f01e4069 UD |
1894 | 2006-09-30 Ulrich Drepper <drepper@redhat.com> |
1895 | ||
1896 | * posix/glob.c (glob_in_dir): Add some comments and asserts to | |
1897 | explain why there are no leaks. | |
1898 | ||
154619b5 UD |
1899 | 2006-09-29 Ulrich Drepper <drepper@redhat.com> |
1900 | ||
690c3947 UD |
1901 | * libio/wmemstream.c: Include <wchar.h>. |
1902 | * libio/bug-wmemstream1.c: Likewise. | |
1903 | * libio/tst-wmemstream1.c: Likewise. | |
1904 | * libio/tst-wmemstream2.c: Likewise. | |
1905 | ||
88cc61e8 UD |
1906 | * version.h (RELEASE): Bump to 2.5. |
1907 | * README: Regenerated. | |
1908 | ||
a70c18b0 UD |
1909 | * locale/iso-3166.def: Add Aaland Islands and Montenegro. |
1910 | ||
154619b5 UD |
1911 | [BZ #3273] |
1912 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have | |
1913 | found no group members. | |
1914 | Patch by Petr Baudis. | |
1915 | ||
1916 | 2006-09-29 Jakub Jelinek <jakub@redhat.com> | |
1917 | ||
1918 | * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't | |
1919 | assert bootstrap_map.l_tls_modid is zero. | |
1920 | (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 | |
1921 | if USE___THREAD. | |
1922 | ||
1c31aa79 UD |
1923 | 2006-09-27 Ulrich Drepper <drepper@redhat.com> |
1924 | ||
1925 | * libio/stdio.h: Move open_wmemstream prototype to ... | |
1926 | * wcsmbs/wchar.h: ... here. | |
1927 | ||
f1122ec3 UD |
1928 | 2006-09-25 Jakub Jelinek <jakub@redhat.com> |
1929 | ||
1930 | [BZ #3252] | |
1931 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only | |
1932 | fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call | |
1933 | __{,l}chown to handle the rest. | |
1934 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only | |
1935 | fchownat syscall and __ASSUME_32BITUIDS case inline, call | |
1936 | __{,l}chown to handle the rest. | |
1937 | * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include | |
1938 | i386/fchownat.c. | |
1939 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. | |
1940 | * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. | |
1941 | ||
1942 | [BZ #3253] | |
1943 | * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a | |
1944 | time, rather allocate increasingly bigger arrays of pointers, if | |
1945 | possible with alloca, if too large with malloc. | |
1946 | ||
1947 | 2006-09-24 Jakub Jelinek <jakub@redhat.com> | |
1948 | ||
1949 | * sysdeps/powerpc/fpu/libm-test-ulps: Updated. | |
1950 | ||
1951 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. | |
1952 | ||
457b559e UD |
1953 | 2006-09-24 Ulrich Drepper <drepper@redhat.com> |
1954 | ||
1955 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, | |
1956 | home addresses. | |
1957 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize | |
1958 | IFA_F_HOMEADDRESS flag for interfaces. | |
1959 | * include/ifaddrs.h (struct in6addrinfo): Define | |
1960 | in6ai_homeaddress. | |
1961 | ||
4a132246 UD |
1962 | 2006-09-21 Jakub Jelinek <jakub@redhat.com> |
1963 | ||
1964 | [BZ #3225] | |
1965 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, | |
1966 | PTR_DEMANGLE3): Define. | |
1967 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, | |
1968 | PTR_DEMANGLE3): Likewise. | |
1969 | * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. | |
1970 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): | |
1971 | Likewise. | |
1972 | * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. | |
1973 | ||
c69136ae UD |
1974 | 2006-09-20 Jakub Jelinek <jakub@redhat.com> |
1975 | ||
1976 | * po/libc.pot: Regenerated. | |
1977 | * po/be.po: Updated. | |
1978 | * po/ca.po: Likewise. | |
1979 | * po/cs.po: Likewise. | |
1980 | * po/da.po: Likewise. | |
1981 | * po/de.po: Likewise. | |
1982 | * po/el.po: Likewise. | |
1983 | * po/en_GB.po: Likewise. | |
1984 | * po/es.po: Likewise. | |
1985 | * po/fi.po: Likewise. | |
1986 | * po/fr.po: Likewise. | |
1987 | * po/gl.po: Likewise. | |
1988 | * po/hr.po: Likewise. | |
1989 | * po/hu.po: Likewise. | |
1990 | * po/ja.po: Likewise. | |
1991 | * po/ko.po: Likewise. | |
1992 | * po/nb.po: Likewise. | |
1993 | * po/nl.po: Likewise. | |
1994 | * po/pl.po: Likewise. | |
1995 | * po/pt_BR.po: Likewise. | |
1996 | * po/ru.po: Likewise. | |
1997 | * po/rw.po: Likewise. | |
1998 | * po/sk.po: Likewise. | |
1999 | * po/sv.po: Likewise. | |
2000 | * po/tr.po: Likewise. | |
2001 | * po/zh_CN.po: Likewise. | |
2002 | * po/zh_TW.po: Likewise. | |
2003 | ||
2004 | [BZ #3137] | |
2005 | * iconv/iconv_prog.c (main): Fix spelling in error message. | |
2006 | * iconv/iconvconfig.c (main): Likewise. | |
2007 | * locale/programs/ld-collate.c (handle_ellipsis): Likewise. | |
2008 | * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. | |
2009 | * locale/programs/localedef.c (main): Likewise. | |
2010 | * locale/programs/repertoire.c (repertoire_read): Likewise. | |
2011 | * timezone/zdump.c (main): Likewise. | |
2012 | * nscd/connections.c (handle_request): Fix spelling in log message. | |
2013 | Patch by Malcolm Parsons <malcolm.parsons@gmail.com>. | |
2014 | ||
83b3108c UD |
2015 | 2006-09-20 Ulrich Drepper <drepper@redhat.com> |
2016 | ||
2017 | * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 | |
2018 | interfaces. | |
2019 | ||
89210b4c AJ |
2020 | 2006-09-20 Andreas Jaeger <aj@suse.de> |
2021 | ||
2022 | * math/libm-test.inc (lrint_test_upward): Fix typo. | |
2023 | ||
6624dbc0 UD |
2024 | 2006-06-17 Joseph S. Myers <joseph@codesourcery.com> |
2025 | ||
2026 | [BZ #2592] | |
2027 | * math/libm-test.inc (lrint_test_tonearest): New function. | |
2028 | (lrint_test_towardzero): New function. | |
2029 | (lrint_test_downward): New function. | |
2030 | (lrint_test_upward): New function. | |
2031 | (main): Run these new tests. | |
2032 | * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding | |
2033 | of values near to 0. | |
2034 | (two52): Use double not long double. | |
2035 | * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. | |
2036 | * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. | |
2037 | (two23): Use float not double. | |
2038 | * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. | |
2039 | (two23): Use float not double. | |
2040 | * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. | |
2041 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. | |
2042 | * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. | |
2043 | * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. | |
2044 | ||
60cb50c7 UD |
2045 | 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2046 | ||
2047 | * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): | |
2048 | Cast sp to unsigned long to avoid compiler warning. | |
2049 | Use __makecontext_ret function instead of a trampoline on the stack. | |
2050 | (__makecontext_ret): New function. | |
2051 | * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. | |
2052 | ||
33315ced UD |
2053 | 2006-09-19 Jakub Jelinek <jakub@redhat.com> |
2054 | ||
2055 | * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but | |
2056 | platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM | |
2057 | bits. | |
2058 | ||
1ee2ff20 UD |
2059 | 2006-09-19 Ulrich Drepper <drepper@redhat.com> |
2060 | ||
2061 | * elf/dl-close.c (_dl_close): If dependency is not unloaded make | |
2062 | sure no reference to the unloaded map's search list remains in the | |
2063 | dependency's scope. | |
2064 | ||
2065 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
2066 | ||
2067 | * elf/Makefile: Add rules to build and run unload7 test. | |
2068 | * elf/unload7.c: New test. | |
2069 | * elf/unload7mod1.c: New file. | |
2070 | * elf/unload7mod2.c: New file. | |
2071 | ||
0466106e UD |
2072 | 2006-09-18 Jakub Jelinek <jakub@redhat.com> |
2073 | ||
2074 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. | |
2075 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, | |
2076 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
2077 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
2078 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
2079 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
2080 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
2081 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, | |
2082 | PTRACE_GETEVENTMSG): Likewise. | |
2083 | (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent | |
2084 | values. | |
2085 | ||
9c316a45 UD |
2086 | 2006-09-17 Mike Frysinger <vapier@gentoo.org> |
2087 | ||
0466106e UD |
2088 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, |
2089 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
2090 | * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, | |
2091 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. | |
9c316a45 UD |
2092 | |
2093 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
2094 | ||
2095 | * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't | |
2096 | write '\0' to the fd. | |
2097 | * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. | |
2098 | * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. | |
2099 | Change regs to unsigned long pointer from unsigned int, fix fscr | |
2100 | offset. | |
2101 | ||
fb146a76 UD |
2102 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
2103 | ||
2104 | * io/Makefile (CFLAGS-fstatat.c): Set. | |
2105 | (CFLAGS-fstatat64.c): Likewise. | |
2106 | (CFLAGS-mknodat.c): Likewise. | |
2107 | ||
2108 | * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. | |
2109 | * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. | |
2110 | * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. | |
2111 | * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. | |
2112 | ||
4cd3633d UD |
2113 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
2114 | Steven Munroe <sjmunroe@us.ibm.com> | |
fb146a76 | 2115 | |
4cd3633d UD |
2116 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap |
2117 | names to the beginning. Rename "cell" to "cellbe". | |
2118 | (_dl_powerpc_platforms): New. | |
2119 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
2120 | (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. | |
2121 | (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. | |
2122 | (_DL_HWCAP_PLATFORM): Define to new mask. | |
2123 | (_dl_platform_string, _dl_string_platform): New functions. | |
2124 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, | |
2125 | PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. | |
2126 | ||
30aa5785 UD |
2127 | 2006-09-12 Jakub Jelinek <jakub@redhat.com> |
2128 | ||
2129 | [BZ #2526] | |
2130 | * README.libm: Fix a thinko in sqrt algorithm description. | |
2131 | ||
2132 | [BZ #3143] | |
2133 | * manual/string.texi (argz_delete): Fix prototype. | |
2134 | Patch by <alpt@freaknet.org>. | |
2135 | ||
2136 | 2006-08-26 Joseph Myers <joseph@codesourcery.com> | |
2137 | ||
2138 | [BZ #3138] | |
2139 | * io/test-lfs.c (do_prepare): Give name_len type size_t. | |
2140 | * io/tst-fcntl.c (do_prepare): Likewise. | |
2141 | * posix/tst-exec.c (do_prepare): Likewise. | |
2142 | * posix/tst-preadwrite.c (do_prepare): Likewise. | |
2143 | * posix/tst-spawn.c (do_prepare): Likewise. | |
2144 | * posix/tst-truncate.c (do_prepare): Likewise. | |
2145 | * rt/tst-aio.c (do_prepare): Likewise. | |
2146 | * rt/tst-aio64.c (do_prepare): Likewise. | |
2147 | * stdlib/test-canon2.c (do_prepare): Give test_dir_len type | |
2148 | size_t. | |
2149 | ||
d26d01d1 UD |
2150 | 2006-09-09 Ulrich Drepper <drepper@redhat.com> |
2151 | ||
41aba3d7 UD |
2152 | [BZ #2821] |
2153 | * time/mktime.c (guess_time_tm): Fix overflow detection. | |
2154 | * time/Makefile (tests): Add bug-mktime1. | |
2155 | * time/bug-mktime1.c: New file. | |
2156 | ||
eaa51b47 | 2157 | [BZ #3189, #3188] |
d26d01d1 | 2158 | * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. |
eaa51b47 | 2159 | (mremap): Likewise. |
d26d01d1 | 2160 | |
ba40cc15 UD |
2161 | 2006-09-07 Jakub Jelinek <jakub@redhat.com> |
2162 | ||
2b6a801e UD |
2163 | [BZ #1006] |
2164 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): | |
2165 | Ensure relocation doesn't clobber any bits outside of the | |
2166 | immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, | |
2167 | R_SPARC_HI22 and R_SPARC_H44. | |
2168 | ||
469615bd UD |
2169 | [BZ #2775] |
2170 | * malloc/malloc.c (sYSMALLOc): Only call grow_heap if | |
2171 | (long) (MINSIZE + nb - old_size) is positive. | |
2172 | ||
2173 | * malloc/arena.c (grow_heap): When growing bail even if new_size | |
2174 | is negative. | |
2175 | ||
ba40cc15 UD |
2176 | [BZ #3155] |
2177 | * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access | |
2178 | stack below r1. | |
2179 | ||
243b9ac1 UD |
2180 | 2006-09-06 Jakub Jelinek <jakub@redhat.com> |
2181 | ||
ba40cc15 UD |
2182 | * posix/regex_internal.c (re_string_reconstruct): Handle |
2183 | offset < pstr->valid_raw_len && pstr->offsets_needed case. | |
2184 | Ensure no bytes read before raw_mbs array. Pass a saved copy of | |
2185 | pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to | |
2186 | re_string_context_at. | |
2187 | * posix/Makefile: Add rules to build and run bug-regex26 test. | |
2188 | * posix/bug-regex26.c: New test. | |
2189 | ||
243b9ac1 UD |
2190 | * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free |
2191 | rather than col_sym_free. Move seqp declaration earlier. | |
2192 | ||
2193 | * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. | |
2194 | ||
d052233c UD |
2195 | 2006-09-05 Jakub Jelinek <jakub@redhat.com> |
2196 | ||
2197 | * nscd/initgrcache.c (addinitgroupsX): Move any_success | |
2198 | decl before first goto out. | |
2199 | ||
71213dc2 UD |
2200 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
2201 | ||
2202 | * Makerules (shlib.lds): If have-hash-style, put .hash section | |
2203 | at the end of the RO segment. | |
2204 | ||
2205 | 2006-09-04 Ulrich Drepper <drepper@redhat.com> | |
2206 | ||
2207 | * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new | |
2208 | style hash table format is used. | |
2209 | ||
03eeff83 UD |
2210 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
2211 | ||
2212 | * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after | |
2213 | randomization rather than before. | |
2214 | * resolv/res_init.c (res_randomid): Don't call gettimeofday here. | |
2215 | ||
b80770b2 UD |
2216 | 2006-08-31 Jakub Jelinek <jakub@redhat.com> |
2217 | ||
ba40cc15 | 2218 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. |
b80770b2 UD |
2219 | |
2220 | * malloc/malloc.c (_int_malloc): Use full list insert and not | |
2221 | shortcut which assumes the list is empty for large requests | |
2222 | too. | |
2223 | ||
2224 | * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". | |
2225 | ||
99ea5991 UD |
2226 | 2006-08-30 Jakub Jelinek <jakub@redhat.com> |
2227 | ||
2228 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin | |
2229 | and offout arguments to the prototype. | |
2230 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. | |
2231 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. | |
2232 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. | |
2233 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. | |
2234 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. | |
2235 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. | |
2236 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. | |
2237 | * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. | |
2238 | ||
4004a0a5 UD |
2239 | 2006-08-28 Ulrich Drepper <drepper@redhat.com> |
2240 | ||
950398e1 UD |
2241 | * elf/dl-load.c (_dl_init_paths): Expand DSTs. |
2242 | ||
4004a0a5 UD |
2243 | * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in |
2244 | dlopen parameters. | |
2245 | ||
6e310111 UD |
2246 | 2006-08-28 Jakub Jelinek <jakub@redhat.com> |
2247 | ||
2248 | * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno | |
2249 | only if herrno is NETDB_INTERNAL. Handle errors other than | |
2250 | ERANGE outside of the loops, handle TRY_AGAIN. | |
2251 | ||
2252 | * locale/programs/ld-ctype.c (translit_flatten): Issue error | |
2253 | if other's ctype category was missing. | |
2254 | * locale/programs/ld-collate.c (collate_read): Return if | |
2255 | copy_locale's collate category is missing. | |
2256 | ||
07014fca UD |
2257 | 2006-08-27 Ulrich Drepper <drepper@redhat.com> |
2258 | ||
2259 | [BZ #2684] | |
2260 | * malloc/malloc.c (public_rEALLOc): Try harder by using other | |
2261 | arenas if allocation failed. | |
2262 | Patch mostly by Jan Edler <jan.edler@indexengines.com>. | |
2263 | ||
71663747 UD |
2264 | 2006-08-26 Ulrich Drepper <drepper@redhat.com> |
2265 | ||
41999a1a UD |
2266 | * malloc/malloc.c (bin_at): Rewrite to be more clear and to not |
2267 | waste bins[0..1]. | |
2268 | (malloc_state): Reduce bins size by 2. | |
2269 | (_int_malloc): Fix test for large enough buffer for early termination. | |
2270 | When no unsorted block matches perfectly and an exiting block has | |
2271 | to be split, use full list insert and not shortcut which assumes | |
2272 | the list is empty. | |
2273 | ||
71663747 UD |
2274 | * locale/programs/ld-ctype.c (ctype_read): Better patch for read |
2275 | failure. | |
2276 | ||
93b53ca2 UD |
2277 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
2278 | ||
f5a82772 UD |
2279 | * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't |
2280 | do anything. | |
2281 | ||
2ac9ca73 UD |
2282 | * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined |
2283 | symbol require exact match (these are PLTs). | |
2284 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h | |
2285 | (_dl_ppc64_addr_sym_match): Likewise. | |
2286 | ||
93b53ca2 UD |
2287 | [BZ #2683] |
2288 | * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. | |
2289 | If symbol has a value use it. | |
2290 | * elf/tst-dladdr1.c: New file. | |
2291 | * elf/Makefile: Add rules to build and run tst-addr1. | |
2292 | ||
7463d5cb UD |
2293 | 2006-08-24 Jakub Jelinek <jakub@redhat.com> |
2294 | ||
2295 | * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP | |
2296 | keeps failing and heap growth or new heap creation isn't | |
2297 | successful either. | |
2298 | * malloc/tst-malloc.c (main): Add new tests. | |
2299 | ||
542a6f62 UD |
2300 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
2301 | ||
2302 | [BZ #2734] | |
2303 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions | |
2304 | as in the x86-64 code to use bswap. | |
2305 | ||
aa2c6b6d UD |
2306 | 2006-05-21 Joseph S. Myers <joseph@codesourcery.com> |
2307 | ||
24982798 | 2308 | [BZ #2680] |
aa2c6b6d UD |
2309 | * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not |
2310 | __USE_UNIX98. | |
2311 | * posix/bits/unistd.h: Likewise. | |
2312 | ||
59776aef UD |
2313 | 2006-05-15 Mike Frysinger <vapier@gentoo.org> |
2314 | ||
2315 | [BZ #2751] | |
2316 | * string/strchr.c: Add cast to avoid warning. | |
2317 | ||
e404fb16 UD |
2318 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
2319 | ||
2320 | * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit | |
bd2c2341 | 2321 | platforms define as 512K. For 64-bit platforms as 32MB. The lower |
e404fb16 UD |
2322 | limit is needed to avoid the exploding of the address space |
2323 | requirement for secondary heaps. | |
2324 | * malloc/arena.c (HEAP_MAX_SIZE): Define using | |
2325 | DEFAULT_MMAP_THRESHOLD_MAX if it is defined. | |
2326 | ||
376e973a UD |
2327 | 2006-07-30 Joseph S. Myers <joseph@codesourcery.com> |
2328 | ||
2329 | [BZ #3018] | |
2330 | * Makerules (depfiles): Handle extra-test-objs the same as | |
2331 | extra-objs. | |
2332 | (common-mostlyclean): Likewise. | |
2333 | * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs | |
2334 | instead. | |
2335 | * elf/Makefile (extra-objs): Likewise. | |
2336 | * stdlib/Makefile (extra-objs): Likewise. | |
2337 | ||
240c62a7 UD |
2338 | 2006-08-14 Eric Blake <ebb9@byu.net> |
2339 | ||
2340 | [BZ #3044] | |
2341 | * misc/error.h: Assume C89 or better. | |
2342 | * misc/error.c: Likewise. | |
2343 | ||
3997b7c4 UD |
2344 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
2345 | ||
2346 | [BZ #3040] | |
2347 | * sysdeps/unix/sysv/linux/openat.c: Fix compilation if | |
2348 | __ASSUME_ATFCTS is defined. | |
2349 | ||
8a6537b0 UD |
2350 | 2006-08-19 Ulrich Drepper <drepper@redhat.com> |
2351 | ||
72320021 UD |
2352 | * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks |
2353 | to sort in each call. | |
2354 | ||
ed3691ba UD |
2355 | * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map |
2356 | is empty simply return and use next service. | |
2357 | * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. | |
2358 | ||
8a6537b0 UD |
2359 | * locale/programs/charmap.c (charmap_read): Add new parameter. It |
2360 | tells us when not finding a charmap file is an error. | |
2361 | * locale/programs/charmap.h: Adjust charmap_read prototype. | |
2362 | * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we | |
2363 | cannot find a charmap. | |
2364 | * locale/programs/localedef.c (main): Adjust charmap_read call. | |
2365 | ||
ad2a3c07 UD |
2366 | 2006-08-15 Jakub Jelinek <jakub@redhat.com> |
2367 | ||
2368 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use | |
2369 | sysdeps/posix/pause.c implementation instead. | |
2370 | ||
2371 | 2006-08-09 Jakub Jelinek <jakub@redhat.com> | |
2372 | ||
2373 | * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority | |
2374 | to EPERM. | |
2375 | ||
f17efcb4 UD |
2376 | 2006-08-13 Andreas Schwab <schwab@suse.de> |
2377 | ||
2378 | * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): | |
2379 | Don't clobber caller's LRSAVE. | |
2380 | (_dl_prof_resolve): Likewise. | |
2381 | ||
107b8a92 UD |
2382 | 2006-08-14 Ulrich Drepper <drepper@redhat.com> |
2383 | ||
2384 | [BZ #1996] | |
2385 | * libio/memstream.c (open_memstream): Allocate initial buffer with | |
2386 | calloc. | |
2387 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
2388 | * libio/strops.c: Pretty printing. | |
2389 | (_IO_str_overflow): Clear uninitialized part of the new buffer. | |
2390 | (enlarge_userbuf): New function. | |
2391 | (_IO_str_seekoff): Call it if seek position is larger than current | |
2392 | buffer. | |
2393 | * libio/wstrops.c: Likewise. | |
2394 | * libio/vasprintf.c: Add comment as to why we do not have to use | |
2395 | calloc instead of malloc to allocate initial buffer. | |
2396 | * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. | |
2397 | * libio/bug-memstream1.c: New file. | |
2398 | * libio/bug-wmemstream1.c: New file. | |
2399 | ||
fa3ac53f UD |
2400 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> |
2401 | ||
89993734 UD |
2402 | * libio/wstrops.c: Remove dead macro definitions and comments. |
2403 | * libio/strops.c: Likewise. | |
2404 | ||
fa3ac53f UD |
2405 | [BZ #2764] |
2406 | * login/utmpname.c (__utmpname): Remove unnecessary test. | |
2407 | ||
f99ed760 UD |
2408 | 2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> |
2409 | ||
2410 | [BZ #2832] | |
2411 | * math/gen-libm-test.pl (clean_up_number): Do not remove trailing | |
2412 | 0s from integers. | |
2413 | ||
2414 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> | |
2415 | ||
2416 | [BZ #2987] | |
2417 | * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall | |
2418 | for CPU clocks. | |
2419 | * sysdeps/unix/clock_settime.c: Add support for platform-specific | |
2420 | setting of CPU clocks. | |
2421 | ||
4c3f81d0 UD |
2422 | 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> |
2423 | ||
2424 | [BZ #2841] | |
2425 | * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', | |
2426 | since C99 requires the result to promote to 'int' when uint_least8_t | |
2427 | and uint_least16_t promote to 'int'. | |
2428 | ||
cd8e60ce UD |
2429 | 2006-08-12 Ulrich Drepper <drepper@redhat.com> |
2430 | ||
9a5c46e8 UD |
2431 | [BZ #3013] |
2432 | * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix | |
2433 | lenght of one output field, correct bitmask creation. | |
2434 | * locale/programs/ld-time.c: Add alignment. | |
2435 | ||
cd8e60ce UD |
2436 | [BZ #2997] |
2437 | * misc/error.c: Add space between program name and message if file | |
2438 | name is missing. | |
2439 | ||
9a528884 UD |
2440 | 2006-08-03 Eric Blake <ebb9@byu.net> |
2441 | ||
2442 | [BZ #2998] | |
2443 | * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. | |
2444 | ||
1d05c2fb UD |
2445 | 2006-08-09 Ulrich Drepper <drepper@redhat.com> |
2446 | ||
0c1c6c6c UD |
2447 | * malloc/memusagestat.c: Silence warnings. |
2448 | ||
1d05c2fb UD |
2449 | * malloc/malloc.c: Dynamically size mmap treshold if the program |
2450 | frees mmaped blocks. | |
2451 | Patch by Valerie Henson and Arjan van de Ven. | |
2452 | ||
2d1e6277 UD |
2453 | 2006-08-08 Jakub Jelinek <jakub@redhat.com> |
2454 | ||
be7ffd91 UD |
2455 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with |
2456 | __USE_GNU. | |
2457 | ||
2d1e6277 UD |
2458 | * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, |
2459 | __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. | |
2460 | (DEF): Don't put the var into .gnu.linkonce.r.* section. | |
2461 | Only provide var definitions in strtol_l (or for *ull* | |
2462 | in strtoll_l). | |
2463 | ||
2464 | * stdio-common/bug16.c (tests): New array. | |
2465 | (do_tests): Allow the first hexadecimal digit | |
2466 | to be 1, 2, 4 or 8. Do 3 additional tests. | |
2467 | ||
2468 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
2469 | ||
2470 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use | |
2471 | fchownat syscall if available. | |
2472 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. | |
2473 | * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. | |
2474 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. | |
2475 | ||
d0ccde25 UD |
2476 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
2477 | ||
2478 | * nis/nis_xdr.c: Avoid some function calls. | |
2479 | ||
13a0293d | 2480 | 2006-08-07 Jakub Jelinek <jakub@redhat.com> |
3f7a21a9 | 2481 | Ulrich Drepper <drepper@redhat.com> |
13a0293d UD |
2482 | |
2483 | * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take | |
2484 | short cut if only one name component is stripped away. | |
2485 | ||
bd1ebae0 UD |
2486 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
2487 | ||
2488 | * nis/nis_call.c: Minor cleanups throughout. | |
2d1e6277 | 2489 | (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. |
bd1ebae0 UD |
2490 | (first_shoot): Add search_parent_first parameter. Only if it is set |
2491 | search parent server first. | |
2492 | If directory for table found through cold start cache is not the same | |
2493 | as referenced in the cache, don't use it. | |
2494 | (__nisfind_server): Take additional parameter. Pass it on to | |
2495 | first_shoot. | |
2496 | (__prepare_niscall): Adjust __nisfind_server call. | |
2497 | * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. | |
2498 | * nis/nis_table.c: Adjust __nisfind_server call. | |
2499 | * nis/nis_lookup.c: Likewise. | |
2500 | (nis_lookup): Don't loop endlessly if name is reduced to ".". | |
2501 | ||
f1762c0c UD |
2502 | 2006-08-03 Ulrich Drepper <drepper@redhat.com> |
2503 | ||
fe710250 UD |
2504 | [BZ #2182] |
2505 | * math/s_cacosh.c: Return values from positive branch. | |
2506 | * math/s_cacoshf.c: Likewise. | |
2507 | * math/s_cacoshl.c: Likewise. | |
2508 | ||
a5852807 UD |
2509 | [BZ #2883] |
2510 | * sysvipc/sys/msg.h: Change return value to ssize_t. | |
2511 | * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. | |
fe710250 UD |
2512 | * sysvipc/msgrcv.c: Likewise. |
2513 | * include/sys/msg.h: Likewise. | |
39571a13 | 2514 | |
6c215a8d UD |
2515 | * grp/initgroups.c (internal_getgrouplist): Remove unnecessary |
2516 | test introduced in patch for bz #661. | |
39571a13 | 2517 | (getgrouplist): Simplify code a bit. Don't allocate one additional |
f13bfdd0 | 2518 | element for NEWGROUPS. |
6c215a8d | 2519 | |
9c06eb66 UD |
2520 | [BZ #2908] |
2521 | * stdio-common/printf_fphex.c (__printf_fphex): When rounding up | |
2522 | 'f', use '1' as leading digit not '\1'. | |
2523 | * stdio-common/Makefile (tests): Add bug16. | |
2524 | * stdio-common/bug16.c: New file. | |
2525 | ||
2526 | [BZ #2914] | |
2527 | * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE | |
2528 | and don't try to open it. The patch introducing the macro | |
2529 | contained a bug and used the same file name as the new file | |
2530 | instead of using /var/adm/hostid. Nobody complaint so I'm taking | |
2531 | this out completely. | |
2532 | ||
2533 | [BZ #2926] | |
2534 | * assert/assert.h: Move cast to void inside ?: to quiet gcc. | |
2535 | Patch by Jerry James <Jerry.James@usu.edu>. | |
2536 | ||
f1762c0c UD |
2537 | * rt/Makefile (tests): Add tst-clock2. |
2538 | * rt/tst-clock2.c: New file. | |
2539 | ||
2540 | [BZ #2978] | |
2541 | * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread | |
2542 | function and its parameters and pass it to new thread. | |
2543 | (__gai_notify): Add support for alternative waiting for completion. | |
2544 | * resolv/gai_suspend.c (gai_suspend): Add support for alternative | |
2545 | waiting for completion. | |
2546 | * resolv/getaddrinfo_a.c: Likewise. | |
2547 | * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative | |
2548 | waiting for completion is used. | |
2549 | * resolv/gai_misc.c: Allow overwriting code to start helper thread. | |
2550 | * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h". | |
2551 | * resolv/gai_error.c: Likewise. | |
2552 | * resolv/gai_sigqueue.c: Likewise. | |
2553 | ||
83ae6b40 RM |
2554 | 2006-08-02 Thomas Schwinge <tschwinge@gnu.org> |
2555 | ||
0e4e62fe | 2556 | * hurd/getdport.c (__getdport): Don't return EBADF; instead set |
f1762c0c | 2557 | errno to EBADF and return MACH_PORT_NULL. |
83ae6b40 | 2558 | |
82ee37c5 UD |
2559 | 2006-06-23 Joseph Myers <joseph@codesourcery.com> |
2560 | ||
2561 | [BZ #2980] | |
f1762c0c | 2562 | * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. |
82ee37c5 UD |
2563 | |
2564 | 2006-08-02 Ulrich Drepper <drepper@redhat.com> | |
2565 | ||
2566 | * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, | |
2567 | walk them instead of the symbol table. | |
2568 | ||
7bb1b2c9 UD |
2569 | 2006-08-01 Ulrich Drepper <drepper@redhat.com> |
2570 | ||
f13bfdd0 | 2571 | [BZ #2098] |
fbbc73b3 UD |
2572 | * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by |
2573 | status of NSS calls, not the number of returned entries. | |
2574 | ||
a4518922 UD |
2575 | * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, |
2576 | request_key, keyctl. | |
7bb1b2c9 | 2577 | |
b06e7e9a UD |
2578 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
2579 | ||
2580 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. | |
2581 | ||
f1227969 UD |
2582 | 2006-07-16 Jeff Bailey <jbailey@ubuntu.com> |
2583 | ||
2584 | * elf/tst-auditmod1.c: Fix typo in #error. | |
2585 | ||
82ae2712 UD |
2586 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
2587 | ||
f1227969 UD |
2588 | * elf/tst-auditmod1.c: Remove code for unsupported architectures. |
2589 | ||
82ae2712 UD |
2590 | * iconvdata/run-iconv-test.sh: Run cmp in C locale. |
2591 | ||
a1260d92 UD |
2592 | 2006-07-20 Adam Nemet <anemet@caviumnetworks.com> |
2593 | ||
2594 | * stdlib/test-canon.c (do_test): Close fd before unlinking file so | |
b06e7e9a | 2595 | that the directory is empty even on non-POSIX filesystems. |
a1260d92 | 2596 | |
d2de41fe UD |
2597 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
2598 | ||
13669f2c UD |
2599 | * elf/dl-open.c (dl_open_worker): Add branch prediction. |
2600 | ||
d2de41fe UD |
2601 | * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into |
2602 | the backend NSS module. If backend setgrent call failed, don't have | |
2603 | internal_setgrent fail. Just remember this until it is needed. | |
2604 | * nis/nss_compat/compat-pwd.c: Likewise. | |
2605 | * nis/nss_compat/compat-spwd.c: Likewise. | |
2606 | ||
b894c2ea RM |
2607 | 2006-07-30 Roland McGrath <roland@redhat.com> |
2608 | ||
2609 | * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. | |
2610 | * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. | |
2611 | * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. | |
2612 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. | |
2613 | ||
2614 | * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. | |
2615 | (nanosleep_not_cancel): New macro. | |
2616 | (sigsuspend_not_cancel): new macro. | |
2617 | * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] | |
2618 | (do_sigsuspend): Define as inline. | |
2619 | (__sigsuspend): Always use do_sigsuspend. | |
2620 | [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. | |
2621 | * include/signal.h: Declare __sigsuspend_nocancel. | |
2622 | * sysdeps/posix/pause.c | |
2623 | [! NO_CANCELLATION] (__pause_nocancel): New function. | |
2624 | ||
2625 | * include/unistd.h (__pause_nocancel): Add attribute_hidden. | |
2626 | * include/time.h (__nanosleep_nocancel): Likewise. | |
2627 | ||
c10d32c8 UD |
2628 | 2006-07-30 Ulrich Drepper <drepper@redhat.com> |
2629 | ||
2630 | * locale/programs/localedef.c (add_to_readlist): Rename local | |
2631 | variables to avoid confusion. | |
2632 | ||
2633 | * locale/programs/charmap.c (charmap_read): Emit error message if | |
2634 | charmap couldn't be found or read. | |
2635 | ||
6822f056 UD |
2636 | 2006-07-28 Ulrich Drepper <drepper@redhat.com> |
2637 | ||
d5ba53f9 UD |
2638 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
2639 | __ASSUME_FUTEX_LOCK_PI. | |
2640 | * include/time.h: Declare __nanosleep_nocancel. | |
2641 | * include/unistd.h: Declare __pause_nocancel. | |
2642 | ||
6822f056 UD |
2643 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of |
2644 | LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we | |
2645 | get the __stack_chk_fail_local definition when it's needed. | |
2646 | ||
3a975ff5 UD |
2647 | 2006-07-26 Ulrich Drepper <drepper@redhat.com> |
2648 | ||
6de1f625 UD |
2649 | * dlfcn/Makefile: Add rules to build and run bug-atexit3. |
2650 | * dlfcn/bug-atexit3.c: New file. | |
2651 | * dlfcn/bug-atexit3-lib.cc: New file. | |
2652 | ||
3a975ff5 UD |
2653 | * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be |
2654 | used when the namespace is not the base namespace. | |
2655 | ||
a92b1166 UD |
2656 | 2006-07-26 Gavin Romig-Koch <gavin@redhat.com> |
2657 | ||
2658 | * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. | |
2659 | (__new_exitfn): Bump it in every successful call. | |
2660 | * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered | |
2661 | more exit handlers, call them right away. | |
2662 | * stdlib/exit.h: Declare __new_exitfn_called. | |
2663 | ||
a08336fb UD |
2664 | 2006-07-25 Ulrich Drepper <drepper@redhat.com> |
2665 | ||
bd3754dc UD |
2666 | * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when |
2667 | calling registered handler. | |
2668 | ||
a08336fb UD |
2669 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. |
2670 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
2671 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
2672 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
2673 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
2674 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
2675 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
2676 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
2677 | ||
871b9158 UD |
2678 | 2006-07-10 Ulrich Drepper <drepper@redhat.com> |
2679 | ||
2680 | * elf/dl-lookup.c (dl_new_hash): New functions. | |
2681 | (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute | |
2682 | value here. Compute new-style hash value. Pass new hash value | |
2683 | and reference to variable with the old value to do_lookup_x. | |
2684 | (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not | |
2685 | old-style hash table. | |
2686 | (_dl_debug_bindings): Pass new hash value and reference to variable | |
2687 | with the old value to do_lookup_x. | |
2688 | * elf/do-lookup.h (do_lookup_x): Accept additional parameter with | |
2689 | new-style hash value and change old-style hash value parameter to | |
2690 | be a reference. Reoganize functions to determine whether | |
2691 | new-style hash table is available. Only fall back on old-style | |
2692 | table. If old-style hash value is needed, compute it here. | |
2693 | * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH | |
2694 | entry. | |
2695 | * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, | |
2696 | DT_TLSDEC_GOT. Adjust DT_ADDRNUM. | |
2697 | * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, | |
2698 | l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. | |
2699 | * Makeconfig: If linker supports --hash-style option add it to all | |
2700 | linker command lines to build DSOs. | |
2701 | * config.make.in: Define have-hash-style. | |
2702 | * configure.in: Test whether linker supports --hash-style option. | |
2703 | ||
2704 | * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. | |
2705 | * sysdeps/generic/ldsodefs.h: Adjust prototype. | |
2706 | ||
a1f0de82 UD |
2707 | 2006-06-27 Ulrich Drepper <drepper@redhat.com> |
2708 | ||
361a3706 UD |
2709 | * elf/dl-load.c (open_path): Fix test to determine whether DSO is |
2710 | auditing. | |
2711 | ||
a1f0de82 UD |
2712 | * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at |
2713 | RPATH of main map twice. | |
2714 | ||
4259230f UD |
2715 | 2006-06-22 Ulrich Drepper <drepper@redhat.com> |
2716 | ||
2717 | * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't | |
2718 | look further, return original strings. | |
2719 | (_nl_find_msg): Do not return found translation if the conversion | |
2720 | failed. Either signal the string is unusable or that something went | |
2721 | wrong and the original should be used. | |
2722 | ||
2723 | 2006-06-21 Ulrich Drepper <drepper@redhat.com> | |
2724 | ||
2725 | * string/_strerror.c (__strerror_r): Add __builtin_expect. | |
2726 | ||
f9b7a98b UD |
2727 | 2006-06-14 Jakub Jelinek <jakub@redhat.com> |
2728 | ||
2729 | [BZ #2766] | |
2730 | * misc/insremque.c (insque): Handle prev == NULL. | |
2731 | * misc/Makefile (tests): Add tst-insremque. | |
2732 | * misc/tst-insremque.c: New test. | |
2733 | ||
ac55a25b UD |
2734 | 2006-06-17 Ulrich Drepper <drepper@redhat.com> |
2735 | ||
2736 | [BZ #2792] | |
2737 | * elf/dl-deps.c (expand_dst): Rename __cnt variable to not | |
2738 | conflict with DL_DST_REQUIRED. | |
2739 | ||
02f366b3 UD |
2740 | 2006-06-16 Ulrich Drepper <drepper@redhat.com> |
2741 | ||
2742 | * nis/nis_subr.c (nis_getnames): Fix the implementation to better | |
2743 | match what Solaris does. | |
2744 | ||
9009e8f8 UD |
2745 | 2006-06-04 Ulrich Drepper <drepper@redhat.com> |
2746 | ||
1b8373f4 UD |
2747 | * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and |
2748 | local_setegid instead of seteuid and setegid. | |
2749 | * sysdeps/generic/local-setxid.h: New file. | |
2750 | * sysdeps/unix/sysv/linux/local-setxid.h: New file. | |
2751 | ||
7231452e UD |
2752 | * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. |
2753 | ||
9009e8f8 | 2754 | * string/Makefile (tests): Add bug-envz1. |
02f366b3 | 2755 | * string/bug-envz1.c: New file. |
9009e8f8 | 2756 | |
33e63e79 UD |
2757 | 2006-06-02 Jakub Jelinek <jakub@redhat.com> |
2758 | ||
2759 | * posix/regex_internal.c (re_string_skip_chars): If no character has | |
2760 | been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc | |
2761 | to the byte which couldn't be converted. | |
2762 | (re_string_reconstruct): Don't clear valid_raw_len before calling | |
2763 | re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set | |
2764 | tip_context using re_string_context_at. | |
2765 | * posix/Makefile: Add rules to build and run bug-regex25 test. | |
2766 | * posix/bug-regex25.c: New test. | |
2767 | ||
fdc02996 UD |
2768 | 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com> |
2769 | ||
2770 | [BZ #2703] | |
2771 | * string/envz.c (envz_strip): Correct erroneously reversed src | |
2772 | and dest parameters to memmove() invocation. | |
2773 | ||
902c4291 UD |
2774 | 2006-05-30 Jakub Jelinek <jakub@redhat.com> |
2775 | ||
2776 | * nscd/nscd.h (prune_cache): Add fd argument to prototype. | |
2777 | * nscd/nscd.c (parse_opt): Read response from INVALIDATE request | |
2778 | to make sure the database has been already invalidated. | |
2779 | * nscd/cache.c (prune_cache): Add fd argument. Write response to fd | |
2780 | after the cache has been invalidated. Use pthread_mutex_lock rather | |
2781 | than pthread_mutex_trylock if fd != -1. | |
2782 | * nscd/connections.c (invalidate_cache): Add fd argument, write | |
2783 | response to fd if not calling prune_cache, pass fd to prune_cache. | |
2784 | (handle_request): Adjust invalidate_cache caller. | |
2785 | (nscd_run): Pass -1 as fd to prune_cache. | |
2786 | ||
ecc68568 UD |
2787 | 2006-05-30 Ulrich Drepper <drepper@redhat.com> |
2788 | ||
2789 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in | |
2790 | the correct place. | |
2791 | ||
9636a217 UD |
2792 | 2006-05-29 Ulrich Drepper <drepper@redhat.com> |
2793 | ||
2794 | * nscd/nscd.h (struct database_dyn): Add prunelock field. | |
2795 | * nscd/cache.c (prune_cache): Take prunelock before starting the | |
2796 | work. Just return in case it is already taken. | |
cabfcde1 | 2797 | * nscd/connections.c (dbs): Initialize .prunelock. |
9636a217 | 2798 | |
6bcb494a UD |
2799 | 2006-05-25 Ulrich Drepper <drepper@redhat.com> |
2800 | ||
672d5a63 | 2801 | * nis/nis_removemember.c (nis_removemember): Avoid unnecessary |
ecc68568 | 2802 | copying. No need to allocate new array for group members. Just |
672d5a63 UD |
2803 | move the pointers and update the size. |
2804 | ||
1663b44f UD |
2805 | * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. |
2806 | Avoid memory leak in case realloc fails. Simplification for | |
2807 | better code generation. | |
2808 | ||
2809 | Avoid deprecation warning because of libc_hidden_proto for | |
2810 | inet6_option_alloc. | |
2811 | * inet/inet6_option.c (option_alloc): Renamed from | |
2812 | inet6_option_alloc. Made static. | |
9636a217 | 2813 | (inet6_option_alloc): Now a simple wrapper around option_alloc. |
1663b44f UD |
2814 | (inet6_option_append): Call option_alloc. |
2815 | * include/netinet/in.h: Remove libc_hidden_proto for | |
2816 | inet6_option_alloc. | |
2817 | ||
6bcb494a UD |
2818 | * nis/nis_callback.c (__nis_create_callback): Always call xdr_free |
2819 | for cleanup when cb!=NULL [Coverity CID 233]. | |
2820 | ||
aec6b246 UD |
2821 | 2006-05-24 Ulrich Drepper <drepper@redhat.com> |
2822 | ||
07bfff20 UD |
2823 | [BZ #2693] |
2824 | * inet/Makefile (routines): Add inet6_opt and inet6_rth. | |
2825 | * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, | |
2826 | inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, | |
2827 | inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, | |
2828 | inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, | |
2829 | and inet6_rth_getaddr. | |
2830 | * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible | |
2831 | array. | |
2832 | * inet/netinet/in.h (struct ip6_mtuinfo): Define. | |
2833 | Mark inet6_option_* interfaces as deprecated. | |
2834 | Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, | |
2835 | inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, | |
2836 | inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, | |
2837 | inet6_rth_segments, and inet6_rth_getaddr. | |
2838 | * inet/inet6_opt.c: New file. | |
2839 | * inet/inet6_rth.c: New file. | |
2840 | ||
2841 | * inet/netinet/icmp6.h: Pretty printing. | |
2842 | ||
aec6b246 UD |
2843 | [BZ #2683] |
2844 | * elf/dl-addr.c (_dl_addr): Don't match undefined references. | |
2845 | ||
2d571cd1 UD |
2846 | 2006-05-23 Ulrich Drepper <drepper@redhat.com> |
2847 | ||
062e719b UD |
2848 | * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of |
2849 | doing it all here. When server does not know the answer do not | |
2850 | fail immediate, try parent first. | |
2851 | ||
2d571cd1 UD |
2852 | * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer |
2853 | overflow test. | |
2854 | ||
a17fa610 UD |
2855 | 2006-05-20 Ulrich Drepper <drepper@redhat.com> |
2856 | ||
2857 | * nis/nis_call.c (__prepare_niscall): New function. Split out | |
2858 | from __do_niscall. | |
2859 | * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request | |
2860 | and exported. | |
2861 | (__follow_path): New function. Split out from nis_list. | |
2862 | * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and | |
2863 | _xdr_nis_result. | |
2864 | * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and | |
2865 | _xdr_nis_result. | |
2866 | * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, | |
2867 | and __follow_path. | |
2868 | * nis/Versions: Export __prepare_niscall, __create_ib_request, | |
2869 | __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result | |
2870 | from libnsl for version GLIBC_PRIVATE. | |
2871 | * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. | |
2872 | Remove entry parameter from _nss_nisplus_parse_pwent and | |
2873 | _nss_nisplus_parse_grent. | |
2874 | * nis/nss_nisplus/nisplus-parser.c: Likewise. | |
2875 | * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ | |
2876 | again. Rewrite getpwent handling to not use nis_first_entry and | |
2877 | nis_next_entry. Roll out own niscall handling. | |
2878 | * nis/nss_nisplus/nisplus-grp.c: Likewise. | |
2879 | ||
2880 | * sunrpc/xdr_rec.c: Fix typo in comment. | |
2881 | ||
429bb183 UD |
2882 | 2006-05-19 Ulrich Drepper <drepper@redhat.com> |
2883 | ||
1d4f062a UD |
2884 | * nis/nis_call.c (__do_niscall3): Avoid code duplication in error |
2885 | handling. | |
2886 | ||
101cc598 UD |
2887 | * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc |
2888 | to allocate memory for my_pollfd. Better initialization of | |
2889 | cb_is_running. Use TEMP_FAILURE_RETRY. | |
2890 | ||
f50fa10c UD |
2891 | * malloc/memusage.sh (memusageso): Add quotes. |
2892 | (memusagestat): Likewise. | |
2893 | * debug/xtrace.sh (pcprofileso): Likewise. | |
2894 | (pcprofiledump): Likewise. | |
2895 | * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR | |
2896 | replacement. | |
2897 | * malloc/Makefile ($(objpfx)memusage): Likewise. | |
2898 | ||
882bfe73 UD |
2899 | * nis/nis_callback.c (__nis_create_callback): Calls to |
2900 | svcudp_bufcreate and svctcp_create can fail. Free ->xprt if | |
2901 | asprintf call fails. | |
2902 | ||
429bb183 UD |
2903 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure |
2904 | no uninitialized memory is passed to sendto. | |
2905 | ||
f90de831 UD |
2906 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> |
2907 | ||
2908 | * nis/nis_callback.c (__nis_create_callback): Use asprinf instead | |
2909 | of snprintf+strdup. Handle OOM. | |
2910 | * nis/nis_callback.c (__nis_create_callback): Allocate cb and | |
2911 | cb->serv together. Remove now obsolete free calls. | |
2912 | (__nis_destroy_callback): Remove now obsolete free call. | |
2913 | ||
a17fa610 | 2914 | 2006-05-18 David Woodhouse <dwmw2@redhat.com> |
6e2a7825 UD |
2915 | |
2916 | * sysdeps/posix/getaddrinfo.c: Add unique labels to the default | |
2917 | RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local | |
2918 | and ULA respectively). Set precedence for IPv4 address to 10 as | |
2919 | defined in RFC3484 for preferring IPv6. | |
2920 | * posix/gai.conf: Update to match the new default tables. | |
2921 | ||
758b9d7e UD |
2922 | 2006-05-18 Jakub Jelinek <jakub@redhat.com> |
2923 | ||
2924 | * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent | |
2925 | returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. | |
2926 | * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. | |
2927 | * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. | |
2928 | ||
2929 | * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): | |
2930 | Removed. | |
2931 | (init_nss_interface): Remove initialization of these variables. | |
2932 | ||
2933 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> | |
2934 | ||
2935 | * nis/nis_call.c (rec_dirsearch): Little optimization: pull | |
2936 | nis_free_directory forward to avoid duplication. | |
2937 | ||
388c779e UD |
2938 | 2006-05-17 Ulrich Drepper <drepper@redhat.com> |
2939 | ||
5f1724bf UD |
2940 | * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and |
2941 | rec_dirsearch returning NULL. | |
2942 | (first_shoot): Handle __nis_finddirectory returning NULL. | |
2943 | (__nisfind_server): Fix leak when rec_dirsearch returns NULL. | |
2944 | ||
388c779e UD |
2945 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, |
2946 | IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. | |
2947 | ||
360d5cf4 UD |
2948 | 2006-05-17 Jakub Jelinek <jakub@redhat.com> |
2949 | ||
2950 | * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if | |
2951 | pid changed. | |
2952 | ||
88dbff8c UD |
2953 | 2006-05-15 Ulrich Drepper <drepper@redhat.com> |
2954 | ||
6f8a7dff UD |
2955 | * include/rpc/pmap_prot.h: Mark all functions as hidden. |
2956 | ||
2957 | * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. | |
2958 | * nscd/nscd_getgr_r.c: Likewise. | |
2959 | ||
2960 | * include/rpc/pmap_rmt.h: Mark all functions as hidden. | |
2961 | ||
2962 | * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. | |
2963 | * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. | |
2964 | ||
2965 | * stdlib/longlong.h (__clz_tab): Mark as hidden. | |
2966 | ||
2967 | * iconv/gconv_int.h: Mark __gconv_lock as hidden. | |
2968 | ||
360d5cf4 | 2969 | * include/rpc/key_prot.h: Mark all _internal functions as hidden. |
8263ed62 UD |
2970 | |
2971 | * include/rpc/auth.h: Mark xdr_des_block_internal and | |
2972 | xdr_opaque_auth_internal as hidden. | |
2973 | ||
2974 | * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as | |
2975 | hidden. | |
2976 | ||
360d5cf4 | 2977 | * include/rpc/xdr.h: Mark all _internal functions as hidden. |
8263ed62 | 2978 | |
02264020 UD |
2979 | * misc/getusershell.c (okshells): Don't use static initializers, |
2980 | do it dynamically. | |
2981 | ||
fd5ea238 UD |
2982 | * stdlib/fmtmsg.c (keywords): Change type of len element to |
2983 | uint32_t to not waste space on 64bit machines. | |
2984 | ||
9446614c UD |
2985 | * locale/setlocale.c: Change _nl_category_names into a string. |
2986 | Add new _nl_category_name_idxs. Change all users. | |
2987 | * locale/localeinfo.h: Adjust declaration of _nl_category_names. | |
2988 | Declare _nl_category_name_idxs. | |
2989 | * locale/findlocale.c: Adjust for _nl_category_names change. | |
2990 | * locale/loadlocale.c: Likewise. | |
2991 | * locale/newlocale.c: Likewise. | |
2992 | * intl/dcigettext.c: Likewise. | |
2993 | ||
88dbff8c UD |
2994 | * iconv/gconv_conf.c (add_alias): Move actual alias handling to... |
2995 | (add_alias2): ...here. New function. | |
2996 | (__gconv_read_conf): Simplify builtin alias handling. | |
2997 | (builtin_aliases): Convert to string to avoid relocations. | |
2998 | * iconv/gconv_builtin.h: Add comment about correct formatting. | |
2999 | ||
4442d58f UD |
3000 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
3001 | ||
3002 | * resolv/res_debug.c (loc_ntoa): Make error const. | |
3003 | ||
3004 | 2006-05-14 Andreas Schwab <schwab@suse.de> | |
3005 | ||
3006 | * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. | |
3007 | ||
3008 | 2006-05-12 Jakub Jelinek <jakub@redhat.com> | |
3009 | ||
3010 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. | |
3011 | (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than | |
3012 | sizeof (cpu_set_t). | |
3013 | ||
a51752b6 UD |
3014 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
3015 | ||
5d3fd1f6 UD |
3016 | * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. |
3017 | ||
08cfb839 UD |
3018 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
3019 | ||
4b481a15 UD |
3020 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
3021 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
3022 | ||
3023 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. | |
3024 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
3025 | ||
3026 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. | |
3027 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
3028 | xdr_cback_data. | |
3029 | ||
3030 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. | |
3031 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
3032 | xdr_ypupdate_args. | |
3033 | ||
3034 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. | |
3035 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
3036 | ||
3037 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. | |
3038 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
3039 | ||
3040 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. | |
3041 | * include/rpcsvc/nis_callback.h: New file. | |
3042 | ||
3043 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. | |
3044 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
3045 | ||
3046 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
3047 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
3048 | ||
3049 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. | |
3050 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
3051 | ||
3052 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
3053 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
3054 | ||
b1ad49c6 UD |
3055 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
3056 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
3057 | xdr_ypdelete_args. | |
3058 | ||
cd5f7829 UD |
3059 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
3060 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
3061 | ||
a51752b6 UD |
3062 | * nis/nis_error.c: Remove table of strings. Use position |
3063 | independent mechanism. | |
3064 | * nis/nis_error.h: New file. | |
3065 | ||
3d237e42 UD |
3066 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
3067 | ||
3068 | * locale/programs/ld-time.c (time_finish): If wide era name or | |
3069 | format aren't provided, set both wname and wformat to L"". | |
3070 | ||
d6c159fe UD |
3071 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
3072 | ||
0088b04e UD |
3073 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
3074 | results if the call was succesful. | |
3075 | ||
d6c159fe UD |
3076 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
3077 | ||
3078 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count | |
3079 | as hidden. | |
3080 | ||
5c5acdf0 UD |
3081 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
3082 | ||
3083 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. | |
3084 | ||
16d620db UD |
3085 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
3086 | ||
3087 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the | |
3088 | caller makes sure this is not the case. | |
3089 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
3090 | ||
e7c8359e UD |
3091 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
3092 | ||
ecf359c6 UD |
3093 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
3094 | calls. | |
3095 | ||
400cc70a UD |
3096 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
3097 | [Coverity CID 229, 230] | |
3098 | ||
3099 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and | |
3100 | DGETTEXT calls. | |
3101 | (hol_help): Likewise. [Coverity CID 226, 227] | |
3102 | ||
3103 | * string/argz-replace.c (__argz_replace): Unconditionally call | |
3104 | free on SRC. [Coverity CID 225] | |
3105 | ||
3106 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate | |
3107 | the return value of __nis_default_owner and __nis_default_group, | |
3108 | it has been especially allocated. [Coverity CID 224] | |
3109 | ||
51e59260 UD |
3110 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
3111 | searchgroup and searchowner. Significantly simplified. | |
3112 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
3113 | string before duplicating it. | |
3114 | (__nis_default_group): Likewise. | |
3115 | ||
3116 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, | |
3117 | we must clear the variable before calling __nisfind_server. | |
3118 | ||
3119 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with | |
3120 | nis_getnames. [Coverity CID 223] | |
3121 | ||
3122 | * locale/programs/locfile.c (locfile_read): Use alloca instead of | |
3123 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
3124 | ||
3125 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically | |
3126 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
3127 | ||
e7c8359e | 3128 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
51e59260 | 3129 | was allocated here. [Coverity CID 219, 220] |
e7c8359e UD |
3130 | |
3131 | * posix/getconf.c (print_all): Free confstr data after printing. | |
3132 | [Coverity CID 218] | |
3133 | ||
3134 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if | |
3135 | list allocation fails. [Coverity CID 215] | |
3136 | ||
3137 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. | |
3138 | [Coverity CID 213] | |
3139 | ||
3140 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if | |
3141 | string is NULL. [Coverity CID 212] | |
3142 | * argp/Makefile: Add rules to build and run bug-argp1. | |
3143 | * argp/bug-argp1.c: New file. | |
3144 | ||
3145 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find | |
3146 | end of string. | |
3147 | * stdlib/canonicalize.c (__realpath): Likewise. | |
3148 | ||
3149 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL | |
3150 | pointer. [Coverity CID 206] | |
3151 | ||
3152 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map | |
3153 | in statically linked code. | |
3154 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
3155 | statically built code, be prepared to have no link map. | |
3156 | [Coverity CID 205] | |
3157 | ||
3158 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in | |
3159 | dgettext calls. [Coverity CID 204] | |
3160 | ||
3161 | * argp/argp-help.c (struct uparams): Remove valid member. Change | |
3162 | the one user. | |
3163 | (uparam_names): Reduce size. Avoid relative relocations. | |
3164 | Moved to read-only segment. | |
3165 | (fill_in_uparams): Update for new layout. | |
3166 | ||
3167 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be | |
3168 | assumed to always be != NULL. [Coverity CID 202] | |
3169 | ||
3170 | * argp/argp-help.c (hol_entry_help): Remove some dead code | |
3171 | [Coverity CID 200]. | |
3172 | ||
3173 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize | |
3174 | away a few more unconditional yperr2nss calls. | |
3175 | (_nss_nis_getservbyname_r): Likewise. | |
3176 | ||
acf82eaf UD |
3177 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
3178 | ||
4461cf48 UD |
3179 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
3180 | architectures. | |
3181 | ||
b74a8c7f UD |
3182 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
3183 | that unused memory passed to sendto is nevertheless initialized. | |
3184 | ||
acb98cb5 UD |
3185 | [BZ #2499] |
3186 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
3187 | possibly unaligned memory accesses. | |
3188 | ||
bce16467 UD |
3189 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
3190 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
3191 | and __putlong respectively. Correct buffer overflow check for | |
3192 | NS_NOTIFY_OP. | |
3193 | ||
3194 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. | |
3195 | ||
8e45b1ac UD |
3196 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
3197 | (send_dg): Rewrite error handling to be more compact and avoid | |
3198 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
3199 | ||
697e1628 UD |
3200 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
3201 | ||
3202 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly | |
3203 | instead of ns_get16. | |
3204 | (res_queriesmatch): Likewise. Minor optimization. | |
3205 | ||
acf82eaf UD |
3206 | [BZ #2499] |
3207 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
3208 | __libc_res_nsend might reallocate the buffer for the answer. In | |
3209 | this case we have to reload the HP pointer. | |
3210 | ||
7bfee654 UD |
3211 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
3212 | ||
694b49ca UD |
3213 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
3214 | some branch prediction hints. | |
3215 | ||
7bfee654 UD |
3216 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
3217 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
3218 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
3219 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
3220 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
3221 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
3222 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
3223 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
3224 | ||
308bb2d5 UD |
3225 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3226 | ||
3227 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation | |
3228 | by a GOT relocation to make Scrt1.o position independent. | |
3229 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
3230 | ||
3231 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for | |
3232 | six system call parameters. | |
3233 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
3234 | ||
cdb9c321 UD |
3235 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
3236 | ||
3237 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of | |
3238 | malloc&bzero. | |
3239 | ||
3240 | * sunrpc/svc_udp.c (BZERO): Remove definition. | |
3241 | (CALLOC): Define. | |
3242 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
3243 | ||
3244 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. | |
3245 | (des_SPtrans): Use uint32_t type. | |
3246 | (des_skb): Likewise. | |
3247 | ||
3248 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. | |
3249 | ||
fff04b32 UD |
3250 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
3251 | ||
3252 | [BZ #2509] | |
3253 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
3254 | on 32-bit arches. | |
3255 | ||
3256 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> | |
3257 | ||
3258 | * locale/programs/ld-address.c (address_finish): Fix one more | |
cdb9c321 | 3259 | place where the iso639 array might be accessed beyond the limits. |
fff04b32 | 3260 | |
077a30bc | 3261 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
77dd4c3b | 3262 | |
f2d5cf50 UD |
3263 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
3264 | filling it for the first time. | |
3265 | ||
3e4370cf UD |
3266 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
3267 | Adjust all callers. | |
3268 | Free res object content before returning. | |
3269 | ||
5e65a53d UD |
3270 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
3271 | ||
48be3114 UD |
3272 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
3273 | client->cl_auth. | |
3274 | ||
ca4fce0e UD |
3275 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
3276 | cleanup for initial thread, just the free call on TVP. | |
3277 | ||
077a30bc | 3278 | * nscd/gai.c (__getline): Define. |
3b7a95fb | 3279 | |
5d37289a | 3280 | |
3f87d901 | 3281 | See ChangeLog.16 for earlier changes. |