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