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