]>
Commit | Line | Data |
---|---|---|
27d9ffda UD |
1 | 2007-08-01 Andreas Jaeger <aj@suse.de> |
2 | Jakub Jelinek <jakub@redhat.com> | |
3 | ||
4 | * elf/ldconfig.c (opt_ignore_aux_cache): Add new option. | |
5 | (options): Add option. | |
6 | (parse_opt): Handle option. | |
7 | (manual_link): Adjust process_file caller. Call implicit_soname. | |
8 | (search_dir): Formatting. Use and populate auxiliary cache. | |
9 | (main): Load and save auxiliary cache. | |
10 | * elf/readlib.c (process_file): Add stat_buf argument. Pass struct | |
11 | stat64 from fstat64 to caller. | |
12 | (implicit_soname): New function. | |
13 | * elf/readelflib.c (process_elf_file): If DT_SONAME is not present, | |
14 | leave *soname as NULL. | |
15 | * elf/cache.c: Include libgen.h. | |
16 | (print_entry, print_cache, compare, save_cache, add_to_cache): | |
17 | Formatting and cleanups. | |
18 | (aux_cache_entry_id, aux_cache_entry, aux_cache_file_entry, | |
19 | aux_cache_file): New structures. | |
20 | (AUX_CACHEMAGIC): Define. | |
21 | (primes): New array. | |
22 | (aux_hash_size, aux_hash): New variables. | |
23 | (aux_cache_entry_id_hash, nextprime, init_aux_cache, | |
24 | search_aux_cache, insert_to_aux_cache, add_to_aux_cache, | |
25 | load_aux_cache, save_aux_cache): New functions. | |
26 | * sysdeps/generic/ldconfig.h (_PATH_LDCONFIG_AUX_CACHE): Define. | |
27 | (init_aux_cache, search_aux_cache, add_to_aux_cache, | |
28 | load_aux_cache, save_aux_cache, implicit_soname): New prototypes. | |
29 | (process_file): Adjust prototype. | |
30 | ||
8d944b0f UD |
31 | 2007-08-12 Jakub Jelinek <jakub@redhat.com> |
32 | ||
33 | * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Include stddef.h | |
34 | with __need_size_t. | |
35 | ||
75fb247e UD |
36 | 2007-08-12 Ulrich Drepper <drepper@redhat.com> |
37 | ||
fb86328a UD |
38 | * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Expect |
39 | r_found_version structure as second parameter. | |
40 | * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Define. | |
41 | (_dl_vdso_vsym): Change type of second parameter accordingly. | |
42 | * sysdeps/unix/sysv/linux/x86-64/libc-start.c | |
43 | (_libc_vdso_platform_setup): Adjust. | |
974a1f0f | 44 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c |
fb86328a UD |
45 | (_libc_vdso_platform_setup): Likewise. |
46 | ||
75fb247e UD |
47 | * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: Move to... |
48 | * sysdeps/unix/sysv/linux/dl-vdso.c: ...here. | |
49 | * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: Move to... | |
50 | * sysdeps/unix/sysv/linux/dl-vdso.h: ...here. | |
51 | * csu/libc-start.c: Pretty printing. | |
52 | Use VDSO_SETUP if defined. | |
53 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Define VDSO_SETUP | |
54 | and let generic code call into _libc_vdso_platform_setup. | |
55 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c: New file. | |
56 | * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: New file. | |
57 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Pretty printing. | |
58 | Define INLINE_VSYSCALL and INTERNAL_VSYSCALL. | |
59 | * sysdeps/unix/sysv/linux/x86_64/Versions: Export __vdso_clock_gettime | |
60 | for GLIBC_PRIVATE. | |
61 | * sysdeps/unix/sysv/linux/x86_64/Makefile [subdir=elf] | |
62 | (sysdep_rountines): Add dl-vdso. | |
63 | ||
64 | * sysdeps/unix/sysv/linux/powerpc/Makefile: Use sysdep_routines instead | |
65 | of routines. | |
66 | ||
67 | * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add | |
68 | attribute_hidden to __vdso_gettimeofday prototype. | |
69 | ||
9229b83e RM |
70 | 2007-08-12 Roland McGrath <roland@redhat.com> |
71 | ||
72 | * manual/stdio.texi (Variable Arguments Output): Fix xref to gcc manual. | |
73 | From: Karl Berry <karl@freefriends.org>. | |
74 | ||
4503061f UD |
75 | 2007-08-11 Ulrich Drepper <drepper@redhat.com> |
76 | ||
77 | * elf/dl-misc.c (_dl_sysdep_read_whole_file): We really don't need | |
78 | an atime update for the files we read. | |
79 | ||
d7e23b02 UD |
80 | 2007-08-10 Ulrich Drepper <drepper@redhat.com> |
81 | ||
7cf89e95 UD |
82 | * shadow/lckpwdf.c (__lckpwdf): Use O_CLOEXEC if possible. |
83 | ||
9d169bb3 | 84 | * nscd/connections.c: Use O_CLOEXEC if possible. Use mkostemp |
d7e23b02 UD |
85 | instead of mkstemp. |
86 | ||
87 | * misc/Makefile (routines): Add mkostemp and mkostemp64. | |
88 | * misc/Versions: Export mkostemp and mkostemp64 for GLIBC_2.7. | |
89 | * misc/mkostemp.c: New file. | |
90 | * misc/mkostemp64.c: New file. | |
91 | * stdlib/stdlib.h: Declare the new functions. | |
92 | * sysdeps/posix/tempname.c: Add new parameter which is added to | |
93 | the flags for open. Remove __GT_BIGFILE handling. | |
94 | * stdio-common/tempname.c: Likewise. | |
95 | * include/stdio.h: Adjust __gen_tempname prototype. | |
96 | Renumber __GT_* constants. | |
97 | * libio/oldtmpfile.c: Adjust for __gen_tempname interface change. | |
98 | * misc/mkdtemp.c: Likewise. | |
99 | * misc/mkstemp.c: Likewise. | |
100 | * misc/mkstemp64.c: Likewise. | |
101 | * misc/mktemp.c: Likewise. | |
102 | * stdio-common/tempnam.c: Likewise. | |
103 | * stdio-common/tmpfile.c: Likewise. | |
104 | * stdio-common/tmpfile64.c: Likewise. | |
105 | * stdio-common/tmpnam.c: Likewise. | |
106 | * stdio-common/tmpnam_r.c: Likewise. | |
107 | ||
22532966 RM |
108 | 2007-08-10 Roland McGrath <roland@frob.com> |
109 | ||
110 | * sysdeps/mach/hurd/bits/ioctls.h (NLDLY, TABDLY, BSDLY, VTDLY): | |
111 | New macros. | |
112 | (NLDELAY, CRDELAY, TBDELAY, BSDELAY, VTDELAY): Define to those. | |
113 | Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
114 | ||
673876e6 UD |
115 | 2007-08-10 Ulrich Drepper <drepper@redhat.com> |
116 | ||
aa132749 UD |
117 | * nss/nss_files/files-XXX.c (internal_setent): Use O_CLOEXEC if |
118 | possible. | |
119 | * nss/nss_files/files-alias.c (internal_setent): Likewise. | |
120 | * nss/Makefile (libnss_files-routines): Add files-have_o_cloexec. | |
121 | * nss/nss_files/files-have_o_cloexec.c: New file. | |
122 | ||
22532966 | 123 | * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Use O_CLOEXEC if |
673876e6 UD |
124 | available. |
125 | ||
1e286653 JJ |
126 | 2007-08-10 Jakub Jelinek <jakub@redhat.com> |
127 | ||
128 | * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l, | |
129 | ___new_wcstold_l): New weak aliases. | |
130 | (strtold_l, wcstold_l): Use them as second argument for | |
131 | long_double_symbol. | |
132 | ||
f07f72f3 UD |
133 | 2007-08-09 Ulrich Drepper <drepper@redhat.com> |
134 | ||
6479496a UD |
135 | * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct |
136 | register in test for error. | |
137 | ||
c4adefbd UD |
138 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define. |
139 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise. | |
140 | ||
f07f72f3 UD |
141 | * po/sv.po: Update from translation team. |
142 | ||
eef38c28 RM |
143 | 2007-08-06 Roland McGrath <roland@redhat.com> |
144 | ||
773e305e RM |
145 | * include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l. |
146 | Remove __strto*_l inlines. | |
147 | * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l. | |
148 | * stdlib/strtod.c: Add libc_hidden_def. | |
149 | * stdlib/strtod_l.c: Likewise. | |
150 | * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto | |
151 | for __new_strtold and __new_wcstold. | |
152 | * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for | |
153 | __STRTOF, STRTOF. | |
154 | * stdlib/strtol.c: Add libc_hidden_def. | |
155 | * stdlib/strtol_l.c: Likewise. | |
156 | * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and | |
157 | strtoq. | |
158 | ||
159 | * scripts/data/localplt-powerpc-linux-gnu.data: New file. | |
160 | ||
161 | * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ... | |
162 | * scripts/data/localplt-generic.data: ... here. | |
163 | * elf/Makefile (check-data): Get generic file if no other. | |
164 | ($(objpfx)check-localplt.out): Make target unconditional. | |
165 | ||
eef38c28 RM |
166 | * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): |
167 | Use ElfW(Nhdr). | |
168 | ||
742df3a4 UD |
169 | 2007-08-05 Ulrich Drepper <drepper@redhat.com> |
170 | ||
171 | * po/zh_CN.po: Updated translation from translation team. | |
172 | ||
0470fa46 JJ |
173 | 2007-08-05 Jakub Jelinek <jakub@redhat.com> |
174 | ||
175 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): | |
176 | Don't use CGOTSETUP and CGOTRESTORE macros. | |
177 | ||
b5075bdc RM |
178 | 2007-08-04 Roland McGrath <roland@redhat.com> |
179 | ||
180 | * posix/Makefile ($(objpfx)getconf.speclist): Fix typo. | |
181 | ||
9accc268 JJ |
182 | 2007-08-04 Jakub Jelinek <jakub@redhat.com> |
183 | ||
184 | * io/bits/fcntl2.h (open, open64, openat, openat64): Add | |
185 | __extension__ around the whole statement expression. | |
186 | ||
220ae3ef UD |
187 | 2007-08-04 Ulrich Drepper <drepper@redhat.com> |
188 | ||
c8ccd8e3 UD |
189 | * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR |
190 | elements during initialization. | |
191 | ||
220ae3ef UD |
192 | * po/pl.po: Updated translation from translation team. |
193 | * po/tr.po: Likewise. | |
11960f7f | 194 | * po/nl.po: Likewise. |
220ae3ef | 195 | |
2fb20667 UD |
196 | 2007-08-03 Ulrich Drepper <drepper@redhat.com> |
197 | ||
198 | * rt/aio.h: Add __nonnull attributes. | |
199 | ||
ce31a3b1 UD |
200 | 2007-08-03 Jakub Jelinek <jakub@redhat.com> |
201 | ||
64f6281c UD |
202 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Properly handle -0. |
203 | * stdlib/Makefile (tests): Add tst-strtod5. | |
204 | (tst-strtod5-ENV): New. | |
205 | * stdlib/tst-strtod5.c: New file. | |
206 | ||
ce31a3b1 UD |
207 | * intl/dcigettext.c (_nl_find_msg): Free encoding if __gconv_open |
208 | failed. | |
209 | * intl/finddomain.c (_nl_find_domain): Free normalized_codeset | |
210 | on failure. | |
211 | ||
212 | * elf/dl-load.c (decompose_rpath): Free copy if result couldn't be | |
213 | allocated. | |
214 | ||
754980e4 JJ |
215 | 2007-08-03 Jakub Jelinek <jakub@redhat.com> |
216 | ||
217 | * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument | |
218 | numbers. | |
219 | ||
497af0cb UD |
220 | 2007-08-02 Ulrich Drepper <drepper@redhat.com> |
221 | ||
cbf0489b UD |
222 | * io/Makefile (aux): Add have_o_cloexec. |
223 | * include/fcntl.h: Declare __have_o_cloexec. | |
224 | * io/have_o_cloexec.c: New file. | |
225 | * sysdeps/unix/opendir.c (__opendir): Use O_CLOEXEC is available. | |
226 | (__alloc_dir): If O_CLOEXEC has been used, don't duplicate the | |
227 | fcntl call if not necessary. | |
228 | * login/utmp_file.c (setutent_file): Use __have_o_cloexec instead | |
229 | of local variable. | |
230 | ||
fa39685d UD |
231 | * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. |
232 | Avoid memset, add explicit initialization. | |
233 | * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn | |
234 | to the end and change into zero-sized array. | |
235 | Move lock member to fill a hole on 64-bit platforms. | |
9b2e9577 UD |
236 | |
237 | * stdlib/stdlib.h: Remove __strto*_internal prototypes and strto* | |
238 | inline functions. | |
239 | * include/stdlib.h: Add __strto*_internal prototypes here. | |
240 | * wcsmbs/wchar.h: Remove __wcsto*_internal prototypes and wcsto* | |
241 | inline functions. | |
242 | * include/wchar.h: Add __wcsto*_internal prototypes. | |
243 | * sysdeps/generic/inttypes.h: No need to protect the declaration | |
244 | of the __strto*_internal and __wcsto*_internal members here. | |
245 | ||
497af0cb UD |
246 | * rt/mqueue.h: Change const to __const and add nonnull attributes. |
247 | ||
d17a8cf0 RM |
248 | 2007-08-02 Roland McGrath <roland@redhat.com> |
249 | ||
250 | * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links to | |
251 | $(inst_bindir)/getconf if possible. | |
252 | ||
253 | * posix/Makefile ($(objpfx)getconf.speclist): New target. | |
254 | (generated): Add it. | |
255 | ($(inst_libexecdir)/getconf): Use it. | |
256 | ||
0abf17de UD |
257 | 2007-08-01 Ulrich Drepper <drepper@redhat.com> |
258 | ||
259 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Using | |
260 | /proc is faster and sufficient. /sys is still needed for | |
261 | __get_nprocs_conf. | |
262 | ||
5e0923ab UD |
263 | 2007-08-01 Jakub Jelinek <jakub@redhat.com> |
264 | ||
265 | * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate | |
266 | syscall as __fallocate64. | |
267 | * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file. | |
268 | * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file. | |
269 | ||
1475e201 UD |
270 | 2007-07-30 Jakub Jelinek <jakub@redhat.com> |
271 | ||
272 | * stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_t | |
273 | value. | |
274 | ||
275 | * stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning | |
276 | if off_t is different rank from size_t. | |
277 | ||
278 | * sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program, | |
279 | uw_frame_state_for): Avoid type punning warnings. | |
280 | * sysdeps/generic/unwind-dw2-fde-glibc.c | |
281 | (_Unwind_IteratePhdrCallback): Likewise. | |
282 | * sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise. | |
283 | (binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes, | |
284 | get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char | |
285 | pointers. | |
286 | ||
e076bece UD |
287 | 2007-07-31 Ulrich Drepper <drepper@redhat.com> |
288 | ||
9506149a UD |
289 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): Count |
290 | total processors using sysfs. | |
291 | (__get_nprocs): Use sysfs to determine which processors are online. | |
e076bece | 292 | |
bbeaaa84 JJ |
293 | 2007-07-31 Jakub Jelinek <jakub@redhat.com> |
294 | ||
09881398 JJ |
295 | * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix |
296 | syscall arguments count. | |
297 | ||
bbeaaa84 JJ |
298 | * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests. |
299 | ||
087ef75f RM |
300 | 2007-07-30 Roland McGrath <roland@redhat.com> |
301 | ||
302 | * manual/libc.texinfo: Update copyrights, formatting magic, and | |
303 | @dircategory. From Karl Berry <karl@freefriends.org>. | |
304 | ||
44f08a6e UD |
305 | 2007-07-29 Ulrich Drepper <drepper@redhat.com> |
306 | ||
eafaae72 UD |
307 | [BZ #4860] |
308 | * io/Makefile (headers): Add bits/fcntl2.h. | |
309 | ||
c5705565 UD |
310 | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO_S): Optimize |
311 | using gcc builtin. | |
312 | (__CPU_EQUAL_S): Likewise. | |
313 | ||
44f08a6e UD |
314 | * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. |
315 | (tests): Add tst-cpuset. | |
316 | * posix/sched_cpualloc.c: New file. | |
317 | * posix/sched_cpufree.c: New file. | |
318 | * posix/tst-cpuset.c: New file. | |
319 | * posix/Versions: Export __sched_cpualloc and __sched_cpufree for | |
320 | GLIBC_2.7. | |
321 | * sysdeps/unix/sysv/linux/bits/sched.h: Define __CPU_*_S macros. | |
322 | * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S | |
323 | macros. Define CPU_*_S macros. | |
324 | ||
8f5e1400 UD |
325 | 2007-07-28 Ulrich Drepper <drepper@redhat.com> |
326 | ||
5b74caf6 UD |
327 | * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE |
328 | entry. | |
329 | ||
a26d01bb | 330 | [BZ #4858] |
8f5e1400 UD |
331 | * stdio-common/printf_fp.c (___printf_fp): Fix special case of |
332 | #.0g and value rounded to 1.0. | |
333 | * stdio-common/tfformat.c (sprint_doubles): Add two new tests. | |
334 | ||
085a4412 UD |
335 | 2007-07-26 Jakub Jelinek <jakub@redhat.com> |
336 | ||
cedb4109 UD |
337 | * locale/programs/ld-monetary.c (monetary_finish): Avoid range check |
338 | for int_frac_digits and frac_digits. | |
339 | ||
340 | * login/logout.c (logout): Avoid aliasing violation. | |
341 | * login/logwtmp.c (logwtmp): Likewise. | |
342 | ||
343 | * libio/genops.c (_IO_un_link): Avoid aliasing violation. | |
344 | ||
9d9febc7 UD |
345 | * nscd/selinux.c (preserve_capabilities): Initialize new_caps |
346 | to avoid warning. | |
347 | * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid | |
348 | warning. | |
349 | * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid | |
350 | warning. | |
351 | * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len | |
352 | to avoid warnings. | |
353 | ||
701666b7 UD |
354 | * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to |
355 | void **. | |
356 | * nss/nsswitch.h (service_user): Use void * type for KNOWN field. | |
357 | ||
358 | * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to | |
359 | char * to avoid warning. | |
360 | * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise. | |
361 | ||
362 | * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv. | |
363 | ||
364 | * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults, | |
365 | allocate_arrays): Cast second argument to charmap_find_symbol | |
366 | to char * to avoid warnings. | |
367 | ||
368 | * locale/programs/repertoire.c (repertoire_new_char): Change | |
369 | from_nr, to_nr and cnt to unsigned long, adjust printf format | |
370 | string. | |
371 | ||
372 | * locale/programs/ld-collate.c (insert_value, handle_ellipsis): | |
373 | Cast second argument to new_element to char * to avoid warnings. | |
374 | ||
375 | * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *. | |
376 | ||
377 | * intl/gettextP.h (struct loaded_domain): Change plural to const | |
378 | struct expression *. | |
379 | * intl/plural-eval.c (plural_eval): Change first argument to | |
380 | const struct expression *. | |
381 | * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first | |
382 | argument to const struct expression **. | |
383 | * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust | |
384 | prototypes. | |
385 | * intl/loadmsgcat (_nl_unload_domain): Cast away const | |
386 | in call to __gettext_free_exp. | |
387 | ||
388 | * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe | |
389 | unitialized wstring/wpattern var warnings. | |
390 | ||
391 | * posix/runtests.c (struct a_test): Make data field const char *. | |
392 | ||
393 | * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf | |
394 | vars if not LDBL_MANT_DIG >= 106. | |
395 | ||
396 | * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized. | |
397 | ||
398 | * stdio-common/vfprintf.c (vfprintf): Cast first arugment to | |
399 | __find_specmb to avoid warning. | |
400 | ||
401 | * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings. | |
402 | ||
403 | * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts | |
404 | to avoid warnings. | |
405 | ||
406 | * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to | |
407 | initializer. | |
408 | ||
409 | * sysdeps/unix/clock_gettime.c (clock_gettime): Only define | |
410 | tv var when it will be actually used. | |
411 | ||
412 | * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void | |
413 | to avoid warnings. | |
414 | ||
085a4412 UD |
415 | * iconvdata/gbk.c (BODY): Make buf and cp char instead of unsigned |
416 | char array resp. pointer. | |
417 | * iconvdata/iso-2022-kr.c (BODY): Make buf unsigned char instead of | |
418 | char array. | |
419 | * iconvdata/cns11643.h (cns11643_to_ucs4): Change first argument | |
420 | to const unsigned char **. | |
421 | (ucs4_to_cns11643): Change second argument to unsigned char *. | |
422 | * iconvdata/euc-tw.c (BODY): Change endp type to | |
423 | const unsigned char *. | |
424 | * iconvdata/iso-ir-165.h (ucs4_to_isoir165): Change second argument | |
425 | to unsigned char *. | |
426 | * iconvdata/ibm1008_420.c (LOOP_NEED_FLAGS): Don't define. | |
427 | * iconvdata/iso-2022-cn.c (BODY): Change buf to unsigned char array. | |
428 | * iconvdata/iso-2022-cn-ext.c (BODY): Change buf, tmpbuf, tmp | |
429 | types to unsigned char pointers/arrays instead of char. | |
430 | * iconvdata/jis0201.h (ucs4_to_jisx0201): Change second argument | |
431 | to unsigned char *. | |
432 | * iconvdata/jis0208.h (ucs4_to_jisx0208): Likewise. | |
433 | * iconvdata/jis0212.h: Include assert.h. | |
434 | (ucs4_to_jisx0212): Change second argument to unsigned char *. | |
435 | assert that if cp[0] is not '\0', cp[1] is not '\0' either instead | |
436 | of trying to handle that. | |
437 | * iconvdata/euc-kr.c (euckr_from_ucs4): Initialize also cp[1] to | |
438 | shut up a warning. | |
439 | * iconvdata/euc-jp-ms.c (from_ucs4_lat1, from_ucs4_greek, | |
440 | from_ucs4_cjk, from_ucs4_cjkcpt, from_ucs4_extra): Change type to | |
441 | two dimensional const unsigned char arrays. | |
442 | (BODY): Cast "" to (const unsigned char *) for assignment to cp. | |
443 | Initialize endp to inptr to shut up a warning. | |
444 | ||
fa69dc9c UD |
445 | 2007-07-20 Jakub Jelinek <jakub@redhat.com> |
446 | ||
ae1ad762 UD |
447 | [BZ #4772] |
448 | * time/strptime_l.c (__strptime_internal): Silently ignore | |
449 | strftime modifiers and field width in recursive calls. | |
450 | ||
fa69dc9c UD |
451 | * include/time.h (enum ptime_locale_status): Remove. |
452 | (__strptime_internal): Remove decided and era_cnt arguments, | |
453 | add statep argument. | |
454 | * time/strptime_l.c (__strptime_internal): Remove decided | |
455 | and era_cnt arguments, add statep argument. Don't recompute | |
456 | any fields in recursive calls, only update caller's tm | |
457 | and state, if recursive call fails, don't change tm nor | |
458 | any state. | |
459 | (get_alt_number): Adjust. | |
460 | (recursive): Adjust caller. | |
461 | (strptime): Likewise. | |
462 | * time/strptime.c (strptime): Likewise. | |
463 | ||
7b503bcc UD |
464 | 2007-07-19 Jakub Jelinek <jakub@redhat.com> |
465 | ||
466 | * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code. | |
467 | * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV | |
468 | if from and to charsets are the same. | |
469 | * iconv/gconv_db.c (__gconv_find_transform): Likewise. | |
470 | * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open | |
471 | returns __GCONV_NOCONV, but not for __GCONV_NULCONV. | |
472 | ||
473 | 2007-07-17 Jakub Jelinek <jakub@redhat.com> | |
474 | ||
475 | * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. | |
476 | Don't define wint_t when __need_mbstate_t unless it | |
477 | is necessary. | |
478 | (__mbstate_t): Use __WINT_TYPE__ rather than wint_t | |
479 | in the typedef if possible. | |
480 | * wctype/wctype.h (wint_t): Define by including | |
481 | wchar.h with __need_wint_t instead of including stddef.h | |
482 | with __need_wint_t and as fallback definining it ourselves. | |
483 | * iconv/gconv.h (__need_wint_t): Define before including | |
484 | wchar.h. | |
485 | * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC | |
486 | or _GLIBCPP_USE_WCHAR_T. | |
487 | (__need_wchar_t): Don't define | |
488 | if not _LIBC or _GLIBCPP_USE_WCHAR_T. | |
489 | (__need_wint_t): Don't define before including stddef.h, | |
490 | define before including wchar.h only if _LIBC or | |
491 | _GLIBCPP_USE_WCHAR_T. | |
492 | (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. | |
493 | * sysdeps/mach/hurd/_G_config.h: Likewise. | |
494 | * sysdeps/generic/_G_config.h: Likewise. | |
495 | * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only | |
496 | prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. | |
497 | (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define | |
498 | if _LIBC or _GLIBCPP_USE_WCHAR_T. | |
499 | ||
a95a608f UD |
500 | 2007-07-28 Ulrich Drepper <drepper@redhat.com> |
501 | ||
502 | * sysdeps/posix/posix_fallocate64.c: Undefine | |
503 | __posix_fallocate64_l64 before alias handling. | |
504 | * sysdeps/unix/sysv/linux/posix_fallocate.c: New file. | |
505 | * sysdeps/unix/sysv/linux/posix_fallocate64.c: New file. | |
506 | * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: New file. | |
507 | * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: New file. | |
508 | ||
509 | * io/tst-posix_fallocate.c: Include <fcntl.h>. | |
510 | ||
511 | 2007-07-23 Jakub Jelinek <jakub@redhat.com> | |
512 | ||
513 | * locale/programs/ld-collate.c (atwc): New variable. | |
514 | (add_to_tablewc): New toplevel function, moved from collate_output. | |
515 | (collate_output): Remove add_to_tablewc nested function. | |
516 | ||
517 | * iconv/iconvconfig.c (hash_table, hash_size): New toplevel vars. | |
518 | (name_insert): New function. | |
519 | (write_output): Remove hash_table and hash_size vars and name_insert | |
520 | nested function. | |
521 | ||
80d4c3b0 RM |
522 | 2007-07-24 Roland McGrath <roland@redhat.com> |
523 | ||
524 | * Makerules (install-others-programs-nosubdir): New target. | |
525 | (install-no-libc.a-nosubdir): Depend on it. | |
526 | ||
527 | * iconv/Makefile (install-others-programs): Set this instead of | |
528 | install-others. | |
529 | * login/Makefile (install-others-programs): Likewise. | |
530 | * posix/Makefile (install-others-programs): Likewise. | |
531 | ||
532 | * Makerules (install-no-libc.a-nosubdir): Clean up conditional | |
533 | dependencies. | |
534 | ||
c1bf9f14 UD |
535 | 2007-07-23 Ulrich Drepper <drepper@redhat.com> |
536 | ||
537 | * io/Makefile (tests): Add tst-posix_fallocate. | |
538 | * io/tst-posix_fallocate.c: New file. | |
539 | ||
540 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
541 | __ASSUME_FALLOCATE. | |
542 | ||
2320270c RM |
543 | 2007-07-22 Roland McGrath <roland@frob.com> |
544 | ||
3dadfa7e RM |
545 | * hurd/getdport.c: Add missing copyright year update. |
546 | ||
2320270c RM |
547 | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. |
548 | * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC. | |
549 | ||
cc783763 UD |
550 | 2007-07-22 Ulrich Drepper <drepper@redhat.com> |
551 | ||
c942388d UD |
552 | * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible. |
553 | ||
cc783763 UD |
554 | * libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and set |
555 | O_CLOEXEC is needed. | |
556 | * nis/nss_compat/compat-grp.c: Use 'e' flag when opening file. | |
557 | Avoid additional fcntl to set O_CLOEXEC if not needed. | |
558 | * nis/nss_compat/compat-initgroups.c: Likewise. | |
559 | * nis/nss_compat/compat-pwd.c: Likewise. | |
560 | * nis/nss_compat/compat-spwd.c: Likewise. | |
561 | ||
610903b0 RM |
562 | 2007-07-21 Samuel Thibault <samuel.thibault@ens-lyon.org> |
563 | ||
3dadfa7e | 564 | [BZ #3665] |
5c3d7832 RM |
565 | * manual/errno.texi: Change ECANCELED value to 119. |
566 | ||
3dadfa7e | 567 | [BZ #4610] |
610903b0 RM |
568 | * mach/lock-intern.h: Include <sys/cdefs.h>. |
569 | ||
3dadfa7e | 570 | [BZ #4178] |
610903b0 RM |
571 | * sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before |
572 | reading A. | |
573 | ||
3dadfa7e RM |
574 | [BZ #4126] |
575 | * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias | |
576 | to __sigsuspend. | |
610903b0 RM |
577 | |
578 | * sysdeps/mach/i386/sysdep.h: Include <dl-sysdep.h> and <tls.h>. | |
579 | ||
580 | 2006-06-13 Thomas Schwinge <tschwinge@gnu.org> | |
581 | ||
582 | * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to | |
583 | `__ASSEMBLER__'. | |
584 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
585 | ||
acf79996 UD |
586 | 2007-07-21 Ulrich Drepper <drepper@redhat.com> |
587 | ||
dde0763a UD |
588 | * nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC for |
589 | descriptor received from nscd. | |
590 | ||
acf79996 UD |
591 | * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_CMSG_CLOEXEC. |
592 | ||
593 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_CLOEXEC. | |
594 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
595 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
596 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
597 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
598 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
599 | ||
00d26929 JJ |
600 | 2007-07-20 Jakub Jelinek <jakub@redhat.com> |
601 | ||
403445d7 JJ |
602 | [BZ #4816] |
603 | * manual/signal.texi (Non-atomic Example): Make memory var volatile. | |
604 | ||
00d26929 JJ |
605 | [BZ #4813] |
606 | * login/forkpty.c (forkpty): Close master and slave fds on | |
607 | fork failure. Patch by | |
608 | Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>. | |
609 | ||
087722b8 UD |
610 | 2007-07-18 Jakub Jelinek <jakub@redhat.com> |
611 | ||
612 | * include/features.h (__USE_ISOC95): New define. | |
613 | * wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf, | |
614 | swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even | |
615 | for -std=iso9899:199409. | |
616 | * CONFORMANCE: Remove comments about unsupported AMD1. | |
617 | ||
b042b023 UD |
618 | 2007-07-17 Jakub Jelinek <jakub@redhat.com> |
619 | ||
620 | * sysdeps/ia64/sched_cpucount.c: New file. | |
621 | * sysdeps/powerpc/sched_cpucount.c: New file. | |
622 | ||
8381e467 UD |
623 | * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add |
624 | __BEGIN_DECLS/__END_DECLS around the prototype. | |
625 | * bits/sched.h (__sched_cpucount): Likewise. Make second argument | |
626 | pointer to const cpu_set_t. | |
627 | ||
50e16f85 UD |
628 | * bits/types.h: Don't include stddef.h, don't define __need_size_t. |
629 | * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define | |
630 | __need_size_t and include stddef.h. | |
631 | * sysvipc/sys/msg.h: Likewise. | |
632 | * posix/sched.h: Likewise. | |
633 | * hurd/hurd/signal.h (__need_size_t): Define. | |
634 | ||
635 | * CONFORMANCE: ctype.h and wctype.h no longer define size_t, | |
636 | neither does signal.h in pedantic ISO C namespaces. stdio.h | |
637 | no longer defines wint_t or wchar_t. | |
638 | ||
b257c726 UD |
639 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. |
640 | * debug/vfwprintf_chk.c (__vfwprintf_chk): Use | |
641 | _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock. | |
642 | * debug/vprintf_chk.c (__vprintf_chk): Likewise. | |
643 | * debug/vwprintf_chk.c (__vwprintf_chk): Likewise. | |
644 | * debug/vfprintf_chk.c (__vfprintf_chk): Likewise. | |
645 | * debug/fwprintf_chk.c (__fwprintf_chk): Likewise. | |
646 | * debug/printf_chk.c (__printf_chk): Likewise. | |
647 | * debug/fprintf_chk.c (__fprintf_chk): Likewise. | |
648 | * debug/wprintf_chk.c (__wprintf_chk): Likewise. | |
649 | ||
650 | * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): | |
651 | Define. | |
652 | ||
d5078b9f UD |
653 | * bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define. |
654 | * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS. | |
655 | ||
1c3e748e UD |
656 | 2007-07-16 Jakub Jelinek <jakub@redhat.com> |
657 | ||
658 | [BZ #4792] | |
659 | * stdlib/stdlib.h (realloc): Remove __attribute_malloc__. | |
660 | * malloc/malloc.h (realloc): Likewise. | |
661 | ||
4e425301 UD |
662 | * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end |
663 | if one of proc_file_chain streams has that fileno. | |
664 | * stdio-common/Makefile (tests): Add tst-popen2. | |
665 | * stdio-common/tst-popen2.c: New test. | |
666 | ||
2e2efe65 RM |
667 | 2007-07-14 Jakub Jelinek <jakub@redhat.com> |
668 | ||
669 | * elf/ldconfig.c: Allow GPLv2 or any later version. | |
670 | * elf/readlib.c: Likewise. | |
671 | * elf/chroot_canon.c: Likewise. | |
672 | * elf/cache.c: Likewise. | |
673 | * nscd/mem.c: Likewise. | |
674 | * nscd/getpwuid_r.c: Likewise. | |
675 | * nscd/grpcache.c: Likewise. | |
676 | * nscd/aicache.c: Likewise. | |
677 | * nscd/getsrvbynm_r.c: Likewise. | |
678 | * nscd/nscd.c: Likewise. | |
679 | * nscd/servicescache.c: Likewise. | |
680 | * nscd/getsrvbypt_r.c: Likewise. | |
681 | * nscd/initgrcache.c: Likewise. | |
682 | * nscd/gethstbyad_r.c: Likewise. | |
683 | * nscd/gethstbynm2_r.c: Likewise. | |
684 | * nscd/getgrnam_r.c: Likewise. | |
685 | * nscd/nscd_setup_thread.c: Likewise. | |
686 | * nscd/getpwnam_r.c: Likewise. | |
687 | * nscd/gai.c: Likewise. | |
688 | * nscd/connections.c: Likewise. | |
689 | * nscd/dbg_log.c: Likewise. | |
690 | * nscd/cache.c: Likewise. | |
691 | * nscd/hstcache.c: Likewise. | |
692 | * nscd/nscd_conf.c: Likewise. | |
693 | * nscd/getgrgid_r.c: Likewise. | |
694 | * nscd/pwdcache.c: Likewise. | |
695 | * catgets/gencat.c: Likewise. | |
696 | * locale/programs/linereader.h: Likewise. | |
697 | * locale/programs/locarchive.c: Likewise. | |
698 | * locale/programs/ld-paper.c: Likewise. | |
699 | * locale/programs/locfile-kw.h: Likewise. | |
700 | * locale/programs/ld-address.c: Likewise. | |
701 | * locale/programs/xmalloc.c: Likewise. | |
702 | * locale/programs/ld-time.c: Likewise. | |
703 | * locale/programs/localedef.c: Likewise. | |
704 | * locale/programs/simple-hash.c: Likewise. | |
705 | * locale/programs/xstrdup.c: Likewise. | |
706 | * locale/programs/ld-numeric.c: Likewise. | |
707 | * locale/programs/locfile-kw.gperf: Likewise. | |
708 | * locale/programs/ld-collate.c: Likewise. | |
709 | * locale/programs/charmap-kw.gperf: Likewise. | |
710 | * locale/programs/charmap.h: Likewise. | |
711 | * locale/programs/charmap-kw.h: Likewise. | |
712 | * locale/programs/config.h: Likewise. | |
713 | * locale/programs/locfile.c: Likewise. | |
714 | * locale/programs/ld-ctype.c: Likewise. | |
715 | * locale/programs/charmap.c: Likewise. | |
716 | * locale/programs/ld-messages.c: Likewise. | |
717 | * locale/programs/repertoire.h: Likewise. | |
718 | * locale/programs/locale.c: Likewise. | |
719 | * locale/programs/ld-name.c: Likewise. | |
720 | * locale/programs/linereader.c: Likewise. | |
721 | * locale/programs/locfile.h: Likewise. | |
722 | * locale/programs/3level.h: Likewise. | |
723 | * locale/programs/ld-monetary.c: Likewise. | |
724 | * locale/programs/ld-measurement.c: Likewise. | |
725 | * locale/programs/charmap-dir.c: Likewise. | |
726 | * locale/programs/ld-identification.c: Likewise. | |
727 | * locale/programs/localedef.h: Likewise. | |
728 | * locale/programs/charmap-dir.h: Likewise. | |
729 | * locale/programs/repertoire.c: Likewise. | |
730 | * locale/programs/simple-hash.h: Likewise. | |
731 | * locale/programs/ld-telephone.c: Likewise. | |
732 | * locale/programs/locale-spec.c: Likewise. | |
733 | * locale/programs/locfile-token.h: Likewise. | |
734 | * posix/getconf.c: Likewise. | |
735 | * iconv/dummy-repertoire.c: Likewise. | |
736 | * iconv/iconv_charmap.c: Likewise. | |
737 | * iconv/iconvconfig.c: Likewise. | |
738 | * iconv/iconv_prog.c: Likewise. | |
739 | * malloc/memusagestat.c: Likewise. | |
740 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. | |
741 | ||
84c23a3d RM |
742 | 2007-07-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
743 | ||
744 | * sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers. | |
745 | * sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise. | |
746 | * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity | |
747 | check for the first argument. | |
748 | ||
1c298d08 UD |
749 | 2007-07-12 Jakub Jelinek <jakub@redhat.com> |
750 | ||
751 | [BZ #4775] | |
752 | * math/tgmath.h (__tgmath_real_type_sub): Formatting. | |
753 | (__tgmath_real_type): Fix if expr is const int or other const | |
754 | qualified integral type. | |
755 | (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement | |
756 | expressions and handle const qualified arguments. | |
757 | (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG, | |
758 | __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. | |
759 | (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using | |
760 | statement expressions. | |
761 | (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, | |
762 | __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise. | |
763 | (__TGMATH_UNARY_IMAG): Define. | |
764 | (conj, cproj): Use __TGMATH_UNARY_IMAG macro. | |
765 | * math/Makefile (tests): Add test-tgmath2. | |
766 | (CFLAGS-test-tgmath2.c): Add. | |
767 | * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble, | |
768 | count_cfloat, count_cldouble): New variables. | |
769 | (NCCALLS): Define. | |
770 | (main): Check number of complex calls as well. | |
771 | (F(compile_test)): Add complex tests and tests with const qualified | |
772 | arguments. | |
773 | (y, z, ccount): Define. | |
774 | (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh), | |
775 | F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog), | |
776 | F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj), | |
777 | F(cproj)): New functions. | |
778 | * math/test-tgmath2.c: New test. | |
779 | ||
780 | 2007-07-11 Jakub Jelinek <jakub@redhat.com> | |
781 | ||
782 | [BZ #4776] | |
783 | * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH, | |
784 | RPATH etc. as "/" rather than "", don't segfault on empty paths, | |
785 | instead output ".". | |
786 | * dlfcn/Makefile (distribute): Add glreflib3.c. | |
787 | (module-names): Add glreflib3. | |
788 | ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than | |
789 | glreflib1.so. | |
790 | (LDFLAGS_glreflib3.so): New. | |
791 | * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of | |
792 | glreflib1.so. | |
793 | * dlfcn/glreflib3.c: New file. | |
794 | ||
795 | * intl/finddomain.c (_nl_find_domain): If _nl_explode_name | |
796 | returned -1, return NULL. | |
797 | * intl/explodename.c (_nl_explode_name): Return -1 if | |
798 | _nl_normalize_codeset failed. | |
799 | ||
a88f47a7 UD |
800 | 2007-07-07 Steven Munroe <sjmunroe@us.ibm.com> |
801 | ||
802 | * sysdeps/powerpc/powerpc32/power6/memset.S: Update comments. | |
803 | Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops | |
804 | and avoid branch misspredicts for > 31 bytes memset case. | |
805 | * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. | |
806 | Remove toc ref to __cache_line_size. | |
807 | ||
808 | * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4 | |
809 | to get ISA-V2.0 branch hints. | |
810 | * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise | |
811 | * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise | |
812 | * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. | |
813 | * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. | |
814 | * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. | |
815 | * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. | |
816 | Remove toc ref to __cache_line_size. | |
817 | ||
818 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: | |
819 | Include math_ldbl_opt.h. | |
820 | ||
f98c2d06 UD |
821 | 2007-07-10 Ulrich Drepper <drepper@redhat.com> |
822 | ||
823 | [BZ #4773] | |
824 | * time/strptime_l.c (__strptime_internal): Implement greedy | |
825 | matching of weekday and month names. | |
826 | ||
cec5991f RM |
827 | 2007-07-09 Roland McGrath <roland@redhat.com> |
828 | ||
829 | * elf/elf.h (NT_GNU_ABI_TAG): New macro. | |
830 | (ELF_NOTE_ABI): Use it. | |
831 | (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros. | |
832 | ||
8c1dcd26 UD |
833 | 2007-07-09 Ulrich Drepper <drepper@redhat.com> |
834 | ||
835 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries. | |
836 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. | |
837 | ||
c2c7bd3f UD |
838 | 2007-07-07 Ulrich Drepper <drepper@redhat.com> |
839 | ||
840 | [BZ #4745] | |
0923a2c8 UD |
841 | * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF |
842 | in loop to look for conversion specifier to avoid testing of | |
843 | wrong errno value. | |
844 | * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a. | |
c2c7bd3f | 845 | * stdio-common/bug18.c: New file. |
0923a2c8 UD |
846 | * stdio-common/bug18a.c: New file. |
847 | * stdio-common/bug19.c: New file. | |
848 | * stdio-common/bug19a.c: New file. | |
c2c7bd3f | 849 | |
4facf4af RM |
850 | 2007-07-05 Mike Frysinger <vapier@gentoo.org> |
851 | ||
852 | * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when | |
853 | running awk script. | |
854 | ||
1311e86e UD |
855 | 2007-07-01 Jakub Jelinek <jakub@redhat.com> |
856 | ||
857 | * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check. | |
858 | * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). | |
859 | Return NULL if mmap failed instead of asserting it does not. | |
860 | (calloc): Check for integer overflow. | |
861 | ||
862 | * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger | |
863 | than LONG_MAX / 10. | |
864 | ||
57c9179c UD |
865 | 2007-07-03 Jakub Jelinek <jakub@redhat.com> |
866 | ||
867 | [BZ #4702] | |
868 | * nis/nss-default.c: Include errno.h. | |
869 | (init): Preserve errno. | |
870 | ||
d0b283a8 UD |
871 | 2007-07-02 Ulrich Drepper <drepper@redhat.com> |
872 | ||
873 | * sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment. | |
874 | ||
34e0bbaf UD |
875 | 2007-06-30 Ulrich Drepper <drepper@redhat.com> |
876 | ||
877 | * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC. | |
878 | ||
879 | 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
880 | ||
881 | * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV. | |
882 | ||
34e0bbaf | 883 | 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> |
33516494 UD |
884 | |
885 | * sysdeps/s390/dl-procinfo.c: New file. | |
886 | * sysdeps/s390/dl-procinfo.h: New file. | |
887 | * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file. | |
888 | ||
0e508a6e UD |
889 | 2007-06-29 Jakub Jelinek <jakub@redhat.com> |
890 | ||
891 | * elf/dl-load.c (open_verify): Find .note.ABI-tag notes even | |
892 | in PT_NOTE segments with multiple notes. | |
893 | * elf/readelflib.c (process_elf_file): Likewise. | |
894 | ||
e22c61fb UD |
895 | 2007-06-22 Ulrich Drepper <drepper@redhat.com> |
896 | ||
897 | * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more | |
898 | ISO C compliant. | |
899 | ||
e4eb675d UD |
900 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
901 | ||
902 | * elf/dl-close.c (free_mem): Free _dl_scope_free_list. | |
903 | ||
904 | 2007-06-13 Jakub Jelinek <jakub@redhat.com> | |
905 | ||
906 | * include/link.h: Don't include rtld-lowlevel.h. | |
907 | (struct link_map): Remove l_scope_lock. | |
908 | * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h. | |
909 | (_dl_scope_free_list): New field (variable) in _rtld_global. | |
910 | (DL_LOOKUP_SCOPE_LOCK): Remove. | |
911 | (_dl_scope_free): New prototype. | |
912 | * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock. | |
913 | Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x. | |
914 | (_dl_profile_fixup): Likewise. | |
915 | * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x | |
916 | whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and | |
917 | THREAD_GSCOPE_RESET_FLAG around it. | |
918 | * elf/dl-close.c (_dl_close_worker): Don't use | |
919 | __rtld_mrlock_{change,done}. Call _dl_scope_free on the old | |
920 | scope. Make sure THREAD_GSCOPE_WAIT () happens if any old | |
921 | scopes were queued or if l_scope_mem has been abandoned. | |
922 | * elf/dl-open.c (_dl_scope_free): New function. | |
923 | (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}. | |
924 | * elf/dl-support.c (_dl_scope_free_list): New variable. | |
925 | * elf/dl-lookup.c (add_dependency): Remove flags argument. | |
926 | Remove DL_LOOKUP_SCOPE_LOCK handling. | |
927 | (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK | |
928 | handling. | |
929 | * elf/dl-object.c (_dl_new_object): Don't use | |
930 | __rtld_mrlock_initialize. | |
931 | ||
9be09e06 UD |
932 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
933 | ||
934 | * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements | |
935 | to fill in holes | |
936 | (rtld_global_ro): Likewise. | |
937 | ||
938 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> | |
939 | ||
940 | * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. | |
941 | Move PT_LOAD checking to... | |
942 | (_dl_addr_inside_object): ... here, new function. | |
943 | * elf/dl-sym.c (do_sym): If not l_contiguous, | |
944 | call _dl_addr_inside_object. | |
945 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. | |
946 | * dlfcn/dlinfo.c (dlinfo_doit): Likewise. | |
947 | * elf/dl-open.c (dl_open_worker): Likewise. | |
948 | (_dl_addr_inside_object): New function if IS_IN_rtld. | |
949 | * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no | |
950 | holes are present or are PROT_NONE protected. | |
951 | * include/link.h (struct link_map): Add l_contiguous field. | |
952 | * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype. | |
953 | ||
ae1ad3ae UD |
954 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
955 | Tomas Janousek <tjanouse@redhat.com> | |
956 | Ulrich Drepper <drepper@redhat.com> | |
957 | ||
958 | [BZ #4647] | |
959 | * resolv/res_send.c (send_dg): Remove socket_pf. Use ipv6_unavail | |
960 | member in __res_state, only convaddr4to6 if nssocks[ns] is a PF_INET6 | |
961 | socket. | |
962 | * resolv/resolv.h (__res_state): Add ipv6_unavail member. Make | |
963 | unused member a bitmap. | |
964 | * resolv/res_init.c (__res_vinit): Reset ipv6_unavail if IPv6 | |
965 | servers are configured. | |
966 | ||
3abee0b7 UD |
967 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
968 | ||
969 | * elf/rtld.c (dl_main): Don't call init_tls more than once. | |
970 | ||
89074592 UD |
971 | 2007-06-17 Andreas Schwab <schwab@suse.de> |
972 | ||
973 | * sysdeps/generic/initfini.c: Tell gcc about the nonstandard sections. | |
974 | ||
b26e274d AJ |
975 | 2007-06-16 Andreas Jaeger <aj@suse.de> |
976 | ||
977 | [BZ #4125] | |
978 | * sysdeps/unix/sysv/linux/sys/ptrace.h | |
979 | (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, | |
980 | PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, | |
89074592 | 981 | PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT, PTRACE_O_MASK, |
b26e274d AJ |
982 | PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE, |
983 | PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT): | |
984 | Define. | |
985 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. | |
986 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. | |
987 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. | |
988 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. | |
989 | ||
e0d4a4e5 UD |
990 | 2007-06-16 Ulrich Drepper <drepper@redhat.com> |
991 | ||
992 | [BZ #4599] | |
993 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): When | |
994 | determining whether there are IPv4/IPv6 addresses, ignore loopback | |
995 | addresses. | |
996 | ||
ae8e81f5 JJ |
997 | 2007-06-14 Uros Bizjak <ubizjak@gmail.com> |
998 | ||
999 | * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. | |
1000 | * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int | |
1001 | as the return type. Change type of "r" variable to CMPtype. | |
1002 | * soft-fp/eqsf2.c (__eqsf2): Likewise. | |
1003 | * soft-fp/eqtf2.c (__eqtf2): Likewise. | |
1004 | * soft-fp/gedf2.c (__gedf2): Likewise. | |
1005 | * soft-fp/gesf2.c (__gesf2): Likewise. | |
1006 | * soft-fp/getf2.c (__getf2): Likewise. | |
1007 | * soft-fp/ledf2.c (__ledf2): Likewise. | |
1008 | * soft-fp/lesf2.c (__lesf2): Likewise. | |
1009 | * soft-fp/letf2.c (__letf2): Likewise. | |
1010 | * soft-fp/unorddf2 (__unorddf2): Likewise. | |
1011 | * soft-fp/unordsf2 (__unordsf2): Likewise. | |
1012 | * soft-fp/unordtf2 (__unordtf2): Likewise. | |
1013 | ||
90cd2413 UD |
1014 | 2007-06-09 Ulrich Drepper <drepper@redhat.com> |
1015 | ||
1016 | * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and | |
1017 | make sure gcc doesn't mess around with this. | |
1018 | ||
3c457089 UD |
1019 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> |
1020 | ||
1021 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist. | |
1022 | ||
e8b6b64d UD |
1023 | 2007-06-08 Jakub Jelinek <jakub@redhat.com> |
1024 | ||
1025 | * elf/dl-close.c (_dl_close_worker): Remove all to be removed | |
1026 | libraries from the global scope at once and call THREAD_GSCOPE_WAIT | |
1027 | at most once per _dl_close_worker. | |
1028 | ||
36dffb22 UD |
1029 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> |
1030 | ||
755db8c5 UD |
1031 | * sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of |
1032 | __sched_cpucount as const. | |
1033 | * posix/sched_cpucount.c: Adjust. | |
1034 | ||
36dffb22 UD |
1035 | * posix/sched_cpucount.c (__sched_cpucount): Allow using special |
1036 | instruction for counting bits. | |
1037 | * sysdeps/x86_64/sched_cpucount.c: New file. | |
1038 | ||
26f56c1c UD |
1039 | 2007-06-07 Ulrich Drepper <drepper@redhat.com> |
1040 | ||
1041 | * configure.in: Avoid variable named BASH. | |
e967d385 | 1042 | * config.make.in: Likewise. |
26f56c1c | 1043 | Patch in part by Mike Frysinger. |
835abc5c | 1044 | |
26f56c1c | 1045 | 2007-06-06 Jakub Jelinek <jakub@redhat.com> |
47779a7d JJ |
1046 | |
1047 | [BZ #4586] | |
835abc5c UD |
1048 | * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat |
1049 | pseudo-zeros as zero. | |
1050 | * sysdeps/x86_64/ldbl2mpn.c: New file. | |
1051 | * sysdeps/ia64/ldbl2mpn.c: New file. | |
1052 | ||
7e3706ea UD |
1053 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> |
1054 | ||
1055 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove | |
1056 | unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf. | |
1057 | Remove unreachable code at the end. | |
1058 | ||
1059 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
1060 | ||
1061 | * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of | |
1062 | ldbl-128ibm in comment. | |
1063 | (fpclassifyl): Correct classification of denormals. | |
1064 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct | |
1065 | return value for MIN denormal. Rewrite using long double math too | |
1066 | correctly handle denormals and canonicalize the results. | |
1067 | ||
1068 | 2007-06-05 Jakub Jelinek <jakub@redhat.com> | |
1069 | ||
1070 | * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c | |
1071 | (__mpn_construct_long_double): Fix conversion where result ought | |
1072 | to be smaller than __LDBL_MIN__, or the low double should be | |
1073 | denormal. Fix decision where to negate low double - honor round | |
1074 | to even rules. | |
1075 | * stdio-common/tst-sprintf2.c: Include string.h. | |
1076 | (COMPARE_LDBL): Define. | |
1077 | (TEST): Also test whether a string hexadecimal float representation | |
1078 | can be parsed back to the number. | |
1079 | (main): Add a couple of further tests. | |
1080 | ||
43b76828 UD |
1081 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> |
1082 | ||
1083 | * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c | |
1084 | (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double | |
1085 | is non-zero, but smaller than 2 * __DBL_MIN__. | |
1086 | * stdio-common/tst-sprintf2.c: New test. | |
1087 | * stdio-common/Makefile (tests): Add tst-sprintf2. | |
1088 | ||
1089 | * math/test-misc.c (main): Don't run last batch of tests with | |
1090 | IBM long double format. | |
1091 | ||
04067002 UD |
1092 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> |
1093 | ||
1094 | * sysdeps/powerpc/powerpc32/970/fpu/Implies: New file. | |
1095 | * sysdeps/powerpc/powerpc32/power5/fpu/Implies: New file. | |
1096 | * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: New file. | |
1097 | * sysdeps/powerpc/powerpc32/power6/fpu/Implies: New file. | |
1098 | * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. | |
1099 | * sysdeps/powerpc/powerpc64/970/fpu/Implies: New file. | |
1100 | * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New file. | |
1101 | * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New file. | |
1102 | * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New file. | |
1103 | * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. | |
1104 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: New file. | |
1105 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: | |
1106 | New file. | |
1107 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: | |
1108 | New file. | |
1109 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: | |
1110 | New file. | |
1111 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: | |
1112 | New file. | |
1113 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: | |
1114 | New file. | |
1115 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: New file. | |
1116 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: | |
1117 | New file. | |
1118 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: | |
1119 | New file. | |
1120 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: | |
1121 | New file. | |
1122 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: | |
1123 | New file. | |
1124 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: | |
1125 | New file. | |
1126 | ||
1127 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> | |
1128 | ||
1129 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Move. | |
1130 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: To here. | |
1131 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: Move. | |
1132 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: To here. | |
1133 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: Move. | |
1134 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: To here. | |
1135 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: Move. | |
1136 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: To here. | |
1137 | ||
1138 | 2007-05-22 Steven Munroe <sjmunroe@us.ibm.com> | |
1139 | ||
1140 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S | |
1141 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
1142 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S | |
1143 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
1144 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S | |
1145 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
1146 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S | |
1147 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
1148 | ||
1149 | 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> | |
1150 | ||
1151 | * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: New file. | |
1152 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: New file. | |
1153 | * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: New file. | |
1154 | * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: New file. | |
1155 | ||
1156 | 2007-03-15 Steven Munroe <sjmunroe@us.ibm.com> | |
1157 | ||
1158 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S | |
1159 | [LONG_DOUBLE_COMPAT]: Add compat_symbol for llrintl@@GLIBC_2_1. | |
1160 | ||
1161 | 2006-02-13 Steven Munroe <sjmunroe@us.ibm.com> | |
1162 | ||
1163 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: New File | |
1164 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: New File | |
1165 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: New File | |
1166 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: New File | |
1167 | ||
1168 | 2006-10-20 Steven Munroe <sjmunroe@us.ibm.com> | |
1169 | ||
1170 | * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file. | |
1171 | * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: New file. | |
1172 | ||
1173 | 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> | |
1174 | ||
1175 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: New file. | |
1176 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: New file. | |
1177 | ||
1178 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: Moved. | |
1179 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: Likewise. | |
1180 | * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: To here. | |
1181 | * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. | |
1182 | ||
1183 | 2006-09-29 Steven Munroe <sjmunroe@us.ibm.com> | |
1184 | ||
1185 | * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: New file. | |
1186 | * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: New file. | |
1187 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: New file. | |
1188 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: New file. | |
1189 | ||
1190 | 2006-09-28 Steven Munroe <sjmunroe@us.ibm.com> | |
1191 | ||
1192 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: New file. | |
1193 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: New file. | |
1194 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: New file. | |
1195 | * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. | |
1196 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: New file. | |
1197 | * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. | |
1198 | ||
1199 | 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> | |
1200 | ||
1201 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: New file. | |
1202 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: New file. | |
1203 | * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: New file. | |
1204 | * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: New file. | |
1205 | ||
1206 | 2006-06-15 Steven Munroe <sjmunroe@us.ibm.com> | |
1207 | ||
1208 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: New file. | |
1209 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: New file. | |
1210 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: New file. | |
1211 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: New file. | |
1212 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: New file. | |
1213 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: New file. | |
1214 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: New file. | |
1215 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: New file. | |
1216 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: New file. | |
1217 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: New file. | |
1218 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: New file. | |
1219 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: New file. | |
1220 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: New file. | |
1221 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: New file. | |
1222 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: New file. | |
1223 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: New file. | |
1224 | ||
1225 | 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> | |
1226 | ||
1227 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: New file. | |
1228 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: New file. | |
1229 | ||
1230 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
1231 | ||
1232 | * sysdeps/powerpc/powerpc32/power6/memset.S: New file. | |
1233 | * sysdeps/powerpc/powerpc64/power6/memset.S: New file. | |
1234 | ||
1235 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> | |
1236 | ||
1237 | * sysdeps/powerpc/powerpc32/970/Implies: New file. | |
1238 | * sysdeps/powerpc/powerpc32/power5/Implies: New file. | |
1239 | * sysdeps/powerpc/powerpc32/power5+/Implies: New file. | |
1240 | * sysdeps/powerpc/powerpc32/power6/Implies: New file. | |
1241 | * sysdeps/powerpc/powerpc32/power6x/Implies: New file. | |
1242 | * sysdeps/powerpc/powerpc64/970/Implies: New file. | |
1243 | * sysdeps/powerpc/powerpc64/power5/Implies: New file. | |
1244 | * sysdeps/powerpc/powerpc64/power5+/Implies: New file. | |
1245 | * sysdeps/powerpc/powerpc64/power6/Implies: New file. | |
1246 | * sysdeps/powerpc/powerpc64/power6x/Implies: New file. | |
1247 | ||
1248 | 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> | |
1249 | ||
1250 | * sysdeps/powerpc/powerpc32/power4/memset.S: New file | |
1251 | ||
1252 | 2007-03-13 Steven Munroe <sjmunroe@us.ibm.com> | |
1253 | ||
1254 | * sysdeps/powerpc/powerpc64/memcpy.S: Improve aligned loop to minimize | |
1255 | branch miss-predicts. Ensure that cache line crossing does not impact | |
1256 | dispatch grouping. | |
1257 | ||
1258 | 2006-12-13 Steven Munroe <sjmunroe@us.ibm.com> | |
1259 | ||
1260 | * sysdeps/powerpc/powerpc64/power4/memcopy.h: Replace with include | |
1261 | "../../powerpc32/power4/memcopy.h". | |
1262 | * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Replace with include | |
1263 | "../../powerpc32/power4/wordcopy.c". | |
1264 | ||
1265 | 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> | |
1266 | ||
1267 | * sysdeps/powerpc/powerpc32/powerpc64/Makefile: Moved. | |
1268 | * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: Likewise. | |
1269 | * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: Likewise. | |
1270 | * sysdeps/powerpc/powerpc32/power4/Makefile: To here. | |
1271 | * sysdeps/powerpc/powerpc32/power4/memcopy.h: Likewise. | |
1272 | * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise. | |
1273 | ||
1274 | 2006-09-10 Steven Munroe <sjmunroe@us.ibm.com> | |
1275 | ||
1276 | * sysdeps/powerpc/powerpc32/power6/memcpy.S: New file. | |
1277 | ||
1278 | 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> | |
1279 | ||
1280 | * sysdeps/powerpc/powerpc32/power6/wordcopy.c: New file. | |
1281 | * sysdeps/powerpc/powerpc32/powerpc64/Makefile: New file. | |
1282 | * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: New file. | |
1283 | * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: New file. | |
1284 | * sysdeps/powerpc/powerpc64/power4/Makefile: New file. | |
1285 | * sysdeps/powerpc/powerpc64/power4/memcopy.h: New file. | |
1286 | * sysdeps/powerpc/powerpc64/power4/wordcopy.c: New file. | |
1287 | * sysdeps/powerpc/powerpc64/power6/wordcopy.c: New file. | |
1288 | ||
1289 | 2006-07-06 Steven Munroe <sjmunroe@us.ibm.com> | |
1290 | ||
1291 | * sysdeps/powerpc/powerpc64/power6/memcpy.S: New file. | |
1292 | ||
1293 | 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> | |
1294 | ||
1295 | * sysdeps/powerpc/powerpc32/power4/memcmp.S: New file. | |
1296 | * sysdeps/powerpc/powerpc32/power4/memcpy.S: New file. | |
1297 | * sysdeps/powerpc/powerpc32/power4/memset.S: New file. | |
1298 | * sysdeps/powerpc/powerpc32/power4/strncmp.S: New file. | |
1299 | * sysdeps/powerpc/powerpc64/power4/memcmp.S: New file. | |
1300 | * sysdeps/powerpc/powerpc64/power4/memcpy.S: New file. | |
1301 | * sysdeps/powerpc/powerpc64/power4/strncmp.S: New file. | |
1302 | ||
5b55e1d3 RM |
1303 | 2007-05-29 Roland McGrath <roland@redhat.com> |
1304 | ||
1305 | * po/Makefile (po-sed-cmd): New variable. | |
1306 | (libc.pot.files): Move sed command text in there, avoid \ inside ''. | |
1307 | ||
5da4373c UD |
1308 | 2007-05-29 Ulrich Drepper <drepper@redhat.com> |
1309 | ||
4b5e7304 UD |
1310 | * crypt/md5-crypt.c: Fix comment. |
1311 | ||
5da4373c UD |
1312 | * nscd/nscd_helper.c (get_mapping): Handle short replies instead |
1313 | of crashing. When this is the case or if the reply is malformed, | |
1314 | don't try to close the new file descriptor since it does not | |
1315 | exist. | |
1316 | Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>. | |
1317 | ||
40f57573 UD |
1318 | 2007-05-28 Jakub Jelinek <jakub@redhat.com> |
1319 | ||
1320 | * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define | |
1321 | if __NR_utimensat is not defined. | |
1322 | ||
6df7ffad UD |
1323 | 2007-05-26 Ulrich Drepper <drepper@redhat.com> |
1324 | ||
1325 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include <sysdep.h>. | |
1326 | ||
47ad95ab UD |
1327 | 2007-05-25 Jakub Jelinek <jakub@redhat.com> |
1328 | ||
1329 | * io/bits/fcntl2.h (__open_2): Add nonnull attribute. | |
1330 | (open): Fix comment typos. Don't call __open_2 if flags | |
1331 | is a compile time constant without O_CREAT. | |
1332 | (__open64_2): Add nonnull attribute. | |
1333 | (open64): Fix comment typos. Don't call __open64_2 if flags | |
1334 | is a compile time constant without O_CREAT. | |
1335 | (__openat_2): Add nonnull attribute, fix nonnull attribute | |
1336 | on redirect. | |
1337 | (openat): Fix comment typos. Don't call __openat_2 if flags | |
1338 | is a compile time constant without O_CREAT. | |
1339 | (__openat64_2): Add nonnull attribute, fix nonnull attribute | |
1340 | on redirect. | |
1341 | (openat64): Fix comment typos. Don't call __openat64_2 if flags | |
1342 | is a compile time constant without O_CREAT. | |
1343 | ||
ddfd0535 UD |
1344 | 2007-05-24 Ulrich Drepper <drepper@redhat.com> |
1345 | ||
1346 | * Makerules (sysd-rules): Define PTW for ptw-* files. | |
1347 | * Versions: Define GLIBC_2.7 for libc. | |
1348 | * include/stdio.h: Declare __fortify_fail. | |
1349 | * debug/fortify_fail.c: New file. | |
1350 | * debug/Makefile (routines): Add fortify_fail. | |
1351 | * debug/chk_fail.c: Use __fortify_fail. | |
1352 | * debug/stack_chk_fail.c: Likewise. | |
1353 | * io/Versions: Export __open_2, __open64_2, __openat_2, and | |
1354 | __openat64_2 for GLIBC_2.7. | |
1355 | * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h. | |
1356 | * io/open.c: Define *_2 variant of function which checks for O_CREAT | |
1357 | and fails if necessary. | |
1358 | * io/open64.c: Likewise. | |
1359 | * io/openat.c: Likewise. | |
1360 | * io/openat64.c: Likewise. | |
1361 | * sysdeps/unix/sysv/linux/open64.c: Likewise. | |
1362 | * sysdeps/unix/sysv/linux/openat.c: Likewise. | |
1363 | * sysdeps/unix/sysv/linux/openat64.c: Likewise. | |
1364 | * io/bits/fcntl2.h: New file. | |
1365 | * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and | |
1366 | __openat64_2. | |
1367 | * include/bits/fcntl2.h: New file. | |
1368 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
1369 | Add open_2. | |
1370 | * sysdeps/unix/sysv/linux/open_2.c: New file. | |
1371 | ||
bfe6f5fa UD |
1372 | 2007-05-21 Ulrich Drepper <drepper@redhat.com> |
1373 | ||
6d59823c UD |
1374 | * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value |
1375 | as second parameter to handle_intel. | |
1376 | ||
e2b1e343 UD |
1377 | * nscd/aicache.c (addhstaiX): If reported TTL is zero don't cache |
1378 | the entry. | |
1379 | ||
bfe6f5fa UD |
1380 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information |
1381 | handling to ... | |
1382 | * sysdeps/x86_64/cacheinfo.c: ... here. New file. | |
1383 | * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add | |
1384 | cacheinfo. | |
1385 | * sysdeps/x86_64/memcpy.S: Complete rewrite. | |
1386 | * sysdeps/x86_64/mempcpy.S: Adjust appropriately. | |
1387 | Patch by Evandro Menezes <evandro.menezes@amd.com>. | |
1388 | ||
1389 | * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: New file. | |
1390 | ||
1f4843fb UD |
1391 | 2007-05-21 Jakub Jelinek <jakub@redhat.com> |
1392 | ||
2c2c003a UD |
1393 | [BZ #4525] |
1394 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add epoll_pwait. | |
1395 | * sysdeps/unix/sysv/linux/epoll_pwait.c: New file. | |
1396 | * sysdeps/unix/sysv/linux/syscalls.list (epoll_pwait): Remove. | |
1397 | ||
1398 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (epoll_pwait): Declare. | |
1399 | ||
af269dd9 UD |
1400 | [BZ #4514] |
1401 | * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable, | |
1402 | reinitialize workend at the start of each do_positional format spec | |
1403 | loop, free workstart before do_positional loops. | |
1404 | (printf_unknown): Fix size of work_buffer. | |
1405 | * stdio-common/tst-sprintf.c (main): Add 3 new testcases. | |
1406 | ||
1f4843fb UD |
1407 | * malloc/hooks.c (MALLOC_STATE_VERSION): Bump. |
1408 | (public_sET_STATe): If ms->version < 3, put all chunks into | |
1409 | unsorted chunks and clear {fd,bk}_nextsize fields of largebin | |
1410 | chunks. | |
1411 | ||
1412 | * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes. | |
1413 | * malloc/hooks.c: Likewise. | |
1414 | * malloc/arena.c: Likewise. | |
1415 | * malloc/malloc.c (do_check_malloc_state): Don't assert | |
1416 | n_mmaps is not greater than n_mmaps_max. This removes the need | |
1417 | for the previous change. | |
1418 | ||
1419 | * malloc/Makefile (CFLAGS-malloc.c): Revert accidental | |
1420 | 2007-05-07 commit. | |
1421 | ||
12e8bbff UD |
1422 | 2007-05-19 Ulrich Drepper <drepper@redhat.com> |
1423 | ||
1424 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRIVATE_FUTEX): | |
1425 | Define for kernel >= 2.6.22. | |
69e5cbf5 | 1426 | |
12e8bbff | 1427 | 2007-05-18 Ulrich Drepper <drepper@redhat.com> |
6d59823c | 1428 | |
df94b641 UD |
1429 | * elf/dl-close.c (_dl_close_worker): When removing object from |
1430 | global scope, wait for all lookups to finish afterwards. | |
1431 | * elf/dl-open.c (add_to_global): When global scope array must | |
1432 | grow, allocate a new one and free old array only after all | |
1433 | lookups finish. | |
1434 | * elf/dl-runtime.c (_dl_fixup): Protect using global scope. | |
1435 | (_dl_lookup_symbol_x): Likewise. | |
1436 | * elf/dl-support.c: Define _dl_wait_lookup_done. | |
1437 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Add | |
1438 | _dl_wait_lookup_done. | |
1439 | ||
2acd01ac UD |
1440 | * malloc/malloc.c (do_check_chunk): Correct check for mmaped block |
1441 | not overlapping with arena. | |
1442 | ||
129abdd3 UD |
1443 | * malloc/mcheck.c (reallochook): If size==0, free the block. |
1444 | ||
eb4b098a UD |
1445 | * rt/tst-shm.c: Use fstat64 instead of fstat. |
1446 | ||
69e5cbf5 UD |
1447 | * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where |
1448 | __NR_sync_file_range is not defined. | |
1449 | ||
a2ccc760 UD |
1450 | 2007-05-17 Ulrich Drepper <drepper@redhat.com> |
1451 | ||
bec51a30 UD |
1452 | Dummy files to prevent stub versions from being used. |
1453 | * sysdeps/x86_64/fpu/k_cosl.c: New file. | |
1454 | * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file. | |
1455 | * sysdeps/x86_64/fpu/k_sinl.c: New file. | |
1456 | * sysdeps/x86_64/fpu/k_tanl.c: New file. | |
1457 | ||
a2ccc760 UD |
1458 | * version.h (VERSION): Set to 2.6.90. |
1459 | ||
1a31b586 UD |
1460 | 2007-05-14 Ulrich Drepper <drepper@redhat.com> |
1461 | ||
a2ccc760 UD |
1462 | * version.h (VERSION): Define to 2.6. |
1463 | * include/features.h (__GLIBC_MINOR__): Define to 6. | |
2c1d6172 | 1464 | |
1d47e92f UD |
1465 | * malloc/malloc.c: Use all small bin slots on 64-bit archs. |
1466 | ||
1467 | * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 | |
1468 | sizes. | |
366ad8fd | 1469 | |
1a31b586 | 1470 | 2007-05-13 Ulrich Drepper <drepper@redhat.com> |
87e66335 | 1471 | |
366ad8fd UD |
1472 | * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum |
1473 | number of mmaps. n_mmaps_max is the target. | |
1474 | * malloc/hooks.c: Likewise. | |
1475 | * malloc/arena.c: Likewise. | |
1476 | ||
11ed6713 AJ |
1477 | 2007-05-12 Andreas Jaeger <aj@suse.de> |
1478 | ||
1479 | * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for | |
1480 | getpid. | |
1481 | ||
d65ef3dd UD |
1482 | 2007-05-11 Ulrich Drepper <drepper@redhat.com> |
1483 | ||
2e81d449 UD |
1484 | * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by |
1485 | adding new variables. | |
1486 | ||
d65ef3dd | 1487 | * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc |
2e81d449 | 1488 | optimize. Completely extend global scope array before making the |
d65ef3dd UD |
1489 | new entries visible. |
1490 | ||
c27d2078 UD |
1491 | 2007-05-10 Ulrich Drepper <drepper@redhat.com> |
1492 | ||
341c566f UD |
1493 | * sysdeps/unix/sysv/linux/tst-getcpu.c: New file. |
1494 | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add | |
1495 | tst-getcpu. | |
1496 | ||
1497 | * include/link.h: Move l_version and l_nversion members around to | |
1498 | fill gaps. | |
1499 | ||
a53fa282 UD |
1500 | * scripts/check-c++-types.sh: Don't use -fnu89-inline option. |
1501 | ||
3771196d UD |
1502 | * sysdeps/unix/sysv/linux/sched_setaffinity.c |
1503 | (__sched_setaffinity_new): If syscall was successful and | |
1504 | RESET_VGETCPU_CACHE is defined, use it before returning. | |
1505 | * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file. | |
1506 | ||
f9bf102d UD |
1507 | * io/sys/stat.h: Make sure struct timespec is defined for |
1508 | __USE_ATFILE. | |
1509 | ||
c27d2078 UD |
1510 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and |
1511 | UTIME_OMIT. | |
1512 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
1513 | * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. | |
1514 | * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. | |
1515 | * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. | |
1516 | * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. | |
1517 | * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. | |
1518 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT. | |
1519 | * io/sys/stat.h: Declare utimensat, futimens. | |
1520 | * io/utimensat.c: New file. | |
1521 | * io/futimens.c: New file. | |
1522 | * sysdeps/unix/sysv/linux/utimensat.c: New file. | |
1523 | * sysdeps/unix/sysv/linux/futimens.c: New file. | |
1524 | * io/Makefile (routines): Add utimensat, futimens. | |
1525 | * io/Versions: Add utimensat, futimens to GLIBC_2.6. | |
1526 | * sysdeps/unix/sysv/linux/lutimes.c: New file. | |
1527 | * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if | |
1528 | available. | |
1529 | ||
1530 | * include/sys/cdefs.h: Redefine __nonnull so that test for | |
1531 | incorrect parameters in the libc code itself are not omitted. | |
1532 | ||
cf6b0980 JJ |
1533 | 2007-05-09 Jakub Jelinek <jakub@redhat.com> |
1534 | ||
c1dfd7e6 JJ |
1535 | * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow |
1536 | exception in addition to inexact when asked to raise only FE_INEXACT. | |
1537 | ||
cf6b0980 JJ |
1538 | [BZ #3427] |
1539 | * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions | |
1540 | in *envp. | |
1541 | ||
df7b6fea UD |
1542 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> |
1543 | ||
1544 | [BZ #4403] | |
1545 | * string/strfry.c (strfry): Make result more random. | |
1546 | ||
37f40235 RH |
1547 | 2007-05-07 Richard Henderson <rth@redhat.com> |
1548 | ||
1549 | * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define | |
1550 | if __NO_LONG_DOUBLE_MATH. | |
1551 | * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not | |
df7b6fea | 1552 | available in the compiler, add .arch directive to the assembly. |
37f40235 RH |
1553 | |
1554 | 2007-05-07 Jakub Jelinek <jakub@redhat.com> | |
1555 | ||
1556 | * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on | |
1557 | compat_symbol to GLIBC_2_1. | |
1558 | * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. | |
1559 | * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. | |
1560 | * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. | |
1561 | * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. | |
1562 | * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. | |
1563 | * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. | |
1564 | * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in | |
1565 | libc, not libm. | |
1566 | (__isnanl): New compat_symbol. | |
1567 | ||
c7fd3362 JJ |
1568 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> |
1569 | Jakub Jelinek <jakub@redhat.com> | |
1570 | ||
1571 | * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. | |
1572 | (new_heap): Initialize mprotect_size. | |
1573 | (grow_heap): When growing, only mprotect from mprotect_size till | |
1574 | new_size if mprotect_size is smaller. When shrinking, use PROT_NONE | |
1575 | MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. | |
1576 | ||
4a59e9ad | 1577 | 2007-04-30 Steven Munroe <sjmunroe@us.ibm.com> |
37f40235 | 1578 | Peter Bergner <bergner@us.ibm.com> |
4a59e9ad UD |
1579 | |
1580 | * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern. | |
1581 | Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV. | |
1582 | * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support. | |
1583 | * sysdeps/powerpc/fpu/fe_mask.c: New file. | |
1584 | * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment. | |
1585 | * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): | |
1586 | Call __fe_mask_env() if all FP exceptions disabled. | |
1587 | * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits | |
1588 | from old FPSCR to new fenv to propagate DFP rounding modes. | |
1589 | Call __fe_mask_env() if FP exceptions previously enabled. | |
1590 | * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge | |
1591 | exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when | |
1592 | transitioning from all exceptions disabled to any exception enabled | |
1593 | or visa versa. | |
1594 | * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to | |
1595 | merge exceptions from env. Call __fe_nomask_env or __fe_mask_env | |
1596 | when transitioning from all exceptions disabled to any exception | |
1597 | enabled or visa versa. | |
1598 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to... | |
1599 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here. | |
1600 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to... | |
1601 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here. | |
1602 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file. | |
1603 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file. | |
1604 | ||
aa75f64c UD |
1605 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
1606 | ||
15eca720 | 1607 | [BZ #4465] |
aa75f64c UD |
1608 | * posix/unistd.h: Remove __THROW from fdatasync. |
1609 | ||
711deb05 UD |
1610 | 2007-05-06 Mike Frysinger <vapier@gentoo.org> |
1611 | ||
15eca720 | 1612 | [BZ #4465] |
711deb05 UD |
1613 | * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args. |
1614 | ||
ffecd39b UD |
1615 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
1616 | ||
49a8eb75 UD |
1617 | * stdio-common/vfprintf.c (process_string_arg): Optimize |
1618 | ridiculous precision in wide char code printing multi-byte string. | |
1619 | Reported by Jim Meyering <jim@meyering.net>. | |
1620 | ||
ffecd39b UD |
1621 | [BZ #4131] |
1622 | * elf/dl-addr.c (_dl_addr): Compare address with actual segment | |
1623 | boundaries to work around systems with overlapping binary loading. | |
1624 | Based on a patch by Suzuki <suzuki@in.ibm.com>. | |
1625 | ||
b16dba4c UD |
1626 | 2007-05-04 Ulrich Drepper <drepper@redhat.com> |
1627 | ||
30b323ab UD |
1628 | * stdio-common/vfprintf.c (process_string_arg): Adjust call to |
1629 | __mbsnrtowcs after last change. | |
1630 | ||
b16dba4c UD |
1631 | * locale/programs/linereader.c (get_symname): Fix adding final NUL. |
1632 | (get_ident): Likewise. | |
1633 | ||
37002cbc JJ |
1634 | 2007-05-03 Jakub Jelinek <jakub@redhat.com> |
1635 | ||
1636 | * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT | |
1637 | with setting the sticky bit. | |
1638 | * math/test-misc.c (main): Add more truncation tests. | |
1639 | ||
1640 | 2007-04-14 Uros Bizjak <ubizjak@gmail.com> | |
1641 | ||
1642 | * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of | |
1643 | double in the function declaration. | |
1644 | * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of | |
1645 | double in the function declaration. | |
1646 | * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of | |
1647 | float in the function declaration. | |
1648 | * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of | |
1649 | float in the function declaration. | |
1650 | ||
1651 | * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for | |
1652 | denormal operands. Do not generate FP_EX_DENORM exception. | |
1653 | (FP_UNPACK_RAW_EP): Ditto. | |
1654 | (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of | |
1655 | undefined _FP_UNPACK_RAW_E. | |
1656 | (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of | |
1657 | undefined _FP_UNPACK_RAW_EP. | |
1658 | (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of | |
1659 | undefined _FP_PACK_RAW_E. | |
1660 | (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of | |
1661 | undefined _FP_PACK_RAW_EP. | |
1662 | ||
d9ac82d0 UD |
1663 | * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to |
1664 | _FP_FRAC_COPY_2. | |
1665 | * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to | |
1666 | _FP_FRAC_COPY_4. | |
37002cbc JJ |
1667 | |
1668 | 2007-04-16 Uros Bizjak <ubizjak@gmail.com> | |
1669 | Jakub Jelinek <jakub@redhat.com> | |
1670 | ||
1671 | * soft-fp/op-common.h (FP_EXTEND): Do not abort when | |
1672 | _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for | |
1673 | this case. | |
1674 | * soft-fp/op-common.h (FP_TRUNC): Ditto. | |
1675 | ||
002f0b0b JJ |
1676 | 2007-05-03 Jakub Jelinek <jakub@redhat.com> |
1677 | ||
1678 | * math/test-misc.c (main): Add tests for rounding long double | |
1679 | values close to smallest double denormalized value to double. | |
1680 | ||
1681 | 2007-04-30 Joseph Myers <joseph@codesourcery.com> | |
1682 | ||
1683 | * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in | |
1684 | condition for truncating to 0. Set sticky bit for such | |
1685 | truncation. | |
1686 | ||
57433ede UD |
1687 | 2007-05-02 Jakub Jelinek <jakub@redhat.com> |
1688 | ||
1689 | * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than | |
1690 | fixed length array for ignore. | |
1691 | ||
c01c2455 UD |
1692 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
1693 | ||
1694 | [BZ #4438] | |
1695 | * stdio-common/vfprintf.c (process_string_arg): Don't overflow the | |
1696 | stack for large precisions. | |
1cb04337 UD |
1697 | * stdio-common/test-vfprintf.c (main): Add test for large |
1698 | precision. | |
c01c2455 | 1699 | |
37f02b1d UD |
1700 | 2007-04-30 Jakub Jelinek <jakub@redhat.com> |
1701 | ||
b866373d UD |
1702 | * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign |
1703 | for exponent 0. | |
1704 | * stdio-common/tfformat.c (sprint_doubles): Add a new test. | |
1705 | ||
37f02b1d UD |
1706 | [BZ #4439] |
1707 | * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into | |
1708 | account in the size check. | |
1709 | * resolv/tst-inet_ntop.c: New test. | |
1710 | * resolv/Makefile (tests): Add tst-inet_ntop. | |
1711 | ||
7ecfbd38 UD |
1712 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
1713 | Jakub Jelinek <jakub@redhat.com> | |
1714 | ||
1715 | [BZ #4349] | |
1716 | * malloc/malloc.c: Keep separate list for first blocks on the bin | |
1717 | lists with a given size. This helps skipping over list elements | |
1718 | we know won't fit in two places. | |
1719 | Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>. | |
1720 | ||
e53f0f51 UD |
1721 | 2007-04-28 Ulrich Drepper <drepper@redhat.com> |
1722 | ||
1723 | [BZ #4102] | |
1724 | * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate | |
1725 | label to Teredo tunnel addresses 2001://32. | |
1726 | ||
109f51f2 UD |
1727 | 2007-04-27 Ulrich Drepper <drepper@redhat.com> |
1728 | ||
762422d1 UD |
1729 | * locale/programs/ld-collate.c (collate_read): Allow order_start |
1730 | after copy. | |
1731 | ||
61d5a67f UD |
1732 | * locale/programs/ld-collate.c (collate_read): Fix printing of |
1733 | error message. | |
1734 | ||
1735 | [BZ #3213] | |
1736 | * locale/C-translit.h.in: Add entry for U2044. | |
1737 | ||
109f51f2 UD |
1738 | [BZ #4342] |
1739 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow | |
1740 | hexa-decimal floats without exponent. | |
1741 | * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. | |
1742 | ||
ec08f13d UD |
1743 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
1744 | ||
1745 | * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu. | |
1746 | * sysdeps/unix/sysv/linux/sched_getcpu.c: New file. | |
1747 | * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. | |
1748 | * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for | |
1749 | GLIBC_2.6. | |
bce20b9a UD |
1750 | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines): |
1751 | Add sched_getcpu. | |
ec08f13d | 1752 | |
41967e1c JJ |
1753 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
1754 | ||
1755 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead | |
1756 | of 0 after the out_fail label. | |
1757 | ||
ba508da3 UD |
1758 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
1759 | ||
1760 | [BZ #4406] | |
109f51f2 | 1761 | * iconv/gconv_charset.h (strip): Allow ':'. |
ba508da3 UD |
1762 | * iconv/iconv_open.c (iconv_open): Adjust comment. |
1763 | ||
9c8d03d9 JJ |
1764 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
1765 | ||
1766 | * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized | |
1767 | version. | |
1768 | ||
2f1687b9 UD |
1769 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
1770 | ||
1771 | [BZ #4381] | |
1772 | * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient | |
1773 | alignment of buffer and tmp_buffer. | |
1774 | * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, | |
1775 | internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient | |
1776 | alignment of buffer. | |
1777 | * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen | |
1778 | bigger than INT_MAX. | |
1779 | * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and | |
1780 | h_errnop arguments. Fail if buflen is too small. | |
1781 | (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. | |
1782 | ||
b64a9db8 JJ |
1783 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
1784 | ||
1785 | [BZ #4405] | |
1786 | * iconvdata/gconv-modules (E13B): Add a missing slash to the alias | |
1787 | name. Patch by Aurelien Jarno <aurelien@aurel32.net>. | |
1788 | ||
4d3144c9 RM |
1789 | 2007-04-22 Roland McGrath <roland@redhat.com> |
1790 | ||
1791 | * elf/elf.h (NT_PRXFPREG): New macro. | |
1792 | ||
767b40bf AJ |
1793 | 2007-04-19 Andreas Jaeger <aj@suse.de> |
1794 | ||
1795 | [BZ #3905] | |
1796 | * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, | |
1797 | IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): | |
1798 | Added. | |
1799 | ||
2592d1ec UD |
1800 | 2007-04-19 Ulrich Drepper <drepper@redhat.com> |
1801 | ||
1802 | * include/sys/mman.h: Mark madvise hidden. | |
d07d044e | 1803 | * misc/madvise.c: Add libc_hidden_def. |
2592d1ec | 1804 | |
7ab174ed UD |
1805 | 2007-04-06 Jakub Jelinek <jakub@redhat.com> |
1806 | ||
1807 | * nis/nis_domain_of.c (__nis_domain_of): New function. | |
1808 | * include/rpcsvc/nislib.h (__nis_domain_of): New prototype. | |
1809 | * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. | |
1810 | * nis/nis_call.c (rec_dirsearch): Likewise. | |
1811 | (first_shoot): Likewise. Remove search_parent_first argument. | |
1812 | (struct nis_server_cache): Rename search_parent_first field | |
1813 | to search_parent. | |
1814 | (nis_server_cache_search, nis_server_cache_add): Rename | |
1815 | search_parent_first argument to search_parent. | |
1816 | (__nisfind_server): Likewise. If search_parent, call | |
1817 | __nis_domain_of. | |
1818 | ||
b17c265f UD |
1819 | 2007-04-18 Ulrich Drepper <drepper@redhat.com> |
1820 | ||
1821 | * sysdeps/posix/getaddrinfo.c: Remove commented-out code. | |
1822 | ||
b7674b11 UD |
1823 | 2007-04-17 Ulrich Drepper <drepper@redhat.com> |
1824 | ||
1825 | [BZ #4368] | |
1826 | * stdlib/stdlib.h: Remove obsolete part of comment for realpath. | |
1827 | ||
faf3ad69 UD |
1828 | 2007-04-16 Ulrich Drepper <drepper@redhat.com> |
1829 | ||
1830 | [BZ #4364] | |
1831 | * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. | |
1832 | ||
c14f245c UD |
1833 | 2007-04-15 Jakub Jelinek <jakub@redhat.com> |
1834 | ||
1835 | * locale/programs/locarchive.c (INITIAL_NUM_NAMES, | |
1836 | INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate | |
1837 | current number of locales in SUPPORTED. | |
1838 | (create_archive): Initialize serial. | |
1839 | (enlarge_archive): Preserve aliases rather than duplicating | |
1840 | their locrecs. | |
1841 | ||
d40e67f5 UD |
1842 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
1843 | ||
993a5d66 UD |
1844 | * libio/genops.c (_IO_default_finish): Call _IO_lock_fini |
1845 | after _IO_un_link, not before it. | |
1846 | ||
d40e67f5 UD |
1847 | * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4 |
1848 | special case handling when wcp == wstartp + 1. Fix a comment typo. | |
1849 | * stdio-common/tfformat.c (sprint_doubles): Add a new testcase. | |
1850 | ||
0fca3153 UD |
1851 | 2007-03-30 Jakub Jelinek <jakub@redhat.com> |
1852 | ||
1853 | * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow, | |
1854 | __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, | |
1855 | _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): | |
1856 | Remove __THROW. | |
1857 | * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, | |
1858 | _IO_file_xsgetn_maybe_mmap): Likewise. | |
1859 | * libio/oldfileops.c (old_do_write): Likewise. | |
1860 | * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, | |
1861 | _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, | |
1862 | _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, | |
1863 | _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, | |
1864 | _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, | |
1865 | _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, | |
1866 | _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, | |
1867 | _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, | |
1868 | _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, | |
1869 | _IO_file_underflow, _IO_file_underflow_mmap, | |
1870 | _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, | |
1871 | _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, | |
1872 | _IO_file_sync, _IO_file_close_it, _IO_file_finish, | |
1873 | _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, | |
1874 | _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, | |
1875 | _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, | |
1876 | _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, | |
1877 | _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, | |
1878 | _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, | |
1879 | _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, | |
1880 | _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, | |
1881 | _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, | |
1882 | _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, | |
1883 | _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, | |
1884 | _IO_adjust_column_internal, _IO_default_uflow_internal, | |
1885 | _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, | |
1886 | _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, | |
1887 | _IO_file_setbuf_internal, _IO_file_seekoff_internal, | |
1888 | _IO_file_xsputn_internal, _IO_file_xsgetn_internal, | |
1889 | _IO_file_close_it_internal, _IO_file_underflow_internal, | |
1890 | _IO_file_overflow_internal, _IO_file_attach_internal, | |
1891 | _IO_file_fopen_internal, _IO_file_sync_internal, | |
1892 | _IO_file_finish_internal, _IO_wfile_xsputn_internal, | |
1893 | _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, | |
1894 | _IO_switch_to_wget_mode_internal, _IO_padn_internal, | |
1895 | _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, | |
1896 | _IO_seekpos_unlocked): Likewise. | |
1897 | (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, | |
1898 | _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes. | |
1899 | ||
07358add JJ |
1900 | 2007-04-16 Jakub Jelinek <jakub@redhat.com> |
1901 | ||
1902 | * locale/programs/locarchive.c (show_archive_content): Fix sizeof | |
1903 | argument in xmalloc size computation. | |
1904 | ||
7a82b74f UD |
1905 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
1906 | ||
1907 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use | |
1908 | math_opt_barrier and math_force_eval macros. | |
1909 | ||
3e336a87 UD |
1910 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
1911 | ||
1912 | [BZ #3306] | |
1913 | * math/math_private.h (math_opt_barrier, math_force_eval): Define. | |
1914 | * sysdeps/i386/fpu/math_private.h: New file. | |
1915 | * sysdeps/x86_64/fpu/math_private.h: New file. | |
1916 | * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and | |
1917 | math_force_eval macros. Use "+m" constraint on asm rather than | |
1918 | "=m" and "m". | |
1919 | * math/s_nextafter.c (__nextafter): Likewise. | |
1920 | * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): | |
1921 | Likewise. | |
1922 | * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. | |
1923 | * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. | |
1924 | * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. | |
1925 | * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use | |
1926 | math_opt_barrier and math_force_eval macros. | |
1927 | * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. | |
1928 | * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. | |
1929 | * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. | |
1930 | (__nexttoward): Use math_opt_barrier and | |
1931 | math_force_eval macros. Use "+m" constraint on asm rather than | |
1932 | "=m" and "m". Only use asm to force double result if | |
1933 | FLT_EVAL_METHOD is 2. | |
1934 | * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. | |
1935 | (__nexttowardf): Use math_opt_barrier and | |
1936 | math_force_eval macros. Use "+m" constraint on asm rather than | |
1937 | "=m" and "m". Only use asm to force double result if | |
1938 | FLT_EVAL_METHOD is not 0. | |
1939 | * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. | |
1940 | (__nexttowardf): Use math_opt_barrier and | |
1941 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
1942 | x to float using asm. | |
1943 | * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. | |
1944 | (__nldbl_nexttowardf): Use math_opt_barrier and | |
1945 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
1946 | x to float using asm. | |
1947 | * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. | |
1948 | (__nexttowardf): Use math_opt_barrier and math_force_eval | |
1949 | macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. | |
1950 | * math/bug-nextafter.c (zero, inf): New variables. | |
1951 | (main): Add new tests. | |
1952 | * math/bug-nexttoward.c (zero, inf): New variables. | |
1953 | (main): Add new tests. | |
1954 | ||
a8c79c40 UD |
1955 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> |
1956 | ||
1957 | [BZ #3427] | |
1958 | * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all | |
1959 | exceptions both in SW and MXCSR. | |
1960 | * sysdeps/x86_64/fpu/feupdateenv.c: New file. | |
1961 | * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. | |
1962 | * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. | |
1963 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
1964 | in MXCSR if SSE is available. | |
1965 | * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h | |
1966 | and ldsodefs.h. | |
1967 | (__feupdateenv): Query exceptions also from MXCSR if SSE is available. | |
1968 | Fix comment typo. | |
1969 | * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. | |
1970 | Return 0 rather than 1. | |
1971 | * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. | |
1972 | Remove incorrect part of a comment. Fix argument to feraiseexcept. | |
1973 | * math/test-fenv.c (feholdexcept_tests): New function. | |
1974 | (main): Call it. | |
1975 | ||
1976 | 2007-01-05 Richard B. Kreckel <kreckel@ginac.de> | |
1977 | ||
1978 | [BZ #3427] | |
1979 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
1980 | in SW. | |
1981 | ||
30a3aa75 JJ |
1982 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
1983 | ||
1984 | [BZ #4344] | |
1985 | * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. | |
1986 | Reported by David Anderson <davea42@earthlink.net>. | |
1987 | ||
75587bfe UD |
1988 | 2007-04-07 Ulrich Drepper <drepper@redhat.com> |
1989 | ||
1990 | * posix/sys/wait.h: Remove unnecessary forward declaration. | |
1991 | ||
88fa1769 JJ |
1992 | 2007-04-05 Jakub Jelinek <jakub@redhat.com> |
1993 | ||
1994 | * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers | |
1995 | with obj->do_servers after first_shoot. | |
1996 | ||
eab1bdfb UD |
1997 | 2007-04-03 Ulrich Drepper <drepper@redhat.com> |
1998 | ||
1999 | * posix/Makefile (routines): Add sched_cpucount. | |
2000 | (tests): Add tst-cpucount. | |
2001 | * posix/sched_cpucount.c: New file. | |
2002 | * posix/tst-cpucount.c: New file. | |
2003 | * posix/Versions: Export __sched_cpucount with version GLIBC_2.6. | |
b4afdd06 UD |
2004 | * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount. |
2005 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
2006 | * posix/sched.h: Define CPU_COUNT. | |
eab1bdfb | 2007 | |
9700b039 UD |
2008 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
2009 | ||
2010 | * posix/fnmatch.c (STRUCT): Define. | |
2011 | (fnmatch): Pass NULL as last argument to internal_fn{,w}match. | |
2012 | * posix/fnmatch_loop.c (struct STRUCT): New type. | |
2013 | (FCT): Add ends argument. If ends != NULL and normal * is | |
2014 | seen in the pattern, store current pattern and string pointers | |
2015 | and return. Adjust recursive calls. | |
2016 | (EXT): Adjust FCT callers. | |
2017 | (STRUCT): Undef at the end of the file. | |
2018 | * posix/Makefile (tests): Add tst-fnmatch2. | |
2019 | * posix/tst-fnmatch2.c: New test. | |
2020 | ||
d64e9790 JJ |
2021 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
2022 | ||
933dfe7b JJ |
2023 | * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success |
2024 | and 1 on failure. | |
2025 | ||
d64e9790 JJ |
2026 | * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): |
2027 | Change last argument to unsigned int. | |
2028 | ||
e1f0c5bc UD |
2029 | 2007-03-23 Jakub Jelinek <jakub@redhat.com> |
2030 | ||
2031 | * scripts/check-local-headers.sh: Filter out sys/capability.h. | |
2032 | ||
2033 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> | |
2034 | ||
2035 | * config.h.in (HAVE_LIBCAP): Add. | |
2036 | * nscd/selinux.h: Include sys/capability.h rather than non-existent | |
2037 | sys/capabilities.h. | |
2038 | * nscd/selinux.c (preserve_capabilities): Use cap_free instead of | |
2039 | free_caps. Cast away const from 4th cap_set_flag argument. | |
2040 | ||
4e87573f UD |
2041 | 2007-03-26 Ulrich Drepper <drepper@redhat.com> |
2042 | ||
2043 | * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to | |
2044 | GLIBC_2.6. | |
2045 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
2046 | Add sync_file_range. | |
2047 | Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
2048 | ||
fa6e3bc3 UD |
2049 | 2007-03-19 Steven Munroe <sjmunroe@us.ibm.com> |
2050 | ||
2051 | * sysdeps/powerpc/bits/atomic.h | |
2052 | [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ. | |
2053 | [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL. | |
2054 | (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
2055 | (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx. | |
2056 | (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
2057 | (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx. | |
2058 | * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]: | |
2059 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
2060 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
2061 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
2062 | * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]: | |
2063 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
2064 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
2065 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
2066 | (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
2067 | (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx. | |
2068 | (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
2069 | (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx. | |
2070 | (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
2071 | (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx. | |
2072 | ||
2073 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> | |
c7693af7 UD |
2074 | |
2075 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c | |
2076 | (__cache_line_size): Define the variable here. Add | |
2077 | attribute_hidden, remove weak_extern. | |
2078 | (__libc_start_main): Set __cache_line_size | |
2079 | unconditionally. | |
2080 | * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c | |
2081 | (__cache_line_size): Define the variable here. Add | |
2082 | attribute_hidden, remove weak_extern. | |
2083 | (DL_PLATFORM_AUXV): Set __cache_line_size | |
2084 | unconditionally. | |
2085 | * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove | |
2086 | weak_extern, add attribute_hidden. | |
2087 | (__elf_machine_runtime_setup): Assume __cache_line_size is always | |
2088 | defined in ld.so. | |
2089 | * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove | |
2090 | definition. | |
2091 | * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise. | |
2092 | ||
0479e581 JJ |
2093 | 2007-03-26 Jakub Jelinek <jakub@redhat.com> |
2094 | ||
2095 | [BZ #4276] | |
2096 | * timezone/africa: Update from tzdata2007d. | |
2097 | * timezone/asia: Likewise. | |
2098 | * timezone/australasia: Likewise. | |
2099 | * timezone/backward: Likewise. | |
2100 | * timezone/europe: Likewise. | |
2101 | * timezone/iso3166.tab: Likewise. | |
2102 | * timezone/leapseconds: Likewise. | |
2103 | * timezone/northamerica: Likewise. | |
2104 | * timezone/southamerica: Likewise. | |
2105 | * timezone/zone.tab: Likewise. | |
2106 | ||
2107 | * timezone/private.h: Update from tzcode2007d. | |
2108 | * timezone/zdump.c: Likewise. | |
2109 | * timezone/zic.c: Likewise. | |
2110 | ||
697d37b1 JJ |
2111 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
2112 | ||
2113 | * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. | |
2114 | (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New | |
2115 | variables. | |
2116 | (nis_server_cache_search, nis_server_cache_add): New functions. | |
2117 | (__nisfind_server): Use them. Add dbp and flags argument, if | |
2118 | call __nisbind_create. | |
2119 | (__nisbind_create): Add server_used and current_ep arguments, | |
2120 | only call __nis_findfastest if server_used is ~0. | |
2121 | (__do_niscall2, __prepare_niscall): Adjust callers. | |
2122 | (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid, | |
2123 | ckey_cache_euid, ckey_cache_lock): New variables. | |
2124 | (get_ckey): New function. | |
2125 | (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to | |
2126 | __pmap_getnisport. Save __pmap_getnisport result in | |
2127 | dbp->addr.sin_port if non-zero. Use get_ckey to create conversation | |
2128 | key. | |
2129 | * nis/nis_lookup.c (nis_lookup): Likewise. | |
2130 | * nis/nis_table.c (nis_list): Likewise. | |
2131 | * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust | |
2132 | prototypes. | |
2133 | ||
2134 | * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r, | |
2135 | _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list. | |
2136 | * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r, | |
2137 | _nss_nisplus_getservbyport_r): Likewise. | |
2138 | * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r, | |
2139 | _nss_nisplus_getnetbyaddr_r): Likewise. | |
2140 | * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise. | |
2141 | * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r, | |
2142 | _nss_nisplus_getntohost_r): Likewise. | |
2143 | * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r, | |
2144 | _nss_nisplus_getrpcbynumber_r): Likewise. | |
2145 | ||
06029c20 JJ |
2146 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> |
2147 | ||
371f84a4 JJ |
2148 | * configure.in (libc_cv_gnu89_inline): Only do compile test. |
2149 | * configure: Rebuilt. | |
2150 | ||
06029c20 JJ |
2151 | * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac |
2152 | bit-fields. | |
2153 | * soft-fp/extended.h (_FP_UNION_E): Likewise. | |
2154 | ||
2155 | 2006-06-07 Joseph Myers <joseph@codesourcery.com> | |
2156 | ||
2157 | [BZ #2831] | |
2158 | * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac | |
2159 | bit-fields. | |
2160 | ||
addc8335 UD |
2161 | 2007-03-18 Jakub Jelinek <jakub@redhat.com> |
2162 | ||
2163 | * nscd/gai.c: Include alloca.h. | |
2164 | (__libc_use_alloca): Define. | |
2165 | ||
b037a293 UD |
2166 | 2007-03-16 Jakub Jelinek <jakub@redhat.com> |
2167 | ||
965cba04 UD |
2168 | * elf/dl-open.c (dl_open_worker): Declare l in 2 different |
2169 | smaller scopes. | |
2170 | * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. | |
2171 | (DL_DST_REQUIRED): Adjust user. | |
2172 | ||
2173 | * include/dlfcn.h (struct link_map): New forward decl. | |
2174 | ||
2175 | * inet/getnameinfo.c: Include stddef.h. | |
2176 | (getnameinfo): Use offsetof. | |
2177 | ||
2178 | * time/tst-mktime2.c (do_test): Don't rely on signed wrap. | |
2179 | ||
2180 | * stdio-common/vfprintf.c (_itoa): Undef before redefining. | |
2181 | ||
2182 | * string/strerror_l.c: Include stdlib.h. | |
2183 | ||
b037a293 UD |
2184 | * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. |
2185 | * config.make.in (gnu89-inline-CFLAGS): New variable. | |
2186 | * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with | |
2187 | -std=gnu99. | |
2188 | * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. | |
2189 | * argp/argp.h: Use it. | |
2190 | * bits/mathinline.h: Likewise. | |
2191 | * bits/sigset.h: Likewise. | |
2192 | * bits/string.h: Likewise. | |
2193 | * ctype/ctype.h: Likewise. | |
2194 | * hurd/hurd.h: Likewise. | |
2195 | * hurd/hurd/fd.h: Likewise. | |
2196 | * hurd/hurd/port.h: Likewise. | |
2197 | * hurd/hurd/signal.h: Likewise. | |
2198 | * hurd/hurd/threadvar.h: Likewise. | |
2199 | * hurd/hurd/userlink.h: Likewise. | |
2200 | * io/sys/stat.h: Likewise. | |
2201 | * libio/bits/stdio.h: Likewise. | |
2202 | * libio/bits/stdio2.h: Likewise. | |
2203 | * mach/lock-intern.h: Likewise. | |
2204 | * mach/mach/mig_support.h: Likewise. | |
2205 | * math/bits/cmathcalls.h: Likewise. | |
2206 | * posix/bits/unistd.h: Likewise. | |
2207 | * socket/bits/socket2.h: Likewise. | |
2208 | * stdlib/bits/stdlib.h: Likewise. | |
2209 | * stdlib/stdlib.h: Likewise. | |
2210 | * string/argz.h: Likewise. | |
2211 | * string/bits/string2.h: Likewise. | |
2212 | * string/bits/string3.h: Likewise. | |
2213 | * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. | |
2214 | * sysdeps/generic/inttypes.h: Likewise. | |
2215 | * sysdeps/generic/machine-lock.h: Likewise. | |
2216 | * sysdeps/generic/machine-sp.h: Likewise. | |
2217 | * sysdeps/i386/fpu/bits/mathinline.h: Likewise. | |
2218 | * sysdeps/i386/i486/bits/string.h: Likewise. | |
2219 | * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. | |
2220 | * sysdeps/mach/alpha/machine-lock.h: Likewise. | |
2221 | * sysdeps/mach/alpha/machine-sp.h: Likewise. | |
2222 | * sysdeps/mach/i386/machine-lock.h: Likewise. | |
2223 | * sysdeps/mach/powerpc/machine-lock.h: Likewise. | |
2224 | * sysdeps/mach/powerpc/machine-sp.h: Likewise. | |
2225 | * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. | |
2226 | * sysdeps/s390/bits/string.h: Likewise. | |
2227 | * sysdeps/s390/fpu/bits/mathinline.h: Likewise. | |
2228 | * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. | |
2229 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. | |
2230 | * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. | |
2231 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
2232 | * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. | |
2233 | * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. | |
2234 | * wcsmbs/bits/wchar2.h: Likewise. | |
2235 | * wcsmbs/wchar.h: Likewise. | |
2236 | * stdlib/gmp.h: Likewise. Include <features.h> to get | |
2237 | __extern_inline definition. | |
2238 | ||
6b2665f5 UD |
2239 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> |
2240 | ||
b037a293 UD |
2241 | * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is |
2242 | NULL. | |
2243 | ||
6b2665f5 UD |
2244 | [BZ #3919] |
2245 | * math/libm-test.inc (log_test): Test -Inf and NaN. | |
2246 | (log10_test, log1p_test, log2_test): Test -Inf. | |
2247 | * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise | |
2248 | FE_INVALID when argument is qNaN. | |
2249 | * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. | |
2250 | * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. | |
2251 | * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. | |
2252 | * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace | |
2253 | andb $1, %ah with testb $1, %ah, don't test for parity, instead | |
2254 | testb $4, %ah and jump if non-zero. | |
2255 | * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. | |
2256 | * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. | |
2257 | ||
44969f17 UD |
2258 | [BZ #4101] |
2259 | * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find | |
2260 | ancestors with the same depths. | |
2261 | Patch by Niels Moeller <nisse@lysator.liu.se>. | |
2262 | (filter_doc): Don't crash if argp is NULL. | |
2263 | * argp/Makefile (tests): Add tst-argp2. | |
2264 | * argp/tst-argp2.c: New test. | |
2265 | ||
05eb8975 UD |
2266 | [BZ #4130] |
2267 | * login/utmp_file.c (setutent_file): Use O_LARGEFILE for | |
2268 | open_not_cancel_2. | |
2269 | (updwtmp_file): Likewise. | |
2270 | ||
6cb988fa UD |
2271 | [BZ #4181] |
2272 | * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0. | |
2273 | (inet6_opt_append): Don't check extlen is big enough if extbuf | |
2274 | is NULL. | |
2275 | (inet6_opt_finish): Likewise. | |
2276 | * inet/Makefile (tests): Add test-inet6_opt. | |
2277 | * inet/test-inet6_opt.c: New test. | |
2278 | ||
2279 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never | |
2280 | reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY | |
2281 | NLMSG_ERR. Instead use a page sized buffer. | |
2282 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized | |
2283 | buffer. | |
2284 | ||
aea1d19e RH |
2285 | 2007-03-14 Richard Henderson <rth@redhat.com> |
2286 | ||
b6df547c RH |
2287 | * sysdeps/alpha/fpu/s_llround.c: New file. |
2288 | * sysdeps/alpha/fpu/s_llroundf.c: New file. | |
2289 | * sysdeps/alpha/fpu/s_lround.c: New file. | |
2290 | * sysdeps/alpha/fpu/s_lroundf.c: New file. | |
2291 | * sysdeps/alpha/fpu/s_round.c: New file. | |
2292 | * sysdeps/alpha/fpu/s_roundf.c: New file. | |
2293 | * sysdeps/alpha/fpu/s_trunc.c: New file. | |
2294 | * sysdeps/alpha/fpu/s_truncf.c: New file. | |
2295 | ||
aea1d19e RH |
2296 | * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches. |
2297 | * sysdeps/alpha/fpu/s_ceilf.c: Likewise. | |
2298 | * sysdeps/alpha/fpu/s_floor.c: Likewise. | |
2299 | * sysdeps/alpha/fpu/s_floorf.c: Likewise. | |
2300 | * sysdeps/alpha/fpu/s_rint.c: Likewise. | |
2301 | * sysdeps/alpha/fpu/s_rintf.c: Likewise. | |
2302 | ||
2303 | * sysdeps/alpha/fpu/s_fmax.S: New file. | |
2304 | * sysdeps/alpha/fpu/s_fmaxf.S: New file. | |
2305 | * sysdeps/alpha/fpu/s_fmin.S: New file. | |
2306 | * sysdeps/alpha/fpu/s_fminf.S: New file. | |
2307 | * sysdeps/alpha/fpu/s_isnan.c: New file. | |
2308 | * sysdeps/alpha/fpu/s_isnanf.c: New file. | |
2309 | * sysdeps/alpha/fpu/s_llrint.c: New file. | |
2310 | * sysdeps/alpha/fpu/s_llrintf.c: New file. | |
2311 | * sysdeps/alpha/fpu/s_lrint.c: New file. | |
2312 | * sysdeps/alpha/fpu/s_lrintf.c: New file. | |
2313 | * sysdeps/alpha/fpu/s_nearbyint.c: New file. | |
2314 | * sysdeps/alpha/fpu/s_nearbyintf.c: New file. | |
2315 | ||
2316 | * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove. | |
2317 | (__fdimf, fdimf, __fdim, fdim): Remove. | |
2318 | (__signbitf, __signbit, __signbitl): Use gcc builtin if available. | |
2319 | (__isnanf, __isnan, __isnanl): New. | |
2320 | ||
9e43b50d RH |
2321 | 2007-03-13 Richard Henderson <rth@redhat.com> |
2322 | ||
2323 | * sysdeps/ieee754/ldbl-128/Makefile: New file. | |
2324 | ||
62789da3 RH |
2325 | 2007-03-13 Richard Henderson <rth@redhat.com> |
2326 | ||
2327 | * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. | |
2328 | * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. | |
2329 | * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. | |
2330 | * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. | |
2331 | * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. | |
2332 | * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. | |
2333 | ||
47dbe62b RH |
2334 | 2007-03-13 Richard Henderson <rth@redhat.com> |
2335 | ||
37f40235 | 2336 | * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV. |
47dbe62b RH |
2337 | * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. |
2338 | * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. | |
2339 | * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): | |
2340 | Move to dl-auxv.h; initialize instead of extern weak. | |
2341 | (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef | |
2342 | weak symbol. | |
2343 | * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): | |
2344 | Extern instead of initialized. | |
2345 | ||
b8097bed RH |
2346 | 2007-03-13 Richard Henderson <rth@redhat.com> |
2347 | ||
2348 | * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for | |
2349 | __sigsuspend_nocancel. | |
2350 | ||
6bf4a686 UD |
2351 | 2007-03-06 Ulrich Drepper <drepper@redhat.com> |
2352 | ||
2353 | * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for | |
2354 | 172.16/12 address range. | |
2355 | ||
0b3b1a0c UD |
2356 | 2007-03-02 Jakub Jelinek <jakub@redhat.com> |
2357 | ||
2358 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with | |
2359 | a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC | |
2360 | message. | |
2361 | ||
8f3edfee UD |
2362 | 2007-03-01 Jakub Jelinek <jakub@redhat.com> |
2363 | ||
c1c5e654 | 2364 | [BZ #4069] |
8f3edfee UD |
2365 | * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN |
2366 | earlier. | |
2367 | * math/libm-test.inc (pow_test): Add more tests involving NaNs. | |
2368 | ||
2369 | * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception | |
2370 | for x qNaN and y either +-inf or non-integer value. | |
2371 | * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise. | |
2372 | * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. | |
2373 | * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. | |
2374 | ||
245a1481 UD |
2375 | 2007-02-10 Mike Frysinger <vapier@gentoo.org> |
2376 | ||
2377 | * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h | |
2378 | from sysdep_headers. | |
2379 | ||
c217692b UD |
2380 | 2007-02-28 Jakub Jelinek <jakub@redhat.com> |
2381 | ||
2382 | * time/tzfile.c (find_transition): Instead of a linear search try to | |
2383 | guess the transition index, use a linear search if the result is at | |
2384 | most 10 transitions away from the guess or binary search otherwise. | |
2385 | ||
fe64626c JJ |
2386 | 2007-02-27 Jakub Jelinek <jakub@redhat.com> |
2387 | ||
2388 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix | |
2389 | memory reallocation. | |
2390 | ||
0f7769f7 UD |
2391 | 2007-02-21 Ulrich Drepper <drepper@redhat.com> |
2392 | ||
621c133d UD |
2393 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions |
2394 | and fix some typos. | |
2395 | Optimize use of TOLOWER. | |
9cf147d8 | 2396 | |
cdfd61e1 UD |
2397 | [BZ #3325] |
2398 | * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem. | |
2399 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
2400 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
2401 | ||
8889e7aa UD |
2402 | [BZ #3458] |
2403 | * sysdeps/unix/sysv/linux/posix_madvise.c: New file. | |
2404 | * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry. | |
2405 | ||
63a2f305 UD |
2406 | [BZ #4076] |
2407 | * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /. | |
2408 | (open_dir_stream): Likewise. | |
2409 | * io/Makefile (tests): Add bug-ftw5. | |
c536b9b8 | 2410 | * io/bug-ftw5.c: New file. |
63a2f305 | 2411 | |
c8703f88 UD |
2412 | * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional. |
2413 | * nscd/servicescache.c (cache_addserv): Likewise. | |
2414 | ||
2415 | * nscd/grpcache.c (cache_addgr): In case a record changed on | |
2416 | refresh, adjust key_copy. | |
2417 | ||
61705e06 UD |
2418 | [BZ #4074] |
2419 | * nscd/pwdcache.c (cache_addpw): In case a record changed on | |
2420 | refresh, adjust key_copy. | |
2421 | ||
0f7769f7 UD |
2422 | [BZ #4070] |
2423 | * stdio-common/printf_fp.c (___printf_fp): Handle a few more | |
0f7769f7 | 2424 | special cases. |
8889e7aa | 2425 | * stdio-common/tfformat.c (sprint_doubles): Some more tests. |
0f7769f7 | 2426 | |
3979024a UD |
2427 | 2007-02-19 Ulrich Drepper <drepper@redhat.com> |
2428 | ||
4c02bf1a UD |
2429 | * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor |
2430 | optimization. | |
2431 | ||
3979024a UD |
2432 | * stdio-common/vfscanf.c: Small cleanups throughout. |
2433 | ||
821d3e70 UD |
2434 | 2007-02-18 Ulrich Drepper <drepper@redhat.com> |
2435 | ||
2484468b UD |
2436 | [BZ #3325] |
2437 | * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem. | |
2438 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
2439 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
2440 | Patch by Jared Casper <jaredcasper@gmail.com>. | |
2441 | ||
858ee15d UD |
2442 | * sysdeps/unix/closedir.c: Outside libc don't use locking. |
2443 | * sysdeps/unix/opendir.c: Likewise. | |
2444 | * sysdeps/unix/readdir.c: Likewise. | |
2445 | ||
ecb72bd5 UD |
2446 | [BZ #2211] |
2447 | * stdio-common/vfscanf.c: Handle localized digits etc for floating | |
2448 | point numbers. | |
2449 | Patch mostly by Hamed Malek <hamed@farsiweb.info>. | |
2450 | ||
ac2ca022 UD |
2451 | * stdio-common/vfscanf.c: Fix problems in width accounting. |
2452 | * stdio-common/tst-sscanf.c (double_tests): New tests. | |
2453 | (main): Hook them up. | |
2454 | ||
e9bb5246 | 2455 | * stdio-common/vfscanf.c: Remove unused WIDTH handling. |
da50f001 | 2456 | More simplifications of floating-point reader. |
e9bb5246 | 2457 | |
821d3e70 UD |
2458 | * stdio-common/Makefile (tests): Add tst-swscanf. |
2459 | * stdio-common/tst-sscanf.c: Make tests usable for swscanf | |
2460 | testing. | |
2461 | * stdio-common/tst-swscanf.c: New file. | |
2462 | ||
07fb5185 UD |
2463 | 2007-02-17 Ulrich Drepper <drepper@redhat.com> |
2464 | ||
9138cc0b UD |
2465 | [BZ #2633] |
2466 | * libio/stdio.h: Define struct _IO_FILE in global namespace. | |
2467 | * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace. | |
2468 | Remove using for __jmp_buf_tag. | |
2469 | * locale/locale.h (struct lconv): Also define in std namespace. | |
2470 | * wcsmbs/wchar.h: Move using declaration for tm out of namespace. | |
2471 | ||
6818d837 UD |
2472 | [BZ #3842] |
2473 | * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut | |
2474 | using __libc_enable_secure. | |
2475 | ||
15c4b5a4 UD |
2476 | [BZ #3818] |
2477 | * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define. | |
2478 | ||
5e9e9c14 UD |
2479 | [BZ #3745] |
2480 | * locale/programs/ld-collate.c (handle_ellipsis): Fix generation | |
2481 | of names for ellipsises. | |
2482 | ||
07fb5185 UD |
2483 | [BZ #3348] |
2484 | * malloc/memusage.sh: Cleanups. | |
2485 | * debug/xtrace.sh: Quoting and trap changes. | |
2486 | ||
8c6d1043 UD |
2487 | 2007-02-16 Ulrich Drepper <drepper@redhat.com> |
2488 | ||
07fb5185 UD |
2489 | * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries. |
2490 | ||
93e66914 | 2491 | * locale/iso-3166.def: Update entry for Serbia. |
93e36434 UD |
2492 | * locale/iso-4217.def: Define RSD, remove CSD. |
2493 | ||
ad0b348c UD |
2494 | * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16- |
2495 | and 64-bit operations. | |
2496 | ||
2497 | [BZ #4040] | |
2498 | * sysdeps/i386/i486/bits/atomic.h: One more change, this time for | |
2499 | 16-bit operations. | |
2500 | ||
8c6d1043 UD |
2501 | * nscd/nscd.c (parse_opt): One more conversion to use send instead |
2502 | of writev. | |
2503 | ||
987f54c6 UD |
2504 | 2007-02-15 Ulrich Drepper <drepper@redhat.com> |
2505 | ||
b3715c05 UD |
2506 | [BZ #3991] |
2507 | * assert/assert.h (assert): Simplify. | |
2508 | (assert_perror): Likewise. | |
2509 | Patch by Israel G. Lugo <ilugo@bridonsecurity.com>. | |
2510 | ||
6eea8e0d UD |
2511 | * nscd/nscd_helper.c (open_socket): Don't send padding bytes from |
2512 | reqdata. | |
2513 | ||
987f54c6 UD |
2514 | * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic |
2515 | change: don't pass NULL in place of an integer. | |
2516 | ||
3dc08a7e UD |
2517 | 2007-02-02 Bruno Haible <bruno@clisp.org> |
2518 | ||
06c17c78 UD |
2519 | [BZ #3954] |
2520 | * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs): | |
2521 | Add mapping for U+327E. | |
2522 | * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment. | |
2523 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable | |
2524 | mapping of 0xD9 0xE8. | |
2525 | * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable | |
2526 | mapping of U+327E. | |
2527 | Reported by Jungshik Shin <jungshik@google.com>. | |
2528 | ||
2529 | [BZ #3955] | |
3dc08a7e UD |
2530 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable |
2531 | mapping of 0xD9 0xE6 and of 0xD9 0xE7. | |
2532 | Reported by Jungshik Shin <jungshik@google.com>. | |
2533 | ||
a810e68c UD |
2534 | 2007-02-14 Ulrich Drepper <drepper@redhat.com> |
2535 | ||
2536 | * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some | |
2537 | byte variants. | |
2538 | ||
2539 | [BZ #4040] | |
2540 | * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some | |
2541 | byte variants. Patch mostly be tom@tommay.net. | |
2542 | ||
05f135ba UD |
2543 | 2007-02-14 Jakub Jelinek <jakub@redhat.com> |
2544 | ||
2545 | [BZ #3996] | |
2546 | * posix/glob.c (attribute_hidden): Define if not defined. | |
2547 | (glob): Unescape dirname, filename or username when needed and not | |
2548 | GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename | |
2549 | is NULL. Handle unescaped [ in pattern without closing ]. | |
2550 | Don't pass GLOB_CHECK down to recursive glob for directories. | |
2551 | (__glob_pattern_type): New function. | |
2552 | (__glob_pattern_p): Implement using __glob_pattern_type. | |
2553 | (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta | |
2554 | characters and backslashes if not GLOB_NOESCAPE or unterminated [. | |
2555 | Remove unreachable code. | |
2556 | * posix/globtest.sh: Add a couple of new tests. | |
2557 | ||
2f699967 UD |
2558 | 2007-02-13 Ulrich Drepper <drepper@redhat.com> |
2559 | ||
2560 | * po/ru.po: Update from translation team. | |
2561 | ||
3a7cd5b4 JJ |
2562 | 2007-02-12 Jakub Jelinek <jakub@redhat.com> |
2563 | ||
2564 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ | |
2565 | to the list of i486+ CPUs. | |
2566 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
2567 | ||
2f978feb UD |
2568 | 2007-02-12 Ulrich Drepper <drepper@redhat.com> |
2569 | ||
2570 | * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference. | |
2571 | * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined | |
2572 | references. | |
2573 | ||
2bbb7d5b UD |
2574 | 2007-02-09 Ulrich Drepper <drepper@redhat.com> |
2575 | ||
5ed61e0f UD |
2576 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. |
2577 | ||
2bbb7d5b UD |
2578 | * resolv/res_init.c (res_setoptions): Recognize edns0 option. |
2579 | * resolv/res_mkquery.c: Define __res_nopt. | |
2580 | * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set | |
2581 | try adding EDNS0 record. | |
2582 | * resolv/res_send.c (send_dg): If request failed with FORMERR and | |
2583 | EDNS0 record was send make sure we don't try it again. | |
2584 | * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0. | |
2585 | * include/resolv.h: Declare __res_nopt. | |
2586 | ||
00458b5b UD |
2587 | 2007-02-08 Jakub Jelinek <jakub@redhat.com> |
2588 | ||
2589 | [BZ #3944] | |
2590 | * time/strptime_l.c (__strptime_internal): Set have_mon for | |
2591 | %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday | |
2592 | have been computed from tm_yday and tm_year. Don't crash | |
2593 | in day_of_the_week or day_of_the_year if not have_mon | |
2594 | and tm_mon contains bogus value. | |
2595 | * time/Makefile (tests): Add tst-strptime3. | |
2596 | * time/tst-strptime3.c: New test. | |
2597 | ||
784aacea UD |
2598 | 2007-02-05 Jakub Jelinek <jakub@redhat.com> |
2599 | ||
2600 | [BZ #3957] | |
2601 | * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0' | |
2602 | bit for RE_HAT_LISTS_NOT_NEWLINE. | |
2603 | (build_charclass_op): Remove bogus comment. | |
2604 | * posix/Makefile (tests): Add bug-regex27 and bug-regex28. | |
2605 | * posix/bug-regex27.c: New test. | |
2606 | * posix/bug-regex28.c: New test. | |
2607 | ||
bf7a2463 UD |
2608 | 2007-02-03 Ulrich Drepper <drepper@redhat.com> |
2609 | ||
2610 | * po/sv.po: Update from translation team. | |
2611 | ||
f2ccf983 UD |
2612 | 2007-02-02 Ulrich Drepper <drepper@redhat.com> |
2613 | ||
2614 | * nscd/nscd_helper.c (open_socket): Minor size optimization. | |
2615 | ||
73f50d5a UD |
2616 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
2617 | ||
2618 | * include/locale.h (__uselocale): Add libc_hidden_proto. | |
2619 | * locale/uselocale.c (__uselocale): Add libc_hidden_def. | |
2620 | ||
f6bf9e59 JJ |
2621 | * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of |
2622 | gettimeofday. | |
2623 | ||
4a44ce79 UD |
2624 | 2007-02-01 Ulrich Drepper <drepper@redhat.com> |
2625 | ||
2626 | * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before | |
2627 | returning. | |
2628 | (PTR_DEMANGLE): Real definition now that it's not the same as | |
2629 | PRT_MANGLE anymore. | |
2630 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
2631 | ||
2632 | * string/strerror_l.c: New file. | |
2633 | * string/Makefile (routines): Add strerror_l. | |
2634 | * string/string.h: Declare strerror_l. | |
2635 | * string/Versions: Export strerror_l for GLIBC_2.6. | |
2636 | ||
58a2d52e UD |
2637 | 2007-01-31 Ulrich Drepper <drepper@redhat.com> |
2638 | ||
2639 | * nscd/nscd_helper.c (open_socket): Now takes request type and key | |
2640 | as parameter. Construct request record. Try sending request | |
2641 | before the first poll use, it usually succeeds. Adjust all | |
2642 | callers. | |
2643 | * nscd/nscd-client.h: Define MAXKEYLEN. | |
4a44ce79 | 2644 | * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here. |
58a2d52e | 2645 | |
1a77d37f JJ |
2646 | 2007-01-31 Jakub Jelinek <jakub@redhat.com> |
2647 | ||
2648 | * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier | |
2649 | from return value. | |
2650 | * nscd/nscd_helper.c: Include string.h. | |
2651 | (__nscd_cache_search): Remove const qualifier from return value. | |
2652 | On strict alignment architectures check hash entry and data head | |
2653 | alignment. | |
2654 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because | |
2655 | mmapped data during GC cycle contains garbage. If | |
2656 | __nscd_drop_map_ref fails, decrement mapped->counter when returning | |
2657 | error or if retrying with NO_MAPPING, only __nscd_unmap if counter | |
2658 | dropped to 0. | |
2659 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
2660 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
2661 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
2662 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
2663 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
2664 | ||
ee314200 UD |
2665 | 2007-01-30 Ulrich Drepper <drepper@redhat.com> |
2666 | ||
2667 | * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. | |
2668 | ||
14c8bf3b UD |
2669 | 2007-01-26 Ulrich Drepper <drepper@redhat.com> |
2670 | ||
2671 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register | |
2672 | names not numbers in cfi_*. | |
2673 | ||
d2708e67 AJ |
2674 | 2007-01-26 Andreas Jaeger <aj@suse.de> |
2675 | ||
2676 | * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, | |
14c8bf3b | 2677 | ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add. |
d2708e67 AJ |
2678 | Correct values of PER_HPUX and PER_OSF4. |
2679 | ||
7fbc8784 UD |
2680 | 2007-01-24 Ulrich Drepper <drepper@redhat.com> |
2681 | ||
8aaf53ee | 2682 | * elf/dl-minimal.c: Undefine _itoa first. |
7fbc8784 UD |
2683 | * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. |
2684 | * malloc/mtrace.c: Revert last change. | |
2685 | * posix/wordexp.c: Likewise. | |
2686 | ||
9d6cde3d UD |
2687 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
2688 | ||
2689 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ | |
2690 | and __geode__ to the list of i486+ CPUs. | |
2691 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
2692 | ||
c1f0486a UD |
2693 | 2007-01-23 Ulrich Drepper <drepper@redhat.com> |
2694 | ||
2695 | * stdio-common/_itoa.c: Include <limits.h>. | |
2696 | * stdio-common/_itowa.c: Likewise. | |
2697 | ||
6cae3957 UD |
2698 | 2007-01-22 Ulrich Drepper <drepper@redhat.com> |
2699 | ||
765bbb24 UD |
2700 | * stdio-common/_itowa.c: Don't compile _itowa for 64-bit |
2701 | platforms. | |
2702 | * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for | |
2703 | 64-bit platforms. | |
2704 | * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if | |
2705 | possible. | |
2706 | * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa | |
2707 | if possible. | |
2708 | ||
6cae3957 UD |
2709 | [BZ #3902] |
2710 | * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. | |
2711 | * stdio-common/Makefile (tests): Add bug17. | |
2712 | * stdio-common/bug17.c: New file. | |
2713 | ||
ddaafd04 UD |
2714 | 2007-01-19 Ulrich Drepper <drepper@redhat.com> |
2715 | ||
2716 | * iconvdata/brf.c: New file. | |
439201de UD |
2717 | * iconvdata/testdata/BRF: New file. |
2718 | * iconvdata/testdata/BRF..UTF8: New file. | |
2719 | Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
ddaafd04 UD |
2720 | * iconvdata/Makefile: Add rules to build BRF. |
2721 | * iconvdata/TESTS: Add BRF entry. | |
2722 | * iconvdata/gconv-modules: Likewise. | |
2723 | * iconvdata/tst-tables.sh: Likewise. | |
ddaafd04 | 2724 | |
9e6e344e UD |
2725 | 2007-01-18 Anton Nikishaev <anton.nik@gmail.com> |
2726 | ||
2727 | * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of | |
2728 | type `long long int', not `long int'. | |
2729 | (wcstoq): Likewise. | |
2730 | ||
299f7b0f UD |
2731 | 2007-01-18 Ulrich Drepper <drepper@redhat.com> |
2732 | ||
2733 | * scripts/gen-as-const.awk: Add cast to long to avoid int promotion | |
2734 | of values on 64-bit platforms which are too large. | |
2735 | ||
cd8127cc JJ |
2736 | 2007-01-12 Steven Munroe <sjmunroe@us.ibm.com> |
2737 | Joe Kerian <jkerian@us.us.ibm.com> | |
2738 | ||
2739 | [BZ #2749] | |
2740 | * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include | |
2741 | <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro. | |
2742 | (__copysignl): Use signbit() for comparison. | |
2743 | * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for | |
2744 | SET_LDOUBLE_WORDS64. | |
2745 | ||
2746 | [BZ #2423, #2749] | |
2747 | * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>. | |
2748 | (__ceill): Remove calls to fegetround(), fesetround(). | |
2749 | * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. | |
2750 | * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. | |
2751 | * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. | |
2752 | ||
b3acfdf7 JJ |
2753 | 2007-01-17 Jakub Jelinek <jakub@redhat.com> |
2754 | ||
4a2e03c6 JJ |
2755 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos. |
2756 | ||
b3acfdf7 JJ |
2757 | * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. |
2758 | ||
1476bce6 UD |
2759 | 2007-01-17 Ulrich Drepper <drepper@redhat.com> |
2760 | ||
2761 | * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to | |
2762 | demangle pointer. | |
2763 | * csu/libc-start.c: Likewise. | |
2764 | ||
d78bce1c UD |
2765 | 2007-01-16 Ulrich Drepper <drepper@redhat.com> |
2766 | ||
2767 | * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot | |
2768 | really work anyway. | |
2769 | ||
1bd79025 UD |
2770 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
2771 | ||
000b027e UD |
2772 | * nscd/connections.c (servinfo): Renamed to reqinfo. Change all |
2773 | users. | |
2774 | (handle_request): Remove unnecessary tests. | |
2775 | ||
1bd79025 UD |
2776 | * nscd/cache.c (cache_add): Record the failure to add to the cache. |
2777 | ||
d68f5d2c JJ |
2778 | 2007-01-15 Jakub Jelinek <jakub@redhat.com> |
2779 | ||
2780 | * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear | |
2781 | workbits in semi-raw fraction. | |
2782 | ||
2783 | * math/test-misc.c: Add new tests. | |
2784 | ||
2785 | 2007-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
2786 | ||
2787 | * math/basic-test.c: Include test-skeleton.c. | |
2788 | (TEST_TRUNC): Define. | |
2789 | (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. | |
2790 | (main): Rename to ... | |
2791 | (do_test): ...this. Run new tests. | |
2792 | (TEST_FUNCTION): Define. | |
2793 | ||
2794 | 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com> | |
2795 | Joe Kerian <jkerian@us.us.ibm.com> | |
2796 | ||
2797 | [BZ #2749] | |
2798 | * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow | |
2799 | handling for high words. | |
2800 | * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact | |
2801 | and overflow for infinity. | |
2802 | ||
4e35ef2c UD |
2803 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
2804 | ||
2a1dea97 UD |
2805 | * nscd/connections.c (handle_request): Add a __builtin_expect. |
2806 | ||
9691d83c UD |
2807 | * nscd/connections.c (serv2db): Change type into structure which |
2808 | also says whether this is a request for data. Renamed to | |
2809 | servinfo. All users changed. | |
2810 | (handle_request): Much simpler test whether we should search the cache. | |
2811 | ||
49ee6d79 UD |
2812 | * nscd/connections.c (handle_request): Fix thinko in selinux test |
2813 | invocation. | |
2814 | ||
4e35ef2c UD |
2815 | * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. |
2816 | * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock | |
2817 | it before getting dl_load_lock and then relock. | |
2818 | (_dl_lookup_symbol_x): Pass flags to add_dependency. | |
2819 | When rerunning _dl_lookup_symbol_x, compute symbol_scope again in | |
2820 | case we unlocked the scope. | |
2821 | * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to | |
2822 | _dl_lookup_symbol_x in case we locked the scope. | |
2823 | (_dl_profile_fixup): Likewise. | |
2824 | * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also | |
2825 | set DL_LOOKUP_SCOPE_LOCK. | |
2826 | ||
23691ab2 UD |
2827 | 2007-01-13 Ulrich Drepper <drepper@redhat.com> |
2828 | ||
fb453d08 UD |
2829 | * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and |
2830 | CFLAGS-getsrvbynpt_r.c. | |
2831 | * nscd/getsrvbynm_r.c: New file. | |
2832 | * nscd/getsrvbypt_r.c: New file. | |
2833 | * nscd/nscd_getserv_r.c: New file. | |
2834 | * nscd/servicescache.c: New file. | |
2835 | * nscd/Makefile (routines): Add nscd_getserv_r. | |
2836 | (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache. | |
2837 | Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and | |
2838 | CFLAGS-getsrvbypt_r.c. | |
2839 | * nscd/cache.c (prune_cache): Rewrite to get re-add function from | |
2840 | table. Add entries for services database. | |
2841 | * nscd/connections.c (serv2str): Mark as const. Add entries for | |
2842 | services database. | |
2843 | (dbs): Add .reset_res and servdb initialization. | |
2844 | (serv2db): Add entries for services database. | |
2845 | (verify_persistent_db): Accept dbnr == servdb. | |
2846 | (invalidate_cache): Rewrite database name recognition to use a table. | |
2847 | Call res_init() if .reset_res is set for database. | |
2848 | (handle_request): Add code to handle services database. | |
2849 | * nscd/gai.c: Don't define __getservbyname_r. | |
2850 | * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add | |
2851 | GETSERVBYNAME, GETSERVBYPORT, GETFDSERV. | |
2852 | (serv_response_header): Define. | |
2853 | (struct datahead): Add serv_response_header member. | |
2854 | * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value | |
2855 | using table. | |
2856 | * nscd/nscd.conf: Add entries for services database. | |
2857 | * nscd/nscd.h: Adjust declaration of dbnames and serv2str. | |
2858 | Declare serv_iov_disabled. | |
2859 | Declare addservbyname, readdservbyname, addservbyport, and | |
2860 | readdservbyport. | |
2861 | * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry. | |
2862 | (find_db): Fix error message. | |
2863 | * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services, | |
2864 | __nscd_getservbyname_r, and __nscd_getservbyport_r. | |
2865 | * nscd/selinux.c (perms): Add entries for services database. | |
2866 | * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE. | |
2867 | * nss/nsswitch.c (__nss_disable_nscd): Also disable services database. | |
2868 | ||
2869 | * nscd/grpcache.c: Remove obsolete code. Cleanups. | |
2870 | * nscd/hstcache.c: Likewise. | |
2871 | * nscd/pwdcache.c: Likewise. | |
2872 | ||
b21fa963 UD |
2873 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct |
2874 | computation of keylen. | |
2875 | ||
23691ab2 UD |
2876 | * include/string.h: Only redefine strndupa if this is really for |
2877 | libc code. | |
2878 | ||
8980796b UD |
2879 | 2007-01-12 Ulrich Drepper <drepper@redhat.com> |
2880 | ||
4a4a65f2 UD |
2881 | * nscd/nscd_gethst_r.c: Minor cleanups. |
2882 | ||
43397eaf UD |
2883 | * nscd/connections.c (handle_request): Check selinux permissions |
2884 | for all non-admin commands. | |
2885 | ||
038a1a9f UD |
2886 | * sysdeps/i386/i486/bits/atomic.h: Define |
2887 | atomic_compare_and_exchange_val_acq, | |
2888 | atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add | |
2889 | using __sync_* built-ins for gcc >= 4.1. | |
2890 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
2891 | ||
8980796b UD |
2892 | [BZ #3840] |
2893 | * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d, | |
2894 | and .oS.d files. | |
2895 | ||
32c075e1 JJ |
2896 | 2007-01-05 Steven Munroe <sjmunroe@us.ibm.com> |
2897 | ||
2898 | * stdlib/tst-makecontext.c: Include errno.h. Change main() | |
2899 | to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. | |
2900 | (do_test): Check errno and exit(0) if ENOSYS. | |
2901 | ||
2902 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> | |
2903 | ||
2904 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte | |
2905 | thousands separators. | |
2906 | * stdlib/Makefile: Add rules to build and run tst-strtod4. | |
2907 | * stdlib/tst-strtod4.c: New test. | |
2908 | ||
2909 | [BZ #3855] | |
2910 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by | |
2911 | hexadecimal digit should accept just the initial 0. | |
2912 | * stdlib/tst-strtod2.c (tests): New variable. | |
2913 | (do_test): Run several tests rather than just one. | |
2914 | ||
11bf311e | 2915 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> |
df859a0c | 2916 | |
11bf311e UD |
2917 | * sysdeps/i386/soft-fp/sfp-machine.h: Remove. |
2918 | * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. | |
df859a0c | 2919 | |
11bf311e | 2920 | 2007-01-10 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 2921 | |
11bf311e UD |
2922 | * io/fts.c: Make sure fts_cur is always valid after return from |
2923 | fts_read. | |
2924 | Patch by Miloslav Trmac <mitr@redhat.com>. | |
64a0aa0f | 2925 | |
11bf311e | 2926 | 2006-10-27 Richard Sandiford <richard@codesourcery.com> |
32c075e1 | 2927 | |
11bf311e UD |
2928 | * elf/elf.h (R_MIPS_GLOB_DAT): Define. |
2929 | (R_MIPS_NUM): Bump by 1. | |
32c075e1 | 2930 | |
11bf311e | 2931 | 2007-01-03 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 2932 | |
11bf311e UD |
2933 | * posix/execvp.c: Include alloca.h. |
2934 | (allocate_scripts_argv): Renamed to... | |
2935 | (scripts_argv): ... this. Don't allocate buffer here nor count | |
2936 | arguments. | |
2937 | (execvp): Use alloca if possible. | |
2938 | * posix/Makefile: Add rules to build and run tst-vfork3 test. | |
2939 | * posix/tst-vfork3.c: New test. | |
32c075e1 JJ |
2940 | |
2941 | 2007-01-03 Ulrich Drepper <drepper@redhat.com> | |
2942 | ||
2943 | * string/Makefile (tst-strxfrm2-ENV): Define. | |
11bf311e | 2944 | * stdlib/Makefile (tst-strtod3-ENV): Define. |
32c075e1 | 2945 | |
11bf311e | 2946 | 2007-01-02 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 2947 | |
11bf311e UD |
2948 | * posix/getconf.c: Update copyright year. |
2949 | * nss/getent.c: Likewise. | |
2950 | * iconv/iconvconfig.c: Likewise. | |
2951 | * iconv/iconv_prog.c: Likewise. | |
2952 | * elf/ldconfig.c: Likewise. | |
2953 | * catgets/gencat.c: Likewise. | |
2954 | * csu/version.c: Likewise. | |
2955 | * elf/ldd.bash.in: Likewise. | |
2956 | * elf/sprof.c (print_version): Likewise. | |
2957 | * locale/programs/locale.c: Likewise. | |
2958 | * locale/programs/localedef.c: Likewise. | |
2959 | * nscd/nscd.c (print_version): Likewise. | |
2960 | * debug/xtrace.sh: Likewise. | |
2961 | * malloc/memusage.sh: Likewise. | |
2962 | * malloc/mtrace.pl: Likewise. | |
2963 | * debug/catchsegv.sh: Likewise. | |
64a0aa0f | 2964 | |
11bf311e | 2965 | 2006-12-24 Ulrich Drepper <drepper@redhat.com> |
48576885 | 2966 | |
11bf311e UD |
2967 | * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment |
2968 | attempts. | |
48576885 | 2969 | |
11bf311e | 2970 | 2006-12-23 Ulrich Drepper <drepper@redhat.com> |
3b6667a4 | 2971 | |
11bf311e | 2972 | * posix/wordexp.c: Remove some unnecessary tests. |
3b6667a4 | 2973 | |
33c6de58 UD |
2974 | 2006-12-22 Gavin Romig-Koch <gavin@redhat.com> |
2975 | ||
2976 | * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't | |
2977 | blacklist the group till after we look it up. | |
2978 | ||
fc242bef UD |
2979 | 2006-12-21 Ulrich Drepper <drepper@redhat.com> |
2980 | ||
2981 | * include/atomic.h (atomic_forced_read): New macro. | |
2982 | ||
11bf311e UD |
2983 | 2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
2984 | ||
2985 | * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file. | |
2986 | ||
a12dcecc UD |
2987 | 2006-12-19 Jakub Jelinek <jakub@redhat.com> |
2988 | ||
11bf311e UD |
2989 | * nss/getXXbyYY_r.c: Include atomic.h. |
2990 | (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, | |
2991 | add atomic_write_barrier () in between. | |
2992 | ||
a12dcecc UD |
2993 | * stdlib/Makefile (tests): Add tst-makecontext. |
2994 | * stdlib/tst-makecontext.c: New test. | |
2995 | ||
2996 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S | |
2997 | (__makecontext): Don't realign uc_mcontext.uc_regs. | |
2998 | ||
11bf311e | 2999 | 2006-11-28 Jakub Jelinek <jakub@redhat.com> |
594d423a | 3000 | |
11bf311e UD |
3001 | * elf/dl-support.c: Include dl-procinfo.h. |
3002 | * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, | |
3003 | PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, | |
3004 | PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): | |
3005 | Define. | |
3006 | (_dl_string_platform): Use PPC_PLATFORM_* macros instead of | |
3007 | hardcoded constants. | |
3008 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use | |
3009 | PPC_PLATFORM_* macros for array designators. | |
594d423a | 3010 | |
11bf311e | 3011 | 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com> |
594d423a | 3012 | |
11bf311e UD |
3013 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap |
3014 | names to the beginning. | |
3015 | (_dl_powerpc_platforms): Add "power6x". | |
3016 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
3017 | (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. | |
3018 | (_DL_PLATFORMS_COUNT): Increase. | |
3019 | (_dl_string_platform): Handle power6x case. | |
3020 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, | |
3021 | PPC_FEATURE_POWER6_EXT): Define. | |
3022 | (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. | |
594d423a | 3023 | |
5bcba0ed UD |
3024 | 2006-12-18 Jakub Jelinek <jakub@redhat.com> |
3025 | ||
3026 | [BZ #3747] | |
3027 | * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the | |
11bf311e | 3028 | [-2^31 .. 2^31) range. |
5bcba0ed UD |
3029 | * stdlib/tst-rand48.c (main): Fix expected values for 64-bit |
3030 | targets. | |
3031 | * stdlib/tst-rand48-2.c: New test. | |
3032 | * stdlib/Makefile (tests): Add tst-rand48-2. | |
3033 | ||
9e1444fc UD |
3034 | 2006-12-14 Jakub Jelinek <jakub@redhat.com> |
3035 | ||
3036 | * misc/tst-pselect.c (do_test): Fix sigblock argument. | |
3037 | ||
36775704 UD |
3038 | 2006-12-14 Ulrich Drepper <drepper@redhat.com> |
3039 | ||
3040 | * misc/tst-pselect.c (do_test): Make sure the helper process is | |
3041 | terminating when the test is aborted. | |
3042 | ||
1e88bd0f UD |
3043 | 2006-12-13 Ulrich Drepper <drepper@redhat.com> |
3044 | ||
11bf311e UD |
3045 | * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. |
3046 | * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): | |
3047 | Handle relatime mount option. | |
3048 | ||
1e88bd0f UD |
3049 | [BZ #2337] |
3050 | * libio/Makefile (tests): Add tst-setvbuf1. | |
3051 | * libio/tst-setvbuf1.c: New file. | |
3052 | ||
3053 | 2006-12-08 Jakub Jelinek <jakub@redhat.com> | |
3054 | ||
3055 | [BZ #2337] | |
3056 | * libio/genops.c (__uflow): Fix a typo. | |
3057 | * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat | |
3058 | nor set _IO_LINE_BUF bit here. Size the wide buffer based on | |
3059 | the narrow buffer size. | |
3060 | ||
3061 | 2006-11-24 Jakub Jelinek <jakub@redhat.com> | |
3062 | ||
3063 | [BZ #2337] | |
3064 | * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. | |
3065 | * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set | |
3066 | _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit | |
3067 | in _flags. | |
3068 | * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, | |
3069 | _IO_wstr_finish): Likewise. | |
3070 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
3071 | * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] | |
3072 | even for wide streams. | |
3073 | ||
11bf311e | 3074 | 2006-12-13 Jakub Jelinek <jakub@redhat.com> |
1f55ce48 | 3075 | |
11bf311e UD |
3076 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include |
3077 | kernel-features.h. | |
3078 | ||
3079 | 2006-12-11 Ulrich Drepper <drepper@redhat.com> | |
3080 | ||
3081 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand | |
3082 | separators also if no non-zero digits found. | |
3083 | * stdlib/Makefile (tests): Add tst-strtod3. | |
1f55ce48 | 3084 | |
d117c1ce UD |
3085 | 2006-12-09 Ulrich Drepper <drepper@redhat.com> |
3086 | ||
f85fb97b UD |
3087 | [BZ #3632] |
3088 | * include/features.h: Fix comment about default value for | |
3089 | _POSIX_C_SOURCE. | |
3090 | ||
11bf311e UD |
3091 | [BZ #3664] |
3092 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize | |
3093 | empty parsed strings. | |
3094 | * stdlib/Makefile (tests): Add tst-strtod2. | |
3095 | * stdlib/tst-strtod2.c: New file. | |
3096 | ||
3097 | [BZ #3673] | |
3098 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit | |
3099 | computation. | |
3100 | * stdlib/Makefile (tests): Add tst-atof2. | |
3101 | * stdlib/tst-atof2.c: New file. | |
3102 | ||
3103 | [BZ #3674] | |
3104 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value | |
3105 | correctly if removing trailing zero of hex-float. | |
3106 | * stdlib/Makefile (tests): Add tst-atof1. | |
3107 | * stdlib/tst-atof1.c: New file. | |
3108 | ||
a822d9f4 UD |
3109 | 2006-12-09 Jakub Jelinek <jakub@redhat.com> |
3110 | ||
11bf311e UD |
3111 | * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. |
3112 | Start searching for next comma at p rather than rest. | |
3113 | * misc/Makefile (tests): Add tst-mntent2. | |
3114 | * misc/tst-mntent2.c: New test. | |
3115 | ||
a822d9f4 UD |
3116 | * misc/getusershell.c (initshells): Check for integer overflows. |
3117 | Make strings buffer one bigger as fgets always succeeds when second | |
3118 | argument is 1. Don't use calloc for shells array. Disallow | |
11bf311e | 3119 | / as shell. |
f0d5e1f6 | 3120 | |
11bf311e | 3121 | 2006-12-08 Ulrich Drepper <drepper@redhat.com> |
f0d5e1f6 | 3122 | |
11bf311e UD |
3123 | * malloc/memusage.c: Handle realloc with new size of zero and |
3124 | non-NULL pointer correctly. | |
3125 | (me): Really write first record twice. | |
3126 | (struct entry): Make format bi-arch safe. | |
3127 | (dest): Write out more realloc statistics. | |
3128 | * malloc/memusagestat.c (struct entry): Make format bi-arch safe. | |
32c075e1 | 3129 | |
11bf311e | 3130 | 2006-12-05 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 3131 | |
11bf311e | 3132 | * nis/nis_subr.c (nis_getnames): Revert last change. |
32c075e1 | 3133 | |
f0d5e1f6 UD |
3134 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
3135 | ||
3136 | * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. | |
3137 | (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. | |
3138 | * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. | |
3139 | (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to | |
3140 | ENOTTY. | |
3141 | * io/Makefile: Add rules to build and run tst-ttyname_r test. | |
3142 | * io/tst-ttyname_r.c: New test. | |
3143 | ||
11bf311e | 3144 | 2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
5df4fe08 | 3145 | |
11bf311e | 3146 | * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed. |
5df4fe08 | 3147 | |
11bf311e | 3148 | 2006-11-30 H.J. Lu <hongjiu.lu@intel.com> |
ee50871d | 3149 | |
11bf311e UD |
3150 | * sysdeps/i386/i686/memcmp.S: Use jump table as the base of |
3151 | jump table entries. | |
3152 | ||
3153 | 2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> | |
3154 | ||
3155 | * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost | |
3156 | `clone' function to ensure proper unwinding stop of gdb. | |
3157 | * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. | |
3158 | ||
3159 | 2006-12-01 Ulrich Drepper <drepper@redhat.com> | |
3160 | ||
3161 | * nscd/nscd.init: Remove obsolete and commented-out -S option | |
3162 | handling. | |
3163 | ||
3164 | 2006-11-23 Jakub Jelinek <jakub@redhat.com> | |
3165 | ||
3166 | [BZ #3514] | |
3167 | * manual/string.texi (strncmp): Fix pastos from wcscmp description. | |
3168 | ||
3169 | [BZ #3515] | |
3170 | * manual/string.texi (strtok): Remove duplicate paragraph. | |
3171 | ||
3172 | 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com> | |
3173 | ||
3174 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with | |
3175 | libgcc not supporting `rflags' unwinding (register # >= 17). | |
3176 | ||
3177 | 2006-11-30 Jakub Jelinek <jakub@redhat.com> | |
3178 | ||
3179 | * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc | |
3180 | succeeded. | |
3181 | ||
3182 | 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com> | |
3183 | Jakub Jelinek <jakub@redhat.com> | |
3184 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
3185 | ||
3186 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct | |
3187 | unwind information. | |
3188 | * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for | |
3189 | 'restore_rt' even in the 'signal' directory. | |
3190 | * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list. | |
ee50871d | 3191 | |
b1a758f3 UD |
3192 | 2006-11-27 Jakub Jelinek <jakub@redhat.com> |
3193 | ||
3194 | [BZ #3559] | |
3195 | * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if | |
11bf311e UD |
3196 | malloc crashed. Don't allocate memory unnecessarily in each |
3197 | loop. | |
b1a758f3 | 3198 | |
11bf311e | 3199 | 2006-10-21 Jakub Jelinek <jakub@redhat.com> |
854d1124 | 3200 | |
11bf311e | 3201 | * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. |
dfc99a56 | 3202 | |
11bf311e | 3203 | 2006-11-20 Ulrich Drepper <drepper@redhat.com> |
dfc99a56 | 3204 | |
11bf311e | 3205 | * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. |
852d657c | 3206 | |
11bf311e | 3207 | 2006-11-18 Bruno Haible <bruno@clisp.org> |
852d657c | 3208 | |
11bf311e UD |
3209 | * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke |
3210 | __sysconf only after having tried to call getgroups32. | |
36c0a636 | 3211 | |
11bf311e | 3212 | 2006-11-19 Ulrich Drepper <drepper@redhat.com> |
36c0a636 | 3213 | |
11bf311e UD |
3214 | * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style |
3215 | addresses for IPv4 queries if they can be mapped. | |
b1f0c2a6 | 3216 | |
11bf311e | 3217 | 2006-11-16 Jakub Jelinek <jakub@redhat.com> |
b1f0c2a6 | 3218 | |
11bf311e UD |
3219 | * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text. |
3220 | * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise. | |
3221 | (signmask): Add .size directive. | |
3222 | (othermask): Add .type directive. | |
bef8927a | 3223 | |
11bf311e | 3224 | 2006-11-14 Ulrich Drepper <drepper@redhat.com> |
2c53fa20 | 3225 | |
11bf311e | 3226 | * po/nl.po: Update from translation team. |
854d1124 | 3227 | |
11bf311e | 3228 | * timezone/zdump.c: Redo fix for BZ #3137. |
3f1e9205 | 3229 | |
11bf311e | 3230 | 2006-11-14 Jakub Jelinek <jakub@redhat.com> |
bef8927a | 3231 | |
11bf311e UD |
3232 | * nss/nss_files/files-alias.c (get_next_alias): Set line back |
3233 | to first_unused after parsing :include: file. | |
5c2af134 | 3234 | |
32c075e1 | 3235 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> |
e1b37083 | 3236 | |
11bf311e UD |
3237 | * timezone/africa: Update from tzdata2006o. |
3238 | * timezone/antarctica: Likewise. | |
3239 | * timezone/asia: Likewise. | |
3240 | * timezone/australasia: Likewise. | |
3241 | * timezone/backward: Likewise. | |
3242 | * timezone/europe: Likewise. | |
3243 | * timezone/iso3166.tab: Likewise. | |
3244 | * timezone/northamerica: Likewise. | |
3245 | * timezone/southamerica: Likewise. | |
3246 | * timezone/zone.tab: Likewise. | |
3247 | ||
3248 | * time/tzfile.c (__tzfile_read): Extend to handle new file format | |
3249 | on machines with 64-bit time_t. | |
3250 | ||
3251 | * timezone/checktab.awk: Update from tzcode2006o. | |
3252 | * timezone/ialloc.c: Likewise. | |
3253 | * timezone/private.h: Likewise. | |
3254 | * timezone/scheck.c: Likewise. | |
3255 | * timezone/tzfile.h: Likewise. | |
3256 | * timezone/tzselect.ksh: Likewise. | |
3257 | * timezone/zdump.c: Likewise. | |
3258 | * timezone/zic.c: Likewise. | |
3259 | ||
3260 | [BZ #3483] | |
3261 | * elf/ldconfig.c (main): Call setlocale and textdomain. | |
3262 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
3263 | ||
3264 | [BZ #3480] | |
3265 | * manual/argp.texi: Fix typos. | |
3266 | * manual/charset.texi: Likewise. | |
3267 | * manual/errno.texi: Likewise. | |
3268 | * manual/filesys.texi: Likewise. | |
3269 | * manual/lang.texi: Likewise. | |
3270 | * manual/maint.texi: Likewise. | |
3271 | * manual/memory.texi: Likewise. | |
3272 | * manual/message.texi: Likewise. | |
3273 | * manual/resource.texi: Likewise. | |
3274 | * manual/search.texi: Likewise. | |
3275 | * manual/signal.texi: Likewise. | |
3276 | * manual/startup.texi: Likewise. | |
3277 | * manual/stdio.texi: Likewise. | |
3278 | * manual/sysinfo.texi: Likewise. | |
3279 | * manual/syslog.texi: Likewise. | |
3280 | * manual/time.texi: Likewise. | |
3281 | Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. | |
3282 | ||
3283 | [BZ #3465] | |
3284 | * sunrpc/clnt_raw.c: Minimal message improvements. | |
3285 | * sunrpc/pm_getmaps.c: Likewise. | |
3286 | * nis/nss_nisplus/nisplus-publickey.c: Likewise. | |
3287 | * nis/nis_print_group_entry.c: Likewise. | |
3288 | * locale/programs/repertoire.c: Likewise. | |
3289 | * locale/programs/charmap.c: Likewise. | |
3290 | * malloc/memusage.sh: Likewise. | |
3291 | * elf/dl-deps.c: Likewise. | |
3292 | * locale/programs/ld-collate.c: Likewise. | |
3293 | * libio/vswprintf.c: Likewise. | |
3294 | * malloc/memusagestat.c: Likewise. | |
3295 | * sunrpc/auth_unix.c: Likewise. | |
3296 | * sunrpc/rpc_main.c: Likewise. | |
3297 | * nscd/cache.c: Likewise. | |
3298 | * locale/programs/repertoire.c: Unify output messages. | |
3299 | * locale/programs/charmap.c: Likewise. | |
3300 | * locale/programs/ld-ctype.c: Likewise. | |
3301 | * locale/programs/ld-monetary.c: Likewise. | |
3302 | * locale/programs/ld-numeric.c: Likewise. | |
3303 | * locale/programs/ld-time.c: Likewise. | |
3304 | * elf/ldconfig.c: Likewise. | |
3305 | * nscd/selinux.c: Likewise. | |
3306 | * elf/cache.c: Likewise. | |
3307 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
3308 | ||
5c2af134 UD |
3309 | [BZ #3451] |
3310 | * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode | |
3311 | change atomic. | |
3312 | (ceil): Likewise. | |
3313 | ||
11bf311e UD |
3314 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> |
3315 | ||
3316 | * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization | |
3317 | if N is one bigger than return value. | |
3318 | * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 | |
3319 | and l1 last arguments, if buf is defined, verify the return value | |
3320 | equals to strlen (buf) and verify no byte beyond passed length | |
3321 | is modified. | |
3322 | ||
3323 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> | |
3324 | ||
3325 | * po/sv.po: Update from translation team. | |
3326 | ||
37afcf79 UD |
3327 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
3328 | ||
3329 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add | |
3330 | noinline attribute. | |
3331 | ||
3332 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> | |
3333 | ||
3334 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add | |
3335 | noinline attribute. | |
3336 | ||
11bf311e UD |
3337 | * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): |
3338 | Use __new_sys_siglist instead of _sys_siglist_internal as | |
3339 | second macro argument. | |
3340 | (_old_sys_siglist): Use declare_symbol_alias macro instead of | |
3341 | strong_alias. | |
2692deea | 3342 | |
11bf311e UD |
3343 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
3344 | ||
3345 | [BZ #3493] | |
3346 | * posix/unistd.h (sysconf): Remove const attribute. | |
3347 | ||
3348 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for | |
3349 | temporary or deprecated addresses. | |
3350 | Patch by Sridhar Samudrala <sri@us.ibm.com>. | |
3351 | ||
3352 | * string/Makefile (tests): Add tst-strxfrm2. | |
3353 | * string/tst-strxfrm2.c: New file. | |
3354 | ||
3355 | 2006-10-09 Jakub Jelinek <jakub@redhat.com> | |
3356 | ||
3357 | * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 | |
3358 | rather than r->r_brk. | |
2692deea UD |
3359 | |
3360 | 2006-11-08 Jakub Jelinek <jakub@redhat.com> | |
3361 | ||
11bf311e UD |
3362 | * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal |
3363 | optimization even if needed > n. | |
3364 | ||
2692deea UD |
3365 | * elf/dl-load.c (decompose_rpath): Return bool rather than void. |
3366 | If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and | |
3367 | return false, otherwise return true. | |
3368 | (cache_rpath): Return decompose_rpath return value. | |
3369 | ||
11bf311e UD |
3370 | 2006-11-07 Jakub Jelinek <jakub@redhat.com> |
3371 | ||
3372 | * include/libc-symbols.h (declare_symbol): Rename to... | |
3373 | (declare_symbol_alias): ... this. Add ORIGINAL argument, imply | |
3374 | strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes | |
3375 | .size directive. | |
3376 | * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias | |
3377 | changes. | |
3378 | * sysdeps/gnu/siglist.c: Likewise. | |
3379 | ||
3380 | 2006-11-03 Steven Munroe <sjmunroe@us.ibm.com> | |
3381 | ||
3382 | * sysdeps/powerpc/fpu/bits/mathinline.h | |
3383 | [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... | |
3384 | * sysdeps/powerpc/fpu/math_private.h: ...here. New file. | |
3385 | ||
3386 | 2006-11-05 Ulrich Drepper <drepper@redhat.com> | |
3387 | ||
3388 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): | |
3389 | Update handling of cache descriptor 0x49 for new models. | |
3390 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): | |
3391 | Likewise. | |
3392 | ||
9666e36c UD |
3393 | 2006-11-02 Jakub Jelinek <jakub@redhat.com> |
3394 | ||
3395 | * malloc/memusage.c (dest): Reset not_me back to false after | |
3396 | printing statistics. | |
3397 | ||
11bf311e UD |
3398 | 2006-11-02 Ulrich Drepper <drepper@redhat.com> |
3399 | ||
3400 | * configure.in: Work around ld --help change and avoid -z relro | |
3401 | test completely if the architecture doesn't care about security. | |
3402 | ||
3403 | 2006-11-01 Ulrich Drepper <drepper@redhat.com> | |
3404 | ||
3405 | * po/sv.po: Update from translation team. | |
3406 | ||
3407 | 2006-10-31 Ulrich Drepper <drepper@redhat.com> | |
3408 | ||
3409 | * stdlib/atexit.c (atexit): Don't mark as hidden when used to | |
3410 | generate compatibility version. | |
3411 | ||
3412 | 2006-10-29 Ulrich Drepper <drepper@redhat.com> | |
3413 | ||
3414 | * configure.in: Relax -z relro requirement a bit. | |
3415 | ||
3416 | * po/sv.po: Update from translation team. | |
3417 | ||
3418 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> | |
3419 | ||
3420 | * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. | |
3421 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. | |
3422 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
3423 | * elf/dl-open.c (_dl_open_worker): Likewise. | |
3424 | * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. | |
3425 | ||
b2369ca3 UD |
3426 | 2006-10-27 Ulrich Drepper <drepper@redhat.com> |
3427 | ||
11bf311e UD |
3428 | * configure.in: Require assembler support for visibility, compiler |
3429 | support for visibility and aliases, linker support for various -z | |
3430 | options. | |
3431 | * Makeconfig: Remove conditional code which now is unnecessary. | |
3432 | * config.h.in: Likewise. | |
3433 | * config.make.in: Likewise. | |
3434 | * dlfcn/Makefile: Likewise. | |
3435 | * elf/Makefile: Likewise. | |
3436 | * elf/dl-load.c: Likewise. | |
3437 | * elf/rtld.c: Likewise. | |
3438 | * include/libc-symbols.h: Likewise. | |
3439 | * include/stdio.h: Likewise. | |
3440 | * io/Makefile: Likewise. | |
3441 | * io/fstat.c: Likewise. | |
3442 | * io/fstat64.c: Likewise. | |
3443 | * io/fstatat.c: Likewise. | |
3444 | * io/fstatat64.c: Likewise. | |
3445 | * io/lstat.c: Likewise. | |
3446 | * io/lstat64.c: Likewise. | |
3447 | * io/mknod.c: Likewise. | |
3448 | * io/mknodat.c: Likewise. | |
3449 | * io/stat.c: Likewise. | |
3450 | * io/stat64.c: Likewise. | |
3451 | * libio/stdio.c: Likewise. | |
3452 | * nscd/Makefile: Likewise. | |
3453 | * stdlib/Makefile: Likewise. | |
3454 | * stdlib/atexit.c: Likewise. | |
3455 | * sysdeps/generic/ldsodefs.h: Likewise. | |
3456 | * sysdeps/i386/dl-machine.h: Likewise. | |
3457 | * sysdeps/i386/sysdep.h: Likewise. | |
3458 | * sysdeps/i386/i686/memcmp.S: Likewise. | |
3459 | * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. | |
3460 | * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. | |
3461 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. | |
3462 | ||
3463 | * Makerules: USE_TLS support is now default. | |
3464 | * tls.make.c: Likewise. | |
3465 | * csu/Versions: Likewise. | |
3466 | * csu/libc-start.c: Likewise. | |
3467 | * csu/libc-tls.c: Likewise. | |
3468 | * csu/version.c: Likewise. | |
3469 | * dlfcn/dlinfo.c: Likewise. | |
3470 | * elf/dl-addr.c: Likewise. | |
3471 | * elf/dl-cache.c: Likewise. | |
3472 | * elf/dl-close.c: Likewise. | |
3473 | * elf/dl-iteratephdr.c: Likewise. | |
3474 | * elf/dl-load.c: Likewise. | |
3475 | * elf/dl-lookup.c: Likewise. | |
3476 | * elf/dl-object.c: Likewise. | |
3477 | * elf/dl-open.c: Likewise. | |
3478 | * elf/dl-reloc.c: Likewise. | |
3479 | * elf/dl-support.c: Likewise. | |
3480 | * elf/dl-sym.c: Likewise. | |
3481 | * elf/dl-sysdep.c: Likewise. | |
3482 | * elf/dl-tls.c: Likewise. | |
3483 | * elf/ldconfig.c: Likewise. | |
3484 | * elf/rtld.c: Likewise. | |
3485 | * elf/tst-tls-dlinfo.c: Likewise. | |
3486 | * elf/tst-tls1.c: Likewise. | |
3487 | * elf/tst-tls10.h: Likewise. | |
3488 | * elf/tst-tls14.c: Likewise. | |
3489 | * elf/tst-tls2.c: Likewise. | |
3490 | * elf/tst-tls3.c: Likewise. | |
3491 | * elf/tst-tls4.c: Likewise. | |
3492 | * elf/tst-tls5.c: Likewise. | |
3493 | * elf/tst-tls6.c: Likewise. | |
3494 | * elf/tst-tls7.c: Likewise. | |
3495 | * elf/tst-tls8.c: Likewise. | |
3496 | * elf/tst-tls9.c: Likewise. | |
3497 | * elf/tst-tlsmod1.c: Likewise. | |
3498 | * elf/tst-tlsmod13.c: Likewise. | |
3499 | * elf/tst-tlsmod13a.c: Likewise. | |
3500 | * elf/tst-tlsmod14a.c: Likewise. | |
3501 | * elf/tst-tlsmod2.c: Likewise. | |
3502 | * elf/tst-tlsmod3.c: Likewise. | |
3503 | * elf/tst-tlsmod4.c: Likewise. | |
3504 | * elf/tst-tlsmod5.c: Likewise. | |
3505 | * elf/tst-tlsmod6.c: Likewise. | |
3506 | * include/errno.h: Likewise. | |
3507 | * include/link.h: Likewise. | |
3508 | * include/tls.h: Likewise. | |
3509 | * locale/global-locale.c: Likewise. | |
3510 | * locale/localeinfo.h: Likewise. | |
3511 | * malloc/arena.c: Likewise. | |
3512 | * malloc/hooks.c: Likewise. | |
3513 | * malloc/malloc.c: Likewise. | |
3514 | * resolv/Versions: Likewise. | |
3515 | * sysdeps/alpha/dl-machine.h: Likewise. | |
3516 | * sysdeps/alpha/libc-tls.c: Likewise. | |
3517 | * sysdeps/generic/ldsodefs.h: Likewise. | |
3518 | * sysdeps/generic/tls.h: Likewise. | |
3519 | * sysdeps/i386/dl-machine.h: Likewise. | |
3520 | * sysdeps/ia64/dl-machine.h: Likewise. | |
3521 | * sysdeps/ia64/libc-tls.c: Likewise. | |
3522 | * sysdeps/mach/hurd/fork.c: Likewise. | |
3523 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
3524 | * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. | |
3525 | * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. | |
3526 | * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. | |
3527 | * sysdeps/s390/libc-tls.c: Likewise. | |
3528 | * sysdeps/s390/s390-32/dl-machine.h: Likewise. | |
3529 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
3530 | * sysdeps/sh/dl-machine.h: Likewise. | |
3531 | * sysdeps/sparc/sparc32/dl-machine.h: Likewise. | |
3532 | * sysdeps/sparc/sparc64/dl-machine.h: Likewise. | |
3533 | * sysdeps/x86_64/dl-machine.h: Likewise. | |
3534 | ||
131c4428 UD |
3535 | * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and |
3536 | split out locking and parameter checking. | |
3537 | (_dl_close): Call _dl_close_worker after locking and checking. | |
3538 | * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of | |
3539 | _dl_close. | |
ffd0e1b7 UD |
3540 | * elf/Makefile: Add rules to build and run tst-thrlock. |
3541 | * elf/tst-thrlock.c: New file. | |
131c4428 | 3542 | |
11bf311e UD |
3543 | [BZ #3426] |
3544 | * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to | |
3545 | reality. | |
3546 | ||
b2369ca3 UD |
3547 | [BZ #3429] |
3548 | * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until | |
131c4428 | 3549 | we are sure we do not need it anymore for _dl_close. Also move |
b2369ca3 UD |
3550 | the asserts inside the lock region. |
3551 | Patch mostly by Suzuki <suzuki@in.ibm.com>. | |
3552 | ||
11bf311e UD |
3553 | 2006-10-27 Jakub Jelinek <jakub@redhat.com> |
3554 | ||
3555 | * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope | |
3556 | argument. | |
3557 | (_dl_lookup_symbol_x): Adjust caller. | |
3558 | ||
3559 | * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove | |
3560 | _ns_global_scope. | |
3561 | * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. | |
3562 | ||
3563 | * elf/dl-libc.c: Revert l_scope name changes. | |
3564 | * elf/dl-load.c: Likewise. | |
3565 | * elf/dl-object.c: Likewise. | |
3566 | * elf/rtld.c: Likewise. | |
3567 | * elf/dl-close.c (_dl_close): Likewise. | |
3568 | * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, | |
3569 | always use __rtld_mrlock_{change,done}. Always free old scope list | |
3570 | here if not l_scope_mem. | |
3571 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name | |
3572 | change. Never free scope list here. Just __rtld_mrlock_lock before | |
3573 | the lookup and __rtld_mrlock_unlock it after the lookup. | |
3574 | * elf/dl-sym.c: Likewise. | |
3575 | * include/link.h (struct r_scoperec): Remove. | |
3576 | (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem | |
3577 | with l_scope_mem and l_scoperec_lock with l_scope_lock. | |
3578 | ||
3579 | 2006-10-25 Ulrich Drepper <drepper@redhat.com> | |
3580 | ||
3581 | * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION. | |
3582 | ||
3583 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
3584 | ||
3585 | * configure.in: Disable building profile libraries by default. | |
3586 | ||
609cf614 UD |
3587 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> |
3588 | ||
3589 | * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses | |
3590 | as signed longs, check for x_base + pos overflow. | |
3591 | * sunrpc/Makefile (tests): Add tst-xdrmem2. | |
3592 | * sunrpc/tst-xdrmem2.c: New test. | |
3593 | ||
11bf311e UD |
3594 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> |
3595 | ||
3596 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to | |
3597 | _dl_lookup_symbol_x code. | |
3598 | ||
3599 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
3600 | ||
3601 | * elf/dl-runtime.c: Include sysdep-cancel.h. | |
3602 | (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and | |
3603 | scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* | |
3604 | instead of catomic_* macros. | |
3605 | * elf/dl-sym.c: Include sysdep-cancel.h. | |
3606 | (do_sym): Use __rtld_mrlock_* and scoperec->nusers only | |
3607 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
3608 | * elf/dl-close.c: Include sysdep-cancel.h. | |
3609 | (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only | |
3610 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
3611 | * elf/dl-open.c: Include sysdep-cancel.h. | |
3612 | (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only | |
3613 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
3614 | ||
3615 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
3616 | ||
3617 | [BZ #3313] | |
3618 | * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last | |
3619 | fastbin rather than end of fastbin array. | |
3620 | ||
3621 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
3622 | ||
3623 | * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct | |
3624 | body macro. | |
3625 | * sysdeps/x86_64/bits/atomic.h | |
3626 | (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. | |
3627 | (catomic_decrement): Use correct body macro. | |
3628 | ||
3629 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
3630 | ||
3631 | * include/atomic.h: Add a unique prefix to all local variables | |
3632 | in macros. | |
3633 | * csu/tst-atomic.c (do_test): Test also catomic_* macros. | |
3634 | ||
4a85a8ee UD |
3635 | 2006-10-16 Ulrich Drepper <drepper@redhat.com> |
3636 | ||
3637 | [BZ #3369] | |
3638 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 | |
3639 | and 7. | |
3640 | ||
11bf311e UD |
3641 | 2006-10-14 Ulrich Drepper <drepper@redhat.com> |
3642 | ||
3643 | * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated. | |
3644 | ||
ff8d96be UD |
3645 | 2006-10-13 Ulrich Drepper <drepper@redhat.com> |
3646 | ||
11bf311e UD |
3647 | [BZ #3313] |
3648 | * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to | |
3649 | determine highest fast bin to consolidate, always look into all of | |
3650 | them. | |
3651 | (do_check_malloc_state): Only require for empty bins for large | |
3652 | sizes in main arena. | |
3653 | ||
3654 | * libio/stdio.h: Add more __wur attributes. | |
3655 | ||
ff8d96be UD |
3656 | * elf/dl-minimal.c (realloc): Optimize last patch. |
3657 | ||
90a0991a UD |
3658 | 2006-10-12 Richard Sandiford <richard@codesourcery.com> |
3659 | ||
3660 | [BZ #3352] | |
3661 | * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, | |
3662 | and use memcpy() if it does. | |
ff8d96be | 3663 | |
11bf311e UD |
3664 | 2006-11-12 Andreas Jaeger <aj@suse.de> |
3665 | ||
3666 | [BZ #2510] | |
3667 | * manual/search.texi (Hash Search Function): Clarify. | |
3668 | (Array Search Function): Clarify. | |
3669 | ||
3670 | 2006-11-12 Joseph Myers <joseph@codesourcery.com> | |
3671 | ||
3672 | [BZ #2830] | |
3673 | * math/atest-exp.c (main): Cast hex value to mp_limb_t before | |
3674 | shifting. | |
3675 | * math/atest-exp2.c (read_mpn_hex): Likewise. | |
3676 | * math/atest-sincos.c (main): Likewise. | |
3677 | ||
37fb7595 UD |
3678 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> |
3679 | ||
11bf311e UD |
3680 | * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait. |
3681 | * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. | |
3682 | * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for | |
3683 | version GLIBC_2.6. | |
3684 | * Versions.def: Add GLIBC_2.6 for libc. | |
3685 | ||
46c38bd7 UD |
3686 | * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. |
3687 | ||
11bf311e UD |
3688 | * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support. |
3689 | ||
3690 | 2006-10-11 Jakub Jelinek <jakub@redhat.com> | |
3691 | ||
3692 | * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. | |
3693 | ||
3694 | * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. | |
3695 | ||
3696 | * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. | |
3697 | * sysdeps/generic/unsecvars.h: Add NIS_PATH. | |
3698 | ||
3699 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> | |
3700 | ||
3701 | * include/atomic.c: Define catomic_* operations. | |
3702 | * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. | |
3703 | * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. | |
3704 | * malloc/memusage.c: Likewise. | |
3705 | * gmon/mcount.c: Likewise. | |
3706 | * elf/dl-close.c: Likewise. | |
3707 | * elf/dl-open.c: Likewise. | |
3708 | * elf/dl-profile.c: Likewise. | |
3709 | * elf/dl-sym.c: Likewise. | |
3710 | * elf/dl-runtime.c: Likewise. | |
3711 | * elf/dl-fptr.c: Likewise. | |
3712 | * resolv/res_libc.c: Likewise. | |
3713 | ||
2a6ee549 UD |
3714 | 2006-10-10 Ulrich Drepper <drepper@redhat.com> |
3715 | ||
3716 | * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH | |
3717 | components which lack them. | |
3718 | ||
3719 | * nis/nis_subr.c (nis_getnames): Make sure that we always return | |
3720 | at least one entry consisting of the parameter concatenated with | |
3721 | the domain. | |
3722 | ||
11bf311e | 3723 | 2006-10-10 Roland McGrath <roland@frob.com> |
c4f9fc3a | 3724 | |
11bf311e UD |
3725 | * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. |
3726 | * sysdeps/mach/hurd/futimes.c: Likewise. | |
3727 | * sysdeps/mach/hurd/lutimes.c: Likewise. | |
3728 | ||
3729 | 2006-10-09 Ulrich Drepper <drepper@redhat.com> | |
3730 | Jakub Jelinek <jakub@redhat.com> | |
3731 | ||
3732 | Implement reference counting of scope records. | |
3733 | * elf/dl-close.c (_dl_close): Remove all scopes from removed objects | |
3734 | from the list in objects which remain. Always allocate new scope | |
3735 | record. | |
3736 | * elf/dl-open.c (dl_open_worker): When growing array for scopes, | |
3737 | don't resize, allocate a new one. | |
3738 | * elf/dl-runtime.c: Update reference counters before using a scope | |
3739 | array. | |
3740 | * elf/dl-sym.c: Likewise. | |
3741 | * elf/dl-libc.c: Adjust for l_scope name change. | |
3742 | * elf/dl-load.c: Likewise. | |
3743 | * elf/dl-object.c: Likewise. | |
3744 | * elf/rtld.c: Likewise. | |
3745 | * include/link.h: Include <rtld-lowlevel.h>. Define struct | |
3746 | r_scoperec. Replace r_scope with pointer to r_scoperec structure. | |
3747 | Add l_scoperec_lock. | |
3748 | * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. | |
3749 | * sysdeps/generic/rtld-lowlevel.h: New file. | |
3750 | ||
3751 | * include/atomic.h: Rename atomic_and to atomic_and_val and | |
3752 | atomic_or to atomic_or_val. Define new macros atomic_and and | |
3753 | atomic_or which do not return values. | |
3754 | * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. | |
3755 | Various cleanups. | |
3756 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
3757 | ||
3758 | * po/sv.po: Update from translation team. | |
3759 | ||
3760 | 2006-10-07 Ulrich Drepper <drepper@redhat.com> | |
3761 | ||
3762 | * Versions.def: Add GLIBC_2.6 to libpthread. | |
3763 | ||
3764 | * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. | |
3765 | (versioned_symbol): Likewise. | |
3766 | (compat_symbol): Likewise. | |
3767 | ||
3768 | * po/tr.po: Update from translation team. | |
feb87ad1 | 3769 | |
4df92d57 UD |
3770 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
3771 | ||
11bf311e UD |
3772 | * nis/Banner: Removed. It's been integral part forever and the |
3773 | author info is incomplete anyway. | |
3774 | * libio/Banner: Likewise. | |
3775 | ||
4df92d57 UD |
3776 | * nis/nis_table.c (nis_list): If __follow_path fails in the new |
3777 | code, make sure the nis_freeresult call doesn't crash and that the | |
3778 | result is reported correctly. | |
3779 | ||
68361572 UD |
3780 | 2006-09-27 Jakub Jelinek <jakub@redhat.com> |
3781 | ||
3782 | * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS | |
3783 | when callback is NULL. | |
3784 | ||
3785 | * nis/Versions (libnss_nisplus): Add | |
3786 | _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. | |
3787 | * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. | |
3788 | * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, | |
3789 | _nss_create_tablename): Rename to... | |
3790 | (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): | |
3791 | ... these. No longer static. | |
3792 | (internal_setgrent): Adjust users. | |
3793 | (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. | |
3794 | Don't use locking around _nss_grp_create_tablename call. | |
3795 | * nis/nss_nisplus/nisplus-initgroups.c: New file. | |
3796 | ||
11bf311e UD |
3797 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
3798 | ||
3799 | * version.h (VERSION): Bump to 2.5.90 for new development tree. | |
3800 | ||
3a4e0609 UD |
3801 | 2006-10-06 Andreas Jaeger <aj@suse.de> |
3802 | ||
3803 | * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. | |
3804 | ||
3805 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> | |
3806 | ||
3807 | * po/pl.po: Update from translation team. | |
3808 | ||
3809 | * nscd/nscd.c (main): Fix typo in message. | |
3810 | Patch by Jakub Bogsz <qboosh@pld-linux.org>. | |
3811 | ||
97e57dee UD |
3812 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
3813 | ||
3814 | [BZ #3291] | |
3815 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
3816 | errno.h, signal.h, unistd.h and sysdep-cancel.h. | |
3817 | (__sigprocmask): Define. | |
3818 | ||
768027a4 UD |
3819 | 2006-10-02 Ulrich Drepper <drepper@redhat.com> |
3820 | ||
3821 | * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is | |
3822 | used. | |
3823 | ||
0b25a49a UD |
3824 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
3825 | ||
3826 | * nscd/mem.c (mempool_alloc): Round array size to 16 bytes | |
3827 | in oldtotal and newtotal calculation. | |
3828 | * nscd/nscd-client.h (struct mapped_database): Add datasize | |
3829 | field. | |
3830 | * nscd/nscd_helper.c (get_mapping): Initialize datasize field. | |
3831 | (__nscd_get_map_ref): Get a new mapping even if mapping's data_size | |
3832 | increased. | |
3833 | (__nscd_cache_search): Add checks to make sure we never reference | |
3834 | data beyond the current mapping. | |
3835 | ||
a1286745 UD |
3836 | 2006-10-02 Dmitry V. Levin <ldv@altlinux.org> |
3837 | ||
d4ed7561 UD |
3838 | * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val |
3839 | variables const to avoid compiler warnings. | |
3840 | ||
a1286745 UD |
3841 | * io/fts.c (fts_close): Remove redundant checks. |
3842 | (fts_build): Likewise. | |
3843 | (fts_palloc): Likewise. | |
3844 | ||
3845 | * manual/message.texi (Advanced gettext functions, | |
3846 | Using gettextized software): Fix typos. | |
3847 | ||
f01e4069 UD |
3848 | 2006-09-30 Ulrich Drepper <drepper@redhat.com> |
3849 | ||
3850 | * posix/glob.c (glob_in_dir): Add some comments and asserts to | |
3851 | explain why there are no leaks. | |
3852 | ||
154619b5 UD |
3853 | 2006-09-29 Ulrich Drepper <drepper@redhat.com> |
3854 | ||
690c3947 UD |
3855 | * libio/wmemstream.c: Include <wchar.h>. |
3856 | * libio/bug-wmemstream1.c: Likewise. | |
3857 | * libio/tst-wmemstream1.c: Likewise. | |
3858 | * libio/tst-wmemstream2.c: Likewise. | |
3859 | ||
88cc61e8 UD |
3860 | * version.h (RELEASE): Bump to 2.5. |
3861 | * README: Regenerated. | |
3862 | ||
a70c18b0 UD |
3863 | * locale/iso-3166.def: Add Aaland Islands and Montenegro. |
3864 | ||
154619b5 UD |
3865 | [BZ #3273] |
3866 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have | |
3867 | found no group members. | |
3868 | Patch by Petr Baudis. | |
3869 | ||
3870 | 2006-09-29 Jakub Jelinek <jakub@redhat.com> | |
3871 | ||
3872 | * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't | |
3873 | assert bootstrap_map.l_tls_modid is zero. | |
3874 | (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 | |
3875 | if USE___THREAD. | |
3876 | ||
1c31aa79 UD |
3877 | 2006-09-27 Ulrich Drepper <drepper@redhat.com> |
3878 | ||
3879 | * libio/stdio.h: Move open_wmemstream prototype to ... | |
3880 | * wcsmbs/wchar.h: ... here. | |
3881 | ||
f1122ec3 UD |
3882 | 2006-09-25 Jakub Jelinek <jakub@redhat.com> |
3883 | ||
3884 | [BZ #3252] | |
3885 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only | |
3886 | fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call | |
3887 | __{,l}chown to handle the rest. | |
3888 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only | |
3889 | fchownat syscall and __ASSUME_32BITUIDS case inline, call | |
3890 | __{,l}chown to handle the rest. | |
3891 | * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include | |
3892 | i386/fchownat.c. | |
3893 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. | |
3894 | * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. | |
3895 | ||
3896 | [BZ #3253] | |
3897 | * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a | |
3898 | time, rather allocate increasingly bigger arrays of pointers, if | |
3899 | possible with alloca, if too large with malloc. | |
3900 | ||
3901 | 2006-09-24 Jakub Jelinek <jakub@redhat.com> | |
3902 | ||
3903 | * sysdeps/powerpc/fpu/libm-test-ulps: Updated. | |
3904 | ||
3905 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. | |
3906 | ||
457b559e UD |
3907 | 2006-09-24 Ulrich Drepper <drepper@redhat.com> |
3908 | ||
3909 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, | |
3910 | home addresses. | |
3911 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize | |
3912 | IFA_F_HOMEADDRESS flag for interfaces. | |
3913 | * include/ifaddrs.h (struct in6addrinfo): Define | |
3914 | in6ai_homeaddress. | |
3915 | ||
4a132246 UD |
3916 | 2006-09-21 Jakub Jelinek <jakub@redhat.com> |
3917 | ||
3918 | [BZ #3225] | |
3919 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, | |
3920 | PTR_DEMANGLE3): Define. | |
3921 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, | |
3922 | PTR_DEMANGLE3): Likewise. | |
3923 | * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. | |
3924 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): | |
3925 | Likewise. | |
3926 | * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. | |
3927 | ||
c69136ae UD |
3928 | 2006-09-20 Jakub Jelinek <jakub@redhat.com> |
3929 | ||
3930 | * po/libc.pot: Regenerated. | |
3931 | * po/be.po: Updated. | |
3932 | * po/ca.po: Likewise. | |
3933 | * po/cs.po: Likewise. | |
3934 | * po/da.po: Likewise. | |
3935 | * po/de.po: Likewise. | |
3936 | * po/el.po: Likewise. | |
3937 | * po/en_GB.po: Likewise. | |
3938 | * po/es.po: Likewise. | |
3939 | * po/fi.po: Likewise. | |
3940 | * po/fr.po: Likewise. | |
3941 | * po/gl.po: Likewise. | |
3942 | * po/hr.po: Likewise. | |
3943 | * po/hu.po: Likewise. | |
3944 | * po/ja.po: Likewise. | |
3945 | * po/ko.po: Likewise. | |
3946 | * po/nb.po: Likewise. | |
3947 | * po/nl.po: Likewise. | |
3948 | * po/pl.po: Likewise. | |
3949 | * po/pt_BR.po: Likewise. | |
3950 | * po/ru.po: Likewise. | |
3951 | * po/rw.po: Likewise. | |
3952 | * po/sk.po: Likewise. | |
3953 | * po/sv.po: Likewise. | |
3954 | * po/tr.po: Likewise. | |
3955 | * po/zh_CN.po: Likewise. | |
3956 | * po/zh_TW.po: Likewise. | |
3957 | ||
3958 | [BZ #3137] | |
3959 | * iconv/iconv_prog.c (main): Fix spelling in error message. | |
3960 | * iconv/iconvconfig.c (main): Likewise. | |
3961 | * locale/programs/ld-collate.c (handle_ellipsis): Likewise. | |
3962 | * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. | |
3963 | * locale/programs/localedef.c (main): Likewise. | |
3964 | * locale/programs/repertoire.c (repertoire_read): Likewise. | |
3965 | * timezone/zdump.c (main): Likewise. | |
3966 | * nscd/connections.c (handle_request): Fix spelling in log message. | |
3967 | Patch by Malcolm Parsons <malcolm.parsons@gmail.com>. | |
3968 | ||
83b3108c UD |
3969 | 2006-09-20 Ulrich Drepper <drepper@redhat.com> |
3970 | ||
3971 | * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 | |
3972 | interfaces. | |
3973 | ||
89210b4c AJ |
3974 | 2006-09-20 Andreas Jaeger <aj@suse.de> |
3975 | ||
3976 | * math/libm-test.inc (lrint_test_upward): Fix typo. | |
3977 | ||
6624dbc0 UD |
3978 | 2006-06-17 Joseph S. Myers <joseph@codesourcery.com> |
3979 | ||
3980 | [BZ #2592] | |
3981 | * math/libm-test.inc (lrint_test_tonearest): New function. | |
3982 | (lrint_test_towardzero): New function. | |
3983 | (lrint_test_downward): New function. | |
3984 | (lrint_test_upward): New function. | |
3985 | (main): Run these new tests. | |
3986 | * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding | |
3987 | of values near to 0. | |
3988 | (two52): Use double not long double. | |
3989 | * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. | |
3990 | * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. | |
3991 | (two23): Use float not double. | |
3992 | * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. | |
3993 | (two23): Use float not double. | |
3994 | * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. | |
3995 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. | |
3996 | * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. | |
3997 | * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. | |
3998 | ||
60cb50c7 UD |
3999 | 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
4000 | ||
4001 | * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): | |
4002 | Cast sp to unsigned long to avoid compiler warning. | |
4003 | Use __makecontext_ret function instead of a trampoline on the stack. | |
4004 | (__makecontext_ret): New function. | |
4005 | * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. | |
4006 | ||
33315ced UD |
4007 | 2006-09-19 Jakub Jelinek <jakub@redhat.com> |
4008 | ||
4009 | * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but | |
4010 | platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM | |
4011 | bits. | |
4012 | ||
1ee2ff20 UD |
4013 | 2006-09-19 Ulrich Drepper <drepper@redhat.com> |
4014 | ||
4015 | * elf/dl-close.c (_dl_close): If dependency is not unloaded make | |
4016 | sure no reference to the unloaded map's search list remains in the | |
4017 | dependency's scope. | |
4018 | ||
4019 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
4020 | ||
4021 | * elf/Makefile: Add rules to build and run unload7 test. | |
4022 | * elf/unload7.c: New test. | |
4023 | * elf/unload7mod1.c: New file. | |
4024 | * elf/unload7mod2.c: New file. | |
4025 | ||
0466106e UD |
4026 | 2006-09-18 Jakub Jelinek <jakub@redhat.com> |
4027 | ||
4028 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. | |
4029 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, | |
4030 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
4031 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
4032 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
4033 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
4034 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
4035 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, | |
4036 | PTRACE_GETEVENTMSG): Likewise. | |
4037 | (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent | |
4038 | values. | |
4039 | ||
9c316a45 UD |
4040 | 2006-09-17 Mike Frysinger <vapier@gentoo.org> |
4041 | ||
0466106e UD |
4042 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, |
4043 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
4044 | * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, | |
4045 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. | |
9c316a45 UD |
4046 | |
4047 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
4048 | ||
4049 | * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't | |
4050 | write '\0' to the fd. | |
4051 | * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. | |
4052 | * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. | |
4053 | Change regs to unsigned long pointer from unsigned int, fix fscr | |
4054 | offset. | |
4055 | ||
fb146a76 UD |
4056 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
4057 | ||
4058 | * io/Makefile (CFLAGS-fstatat.c): Set. | |
4059 | (CFLAGS-fstatat64.c): Likewise. | |
4060 | (CFLAGS-mknodat.c): Likewise. | |
4061 | ||
4062 | * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. | |
4063 | * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. | |
4064 | * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. | |
4065 | * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. | |
4066 | ||
4cd3633d UD |
4067 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
4068 | Steven Munroe <sjmunroe@us.ibm.com> | |
fb146a76 | 4069 | |
4cd3633d UD |
4070 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap |
4071 | names to the beginning. Rename "cell" to "cellbe". | |
4072 | (_dl_powerpc_platforms): New. | |
4073 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
4074 | (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. | |
4075 | (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. | |
4076 | (_DL_HWCAP_PLATFORM): Define to new mask. | |
4077 | (_dl_platform_string, _dl_string_platform): New functions. | |
4078 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, | |
4079 | PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. | |
4080 | ||
30aa5785 UD |
4081 | 2006-09-12 Jakub Jelinek <jakub@redhat.com> |
4082 | ||
4083 | [BZ #2526] | |
4084 | * README.libm: Fix a thinko in sqrt algorithm description. | |
4085 | ||
4086 | [BZ #3143] | |
4087 | * manual/string.texi (argz_delete): Fix prototype. | |
4088 | Patch by <alpt@freaknet.org>. | |
4089 | ||
4090 | 2006-08-26 Joseph Myers <joseph@codesourcery.com> | |
4091 | ||
4092 | [BZ #3138] | |
4093 | * io/test-lfs.c (do_prepare): Give name_len type size_t. | |
4094 | * io/tst-fcntl.c (do_prepare): Likewise. | |
4095 | * posix/tst-exec.c (do_prepare): Likewise. | |
4096 | * posix/tst-preadwrite.c (do_prepare): Likewise. | |
4097 | * posix/tst-spawn.c (do_prepare): Likewise. | |
4098 | * posix/tst-truncate.c (do_prepare): Likewise. | |
4099 | * rt/tst-aio.c (do_prepare): Likewise. | |
4100 | * rt/tst-aio64.c (do_prepare): Likewise. | |
4101 | * stdlib/test-canon2.c (do_prepare): Give test_dir_len type | |
4102 | size_t. | |
4103 | ||
d26d01d1 UD |
4104 | 2006-09-09 Ulrich Drepper <drepper@redhat.com> |
4105 | ||
41aba3d7 UD |
4106 | [BZ #2821] |
4107 | * time/mktime.c (guess_time_tm): Fix overflow detection. | |
4108 | * time/Makefile (tests): Add bug-mktime1. | |
4109 | * time/bug-mktime1.c: New file. | |
4110 | ||
eaa51b47 | 4111 | [BZ #3189, #3188] |
d26d01d1 | 4112 | * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. |
eaa51b47 | 4113 | (mremap): Likewise. |
d26d01d1 | 4114 | |
ba40cc15 UD |
4115 | 2006-09-07 Jakub Jelinek <jakub@redhat.com> |
4116 | ||
2b6a801e UD |
4117 | [BZ #1006] |
4118 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): | |
4119 | Ensure relocation doesn't clobber any bits outside of the | |
4120 | immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, | |
4121 | R_SPARC_HI22 and R_SPARC_H44. | |
4122 | ||
469615bd UD |
4123 | [BZ #2775] |
4124 | * malloc/malloc.c (sYSMALLOc): Only call grow_heap if | |
4125 | (long) (MINSIZE + nb - old_size) is positive. | |
4126 | ||
4127 | * malloc/arena.c (grow_heap): When growing bail even if new_size | |
4128 | is negative. | |
4129 | ||
ba40cc15 UD |
4130 | [BZ #3155] |
4131 | * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access | |
4132 | stack below r1. | |
4133 | ||
243b9ac1 UD |
4134 | 2006-09-06 Jakub Jelinek <jakub@redhat.com> |
4135 | ||
ba40cc15 UD |
4136 | * posix/regex_internal.c (re_string_reconstruct): Handle |
4137 | offset < pstr->valid_raw_len && pstr->offsets_needed case. | |
4138 | Ensure no bytes read before raw_mbs array. Pass a saved copy of | |
4139 | pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to | |
4140 | re_string_context_at. | |
4141 | * posix/Makefile: Add rules to build and run bug-regex26 test. | |
4142 | * posix/bug-regex26.c: New test. | |
4143 | ||
243b9ac1 UD |
4144 | * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free |
4145 | rather than col_sym_free. Move seqp declaration earlier. | |
4146 | ||
4147 | * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. | |
4148 | ||
d052233c UD |
4149 | 2006-09-05 Jakub Jelinek <jakub@redhat.com> |
4150 | ||
4151 | * nscd/initgrcache.c (addinitgroupsX): Move any_success | |
4152 | decl before first goto out. | |
4153 | ||
71213dc2 UD |
4154 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
4155 | ||
4156 | * Makerules (shlib.lds): If have-hash-style, put .hash section | |
4157 | at the end of the RO segment. | |
4158 | ||
4159 | 2006-09-04 Ulrich Drepper <drepper@redhat.com> | |
4160 | ||
4161 | * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new | |
4162 | style hash table format is used. | |
4163 | ||
03eeff83 UD |
4164 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
4165 | ||
4166 | * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after | |
4167 | randomization rather than before. | |
4168 | * resolv/res_init.c (res_randomid): Don't call gettimeofday here. | |
4169 | ||
b80770b2 UD |
4170 | 2006-08-31 Jakub Jelinek <jakub@redhat.com> |
4171 | ||
ba40cc15 | 4172 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. |
b80770b2 UD |
4173 | |
4174 | * malloc/malloc.c (_int_malloc): Use full list insert and not | |
4175 | shortcut which assumes the list is empty for large requests | |
4176 | too. | |
4177 | ||
4178 | * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". | |
4179 | ||
99ea5991 UD |
4180 | 2006-08-30 Jakub Jelinek <jakub@redhat.com> |
4181 | ||
4182 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin | |
4183 | and offout arguments to the prototype. | |
4184 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. | |
4185 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. | |
4186 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. | |
4187 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. | |
4188 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. | |
4189 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. | |
4190 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. | |
4191 | * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. | |
4192 | ||
4004a0a5 UD |
4193 | 2006-08-28 Ulrich Drepper <drepper@redhat.com> |
4194 | ||
950398e1 UD |
4195 | * elf/dl-load.c (_dl_init_paths): Expand DSTs. |
4196 | ||
4004a0a5 UD |
4197 | * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in |
4198 | dlopen parameters. | |
4199 | ||
6e310111 UD |
4200 | 2006-08-28 Jakub Jelinek <jakub@redhat.com> |
4201 | ||
4202 | * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno | |
4203 | only if herrno is NETDB_INTERNAL. Handle errors other than | |
4204 | ERANGE outside of the loops, handle TRY_AGAIN. | |
4205 | ||
4206 | * locale/programs/ld-ctype.c (translit_flatten): Issue error | |
4207 | if other's ctype category was missing. | |
4208 | * locale/programs/ld-collate.c (collate_read): Return if | |
4209 | copy_locale's collate category is missing. | |
4210 | ||
07014fca UD |
4211 | 2006-08-27 Ulrich Drepper <drepper@redhat.com> |
4212 | ||
4213 | [BZ #2684] | |
4214 | * malloc/malloc.c (public_rEALLOc): Try harder by using other | |
4215 | arenas if allocation failed. | |
4216 | Patch mostly by Jan Edler <jan.edler@indexengines.com>. | |
4217 | ||
71663747 UD |
4218 | 2006-08-26 Ulrich Drepper <drepper@redhat.com> |
4219 | ||
41999a1a UD |
4220 | * malloc/malloc.c (bin_at): Rewrite to be more clear and to not |
4221 | waste bins[0..1]. | |
4222 | (malloc_state): Reduce bins size by 2. | |
4223 | (_int_malloc): Fix test for large enough buffer for early termination. | |
4224 | When no unsorted block matches perfectly and an exiting block has | |
4225 | to be split, use full list insert and not shortcut which assumes | |
4226 | the list is empty. | |
4227 | ||
71663747 UD |
4228 | * locale/programs/ld-ctype.c (ctype_read): Better patch for read |
4229 | failure. | |
4230 | ||
93b53ca2 UD |
4231 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
4232 | ||
f5a82772 UD |
4233 | * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't |
4234 | do anything. | |
4235 | ||
2ac9ca73 UD |
4236 | * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined |
4237 | symbol require exact match (these are PLTs). | |
4238 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h | |
4239 | (_dl_ppc64_addr_sym_match): Likewise. | |
4240 | ||
93b53ca2 UD |
4241 | [BZ #2683] |
4242 | * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. | |
4243 | If symbol has a value use it. | |
4244 | * elf/tst-dladdr1.c: New file. | |
4245 | * elf/Makefile: Add rules to build and run tst-addr1. | |
4246 | ||
7463d5cb UD |
4247 | 2006-08-24 Jakub Jelinek <jakub@redhat.com> |
4248 | ||
4249 | * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP | |
4250 | keeps failing and heap growth or new heap creation isn't | |
4251 | successful either. | |
4252 | * malloc/tst-malloc.c (main): Add new tests. | |
4253 | ||
542a6f62 UD |
4254 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
4255 | ||
4256 | [BZ #2734] | |
4257 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions | |
4258 | as in the x86-64 code to use bswap. | |
4259 | ||
aa2c6b6d UD |
4260 | 2006-05-21 Joseph S. Myers <joseph@codesourcery.com> |
4261 | ||
24982798 | 4262 | [BZ #2680] |
aa2c6b6d UD |
4263 | * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not |
4264 | __USE_UNIX98. | |
4265 | * posix/bits/unistd.h: Likewise. | |
4266 | ||
59776aef UD |
4267 | 2006-05-15 Mike Frysinger <vapier@gentoo.org> |
4268 | ||
4269 | [BZ #2751] | |
4270 | * string/strchr.c: Add cast to avoid warning. | |
4271 | ||
e404fb16 UD |
4272 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
4273 | ||
4274 | * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit | |
bd2c2341 | 4275 | platforms define as 512K. For 64-bit platforms as 32MB. The lower |
e404fb16 UD |
4276 | limit is needed to avoid the exploding of the address space |
4277 | requirement for secondary heaps. | |
4278 | * malloc/arena.c (HEAP_MAX_SIZE): Define using | |
4279 | DEFAULT_MMAP_THRESHOLD_MAX if it is defined. | |
4280 | ||
376e973a UD |
4281 | 2006-07-30 Joseph S. Myers <joseph@codesourcery.com> |
4282 | ||
4283 | [BZ #3018] | |
4284 | * Makerules (depfiles): Handle extra-test-objs the same as | |
4285 | extra-objs. | |
4286 | (common-mostlyclean): Likewise. | |
4287 | * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs | |
4288 | instead. | |
4289 | * elf/Makefile (extra-objs): Likewise. | |
4290 | * stdlib/Makefile (extra-objs): Likewise. | |
4291 | ||
240c62a7 UD |
4292 | 2006-08-14 Eric Blake <ebb9@byu.net> |
4293 | ||
4294 | [BZ #3044] | |
4295 | * misc/error.h: Assume C89 or better. | |
4296 | * misc/error.c: Likewise. | |
4297 | ||
3997b7c4 UD |
4298 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
4299 | ||
4300 | [BZ #3040] | |
4301 | * sysdeps/unix/sysv/linux/openat.c: Fix compilation if | |
4302 | __ASSUME_ATFCTS is defined. | |
4303 | ||
8a6537b0 UD |
4304 | 2006-08-19 Ulrich Drepper <drepper@redhat.com> |
4305 | ||
72320021 UD |
4306 | * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks |
4307 | to sort in each call. | |
4308 | ||
ed3691ba UD |
4309 | * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map |
4310 | is empty simply return and use next service. | |
4311 | * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. | |
4312 | ||
8a6537b0 UD |
4313 | * locale/programs/charmap.c (charmap_read): Add new parameter. It |
4314 | tells us when not finding a charmap file is an error. | |
4315 | * locale/programs/charmap.h: Adjust charmap_read prototype. | |
4316 | * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we | |
4317 | cannot find a charmap. | |
4318 | * locale/programs/localedef.c (main): Adjust charmap_read call. | |
4319 | ||
ad2a3c07 UD |
4320 | 2006-08-15 Jakub Jelinek <jakub@redhat.com> |
4321 | ||
4322 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use | |
4323 | sysdeps/posix/pause.c implementation instead. | |
4324 | ||
4325 | 2006-08-09 Jakub Jelinek <jakub@redhat.com> | |
4326 | ||
4327 | * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority | |
4328 | to EPERM. | |
4329 | ||
f17efcb4 UD |
4330 | 2006-08-13 Andreas Schwab <schwab@suse.de> |
4331 | ||
4332 | * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): | |
4333 | Don't clobber caller's LRSAVE. | |
4334 | (_dl_prof_resolve): Likewise. | |
4335 | ||
107b8a92 UD |
4336 | 2006-08-14 Ulrich Drepper <drepper@redhat.com> |
4337 | ||
4338 | [BZ #1996] | |
4339 | * libio/memstream.c (open_memstream): Allocate initial buffer with | |
4340 | calloc. | |
4341 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
4342 | * libio/strops.c: Pretty printing. | |
4343 | (_IO_str_overflow): Clear uninitialized part of the new buffer. | |
4344 | (enlarge_userbuf): New function. | |
4345 | (_IO_str_seekoff): Call it if seek position is larger than current | |
4346 | buffer. | |
4347 | * libio/wstrops.c: Likewise. | |
4348 | * libio/vasprintf.c: Add comment as to why we do not have to use | |
4349 | calloc instead of malloc to allocate initial buffer. | |
4350 | * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. | |
4351 | * libio/bug-memstream1.c: New file. | |
4352 | * libio/bug-wmemstream1.c: New file. | |
4353 | ||
fa3ac53f UD |
4354 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> |
4355 | ||
89993734 UD |
4356 | * libio/wstrops.c: Remove dead macro definitions and comments. |
4357 | * libio/strops.c: Likewise. | |
4358 | ||
fa3ac53f UD |
4359 | [BZ #2764] |
4360 | * login/utmpname.c (__utmpname): Remove unnecessary test. | |
4361 | ||
f99ed760 UD |
4362 | 2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> |
4363 | ||
4364 | [BZ #2832] | |
4365 | * math/gen-libm-test.pl (clean_up_number): Do not remove trailing | |
4366 | 0s from integers. | |
4367 | ||
4368 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> | |
4369 | ||
4370 | [BZ #2987] | |
4371 | * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall | |
4372 | for CPU clocks. | |
4373 | * sysdeps/unix/clock_settime.c: Add support for platform-specific | |
4374 | setting of CPU clocks. | |
4375 | ||
4c3f81d0 UD |
4376 | 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> |
4377 | ||
4378 | [BZ #2841] | |
4379 | * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', | |
4380 | since C99 requires the result to promote to 'int' when uint_least8_t | |
4381 | and uint_least16_t promote to 'int'. | |
4382 | ||
cd8e60ce UD |
4383 | 2006-08-12 Ulrich Drepper <drepper@redhat.com> |
4384 | ||
9a5c46e8 UD |
4385 | [BZ #3013] |
4386 | * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix | |
4387 | lenght of one output field, correct bitmask creation. | |
4388 | * locale/programs/ld-time.c: Add alignment. | |
4389 | ||
cd8e60ce UD |
4390 | [BZ #2997] |
4391 | * misc/error.c: Add space between program name and message if file | |
4392 | name is missing. | |
4393 | ||
9a528884 UD |
4394 | 2006-08-03 Eric Blake <ebb9@byu.net> |
4395 | ||
4396 | [BZ #2998] | |
4397 | * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. | |
4398 | ||
1d05c2fb UD |
4399 | 2006-08-09 Ulrich Drepper <drepper@redhat.com> |
4400 | ||
0c1c6c6c UD |
4401 | * malloc/memusagestat.c: Silence warnings. |
4402 | ||
1d05c2fb UD |
4403 | * malloc/malloc.c: Dynamically size mmap treshold if the program |
4404 | frees mmaped blocks. | |
4405 | Patch by Valerie Henson and Arjan van de Ven. | |
4406 | ||
2d1e6277 UD |
4407 | 2006-08-08 Jakub Jelinek <jakub@redhat.com> |
4408 | ||
be7ffd91 UD |
4409 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with |
4410 | __USE_GNU. | |
4411 | ||
2d1e6277 UD |
4412 | * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, |
4413 | __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. | |
4414 | (DEF): Don't put the var into .gnu.linkonce.r.* section. | |
4415 | Only provide var definitions in strtol_l (or for *ull* | |
4416 | in strtoll_l). | |
4417 | ||
4418 | * stdio-common/bug16.c (tests): New array. | |
4419 | (do_tests): Allow the first hexadecimal digit | |
4420 | to be 1, 2, 4 or 8. Do 3 additional tests. | |
4421 | ||
4422 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
4423 | ||
4424 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use | |
4425 | fchownat syscall if available. | |
4426 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. | |
4427 | * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. | |
4428 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. | |
4429 | ||
d0ccde25 UD |
4430 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
4431 | ||
4432 | * nis/nis_xdr.c: Avoid some function calls. | |
4433 | ||
13a0293d | 4434 | 2006-08-07 Jakub Jelinek <jakub@redhat.com> |
3f7a21a9 | 4435 | Ulrich Drepper <drepper@redhat.com> |
13a0293d UD |
4436 | |
4437 | * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take | |
4438 | short cut if only one name component is stripped away. | |
4439 | ||
bd1ebae0 UD |
4440 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
4441 | ||
4442 | * nis/nis_call.c: Minor cleanups throughout. | |
2d1e6277 | 4443 | (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. |
bd1ebae0 UD |
4444 | (first_shoot): Add search_parent_first parameter. Only if it is set |
4445 | search parent server first. | |
4446 | If directory for table found through cold start cache is not the same | |
4447 | as referenced in the cache, don't use it. | |
4448 | (__nisfind_server): Take additional parameter. Pass it on to | |
4449 | first_shoot. | |
4450 | (__prepare_niscall): Adjust __nisfind_server call. | |
4451 | * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. | |
4452 | * nis/nis_table.c: Adjust __nisfind_server call. | |
4453 | * nis/nis_lookup.c: Likewise. | |
4454 | (nis_lookup): Don't loop endlessly if name is reduced to ".". | |
4455 | ||
f1762c0c UD |
4456 | 2006-08-03 Ulrich Drepper <drepper@redhat.com> |
4457 | ||
fe710250 UD |
4458 | [BZ #2182] |
4459 | * math/s_cacosh.c: Return values from positive branch. | |
4460 | * math/s_cacoshf.c: Likewise. | |
4461 | * math/s_cacoshl.c: Likewise. | |
4462 | ||
a5852807 UD |
4463 | [BZ #2883] |
4464 | * sysvipc/sys/msg.h: Change return value to ssize_t. | |
4465 | * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. | |
fe710250 UD |
4466 | * sysvipc/msgrcv.c: Likewise. |
4467 | * include/sys/msg.h: Likewise. | |
39571a13 | 4468 | |
6c215a8d UD |
4469 | * grp/initgroups.c (internal_getgrouplist): Remove unnecessary |
4470 | test introduced in patch for bz #661. | |
39571a13 | 4471 | (getgrouplist): Simplify code a bit. Don't allocate one additional |
f13bfdd0 | 4472 | element for NEWGROUPS. |
6c215a8d | 4473 | |
9c06eb66 UD |
4474 | [BZ #2908] |
4475 | * stdio-common/printf_fphex.c (__printf_fphex): When rounding up | |
4476 | 'f', use '1' as leading digit not '\1'. | |
4477 | * stdio-common/Makefile (tests): Add bug16. | |
4478 | * stdio-common/bug16.c: New file. | |
4479 | ||
4480 | [BZ #2914] | |
4481 | * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE | |
4482 | and don't try to open it. The patch introducing the macro | |
4483 | contained a bug and used the same file name as the new file | |
4484 | instead of using /var/adm/hostid. Nobody complaint so I'm taking | |
4485 | this out completely. | |
4486 | ||
4487 | [BZ #2926] | |
4488 | * assert/assert.h: Move cast to void inside ?: to quiet gcc. | |
4489 | Patch by Jerry James <Jerry.James@usu.edu>. | |
4490 | ||
f1762c0c UD |
4491 | * rt/Makefile (tests): Add tst-clock2. |
4492 | * rt/tst-clock2.c: New file. | |
4493 | ||
4494 | [BZ #2978] | |
4495 | * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread | |
4496 | function and its parameters and pass it to new thread. | |
4497 | (__gai_notify): Add support for alternative waiting for completion. | |
4498 | * resolv/gai_suspend.c (gai_suspend): Add support for alternative | |
4499 | waiting for completion. | |
4500 | * resolv/getaddrinfo_a.c: Likewise. | |
4501 | * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative | |
4502 | waiting for completion is used. | |
4503 | * resolv/gai_misc.c: Allow overwriting code to start helper thread. | |
4504 | * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h". | |
4505 | * resolv/gai_error.c: Likewise. | |
4506 | * resolv/gai_sigqueue.c: Likewise. | |
4507 | ||
83ae6b40 RM |
4508 | 2006-08-02 Thomas Schwinge <tschwinge@gnu.org> |
4509 | ||
0e4e62fe | 4510 | * hurd/getdport.c (__getdport): Don't return EBADF; instead set |
f1762c0c | 4511 | errno to EBADF and return MACH_PORT_NULL. |
83ae6b40 | 4512 | |
82ee37c5 UD |
4513 | 2006-06-23 Joseph Myers <joseph@codesourcery.com> |
4514 | ||
4515 | [BZ #2980] | |
f1762c0c | 4516 | * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. |
82ee37c5 UD |
4517 | |
4518 | 2006-08-02 Ulrich Drepper <drepper@redhat.com> | |
4519 | ||
4520 | * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, | |
4521 | walk them instead of the symbol table. | |
4522 | ||
7bb1b2c9 UD |
4523 | 2006-08-01 Ulrich Drepper <drepper@redhat.com> |
4524 | ||
f13bfdd0 | 4525 | [BZ #2098] |
fbbc73b3 UD |
4526 | * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by |
4527 | status of NSS calls, not the number of returned entries. | |
4528 | ||
a4518922 UD |
4529 | * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, |
4530 | request_key, keyctl. | |
7bb1b2c9 | 4531 | |
b06e7e9a UD |
4532 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
4533 | ||
4534 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. | |
4535 | ||
f1227969 UD |
4536 | 2006-07-16 Jeff Bailey <jbailey@ubuntu.com> |
4537 | ||
4538 | * elf/tst-auditmod1.c: Fix typo in #error. | |
4539 | ||
82ae2712 UD |
4540 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
4541 | ||
f1227969 UD |
4542 | * elf/tst-auditmod1.c: Remove code for unsupported architectures. |
4543 | ||
82ae2712 UD |
4544 | * iconvdata/run-iconv-test.sh: Run cmp in C locale. |
4545 | ||
a1260d92 UD |
4546 | 2006-07-20 Adam Nemet <anemet@caviumnetworks.com> |
4547 | ||
4548 | * stdlib/test-canon.c (do_test): Close fd before unlinking file so | |
b06e7e9a | 4549 | that the directory is empty even on non-POSIX filesystems. |
a1260d92 | 4550 | |
d2de41fe UD |
4551 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
4552 | ||
13669f2c UD |
4553 | * elf/dl-open.c (dl_open_worker): Add branch prediction. |
4554 | ||
d2de41fe UD |
4555 | * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into |
4556 | the backend NSS module. If backend setgrent call failed, don't have | |
4557 | internal_setgrent fail. Just remember this until it is needed. | |
4558 | * nis/nss_compat/compat-pwd.c: Likewise. | |
4559 | * nis/nss_compat/compat-spwd.c: Likewise. | |
4560 | ||
b894c2ea RM |
4561 | 2006-07-30 Roland McGrath <roland@redhat.com> |
4562 | ||
4563 | * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. | |
4564 | * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. | |
4565 | * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. | |
4566 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. | |
4567 | ||
4568 | * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. | |
4569 | (nanosleep_not_cancel): New macro. | |
4570 | (sigsuspend_not_cancel): new macro. | |
4571 | * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] | |
4572 | (do_sigsuspend): Define as inline. | |
4573 | (__sigsuspend): Always use do_sigsuspend. | |
4574 | [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. | |
4575 | * include/signal.h: Declare __sigsuspend_nocancel. | |
4576 | * sysdeps/posix/pause.c | |
4577 | [! NO_CANCELLATION] (__pause_nocancel): New function. | |
4578 | ||
4579 | * include/unistd.h (__pause_nocancel): Add attribute_hidden. | |
4580 | * include/time.h (__nanosleep_nocancel): Likewise. | |
4581 | ||
c10d32c8 UD |
4582 | 2006-07-30 Ulrich Drepper <drepper@redhat.com> |
4583 | ||
4584 | * locale/programs/localedef.c (add_to_readlist): Rename local | |
4585 | variables to avoid confusion. | |
4586 | ||
4587 | * locale/programs/charmap.c (charmap_read): Emit error message if | |
4588 | charmap couldn't be found or read. | |
4589 | ||
6822f056 UD |
4590 | 2006-07-28 Ulrich Drepper <drepper@redhat.com> |
4591 | ||
d5ba53f9 UD |
4592 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
4593 | __ASSUME_FUTEX_LOCK_PI. | |
4594 | * include/time.h: Declare __nanosleep_nocancel. | |
4595 | * include/unistd.h: Declare __pause_nocancel. | |
4596 | ||
6822f056 UD |
4597 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of |
4598 | LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we | |
4599 | get the __stack_chk_fail_local definition when it's needed. | |
4600 | ||
3a975ff5 UD |
4601 | 2006-07-26 Ulrich Drepper <drepper@redhat.com> |
4602 | ||
6de1f625 UD |
4603 | * dlfcn/Makefile: Add rules to build and run bug-atexit3. |
4604 | * dlfcn/bug-atexit3.c: New file. | |
4605 | * dlfcn/bug-atexit3-lib.cc: New file. | |
4606 | ||
3a975ff5 UD |
4607 | * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be |
4608 | used when the namespace is not the base namespace. | |
4609 | ||
a92b1166 UD |
4610 | 2006-07-26 Gavin Romig-Koch <gavin@redhat.com> |
4611 | ||
4612 | * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. | |
4613 | (__new_exitfn): Bump it in every successful call. | |
4614 | * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered | |
4615 | more exit handlers, call them right away. | |
4616 | * stdlib/exit.h: Declare __new_exitfn_called. | |
4617 | ||
a08336fb UD |
4618 | 2006-07-25 Ulrich Drepper <drepper@redhat.com> |
4619 | ||
bd3754dc UD |
4620 | * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when |
4621 | calling registered handler. | |
4622 | ||
a08336fb UD |
4623 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. |
4624 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
4625 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
4626 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
4627 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
4628 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
4629 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
4630 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
4631 | ||
871b9158 UD |
4632 | 2006-07-10 Ulrich Drepper <drepper@redhat.com> |
4633 | ||
4634 | * elf/dl-lookup.c (dl_new_hash): New functions. | |
4635 | (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute | |
4636 | value here. Compute new-style hash value. Pass new hash value | |
4637 | and reference to variable with the old value to do_lookup_x. | |
4638 | (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not | |
4639 | old-style hash table. | |
4640 | (_dl_debug_bindings): Pass new hash value and reference to variable | |
4641 | with the old value to do_lookup_x. | |
4642 | * elf/do-lookup.h (do_lookup_x): Accept additional parameter with | |
4643 | new-style hash value and change old-style hash value parameter to | |
4644 | be a reference. Reoganize functions to determine whether | |
4645 | new-style hash table is available. Only fall back on old-style | |
4646 | table. If old-style hash value is needed, compute it here. | |
4647 | * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH | |
4648 | entry. | |
4649 | * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, | |
4650 | DT_TLSDEC_GOT. Adjust DT_ADDRNUM. | |
4651 | * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, | |
4652 | l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. | |
4653 | * Makeconfig: If linker supports --hash-style option add it to all | |
4654 | linker command lines to build DSOs. | |
4655 | * config.make.in: Define have-hash-style. | |
4656 | * configure.in: Test whether linker supports --hash-style option. | |
4657 | ||
4658 | * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. | |
4659 | * sysdeps/generic/ldsodefs.h: Adjust prototype. | |
4660 | ||
a1f0de82 UD |
4661 | 2006-06-27 Ulrich Drepper <drepper@redhat.com> |
4662 | ||
361a3706 UD |
4663 | * elf/dl-load.c (open_path): Fix test to determine whether DSO is |
4664 | auditing. | |
4665 | ||
a1f0de82 UD |
4666 | * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at |
4667 | RPATH of main map twice. | |
4668 | ||
4259230f UD |
4669 | 2006-06-22 Ulrich Drepper <drepper@redhat.com> |
4670 | ||
4671 | * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't | |
4672 | look further, return original strings. | |
4673 | (_nl_find_msg): Do not return found translation if the conversion | |
4674 | failed. Either signal the string is unusable or that something went | |
4675 | wrong and the original should be used. | |
4676 | ||
4677 | 2006-06-21 Ulrich Drepper <drepper@redhat.com> | |
4678 | ||
4679 | * string/_strerror.c (__strerror_r): Add __builtin_expect. | |
4680 | ||
f9b7a98b UD |
4681 | 2006-06-14 Jakub Jelinek <jakub@redhat.com> |
4682 | ||
4683 | [BZ #2766] | |
4684 | * misc/insremque.c (insque): Handle prev == NULL. | |
4685 | * misc/Makefile (tests): Add tst-insremque. | |
4686 | * misc/tst-insremque.c: New test. | |
4687 | ||
ac55a25b UD |
4688 | 2006-06-17 Ulrich Drepper <drepper@redhat.com> |
4689 | ||
4690 | [BZ #2792] | |
4691 | * elf/dl-deps.c (expand_dst): Rename __cnt variable to not | |
4692 | conflict with DL_DST_REQUIRED. | |
4693 | ||
02f366b3 UD |
4694 | 2006-06-16 Ulrich Drepper <drepper@redhat.com> |
4695 | ||
4696 | * nis/nis_subr.c (nis_getnames): Fix the implementation to better | |
4697 | match what Solaris does. | |
4698 | ||
9009e8f8 UD |
4699 | 2006-06-04 Ulrich Drepper <drepper@redhat.com> |
4700 | ||
1b8373f4 UD |
4701 | * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and |
4702 | local_setegid instead of seteuid and setegid. | |
4703 | * sysdeps/generic/local-setxid.h: New file. | |
4704 | * sysdeps/unix/sysv/linux/local-setxid.h: New file. | |
4705 | ||
7231452e UD |
4706 | * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. |
4707 | ||
9009e8f8 | 4708 | * string/Makefile (tests): Add bug-envz1. |
02f366b3 | 4709 | * string/bug-envz1.c: New file. |
9009e8f8 | 4710 | |
33e63e79 UD |
4711 | 2006-06-02 Jakub Jelinek <jakub@redhat.com> |
4712 | ||
4713 | * posix/regex_internal.c (re_string_skip_chars): If no character has | |
4714 | been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc | |
4715 | to the byte which couldn't be converted. | |
4716 | (re_string_reconstruct): Don't clear valid_raw_len before calling | |
4717 | re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set | |
4718 | tip_context using re_string_context_at. | |
4719 | * posix/Makefile: Add rules to build and run bug-regex25 test. | |
4720 | * posix/bug-regex25.c: New test. | |
4721 | ||
fdc02996 UD |
4722 | 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com> |
4723 | ||
4724 | [BZ #2703] | |
4725 | * string/envz.c (envz_strip): Correct erroneously reversed src | |
4726 | and dest parameters to memmove() invocation. | |
4727 | ||
902c4291 UD |
4728 | 2006-05-30 Jakub Jelinek <jakub@redhat.com> |
4729 | ||
4730 | * nscd/nscd.h (prune_cache): Add fd argument to prototype. | |
4731 | * nscd/nscd.c (parse_opt): Read response from INVALIDATE request | |
4732 | to make sure the database has been already invalidated. | |
4733 | * nscd/cache.c (prune_cache): Add fd argument. Write response to fd | |
4734 | after the cache has been invalidated. Use pthread_mutex_lock rather | |
4735 | than pthread_mutex_trylock if fd != -1. | |
4736 | * nscd/connections.c (invalidate_cache): Add fd argument, write | |
4737 | response to fd if not calling prune_cache, pass fd to prune_cache. | |
4738 | (handle_request): Adjust invalidate_cache caller. | |
4739 | (nscd_run): Pass -1 as fd to prune_cache. | |
4740 | ||
ecc68568 UD |
4741 | 2006-05-30 Ulrich Drepper <drepper@redhat.com> |
4742 | ||
4743 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in | |
4744 | the correct place. | |
4745 | ||
9636a217 UD |
4746 | 2006-05-29 Ulrich Drepper <drepper@redhat.com> |
4747 | ||
4748 | * nscd/nscd.h (struct database_dyn): Add prunelock field. | |
4749 | * nscd/cache.c (prune_cache): Take prunelock before starting the | |
4750 | work. Just return in case it is already taken. | |
cabfcde1 | 4751 | * nscd/connections.c (dbs): Initialize .prunelock. |
9636a217 | 4752 | |
6bcb494a UD |
4753 | 2006-05-25 Ulrich Drepper <drepper@redhat.com> |
4754 | ||
672d5a63 | 4755 | * nis/nis_removemember.c (nis_removemember): Avoid unnecessary |
ecc68568 | 4756 | copying. No need to allocate new array for group members. Just |
672d5a63 UD |
4757 | move the pointers and update the size. |
4758 | ||
1663b44f UD |
4759 | * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. |
4760 | Avoid memory leak in case realloc fails. Simplification for | |
4761 | better code generation. | |
4762 | ||
4763 | Avoid deprecation warning because of libc_hidden_proto for | |
4764 | inet6_option_alloc. | |
4765 | * inet/inet6_option.c (option_alloc): Renamed from | |
4766 | inet6_option_alloc. Made static. | |
9636a217 | 4767 | (inet6_option_alloc): Now a simple wrapper around option_alloc. |
1663b44f UD |
4768 | (inet6_option_append): Call option_alloc. |
4769 | * include/netinet/in.h: Remove libc_hidden_proto for | |
4770 | inet6_option_alloc. | |
4771 | ||
6bcb494a UD |
4772 | * nis/nis_callback.c (__nis_create_callback): Always call xdr_free |
4773 | for cleanup when cb!=NULL [Coverity CID 233]. | |
4774 | ||
aec6b246 UD |
4775 | 2006-05-24 Ulrich Drepper <drepper@redhat.com> |
4776 | ||
07bfff20 UD |
4777 | [BZ #2693] |
4778 | * inet/Makefile (routines): Add inet6_opt and inet6_rth. | |
4779 | * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, | |
4780 | inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, | |
4781 | inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, | |
4782 | inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, | |
4783 | and inet6_rth_getaddr. | |
4784 | * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible | |
4785 | array. | |
4786 | * inet/netinet/in.h (struct ip6_mtuinfo): Define. | |
4787 | Mark inet6_option_* interfaces as deprecated. | |
4788 | Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, | |
4789 | inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, | |
4790 | inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, | |
4791 | inet6_rth_segments, and inet6_rth_getaddr. | |
4792 | * inet/inet6_opt.c: New file. | |
4793 | * inet/inet6_rth.c: New file. | |
4794 | ||
4795 | * inet/netinet/icmp6.h: Pretty printing. | |
4796 | ||
aec6b246 UD |
4797 | [BZ #2683] |
4798 | * elf/dl-addr.c (_dl_addr): Don't match undefined references. | |
4799 | ||
2d571cd1 UD |
4800 | 2006-05-23 Ulrich Drepper <drepper@redhat.com> |
4801 | ||
062e719b UD |
4802 | * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of |
4803 | doing it all here. When server does not know the answer do not | |
4804 | fail immediate, try parent first. | |
4805 | ||
2d571cd1 UD |
4806 | * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer |
4807 | overflow test. | |
4808 | ||
a17fa610 UD |
4809 | 2006-05-20 Ulrich Drepper <drepper@redhat.com> |
4810 | ||
4811 | * nis/nis_call.c (__prepare_niscall): New function. Split out | |
4812 | from __do_niscall. | |
4813 | * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request | |
4814 | and exported. | |
4815 | (__follow_path): New function. Split out from nis_list. | |
4816 | * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and | |
4817 | _xdr_nis_result. | |
4818 | * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and | |
4819 | _xdr_nis_result. | |
4820 | * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, | |
4821 | and __follow_path. | |
4822 | * nis/Versions: Export __prepare_niscall, __create_ib_request, | |
4823 | __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result | |
4824 | from libnsl for version GLIBC_PRIVATE. | |
4825 | * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. | |
4826 | Remove entry parameter from _nss_nisplus_parse_pwent and | |
4827 | _nss_nisplus_parse_grent. | |
4828 | * nis/nss_nisplus/nisplus-parser.c: Likewise. | |
4829 | * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ | |
4830 | again. Rewrite getpwent handling to not use nis_first_entry and | |
4831 | nis_next_entry. Roll out own niscall handling. | |
4832 | * nis/nss_nisplus/nisplus-grp.c: Likewise. | |
4833 | ||
4834 | * sunrpc/xdr_rec.c: Fix typo in comment. | |
4835 | ||
429bb183 UD |
4836 | 2006-05-19 Ulrich Drepper <drepper@redhat.com> |
4837 | ||
1d4f062a UD |
4838 | * nis/nis_call.c (__do_niscall3): Avoid code duplication in error |
4839 | handling. | |
4840 | ||
101cc598 UD |
4841 | * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc |
4842 | to allocate memory for my_pollfd. Better initialization of | |
4843 | cb_is_running. Use TEMP_FAILURE_RETRY. | |
4844 | ||
f50fa10c UD |
4845 | * malloc/memusage.sh (memusageso): Add quotes. |
4846 | (memusagestat): Likewise. | |
4847 | * debug/xtrace.sh (pcprofileso): Likewise. | |
4848 | (pcprofiledump): Likewise. | |
4849 | * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR | |
4850 | replacement. | |
4851 | * malloc/Makefile ($(objpfx)memusage): Likewise. | |
4852 | ||
882bfe73 UD |
4853 | * nis/nis_callback.c (__nis_create_callback): Calls to |
4854 | svcudp_bufcreate and svctcp_create can fail. Free ->xprt if | |
4855 | asprintf call fails. | |
4856 | ||
429bb183 UD |
4857 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure |
4858 | no uninitialized memory is passed to sendto. | |
4859 | ||
f90de831 UD |
4860 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> |
4861 | ||
4862 | * nis/nis_callback.c (__nis_create_callback): Use asprinf instead | |
4863 | of snprintf+strdup. Handle OOM. | |
4864 | * nis/nis_callback.c (__nis_create_callback): Allocate cb and | |
4865 | cb->serv together. Remove now obsolete free calls. | |
4866 | (__nis_destroy_callback): Remove now obsolete free call. | |
4867 | ||
a17fa610 | 4868 | 2006-05-18 David Woodhouse <dwmw2@redhat.com> |
6e2a7825 UD |
4869 | |
4870 | * sysdeps/posix/getaddrinfo.c: Add unique labels to the default | |
4871 | RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local | |
4872 | and ULA respectively). Set precedence for IPv4 address to 10 as | |
4873 | defined in RFC3484 for preferring IPv6. | |
4874 | * posix/gai.conf: Update to match the new default tables. | |
4875 | ||
758b9d7e UD |
4876 | 2006-05-18 Jakub Jelinek <jakub@redhat.com> |
4877 | ||
4878 | * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent | |
4879 | returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. | |
4880 | * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. | |
4881 | * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. | |
4882 | ||
4883 | * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): | |
4884 | Removed. | |
4885 | (init_nss_interface): Remove initialization of these variables. | |
4886 | ||
4887 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> | |
4888 | ||
4889 | * nis/nis_call.c (rec_dirsearch): Little optimization: pull | |
4890 | nis_free_directory forward to avoid duplication. | |
4891 | ||
388c779e UD |
4892 | 2006-05-17 Ulrich Drepper <drepper@redhat.com> |
4893 | ||
5f1724bf UD |
4894 | * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and |
4895 | rec_dirsearch returning NULL. | |
4896 | (first_shoot): Handle __nis_finddirectory returning NULL. | |
4897 | (__nisfind_server): Fix leak when rec_dirsearch returns NULL. | |
4898 | ||
388c779e UD |
4899 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, |
4900 | IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. | |
4901 | ||
360d5cf4 UD |
4902 | 2006-05-17 Jakub Jelinek <jakub@redhat.com> |
4903 | ||
4904 | * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if | |
4905 | pid changed. | |
4906 | ||
88dbff8c UD |
4907 | 2006-05-15 Ulrich Drepper <drepper@redhat.com> |
4908 | ||
6f8a7dff UD |
4909 | * include/rpc/pmap_prot.h: Mark all functions as hidden. |
4910 | ||
4911 | * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. | |
4912 | * nscd/nscd_getgr_r.c: Likewise. | |
4913 | ||
4914 | * include/rpc/pmap_rmt.h: Mark all functions as hidden. | |
4915 | ||
4916 | * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. | |
4917 | * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. | |
4918 | ||
4919 | * stdlib/longlong.h (__clz_tab): Mark as hidden. | |
4920 | ||
4921 | * iconv/gconv_int.h: Mark __gconv_lock as hidden. | |
4922 | ||
360d5cf4 | 4923 | * include/rpc/key_prot.h: Mark all _internal functions as hidden. |
8263ed62 UD |
4924 | |
4925 | * include/rpc/auth.h: Mark xdr_des_block_internal and | |
4926 | xdr_opaque_auth_internal as hidden. | |
4927 | ||
4928 | * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as | |
4929 | hidden. | |
4930 | ||
360d5cf4 | 4931 | * include/rpc/xdr.h: Mark all _internal functions as hidden. |
8263ed62 | 4932 | |
02264020 UD |
4933 | * misc/getusershell.c (okshells): Don't use static initializers, |
4934 | do it dynamically. | |
4935 | ||
fd5ea238 UD |
4936 | * stdlib/fmtmsg.c (keywords): Change type of len element to |
4937 | uint32_t to not waste space on 64bit machines. | |
4938 | ||
9446614c UD |
4939 | * locale/setlocale.c: Change _nl_category_names into a string. |
4940 | Add new _nl_category_name_idxs. Change all users. | |
4941 | * locale/localeinfo.h: Adjust declaration of _nl_category_names. | |
4942 | Declare _nl_category_name_idxs. | |
4943 | * locale/findlocale.c: Adjust for _nl_category_names change. | |
4944 | * locale/loadlocale.c: Likewise. | |
4945 | * locale/newlocale.c: Likewise. | |
4946 | * intl/dcigettext.c: Likewise. | |
4947 | ||
88dbff8c UD |
4948 | * iconv/gconv_conf.c (add_alias): Move actual alias handling to... |
4949 | (add_alias2): ...here. New function. | |
4950 | (__gconv_read_conf): Simplify builtin alias handling. | |
4951 | (builtin_aliases): Convert to string to avoid relocations. | |
4952 | * iconv/gconv_builtin.h: Add comment about correct formatting. | |
4953 | ||
4442d58f UD |
4954 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
4955 | ||
4956 | * resolv/res_debug.c (loc_ntoa): Make error const. | |
4957 | ||
4958 | 2006-05-14 Andreas Schwab <schwab@suse.de> | |
4959 | ||
4960 | * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. | |
4961 | ||
4962 | 2006-05-12 Jakub Jelinek <jakub@redhat.com> | |
4963 | ||
4964 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. | |
4965 | (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than | |
4966 | sizeof (cpu_set_t). | |
4967 | ||
a51752b6 UD |
4968 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
4969 | ||
5d3fd1f6 UD |
4970 | * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. |
4971 | ||
08cfb839 UD |
4972 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
4973 | ||
4b481a15 UD |
4974 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
4975 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
4976 | ||
4977 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. | |
4978 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
4979 | ||
4980 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. | |
4981 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
4982 | xdr_cback_data. | |
4983 | ||
4984 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. | |
4985 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
4986 | xdr_ypupdate_args. | |
4987 | ||
4988 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. | |
4989 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
4990 | ||
4991 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. | |
4992 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
4993 | ||
4994 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. | |
4995 | * include/rpcsvc/nis_callback.h: New file. | |
4996 | ||
4997 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. | |
4998 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
4999 | ||
5000 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
5001 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
5002 | ||
5003 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. | |
5004 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
5005 | ||
5006 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
5007 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
5008 | ||
b1ad49c6 UD |
5009 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
5010 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
5011 | xdr_ypdelete_args. | |
5012 | ||
cd5f7829 UD |
5013 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
5014 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
5015 | ||
a51752b6 UD |
5016 | * nis/nis_error.c: Remove table of strings. Use position |
5017 | independent mechanism. | |
5018 | * nis/nis_error.h: New file. | |
5019 | ||
3d237e42 UD |
5020 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
5021 | ||
5022 | * locale/programs/ld-time.c (time_finish): If wide era name or | |
5023 | format aren't provided, set both wname and wformat to L"". | |
5024 | ||
d6c159fe UD |
5025 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
5026 | ||
0088b04e UD |
5027 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
5028 | results if the call was succesful. | |
5029 | ||
d6c159fe UD |
5030 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
5031 | ||
5032 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count | |
5033 | as hidden. | |
5034 | ||
5c5acdf0 UD |
5035 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
5036 | ||
5037 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. | |
5038 | ||
16d620db UD |
5039 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
5040 | ||
5041 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the | |
5042 | caller makes sure this is not the case. | |
5043 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
5044 | ||
e7c8359e UD |
5045 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
5046 | ||
ecf359c6 UD |
5047 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
5048 | calls. | |
5049 | ||
400cc70a UD |
5050 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
5051 | [Coverity CID 229, 230] | |
5052 | ||
5053 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and | |
5054 | DGETTEXT calls. | |
5055 | (hol_help): Likewise. [Coverity CID 226, 227] | |
5056 | ||
5057 | * string/argz-replace.c (__argz_replace): Unconditionally call | |
5058 | free on SRC. [Coverity CID 225] | |
5059 | ||
5060 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate | |
5061 | the return value of __nis_default_owner and __nis_default_group, | |
5062 | it has been especially allocated. [Coverity CID 224] | |
5063 | ||
51e59260 UD |
5064 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
5065 | searchgroup and searchowner. Significantly simplified. | |
5066 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
5067 | string before duplicating it. | |
5068 | (__nis_default_group): Likewise. | |
5069 | ||
5070 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, | |
5071 | we must clear the variable before calling __nisfind_server. | |
5072 | ||
5073 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with | |
5074 | nis_getnames. [Coverity CID 223] | |
5075 | ||
5076 | * locale/programs/locfile.c (locfile_read): Use alloca instead of | |
5077 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
5078 | ||
5079 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically | |
5080 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
5081 | ||
e7c8359e | 5082 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
51e59260 | 5083 | was allocated here. [Coverity CID 219, 220] |
e7c8359e UD |
5084 | |
5085 | * posix/getconf.c (print_all): Free confstr data after printing. | |
5086 | [Coverity CID 218] | |
5087 | ||
5088 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if | |
5089 | list allocation fails. [Coverity CID 215] | |
5090 | ||
5091 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. | |
5092 | [Coverity CID 213] | |
5093 | ||
5094 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if | |
5095 | string is NULL. [Coverity CID 212] | |
5096 | * argp/Makefile: Add rules to build and run bug-argp1. | |
5097 | * argp/bug-argp1.c: New file. | |
5098 | ||
5099 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find | |
5100 | end of string. | |
5101 | * stdlib/canonicalize.c (__realpath): Likewise. | |
5102 | ||
5103 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL | |
5104 | pointer. [Coverity CID 206] | |
5105 | ||
5106 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map | |
5107 | in statically linked code. | |
5108 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
5109 | statically built code, be prepared to have no link map. | |
5110 | [Coverity CID 205] | |
5111 | ||
5112 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in | |
5113 | dgettext calls. [Coverity CID 204] | |
5114 | ||
5115 | * argp/argp-help.c (struct uparams): Remove valid member. Change | |
5116 | the one user. | |
5117 | (uparam_names): Reduce size. Avoid relative relocations. | |
5118 | Moved to read-only segment. | |
5119 | (fill_in_uparams): Update for new layout. | |
5120 | ||
5121 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be | |
5122 | assumed to always be != NULL. [Coverity CID 202] | |
5123 | ||
5124 | * argp/argp-help.c (hol_entry_help): Remove some dead code | |
5125 | [Coverity CID 200]. | |
5126 | ||
5127 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize | |
5128 | away a few more unconditional yperr2nss calls. | |
5129 | (_nss_nis_getservbyname_r): Likewise. | |
5130 | ||
acf82eaf UD |
5131 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
5132 | ||
4461cf48 UD |
5133 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
5134 | architectures. | |
5135 | ||
b74a8c7f UD |
5136 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
5137 | that unused memory passed to sendto is nevertheless initialized. | |
5138 | ||
acb98cb5 UD |
5139 | [BZ #2499] |
5140 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
5141 | possibly unaligned memory accesses. | |
5142 | ||
bce16467 UD |
5143 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
5144 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
5145 | and __putlong respectively. Correct buffer overflow check for | |
5146 | NS_NOTIFY_OP. | |
5147 | ||
5148 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. | |
5149 | ||
8e45b1ac UD |
5150 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
5151 | (send_dg): Rewrite error handling to be more compact and avoid | |
5152 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
5153 | ||
697e1628 UD |
5154 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
5155 | ||
5156 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly | |
5157 | instead of ns_get16. | |
5158 | (res_queriesmatch): Likewise. Minor optimization. | |
5159 | ||
acf82eaf UD |
5160 | [BZ #2499] |
5161 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
5162 | __libc_res_nsend might reallocate the buffer for the answer. In | |
5163 | this case we have to reload the HP pointer. | |
5164 | ||
7bfee654 UD |
5165 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
5166 | ||
694b49ca UD |
5167 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
5168 | some branch prediction hints. | |
5169 | ||
7bfee654 UD |
5170 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
5171 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
5172 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
5173 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
5174 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
5175 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
5176 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
5177 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
5178 | ||
308bb2d5 UD |
5179 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
5180 | ||
5181 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation | |
5182 | by a GOT relocation to make Scrt1.o position independent. | |
5183 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
5184 | ||
5185 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for | |
5186 | six system call parameters. | |
5187 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
5188 | ||
cdb9c321 UD |
5189 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
5190 | ||
5191 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of | |
5192 | malloc&bzero. | |
5193 | ||
5194 | * sunrpc/svc_udp.c (BZERO): Remove definition. | |
5195 | (CALLOC): Define. | |
5196 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
5197 | ||
5198 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. | |
5199 | (des_SPtrans): Use uint32_t type. | |
5200 | (des_skb): Likewise. | |
5201 | ||
5202 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. | |
5203 | ||
fff04b32 UD |
5204 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
5205 | ||
5206 | [BZ #2509] | |
5207 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
5208 | on 32-bit arches. | |
5209 | ||
5210 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> | |
5211 | ||
5212 | * locale/programs/ld-address.c (address_finish): Fix one more | |
cdb9c321 | 5213 | place where the iso639 array might be accessed beyond the limits. |
fff04b32 | 5214 | |
077a30bc | 5215 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
77dd4c3b | 5216 | |
f2d5cf50 UD |
5217 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
5218 | filling it for the first time. | |
5219 | ||
3e4370cf UD |
5220 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
5221 | Adjust all callers. | |
5222 | Free res object content before returning. | |
5223 | ||
5e65a53d UD |
5224 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
5225 | ||
48be3114 UD |
5226 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
5227 | client->cl_auth. | |
5228 | ||
ca4fce0e UD |
5229 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
5230 | cleanup for initial thread, just the free call on TVP. | |
5231 | ||
077a30bc | 5232 | * nscd/gai.c (__getline): Define. |
3b7a95fb | 5233 | |
5d37289a | 5234 | |
3f87d901 | 5235 | See ChangeLog.16 for earlier changes. |