]>
Commit | Line | Data |
---|---|---|
78c2bf0e UD |
1 | 2008-03-07 Ulrich Drepper <drepper@redhat.com> |
2 | ||
72f10127 UD |
3 | * stdlib/Makefile (aux): Add tens_in_limb. |
4 | * stdlib/strtod_l.c: Move _tens_in_limb definition to... | |
5 | * stdlib/tens_in_limb.c: ...here. New file. | |
6 | ||
443db178 UD |
7 | [BZ #5778] |
8 | * sysdeps/unix/sysv/linux/pathconf.h: Declare | |
9 | __statfs_chown_restricted. | |
10 | * sysdeps/unix/sysv/linux/fpathconf.c: Call __statfs_chown_restricted | |
11 | for _PC_CHOWN_RESTRICTED. | |
12 | * sysdeps/unix/sysv/linux/pathconf.c: Likewise. | |
13 | Implement __statfs_chown_restricted. | |
14 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Change | |
15 | _POSIX_CHOWN_RESTRICTED value to zero. | |
16 | ||
78c2bf0e UD |
17 | * sysdeps/x86_64/rtld-memset.c: New file. |
18 | ||
443db178 | 19 | 2008-02-26 Harsha Jagasia <harsha.jagasia@amd.com> |
78c2bf0e UD |
20 | |
21 | * sysdeps/x86_64/cacheinfo.c (NOT_USED_RIGHT_NOW): Remove ifdef guards. | |
22 | ||
23 | * sysdeps/x86_64/memset.S: Rewrite non-SSE code path as tuned for AMD | |
24 | Barcelona machine. Make default fall through branch of | |
25 | __x86_64_preferred_memory_instruction check as the integer code path. | |
26 | ||
27 | 2007-10-15 H.J. Lu <hongjiu.lu@intel.com> | |
28 | ||
29 | * sysdeps/x86_64/cacheinfo.c | |
30 | (__x86_64_preferred_memory_instruction): New variable. | |
31 | (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. | |
32 | ||
33 | * sysdeps/x86_64/memset.S: Rewrite. | |
34 | ||
dff37515 UD |
35 | 2008-03-04 Jakub Jelinek <jakub@redhat.com> |
36 | ||
37 | * include/stdio.h (__asprintf_chk, __dprintf_chk, | |
38 | __obstack_printf_chk): New prototypes. | |
39 | (__vasprintf_chk, __vdprintf_chk, | |
40 | __obstack_vprintf_chk): Likewise. | |
41 | Add libc_hidden_proto. | |
42 | * libio/obprintf.c | |
43 | (_IO_obstack_jumps): No longer static, add attribute_hidden. | |
44 | * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk, | |
45 | __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, | |
46 | __obstack_vprintf_chk): Add __LDBL_REDIR_DECL. | |
47 | * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk, | |
48 | __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, | |
49 | __obstack_vprintf_chk): New prototypes. | |
50 | (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf, | |
51 | obstack_vprintf): New inlines. | |
52 | * debug/dprintf_chk.c: New file. | |
53 | * debug/vdprintf_chk.c: New file. | |
54 | * debug/asprintf_chk.c: New file. | |
55 | * debug/vasprintf_chk.c: New file. | |
56 | * debug/obprintf_chk.c: New file. | |
57 | * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests. | |
58 | * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, | |
59 | __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export | |
60 | @@GLIBC_2.8. | |
61 | * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk, | |
62 | vdprintf_chk and obprintf_chk, set CFLAGS for them. | |
63 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk, | |
64 | __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add | |
65 | libc_hidden_proto. | |
66 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk, | |
67 | __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes. | |
68 | * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk, | |
69 | __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk, | |
70 | __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export | |
71 | @@GLIBC_2.8. | |
72 | * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk, | |
73 | vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and | |
74 | obstack_vprintf_chk. | |
75 | * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file. | |
76 | * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file. | |
77 | * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file. | |
78 | * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file. | |
79 | * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file. | |
80 | * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file. | |
81 | ||
d835f136 UD |
82 | 2008-03-04 Ulrich Drepper <drepper@redhat.com> |
83 | ||
a4bb445a UD |
84 | [BZ #5779] |
85 | * misc/sys/queue.h: Add STAILQ_CONCAT and TAILQ_CONCAT definitions. | |
86 | Patch by Roy Marples <roy@marples.name>. | |
87 | ||
c958a6a4 UD |
88 | [BZ #5736] |
89 | * malloc/malloc.c: Fix typo in comment. | |
90 | ||
d835f136 UD |
91 | [BZ #5627] |
92 | * locale/iso-639.def: Add Shuswap. | |
93 | ||
65b4743a UD |
94 | 2008-02-25 Jakub Jelinek <jakub@redhat.com> |
95 | ||
96 | [BZ #5790] | |
97 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Don't | |
98 | overwrite *h_errnop/*errnop values from getanswer_r in case of | |
99 | failure. | |
100 | ||
3868fb6e UD |
101 | 2008-03-03 Ulrich Drepper <drepper@redhat.com> |
102 | ||
27c377dd UD |
103 | [BZ #5818] |
104 | * nscd/connections.c (dbs): Add initializers for .suggested_module. | |
105 | (verify_persistent_db): Remove one unnecessary test and add a new one | |
106 | for bad configuration. | |
107 | (nscd_init): Improve error reported when persistent database cannot | |
108 | be reused. | |
109 | * nscd/nscd.h (DEFAULT_SUGGESTED_MODULE): Define. | |
110 | * nscd/nscd_conf.c (nscd_parse_file): Provide default values for | |
111 | .suggested_module and .max_db_size and case config file says the | |
112 | values are zero. | |
113 | * nscd/nscd_helper.c (get_mapping): Fail if hash table module is zero. | |
114 | ||
0f749099 UD |
115 | [BZ #5854] |
116 | * nis/ypclnt.c (yp_order): Fix handling of return value of | |
117 | do_ypcall_tr call. | |
118 | Patch by Jeff Moyer <jmoyer@redhat.com>. | |
119 | ||
3868fb6e UD |
120 | * po/fr.po: Update from translation team. |
121 | ||
268dbf25 AJ |
122 | 2008-02-22 Andreas Jaeger <aj@suse.de>, |
123 | Carlos O'Donell <carlos@systemhalted.org> | |
124 | ||
125 | [BZ #5012] | |
126 | * FAQ.in: Describe why glibc needs to be compiled with | |
127 | optimization. | |
128 | ||
73b82641 RM |
129 | 2008-02-19 Roland McGrath <roland@redhat.com> |
130 | ||
131 | * elf/elf.h (SHT_GNU_ATTRIBUTES): New macro. | |
132 | ||
c9136393 UD |
133 | 2008-02-15 Ulrich Drepper <drepper@redhat.com> |
134 | ||
135 | [BZ #5737] | |
136 | * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when | |
137 | __USE_MISC is defined. | |
138 | ||
2e3e9ff1 UD |
139 | 2008-02-10 Ulrich Drepper <drepper@redhat.com> |
140 | ||
141 | * sysdeps/unix/sysv/linux/sys/timerfd.h: New file. | |
142 | * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add | |
143 | sys/timerfd.h. | |
144 | * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create, | |
145 | timerfd_gettime, timerfd_settime. | |
146 | * sysdeps/unix/sysv/linux/Versions: Add timerfd_create, | |
147 | timerfd_gettime, timerfd_settime for GLIBC_2.8. | |
148 | ||
85202a2b RM |
149 | 2008-02-08 Roland McGrath <roland@redhat.com> |
150 | ||
151 | * elf/elf.h (NT_PPC_SPE): New macro. | |
152 | ||
708ef8a4 RM |
153 | 2008-02-06 Roland McGrath <roland@redhat.com> |
154 | ||
155 | * Makerules ($(common-objpfx)sysd-rules): | |
156 | Depend on $(sysdep-makeconfigs). | |
157 | ||
363a641b RM |
158 | 2008-01-31 Roland McGrath <roland@redhat.com> |
159 | ||
67fbfa5c RM |
160 | [BZ #5442] |
161 | * configure.in: Use -print-file-name if it yields a directory, | |
162 | for each of include and include-fixed. | |
163 | * configure: Regenerated. | |
164 | ||
363a641b RM |
165 | * Makeconfig (sysd-rules-targets): New variable. |
166 | * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. | |
167 | * sysdeps/unix/Makefile (omit-deps): Append variants for each target. | |
168 | ||
0f0f9610 RM |
169 | 2008-01-30 Roland McGrath <roland@redhat.com> |
170 | ||
7bd00dbf RM |
171 | * manual/libc.texinfo: Update back-cover text. |
172 | ||
0f0f9610 RM |
173 | * elf/elf.h (NT_386_TLS): New macro. |
174 | ||
16cd816f RM |
175 | 2008-01-29 Roland McGrath <roland@redhat.com> |
176 | ||
177 | * Makeconfig (sysd-rules-patterns): New variable. | |
178 | * Makerules ($(common-objpfx)sysd-rules): Drive the loop from that. | |
179 | (check-inhibit-asm): New canned sequence, replaces ... | |
180 | (open-check-inhibit-asm, close-check-inhibit-asm): ... these, removed. | |
181 | * elf/rtld-Rules ($(objpfx)rtld-%.os): Use $(rtld-CPPFLAGS) in commands. | |
182 | (rtld-CPPFLAGS): Renamed from CPPFLAGS-rtld. | |
183 | (CFLAGS-rtld): Variable removed. | |
184 | ||
f641ffcc RM |
185 | 2008-01-24 Roland McGrath <roland@redhat.com> |
186 | ||
187 | * configure.in: Let configure fragments set base_os. | |
188 | * configure: Regenerated. | |
189 | ||
b7e26885 UD |
190 | 2008-01-22 Ulrich Drepper <drepper@redhat.com> |
191 | ||
192 | * po/ko.po: Update from translation team. | |
193 | ||
b4b166af UD |
194 | 2008-01-12 H.J. Lu <hongjiu.lu@intel.com> |
195 | ||
196 | * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw. | |
197 | ||
f66def9d AJ |
198 | 2008-01-12 Andreas Jaeger <aj@suse.de> |
199 | ||
200 | [BZ #5040] | |
201 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (enum EPOLL_EVENTS): | |
202 | Add EPOLLRDHUP. | |
203 | ||
d3bc5e77 RM |
204 | 2008-01-20 Samuel Thibault <samuel.thibault@ens-lyon.org> |
205 | ||
206 | * hurd/hurdsock.c (_hurd_socket_server): Return the standard | |
207 | error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. | |
208 | * sunrpc/bindrsvprt.c (bindresvport): Likewise. | |
209 | ||
4c533566 UD |
210 | 2007-10-23 Alexandre Oliva <aoliva@redhat.com> |
211 | ||
212 | * include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define. | |
213 | * elf/dl-close.c (_dl_close): Check for it. | |
214 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Likewise. | |
215 | (_dl_allocate_static_tls): Likewise. | |
216 | * elf/dl-tls.c (_dl_allocate_tls_init): Likewise. | |
217 | (__tls_get_addr): Protect from race conditions in setting l_tls_offset | |
218 | to it. | |
219 | * elf/tst-tls16.c: New file. | |
220 | * elf/tst-tlsmod16a.c: New file. | |
221 | * elf/tst-tlsmod16b.c: New file. | |
222 | * elf/Makefile: Add rules to build and run tst-tls16. | |
223 | ||
a53d3f82 UD |
224 | 2008-01-16 Ulrich Drepper <drepper@redhat.com> |
225 | ||
a0f6c236 UD |
226 | [BZ #5628] |
227 | * bits/shm.h: Fix comment describing shmid_ds. | |
228 | * sysdeps/gnu/bits/shm.h: Likewise. | |
229 | * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. | |
230 | * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. | |
231 | * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. | |
232 | * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. | |
233 | * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. | |
234 | * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise. | |
235 | * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. | |
236 | * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. | |
237 | Patch by Hareesh Nagarajan <hareesh.nagarajan@gmail.com>. | |
238 | ||
a53d3f82 UD |
239 | [BZ #5607] |
240 | * conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate | |
241 | prototypes. | |
242 | * conform/data/limits.h-data: Adjust limits changed in v6 and add | |
243 | additional suffixes. | |
244 | * conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry. | |
245 | Add optional functions mq_timedreceive and mq_timedsend. | |
246 | * conform/data/netdb.h-data: Add more AI_* and EAI_* constants. | |
247 | * conform/data/pthread.h-data: Fix prototype of | |
248 | pthread_condattr_setclock. pthread_sigmask is not required in v6. | |
249 | * conform/data/semaphore.h-data: Allow time.h definitions. | |
250 | * conform/data/signal.h-data: Likewise. | |
251 | * conform/data/stdio.h-data: getw and putw are not required in v6. | |
252 | * conform/data/stdlib.h-data: Change setstate prototype. | |
253 | * conform/data/string.h-data: Fix strerror_r prototype. | |
254 | * conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition. | |
255 | * conform/data/unistd.h-data: pthread_atfork not required in v6. | |
256 | Fix readlink prototype. | |
257 | * conform/data/netinet/in.h-data: Add const to in6addr_any and | |
258 | in6addr_loopback. | |
259 | * inet/netinet/in.h: Cleanup namespace. | |
260 | * posix/regex.h: Likewise. | |
261 | * resolv/netdb.h: Likewise. | |
262 | * sysdeps/unix/sysv/linux/bits/in.h: Likewise. | |
263 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
264 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
6107639e UD |
265 | * sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change |
266 | of names of in in6_addr. | |
267 | (default_precedence): Likewise. | |
268 | * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: Include <stddef.h> for | |
269 | NULL definition. | |
a53d3f82 | 270 | |
ebca8f73 UD |
271 | 2008-01-15 Ulrich Drepper <drepper@redhat.com> |
272 | ||
fbe90cd5 UD |
273 | * conform/data/fmtmsg.h-data: Add missing allows. |
274 | * conform/data/ftw.h-data: Likewise. | |
275 | * conform/data/inttypes.h-data: Likewise. | |
276 | * conform/data/math.h-data: Likewise. | |
277 | * conform/data/signal.h-data: Likewise. | |
278 | * conform/data/net/if.h-data: Likewise. | |
279 | * conform/data/netinet/in.h-data: Likewise. | |
280 | * conform/data/sys/socket.h-data: Likewise. | |
281 | ||
ebca8f73 UD |
282 | [BZ #5614] |
283 | * string/bits/string2.h (__strtok_r_1c): Always update *__NEXTP. | |
284 | (__strtok_r): Simplify. | |
285 | * string/tester.c (test_strtok_r): Add test case for futile search | |
286 | with single-character seach string. | |
287 | ||
7c33ca8b UD |
288 | 2008-01-12 Ulrich Drepper <drepper@redhat.com> |
289 | ||
290 | * po/ko.po: Update from translation team. | |
291 | ||
b8cc0848 AJ |
292 | 2008-01-11 Andreas Jaeger <aj@suse.de> |
293 | ||
294 | [BZ #5600] | |
295 | * sysdeps/unix/sysv/linux/sys/signalfd.h (struct | |
296 | signalfd_siginfo): Use 64-bit type for ssi_ptr to sync with Linux | |
297 | kernel header. | |
298 | ||
49029a66 UD |
299 | 2008-01-10 Ulrich Drepper <drepper@redhat.com> |
300 | ||
301 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Store result of | |
302 | native interface lookup in all the relevant places. | |
303 | ||
99f05798 UD |
304 | 2008-01-10 Jakub Jelinek <jakub@redhat.com> |
305 | Ulrich Drepper <drepper@redhat.com> | |
0efd1956 UD |
306 | |
307 | * sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order | |
308 | field. Use sockaddr_in6 for source_addr. | |
309 | (get_scope): Change type of parameter to sockaddr_in6. Adjust. | |
310 | (match_prefix): Likewise. | |
311 | (get_label): Likewise. | |
312 | (get_precedence): Likewise. | |
313 | (rfc3484_sort): Change to use indirect access to results array. | |
314 | Adjust to use of sockaddr_in6. Replace service_order test with | |
315 | simple index comparison. | |
316 | (getaddrinfo): Define order array. Initialize it. Don't initialize | |
317 | service_order field. Adjust qsort_t calls. Access sorted result | |
318 | array indirectly through order array. | |
319 | * posix/tst-rfc3484.c: Adjust for change of rfc3484_sort. | |
320 | * posix/tst-rfc3484-2.c: Likewise. | |
321 | * posix/tst-rfc3484-3.c: Likewise. | |
322 | ||
b3443701 UD |
323 | 2008-01-09 Ulrich Drepper <drepper@redhat.com> |
324 | ||
f6bacb8e UD |
325 | [BZ #5541] |
326 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and | |
327 | pollfd structures. | |
328 | Patch by André Cruz. | |
329 | ||
aa693c68 UD |
330 | [BZ #5545] |
331 | * sunrpc/clnt_perr.c (clnt_sperror): Don't use fixed size buffer. | |
332 | (clnt_spcreateerror): Likewise. | |
333 | ||
b3443701 UD |
334 | [BZ #5553] |
335 | * malloc/malloc.c (public_mALLOc): Set ar_ptr when trying main_arena. | |
336 | (public_mEMALIGn): Likewise. | |
337 | Patch mostly by Daniel Jacobowitz. | |
338 | ||
148e12ed UD |
339 | 2008-01-09 Jakub Jelinek <jakub@redhat.com> |
340 | ||
341 | * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): Avoid | |
342 | clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size. | |
343 | * stdlib/Makefile: Add rules to build and run tst-makecontext2. | |
344 | * stdlib/tst-makecontext2.c: New test. | |
345 | ||
78c2bf0e | 346 | 2008-01-08 Jakub Jelinek <jakub@redhat.com> |
4b1b449d UD |
347 | |
348 | * iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not | |
349 | defined. | |
350 | (REINIT_PARAMS): Likewise. Undefine before end of file. | |
351 | (STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling | |
352 | transliteration hooks and REINIT_PARAMS afterwards. | |
353 | * iconvdata/iso-2022-jp.c (BODY): Use a separate variable for | |
354 | status. | |
355 | (REINIT_PARAMS): Define. | |
356 | * iconvdata/ibm1364.c (REINIT_PARAMS): Likewise. | |
357 | * iconvdata/ibm930.c (REINIT_PARAMS): Likewise. | |
358 | * iconvdata/ibm933.c (REINIT_PARAMS): Likewise. | |
359 | * iconvdata/ibm935.c (REINIT_PARAMS): Likewise. | |
360 | * iconvdata/ibm937.c (REINIT_PARAMS): Likewise. | |
361 | * iconvdata/ibm939.c (REINIT_PARAMS): Likewise. | |
362 | * iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise. | |
363 | * iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise. | |
364 | * iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise. | |
365 | * iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise. | |
366 | * iconvdata/Makefile: Add rules to build and run tst-iconv7.c. | |
367 | * iconvdata/tst-iconv7.c: New test. | |
368 | ||
71edcafa UD |
369 | 2008-01-07 Ulrich Drepper <drepper@redhat.com> |
370 | ||
371 | * libio/stdio.h (vscanf): Fix definition for loser compilers. | |
372 | ||
0fbfe2f7 JJ |
373 | 2008-01-05 Jakub Jelinek <jakub@redhat.com> |
374 | ||
375 | [BZ #5112] | |
376 | * nscd/connections.c (restart): Fix condition. | |
377 | ||
8726a12e UD |
378 | 2008-01-03 Jakub Jelinek <jakub@redhat.com> |
379 | ||
380 | * ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc, | |
381 | __ctype_toupper_loc): Add __THROW. | |
382 | ||
f4a1363e UD |
383 | 2008-01-02 Ulrich Drepper <drepper@redhat.com> |
384 | ||
ad586879 UD |
385 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix |
386 | recognition of interface family. | |
387 | ||
f4a1363e UD |
388 | * posix/getconf.c: Update copyright year. |
389 | * nss/getent.c: Likewise. | |
390 | * iconv/iconvconfig.c: Likewise. | |
391 | * iconv/iconv_prog.c: Likewise. | |
392 | * elf/ldconfig.c: Likewise. | |
393 | * catgets/gencat.c: Likewise. | |
394 | * csu/version.c: Likewise. | |
395 | * elf/ldd.bash.in: Likewise. | |
396 | * elf/sprof.c (print_version): Likewise. | |
397 | * locale/programs/locale.c: Likewise. | |
398 | * locale/programs/localedef.c: Likewise. | |
399 | * nscd/nscd.c (print_version): Likewise. | |
400 | * debug/xtrace.sh: Likewise. | |
401 | * malloc/memusage.sh: Likewise. | |
402 | * malloc/mtrace.pl: Likewise. | |
403 | * debug/catchsegv.sh: Likewise. | |
404 | ||
0dc6c5e4 UD |
405 | 2007-12-26 Ulrich Drepper <drepper@redhat.com> |
406 | ||
407 | * nss/nsswitch.c (__nss_lookup): Actually use alternative name in | |
408 | second lookup. | |
409 | ||
80af8b82 UD |
410 | 2007-12-23 Ulrich Drepper <drepper@redhat.com> |
411 | ||
412 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): New entry 0x3f. | |
413 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. | |
414 | ||
4bcecfb7 RM |
415 | 2007-12-17 Roland McGrath <roland@redhat.com> |
416 | ||
417 | * inet/ether_line.c (ether_line): Remove unused variable. | |
418 | ||
419 | 2007-12-17 Samuel Thibault <samuel.thibault@ens-lyon.org> | |
420 | ||
421 | * login/forkpty.c (forkpty): Add const qualifier to parameters termp | |
422 | and winp. | |
423 | * login/openpty.c (openpty): Likewise. | |
424 | * login/pty.h (openpty, forkpty): Likewise. | |
425 | * manual/terminal.texi (openpty, forkpty): Likewise. | |
426 | ||
4cd4c5d6 UD |
427 | 2007-12-17 Ulrich Drepper <drepper@redhat.com> |
428 | ||
78c2bf0e | 429 | * malloc/malloc.c (public_cALLOc): For arenas other than |
4cd4c5d6 UD |
430 | main_arena, count all bytes inside the mprotect_size range of the |
431 | heap as uninitialized. | |
432 | ||
68631c8e UD |
433 | 2007-12-16 Ulrich Drepper <drepper@redhat.com> |
434 | ||
d9961b6a UD |
435 | * elf/tst-execstack.c (do_test): Don't fail if SELinux forbids |
436 | executable stacks. | |
437 | ||
68631c8e UD |
438 | * malloc/malloc.c (public_mTRIm): Iterate over all arenas and call |
439 | mTRIm for all of them. | |
440 | (mTRIm): Additionally iterate over all free blocks and use madvise | |
441 | to free memory for all those blocks which contain at least one | |
442 | memory page. | |
be8c1500 UD |
443 | * malloc/tst-trim1.c: New file. |
444 | * malloc/Makefile (tests): Add tst-trim1. | |
68631c8e UD |
445 | |
446 | * malloc/malloc.c (do_check_malloc_state): Minimal cleanups. | |
447 | ||
78b767a0 UD |
448 | 2007-12-14 Ulrich Drepper <drepper@redhat.com> |
449 | ||
450 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL_ERROR_P): | |
451 | First cast argument to long | |
52386be7 UD |
452 | * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday): |
453 | Return long. | |
454 | (__vdso_clock_gettime): Likewise. | |
78b767a0 UD |
455 | * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions |
456 | return long. | |
457 | ||
bc3e1c12 UD |
458 | 2007-12-13 Ulrich Drepper <drepper@redhat.com> |
459 | ||
460 | * locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l. | |
461 | * locale/nl_langinfo_l.c: Real implementation, copied from | |
462 | nl_langinfo.c. | |
463 | * include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l. | |
464 | ||
77751669 UD |
465 | 2007-12-01 Jim Meyering <meyering@redhat.com> |
466 | ||
467 | * posix/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/, | |
468 | that would inhibit utf8-optimization of a regexp containing line- | |
469 | or buffer-anchors, e.g., `^', `$'. | |
470 | ||
f63e5063 UD |
471 | 2007-12-12 Ulrich Drepper <drepper@redhat.com> |
472 | ||
473 | * time/bug-getdate1.c (do_test): Don't use century values which | |
474 | aren't valid on 32-bit systems. | |
475 | ||
a78814a9 UD |
476 | 2007-12-12 Jakub Jelinek <jakub@redhat.com> |
477 | ||
478 | * sysdeps/i386/i486/bits/string.h (memmove): Define as macro. | |
479 | (memmove): Rename to __memmove_g, with __asm__ ("memmove"). | |
480 | * sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g, | |
481 | __strcat_g, __strncat_g): Add __asm__. | |
482 | ||
483 | 2007-12-12 Ulrich Drepper <drepper@redhat.com> | |
484 | ||
485 | [BZ #5477] | |
486 | * io/fchmodat.c: Fix typo in stub_warning use. | |
487 | Patch by Petr Salinger. | |
488 | ||
17edb30c UD |
489 | 2007-12-11 Ulrich Drepper <drepper@redhat.com> |
490 | ||
58d11795 UD |
491 | * iconvdata/hp-thai8.c: New file. |
492 | * iconvdata/Makefile: Add rules for hp-thai8.c. | |
493 | * iconvdata/tst-tables.sh: Add entry for HP-THAI8. | |
494 | * iconvdata/gconv-modules: Likewise. | |
495 | ||
496 | [BZ #5464] | |
497 | * iconvdata/hp-greek8.c: New file. | |
498 | * iconvdata/Makefile: Add rules for hp-greek8.c. | |
499 | * iconvdata/tst-tables.sh: Add entry for HP-GREEK8. | |
500 | * iconvdata/gconv-modules: Likewise. | |
501 | ||
502 | [BZ #5463] | |
503 | * iconvdata/hp-turkish8.c: New file. | |
504 | * iconvdata/Makefile: Add rules for hp-turkish8.c. | |
505 | * iconvdata/tst-tables.sh: Add entry for HP-TURKISH8. | |
506 | * iconvdata/gconv-modules: Likewise. | |
507 | ||
cbf5760e UD |
508 | * malloc/arena.c (grow_heap): Split out code to shrink heap into... |
509 | (shrink_heap): ... this new function. | |
510 | (heap_trim): Call shrink_heap instead of grow_heap. | |
511 | ||
17edb30c UD |
512 | * malloc/malloc.c (_int_malloc): sYSMALLOc might fail, in this |
513 | case don't call alloc_perturb. | |
514 | ||
ae18718f UD |
515 | 2007-12-10 Ulrich Drepper <drepper@redhat.com> |
516 | ||
517 | * sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ if | |
518 | possible. | |
519 | * sysdeps/unix/sysv/linux/kernel-features.h | |
520 | (__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24. | |
521 | * sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define. | |
522 | ||
b4354cf4 UD |
523 | 2007-12-08 Ulrich Drepper <drepper@redhat.com> |
524 | ||
525 | [BZ #5424] | |
526 | * stdio-common/vfprintf.c: Do not overflow when adding to done. | |
527 | * stdio-common/Makefile (tests): Add bug22. | |
528 | * stdio-common/bug22.c: New file. | |
529 | ||
530 | [BZ #5451] | |
531 | * time/getdate.c: Fix filling in default values. | |
532 | * time/bug-getdate1.c: New file. | |
533 | * time/Makefile: Add rules to build and run bug-getdate1. | |
534 | ||
535 | * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic. | |
536 | * iconvdata/ebcdic-es.c: Likewise. | |
537 | * iconvdata/ebcdic-es-a.c: Likewise. | |
538 | * iconvdata/ebcdic-uk.c: Likewise. | |
539 | * iconvdata/iso8859-16.c: Likewise. | |
540 | * iconvdata/viscii.c: Likewise. | |
541 | * iconvdata/iso8859-9e.c: Likewise. | |
542 | * iconvdata/Makefile: Adjust appropriately. | |
543 | ||
544 | [BZ #5428] | |
545 | * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and | |
546 | __need_wint_t. | |
547 | ||
26e21e75 UD |
548 | 2007-12-07 Ulrich Drepper <drepper@redhat.com> |
549 | ||
87520ccc UD |
550 | [BZ #5427] |
551 | * iconvdata/hp-roman9.c: New file. | |
552 | * iconvdata/Makefile: Add rules for hp-roman9.c. | |
553 | * iconvdata/tst-tables.sh: Add HP-ROMAN9. | |
b4354cf4 | 554 | * iconvdata/gconv-modules: Likewise. |
87520ccc UD |
555 | |
556 | * iconvdata/hp-roman8.c: Use 8bit-gap instead of 8bit-generic. | |
557 | * iconvdata/Makefile: Adjust appropriately. | |
558 | ||
26e21e75 UD |
559 | [BZ #5441] |
560 | * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free | |
561 | structure, it's allocated with alloca. | |
562 | * stdio-common/Makefile (tests): Add bug21. | |
563 | * stdio-common/bug21.c: New file. | |
564 | ||
565 | 2007-12-06 Aurelien Jarno <aurelien@aurel32.net> | |
566 | ||
567 | [BZ #5452] | |
568 | * sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__ | |
87520ccc | 569 | keyword for gcc's braced-groups. |
26e21e75 UD |
570 | |
571 | 2007-12-07 Ulrich Drepper <drepper@redhat.com> | |
572 | ||
573 | [BZ #5454] | |
574 | * inet/ether_line.c: Strip hostname of whitespaces. | |
575 | * inet/Makefile (tests): Add tst-ether_line. | |
576 | * inet/tst-ether_line.c: New file. | |
577 | ||
9e80c123 UD |
578 | 2007-12-03 Ulrich Drepper <drepper@redhat.com> |
579 | ||
da0ff4ae UD |
580 | [BZ #5439] |
581 | * sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull. | |
582 | ||
51bd20d9 UD |
583 | [BZ #5435] |
584 | * sysdeps/unix/sysv/linux/i386/makecontext.S: Align stack. | |
585 | ||
d90d0256 UD |
586 | * stdlib/tst-setcontext.c: Catch the case where the links gets |
587 | messed up and we do not reach main again. | |
588 | ||
9e80c123 UD |
589 | * po/ca.po: Update from translation team. |
590 | ||
ae4287f8 UD |
591 | 2007-11-26 Ulrich Drepper <drepper@redhat.com> |
592 | ||
6701afc7 | 593 | * posix/unistd.h: Declare fsync also for __USE_XOPEN2K. |
79fb2e02 | 594 | * posix/regex.h (REG_ENOSYS): Likewise. |
a912a4f8 | 595 | * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K. |
ae4287f8 | 596 | |
30294ea4 UD |
597 | 2007-11-25 Ulrich Drepper <drepper@redhat.com> |
598 | ||
599 | * nscd/nscd.h (MAX_STACK_USE): Define. | |
600 | * nscd/mem.c (MAX_STACK_USE): Remove definition here. | |
601 | (gc): Initialize stack_used based on allocation in prune_cache. | |
602 | * nscd/cache.c (prune_cache): Use heap for mark array if necessary. | |
e8667ddc | 603 | Clear array before use. |
30294ea4 UD |
604 | |
605 | * nscd/aicache.c (addhstaiX): Update statistics counter in case | |
10a4c1e9 | 606 | memory allocation failed. |
e8667ddc UD |
607 | * nscd/hstcache.c (cache_addhst): Likewise. |
608 | * nscd/grpcache.c (cache_addgr): Likewise. | |
609 | * nscd/servicescache.c (cache_addserv): Likewise. | |
610 | * nscd/pwdcache.c (cache_addpw): Likewise. | |
611 | * nscd/initgrcache.c (addinitgroupsX): Likewise. | |
30294ea4 | 612 | |
715db78b UD |
613 | 2007-11-23 Ulrich Drepper <drepper@redhat.com> |
614 | ||
609bb071 UD |
615 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Add open |
616 | and creat system calls. | |
617 | ||
715db78b UD |
618 | * sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>. |
619 | ||
ea2c47b6 UD |
620 | 2007-11-23 Martin Schwidefsky <schwidefsky@de.ibm.com> |
621 | ||
622 | * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): | |
623 | Add netiucv/iucv.h. | |
624 | * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. | |
625 | * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV | |
626 | protocol. | |
627 | * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. | |
628 | * sysdeps/unix/sysv/linux/s390/opensock.c: New file. | |
629 | * sysdeps/unix/sysv/linux/s390/sa_len.c: New file. | |
630 | ||
dcdcf4b9 UD |
631 | 2007-11-22 Martin Schwidefsky <schwidefsky@de.ibm.com> |
632 | ||
37143323 UD |
633 | * sysdeps/s390/bits/string.h (strlen, strcpy, strncpy, strcat, |
634 | strncat): Define as macros to avoid compile errors. | |
635 | ||
dcdcf4b9 UD |
636 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Add open and |
637 | creat entries. | |
638 | ||
3a632674 UD |
639 | 2007-11-22 Ulrich Drepper <drepper@redhat.com> |
640 | ||
7ea8eb02 UD |
641 | [BZ #5382] |
642 | * nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define. | |
643 | * nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE. | |
715db78b | 644 | * nscd/mem.c (gc): Don't allocate arrays on the stack if they can |
7ea8eb02 | 645 | overflow it. |
70d5b6ef | 646 | Partially based on a patch by Petr Baudis <pasky@suse.cz>. |
7ea8eb02 UD |
647 | |
648 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): | |
715db78b | 649 | Return zero in case the thread library is not NPTL. |
7ea8eb02 | 650 | |
5c3a3dba UD |
651 | [BZ #5375] |
652 | * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix locking when | |
653 | initializing interface list. | |
654 | ||
85883123 UD |
655 | [BZ #5378] |
656 | * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't | |
657 | use result of nss_getgrgid_r if nothing was found. For other | |
658 | error return with a failure. | |
659 | Partially based on a patch by Petr Baudis <pasky@suse.cz>. | |
660 | ||
3a632674 UD |
661 | * locale/programs/ld-collate.c (collate_read): Fix loop to match |
662 | macro name. | |
663 | ||
b73f9135 UD |
664 | 2007-11-19 Ulrich Drepper <drepper@redhat.com> |
665 | ||
ee72b971 UD |
666 | * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables. |
667 | (get_scope): For IPv4 scope, use scopes table. | |
668 | (fini): Free scopes table if necessary. | |
669 | (free_scopelist): New function. | |
670 | (scopecmp): New function. | |
671 | (gaiconf_init): Also handle scopev4 entries. | |
672 | * posix/tst-rfc3484.c (do_test): Initialize scopes. | |
673 | * posix/tst-rfc3484-2.c (do_test): Likewise. | |
674 | * posix/gai.conf: Document scopev4 defaults. | |
675 | * posix/Makefile (tests): Add tst-rfc3484-3. | |
676 | * posix/tst-rfc3484-3.c: New file. | |
677 | ||
f4a79765 UD |
678 | * sysdeps/posix/getaddrinfo.c (default_labels): Describe entry for |
679 | Teredo tunnels. | |
b73f9135 UD |
680 | * posix/gai.conf: Update for current default tables. |
681 | ||
429bd64d UD |
682 | 2007-11-19 Ulrich Drepper <drepper@redhat.com> |
683 | ||
684 | * po/tr.po: Update from translation team. | |
685 | ||
3c9af259 RM |
686 | 2007-11-18 Roland McGrath <roland@frob.com> |
687 | ||
76cf9889 RM |
688 | * manual/arith.texi (Remainder Functions): Spelling fix. |
689 | From Shaun Silk <genix@mysoul.com.au>. | |
690 | ||
3c9af259 RM |
691 | * sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value. |
692 | ||
238346ab UD |
693 | 2007-11-17 Ulrich Drepper <drepper@redhat.com> |
694 | ||
5879ad50 UD |
695 | * po/zh_CN.po: Update from translation team. |
696 | ||
238346ab UD |
697 | * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): |
698 | Add sys/signalfd.h and sys/eventfd.h. | |
699 | ||
b80b9c77 UD |
700 | 2007-11-15 Bruno Haible <bruno@clisp.org> |
701 | ||
702 | [BZ #5346] | |
703 | * intl/dcigettext.c (struct known_translation_t): Turn msgid into a | |
704 | union. | |
705 | (transcmp): Use the appropriate part of s1->msgid and s2->msgid. | |
706 | (DCIGETTEXT): Change the allocation of the 'search' variable so that | |
707 | it needs only fixed stack space. Delay the initialization of | |
708 | msgid_len until it is needed. | |
709 | ||
2da2501c AJ |
710 | 2007-11-15 Andreas Jaeger <aj@suse.de> |
711 | ||
712 | * sysdeps/ieee754/dbl-64/sincos.tbl: Fix size of union. | |
713 | Reported by Christoph Quirin Lauter <christoph.lauter@ens-lyon.fr>. | |
714 | ||
68a6dcf5 UD |
715 | 2007-11-15 Ulrich Drepper <drepper@redhat.com> |
716 | ||
717 | * po/ko.po: Update from translation team. | |
718 | ||
43850227 UD |
719 | 2007-11-14 Ulrich Drepper <drepper@redhat.com> |
720 | ||
1e2692c9 UD |
721 | * sysdeps/unix/sysv/linux/check_native.c (__check_native): Simplify |
722 | significantly. The device type is also part of the ifinfomsg data. | |
723 | ||
84e6cc7c | 724 | * po/sv.po: Update from translation team. |
cbd52634 | 725 | * po/nl.po: Likewise. |
84e6cc7c | 726 | |
f9e2261b UD |
727 | * nscd/cache.c (prune_cache): If cache is empty, instruct caller |
728 | to wake up in 24 hours. | |
729 | ||
43850227 UD |
730 | * nscd/gai.c (__ioctl): Define. Include check_native.c. |
731 | ||
5742e960 UD |
732 | 2007-11-13 Ulrich Drepper <drepper@redhat.com> |
733 | ||
1a821d82 UD |
734 | * po/cs.po: Update from translation team. |
735 | * po/pl.po: Likewise. | |
736 | ||
773e79b3 UD |
737 | * include/ifaddrs.h: Remove in6ai_temporary. |
738 | (struct in6addrinfo): Add index element. | |
739 | Declare __check_native. | |
740 | * inet/Makefile (aux): Add check_native. | |
741 | * sysdeps/unix/sysv/linux/check_native.c: New file. | |
742 | * sysdeps/unix/sysv/linux/check_pf.c: No need to recognize | |
743 | IFA_F_TEMPORARY. Pass back ifa_index. | |
744 | * sysdeps/posix/getaddrinfo.c: Remove netlink compatibility code. | |
745 | (rfc3484_sort): Add new parameter. Implement rule 7 correctly: | |
746 | call __check_native if necessary. | |
747 | (getaddrinfo): Fill in index field. Use qsort_r instead of qsort | |
748 | to sort addresses. Pass information about the results. | |
749 | * posix/tst-rfc3484.c: Adjust for addition of index field and change | |
750 | of rfc3484_sort interface. | |
751 | * posix/tst-rfc3484-2.c: Likewise. | |
752 | ||
e458144c UD |
753 | * stdlib/stdlib.h: Define __compar_d_fn_t. Declare qsort_r. |
754 | * include/stdlib.h: Add hidden_proto for qsort_t and adjust protoype | |
755 | for _quicksort. | |
756 | * stdlib/msort.c (qsort): Now a wrapper around qsort_r. | |
757 | (qsort_r): Renamed from qsort. Take additional parameter and pass it | |
758 | on as third parameter to compare function and _quicksort. | |
759 | * stdlib/qsort.c (_quicksort): Take additional parameter and pass on | |
760 | to the compare function. | |
761 | * stdlib/Versions [libc] (GLIBC_2.8): Add qsort_r. | |
762 | * Versions.def: Add GLIBC_2.8 for libc. | |
763 | ||
bd63f380 UD |
764 | * posix/tst-rfc3484.c: Adjust for addition of prefixlen field. |
765 | * posix/tst-rfc3484-2.c: Likewise. | |
766 | ||
5742e960 UD |
767 | * include/kernel-features.h: Moved to... |
768 | * sysdeps/mach/hurd/kernel-features.h: ...here. | |
769 | ||
a6ac7fdb RM |
770 | 2007-09-13 H.J. Lu <hongjiu.lu@intel.com> |
771 | ||
772 | * sysdeps/i386/i586/memcpy_chk.S: New file. | |
773 | * sysdeps/i386/i586/mempcpy_chk.S: Likewise. | |
774 | * sysdeps/i386/i586/memset_chk.S: Likewise. | |
775 | ||
6f3914d5 UD |
776 | 2007-11-12 Ulrich Drepper <drepper@redhat.com> |
777 | ||
778 | * include/ifaddrs.c (struct in6addrinfo): Add prefixlen field. | |
779 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Always return | |
780 | list of interfaces. Also store prefix length. | |
781 | * sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element. | |
782 | (rfc3484_sort): In rule 9, for IPv4 addresses count only matching | |
783 | prefix if source and destination address are in the same subnet. | |
784 | (getaddrinfo): Always call __check_pf. Fill in prefixlen field. | |
785 | Always look for matching record in in6ai list. | |
786 | Correct source_addr_len value for IPv6->IPv4 converted records. | |
787 | ||
78cf5f6a RM |
788 | 2007-11-11 Roland McGrath <roland@frob.com> |
789 | ||
790 | * include/kernel-features.h: New file. | |
791 | ||
7f745396 UD |
792 | 2007-11-10 Ulrich Drepper <drepper@redhat.com> |
793 | ||
01e7fdbb UD |
794 | * sysdeps/pthread/aio_misc.c (handle_fildes_io): Avoid unnecessary |
795 | complications for 64-bit platforms. | |
796 | ||
7f745396 UD |
797 | * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. |
798 | * sysdeps/unix/sysv/linux/open64_2.c: ...here. New file. | |
799 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add | |
800 | open64_2. | |
801 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add open and creat | |
802 | entries. | |
803 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
804 | * sysdeps/wordsize-64/alphasort.c: New file. | |
805 | * sysdeps/wordsize-64/alphasort64.c: New file. | |
806 | * sysdeps/wordsize-64/fseeko.c: New file. | |
807 | * sysdeps/wordsize-64/fseeko64.c: New file. | |
808 | * sysdeps/wordsize-64/ftello.c: New file. | |
809 | * sysdeps/wordsize-64/ftello64.c: New file. | |
810 | * sysdeps/wordsize-64/ftw.c: New file. | |
811 | * sysdeps/wordsize-64/ftw64.c: New file. | |
812 | * sysdeps/wordsize-64/iofgetpos.c: New file. | |
813 | * sysdeps/wordsize-64/iofgetpos64.c: New file. | |
814 | * sysdeps/wordsize-64/iofopen.c: New file. | |
815 | * sysdeps/wordsize-64/iofopen64.c: New file. | |
816 | * sysdeps/wordsize-64/iofsetpos.c: New file. | |
817 | * sysdeps/wordsize-64/iofsetpos64.c: New file. | |
818 | * sysdeps/wordsize-64/lockf.c: New file. | |
819 | * sysdeps/wordsize-64/lockf64.c: New file. | |
820 | * sysdeps/wordsize-64/mkostemp.c: New file. | |
821 | * sysdeps/wordsize-64/mkostemp64.c: New file. | |
822 | * sysdeps/wordsize-64/mkstemp.c: New file. | |
823 | * sysdeps/wordsize-64/mkstemp64.c: New file. | |
824 | * sysdeps/wordsize-64/scandir.c: New file. | |
825 | * sysdeps/wordsize-64/scandir64.c: New file. | |
826 | * sysdeps/wordsize-64/tmpfile.c: New file. | |
827 | * sysdeps/wordsize-64/tmpfile64.c: New file. | |
828 | * sysdeps/wordsize-64/versionsort.c: New file. | |
829 | * sysdeps/wordsize-64/versionsort64.c: New file. | |
830 | * sysdeps/unix/sysv/linux/wordsize-64/aio_read.c: New file. | |
831 | * sysdeps/unix/sysv/linux/wordsize-64/aio_read64.c: New file. | |
832 | * sysdeps/unix/sysv/linux/wordsize-64/aio_write.c: New file. | |
833 | * sysdeps/unix/sysv/linux/wordsize-64/aio_write64.c: New file. | |
834 | * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: New file. | |
835 | * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: New file. | |
836 | * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: New file. | |
837 | * sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c: New file. | |
838 | * sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c: New file. | |
839 | * sysdeps/unix/sysv/linux/wordsize-64/open64.c: New file. | |
840 | * sysdeps/unix/sysv/linux/wordsize-64/openat.c: New file. | |
841 | * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: New file. | |
842 | ||
843 | * crypt/sha256-crypt.c: Fix a comment. | |
844 | * crypt/sha512-crypt.c: Likewise. | |
845 | ||
f6ed654c UD |
846 | 2007-11-07 H.J. Lu <hongjiu.lu@intel.com> |
847 | ||
848 | * sysdeps/x86_64/memset.S: Add sfence after movnti. | |
849 | ||
f2a8406a UD |
850 | 2007-11-07 Ulrich Drepper <drepper@redhat.com> |
851 | ||
852 | [BZ #5277] | |
853 | * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed | |
854 | because output buffer is too small break, don't loop. | |
855 | * iconvdata/Makefile (tests): Add bug-iconv6. | |
856 | * iconvdata/bug-iconv6.c: New file. | |
857 | ||
7fe4e0e8 UD |
858 | 2007-11-06 Ulrich Drepper <drepper@redhat.com> |
859 | ||
9ca230d6 UD |
860 | * stdio-common/vfprintf.c (vfprintf): Compute necessary buffer size |
861 | with size_t type. | |
862 | * stdio-common/printf_fp.c (__print_fp): Change chars_needed type to | |
863 | size_t. Add casts where needed. | |
864 | ||
7fe4e0e8 UD |
865 | * nscd/selinux.c (nscd_request_avc_has_perm): When compiled with |
866 | old headers, don't call avc_has_perm if we don't have the | |
867 | permission information. | |
868 | ||
b92e3780 UD |
869 | 2007-11-05 Daniel Jacobowitz <dan@codesourcery.com> |
870 | ||
871 | * elf/rtld.c (dl_main): Use the page size to find the map start. | |
872 | ||
ffb1b882 UD |
873 | 2007-11-05 Ulrich Drepper <drepper@redhat.com> |
874 | ||
94a749f6 UD |
875 | * time/tzfile.c (__tzfile_read): Fix check for version 0 data files. |
876 | Patch by Szymon Siwek <sls@poczta.wp.pl>. | |
877 | ||
ffb1b882 UD |
878 | * nscd/aicache.c (addhstaiX): Check herrno after IPv4 lookup only |
879 | when the lookup call failed. | |
880 | ||
881 | * nscd/nscd.h (struct database_dyn): Rename prunelock to prune_lock. | |
882 | Add prune_cond and wakeup_time. | |
883 | (CACHE_PRUNE_INTERNAL): Define. | |
884 | Update declarations of prune_cache and setup_thread. | |
885 | * nscd/connections.c (dbs): Update initializers. | |
886 | (CACHE_PRUNE_INTERNAL): Moved to nscd.h. | |
887 | (nscd_init): Default number of threads is now 4. | |
888 | (invalidate_cache): Take lock before calling prune_cache. | |
889 | (handle_request): If SELinux forbids the request, say so. | |
890 | (readylist_cond): Use static initializer. | |
891 | (nscd_run_prune): New function. Used only by pruning threads. | |
892 | (nscd_run_worder): Renamed from nscd_run. Remove support for pruning | |
893 | here. | |
894 | (fd_ready): Update nscd_run reference. | |
895 | (start_threads): No need to initialize readylist_cond. | |
896 | Start pruning threads separately. | |
897 | * nscd/nscd_setup_thread.c: Change return value type to int and always | |
898 | return 0. | |
899 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Change return value type | |
900 | to int and return nonzero value if we can use the TID address hack. | |
901 | * nscd/cache.c (cache_add): If next wakeup time of cleanup thread for | |
902 | the database is later than the new entry's timeout, update the | |
903 | wakeup time and wake the cleanup thread. | |
904 | (prune_cache): Return seconds the next entry in the database is still | |
905 | valid. Remove locking for pruning here. | |
906 | * nscd/nscd.conf: Document default number of threads. | |
907 | ||
4c48ef06 UD |
908 | 2007-10-31 Ulrich Drepper <drepper@redhat.com> |
909 | ||
41ff2a49 UD |
910 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Make sure |
911 | stack is properly aligned for the target function. | |
912 | Correct unwind info. | |
ffb1b882 | 913 | |
4c48ef06 UD |
914 | * elf/rtld.c (dl_main): Initialize stack and pointer guard early |
915 | when using auditing libraries. | |
916 | ||
384ca551 UD |
917 | 2007-10-29 Ulrich Drepper <drepper@redhat.com> |
918 | ||
31e2791c UD |
919 | * resolv/Versions [libresolv] (GLIBC_PRIVATE): Add |
920 | _nss_dns_getnetbyaddr2_r. | |
921 | * resolv/nss_dns/dns-host.c: Define _nss_dns_getnetbyaddr2_r. Pass | |
922 | extra parameter to getanswer_r. | |
923 | (_nss_dns_getnetbyaddr_r): Now a wrapper around | |
924 | _nss_dns_getnetbyaddr2_r. | |
925 | ||
384ca551 UD |
926 | * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with |
927 | gethstbynm3_r. | |
928 | * nscd/gethstbynm2_r.c: Remove. | |
929 | * nscd/gethstbynm3_r.c: New file. | |
930 | * nscd/aicache.c (addhstaiX): Use __gethostbyaddr2_r instead of | |
931 | __gethostbyaddr_r. | |
932 | * nscd/gethstbyad_r.c: Generate __gethostbyaddr2_r function. Define | |
933 | __gethostbyaddr_r compatibility wrapper. | |
934 | * nscd/hstcache.c (cache_addhst): Add ttl parameter. Use it when | |
935 | determining timeout of entry. | |
936 | (lookup): Take new parameter and pass it to __gethostbyname3_r and | |
937 | __gethostbyaddr2_r. | |
938 | (addhstbyX): Pass reference to variable for TTL to lookup and | |
939 | cache_addhst. | |
940 | * nss/Versions [glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2, | |
941 | __nss_group_lookup2, __nss_hosts_lookup2, __nss_services_lookup2, | |
942 | and __nss_next2. Remove __nss_services_lookup. | |
943 | * nss/XXX-lookup.c: Name function now *_lookup2. Add new parameter. | |
944 | Add compat wrapper. | |
945 | * nss/getXXbyYY_r.c: Changes to call new *_lookup2 functions and | |
946 | __nss_next2. | |
947 | * nss/getXXent_r.c: Likewise. | |
948 | * nss/getnssent_r.c: Likewise. | |
949 | * nss/nsswitch.c (__nss_lookup): Add new parameter. If first function | |
950 | does not exist in module, try the optional second name. | |
951 | (__nss_next2): New function. | |
952 | (__nss_next): Now wrapper around __nss_next2. | |
953 | * nss/nsswitch.h: Adjust __nss_lookup prototype. | |
954 | Declare __nss_next2. | |
955 | Adjust definition of db_lookup_function type. | |
956 | * nss/service-lookup.c: Define NO_COMPAT. | |
957 | * include/netdb.h: Declare __gethostbyaddr2_r and __gethostbyname3_r. | |
958 | * inet/ether_hton.c: Use __nss_next2 instead of __nss_next. | |
959 | * inet/ether_ntoh.c: Likewise. | |
960 | * sunrpc/netname.c: Likewise. | |
961 | * sunrpc/publickey.c: Likewise. | |
962 | * inet/getnetgrent.c: Likewise. Adjust calls to __nss_lookup. | |
963 | * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Change to __nss_hosts_lookup2. | |
964 | * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise. | |
965 | * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise. | |
966 | * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise. | |
967 | ||
968 | * nscd/aicache.c (addhstaiX): Fix default TTL handling. | |
969 | ||
970 | * inet/getnetgrent.c (setup): Encrypt static pointer. | |
971 | ||
88197030 UD |
972 | 2007-10-28 Ulrich Drepper <drepper@redhat.com> |
973 | ||
f160a450 UD |
974 | [BZ #5204] |
975 | * crypt/sha256c-test.c: Define TIMEOUT to 6 for ancient hardware. | |
976 | * crypt/sha512c-test.c: Likewise. | |
977 | ||
4c6b2202 UD |
978 | [BZ #5225] |
979 | * stdio-common/vfscanf.c (_IO_vfwscanf): Don't misuse wp pointer | |
980 | to keep track of end of %[ format string element. | |
22c915ac UD |
981 | * stdio-common/Makefile (tests): Add bug20. |
982 | * stdio-common/bug20.c: New file. | |
4c6b2202 | 983 | |
88197030 UD |
984 | [BZ #5222] |
985 | * elf/dl-load.c (_dl_rtld_di_serinfo): Correct handling of short | |
986 | path elements in counting mode. | |
987 | ||
05d69147 UD |
988 | 2007-10-27 Andreas Jaeger <aj@suse.de> |
989 | ||
94833f11 UD |
990 | [BZ #5040] |
991 | * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLRDHUP): Add value. | |
992 | ||
05d69147 UD |
993 | [BZ #3112] |
994 | * sysdeps/ia64/backtrace.c (init): Free shared library if incorrect. | |
995 | (__cleanup): Free shared library when exiting. | |
996 | * sysdeps/i386/backtrace.c (init): Free shared library if incorrect. | |
997 | (__cleanup): Free shared library when exiting. | |
998 | ||
e6b29af8 UD |
999 | 2006-04-14 H.J. Lu <hongjiu.lu@intel.com> |
1000 | ||
1001 | [BZ #2549] | |
1002 | * math/libm-test.inc (check_float_internal): Support | |
1003 | denormalized return. | |
1004 | ||
ad3371fb UD |
1005 | 2007-10-23 Andreas Jaeger <aj@suse.de> |
1006 | ||
1007 | [BZ #5208] | |
1008 | * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use | |
1009 | __LONG_LONG_PAIR to handle little endian byte order. | |
1010 | Suggested by abhishekrai@google.com | |
1011 | ||
666aa020 UD |
1012 | 2007-10-27 Ulrich Drepper <drepper@redhat.com> |
1013 | ||
1014 | * malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined. | |
1015 | ||
8ad343b3 UD |
1016 | 2007-10-26 Ulrich Drepper <drepper@redhat.com> |
1017 | ||
1018 | * nscd/cache.c (prune_cache): Move test for modified file outside | |
1019 | of locking. | |
1020 | ||
9251c568 AJ |
1021 | 2007-10-21 Andreas Jaeger <aj@suse.de> |
1022 | ||
1023 | * manual/texinfo.tex: Update to latest version. | |
1024 | ||
1025 | * manual/sysinfo.texi (System Parameters): Fix Formatting. | |
1026 | ||
1027 | * manual/arith.texi (Status bit operations): Fix formatting. | |
1028 | ||
1029 | * manual/errno.texi (Error Messages): Fix formatting. | |
1030 | ||
1031 | * manual/sysinfo.texi (System Parameters): Fix formatting. | |
1032 | ||
1033 | * manual/libc.texinfo: Update VERSION and UPDATED. | |
1034 | ||
260b2e06 RM |
1035 | 2007-10-19 Roland McGrath <roland@redhat.com> |
1036 | ||
1037 | * elf/Makefile ($(objpfx)ld.so): Use $(AWK). | |
1038 | ||
46ae8850 JJ |
1039 | 2007-10-06 David S. Miller <davem@davemloft.net> |
1040 | ||
1041 | * configure.in: Add sparcv9v2 and sparc64v2. | |
1042 | * scripts/config.sub: Likewise. | |
1043 | * configure: Regenerate. | |
1044 | * elf/elf.h (HWCAP_SPARC_N2): New. | |
1045 | * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Bump to 8. | |
1046 | * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add 'v9v2'. | |
1047 | (HWCAP_IMPORTANT): Add HWCAP_SPARC_N2. | |
1048 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: New file. | |
1049 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: New file. | |
1050 | * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: New file. | |
1051 | * sysdeps/sparc/sparc64/sparcv9v2/memset.S: New file. | |
1052 | ||
6fbfbd80 UD |
1053 | 2007-10-18 Ulrich Drepper <drepper@redhat.com> |
1054 | ||
1055 | * sunrpc/clnt_udp.c (clntudp_call): Don't block in recvfrom call | |
1056 | even if the poll result indicates there is data to read. | |
1057 | Patch by Jeff Moyer <jmoyer@redhat.com>. | |
1058 | ||
39cfc9fa RM |
1059 | 2007-10-18 Roland McGrath <roland@redhat.com> |
1060 | ||
1061 | * elf/elf.h (NT_PPC_VMX): New macro. | |
28919a77 | 1062 | |
39cfc9fa | 1063 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> |
28919a77 UD |
1064 | |
1065 | * version.h (VERSION): Set to 2.7.90. | |
1066 | ||
ed13ccf1 JJ |
1067 | 2007-10-17 Jakub Jelinek <jakub@redhat.com> |
1068 | ||
1069 | * sysdeps/x86_64/memset.S (bzero): Renamed to __bzero. Add | |
1070 | weak_alias. | |
1071 | ||
ee9fd869 RM |
1072 | 2007-10-17 Roland McGrath <roland@frob.com> |
1073 | ||
1074 | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU__] (F_DUPFD_CLOEXEC): New. | |
1075 | * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Implement it. | |
1076 | ||
1aa5e4d7 UD |
1077 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> |
1078 | ||
50c9fbbf | 1079 | * version.h (VERSION): Bump to 2.7. |
777bc4bf | 1080 | * include/features.h (__GLIBC_MINOR__): Bump to 7. |
50c9fbbf | 1081 | |
58423c7d UD |
1082 | [BZ #5186] |
1083 | * time/tzset.c (__tz_convert): Don't force testing for a change of | |
1084 | TZ if not called from localtime. But then also see whether the | |
1085 | file changed, in case __use_tzfile is set. | |
1086 | ||
1aa5e4d7 UD |
1087 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define F_DUPFD_CLOEXEC. |
1088 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
1089 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
1090 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
1091 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
1092 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. | |
1093 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
1094 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
1095 | ||
fc4837e5 UD |
1096 | 2007-10-17 Jakub Jelinek <jakub@redhat.com> |
1097 | ||
1098 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): When sorting addresses | |
1099 | and admin selects to be able to replace the gai.conf file, lock | |
1100 | data structures around the qsort call. | |
1101 | ||
62eaf7c8 UD |
1102 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> |
1103 | ||
406f28db UD |
1104 | * sysdeps/x86_64/cacheinfo.c: Comment out code added in support of |
1105 | new memset. | |
ac1cb5da | 1106 | * sysdeps/x86_64/memset.S: Revert to old version for now. The cost is |
406f28db UD |
1107 | too high for the improvements. Implement bzero unconditionally for |
1108 | use in libc. | |
ac1cb5da UD |
1109 | |
1110 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> | |
1111 | Jakub Jelinek <jakub@redhat.com> | |
1112 | ||
62eaf7c8 UD |
1113 | * time/tzfile.c (__tzfile_read): Read POSIX TZ string if available |
1114 | even when time_t is 32-bit. | |
1115 | (__tzfile_compute): Override POSIX TZ string STD/DST zone names if | |
1116 | timezone data read by __tzfile_default. Ensure __tzname[0] is | |
1117 | always set after the search. | |
1118 | ||
6a649d25 UD |
1119 | 2007-10-16 Ulrich Drepper <drepper@redhat.com> |
1120 | ||
1121 | * time/tzfile.c (__tzfile_read): Help the compiler recognize | |
1122 | unreachable code on 32-bit machines. | |
1123 | ||
800d6f9e UD |
1124 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> |
1125 | ||
1126 | [BZ #5184] | |
1127 | * time/strftime_l.c: Include stdbool.h. | |
1128 | (my_strftime): New wrapper, old function renamed to... | |
1129 | (__strftime_internal): ... new function. Add tzset_called | |
1130 | argument, pass it down to recursive calls, don't call tzset () | |
1131 | if already true, set to true after call to tzset (). | |
62eaf7c8 | 1132 | |
69819d92 UD |
1133 | 2007-10-16 Ulrich Drepper <drepper@redhat.com> |
1134 | ||
1135 | * time/tzfile.c (__tzfile_read): Take extra memory requested by caller | |
1136 | into account when copying TZ string. | |
1137 | ||
62eaf7c8 UD |
1138 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> |
1139 | ||
1140 | * time/tzfile.c (__tzfile_compute): For use_last case set i to | |
1141 | num_transition rather than num_transitions - 1. | |
1142 | ||
0308ad66 JJ |
1143 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> |
1144 | ||
8d137b60 JJ |
1145 | * sysdeps/x86_64/memset.S (memset): Fix sse2_nt_move |
1146 | PIC indirect jump. | |
1147 | ||
0308ad66 JJ |
1148 | * sysdeps/x86_64/memset.S: Jump from bzero to memset using |
1149 | a local label rather than HIDDEN_JUMPTARGET. | |
1150 | ||
e2b393bc UD |
1151 | 2007-10-15 Ulrich Drepper <drepper@redhat.com> |
1152 | ||
1153 | * sysdeps/x86_64/cacheinfo.c (__x86_64_shared_cache_size): Define. | |
1154 | (init_cacheinfo): Initialize it. | |
1155 | * sysdeps/x86_64/memset.S: Use __x86_64_shared_cache_size. | |
1156 | Always define bzero. | |
1157 | Remove non-glibc code. | |
1158 | * sysdeps/x86_64/bzero.S: Make an empty file. | |
1159 | ||
1160 | 2007-10-15 H.J. Lu <hongjiu.lu@intel.com> | |
1161 | ||
1162 | * sysdeps/x86_64/cacheinfo.c | |
1163 | (__x86_64_preferred_memory_instruction): New. | |
1164 | (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. | |
1165 | ||
1166 | * sysdeps/x86_64/memset.S: Rewrite. | |
1167 | ||
0fbfcb7b RM |
1168 | 2007-10-15 Roland McGrath <roland@redhat.com> |
1169 | ||
1170 | * po/libc.pot: Regenerated. | |
1171 | ||
2884dad4 UD |
1172 | 2007-10-15 Ulrich Drepper <drepper@redhat.com> |
1173 | ||
e2b393bc | 1174 | * nss/getXXbyYY_r.c (REENTRANT_NAME): Mangle startp and start_fct |
d96a2216 UD |
1175 | pointers. |
1176 | ||
2884dad4 UD |
1177 | [BZ #3425] |
1178 | * resolv/nss_dns/dns-host.c (getanswer_r): Fail with | |
1179 | NSS_STATUS_NOTFOUND if the server replied with only a CNAME and no | |
1180 | address record to T_A/T_AAAA requests. | |
1181 | ||
89dc9d4c UD |
1182 | 2007-10-14 Ulrich Drepper <drepper@redhat.com> |
1183 | ||
8d97ac13 UD |
1184 | * posix/glob.c: Reimplement link_exists_p to use fstatat64. |
1185 | ||
1b6aa63f UD |
1186 | * posix/glob.c: Add some branch prediction throughout. |
1187 | ||
895a08c0 UD |
1188 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Store result of successful |
1189 | read from nscd. | |
1190 | ||
6f55ed88 UD |
1191 | * sysdeps/posix/getaddrinfo.c (struct sort_result): Add |
1192 | service_order. | |
8d62c8ab UD |
1193 | (rfc3484_sort): Make sure that even if qsort doesn't support |
1194 | stable sorting out sorting here is stable by comparing service_order. | |
6f55ed88 | 1195 | (getaddrinfo): Initialize service_order. |
a94673e6 UD |
1196 | * posix/tst-rfc3484.c (do_test): Adjust for addition of |
1197 | service_order field to sorting structure. | |
dfcf64ce | 1198 | * posix/tst-rfc3484-2.c (do_test): Likewise. |
6f55ed88 | 1199 | |
fa76dde2 UD |
1200 | * include/time.h: Declare __tzset_parse_tz and __tzset_compute. |
1201 | * time/tzset.c (tzset_internal): Break TZ string parsing out into | |
1202 | __tzset_parse_tz and updating of daylight, timezone, tzname into | |
1203 | update_vars. | |
1204 | (__tz_compute): Renamed from tz_compute. Take additional parameters. | |
1205 | (__tz_convert): Updating of tm_isdst, tm_zone, and tm_gmtoff now | |
1206 | happens in __tz_compute. | |
1207 | * time/tzfile.c (__tzfile_read): Also read TZ string. | |
1208 | (find_transition): Fold into __tzfile_compute. | |
1209 | (__tzfile_compute): For times beyond the last transition try to | |
1210 | use the TZ string. | |
1211 | * timezone/tst-timezone.c: Information in daylight and tzname does | |
1212 | change for Asia/Tokyo timezone with more concrete information. | |
1213 | Remove the test. | |
1214 | ||
1215 | * include/stdio.h: Add libc_hidden_proto for ftello. | |
1216 | * libio/ftello.c: Add libc_hidden_def. | |
1217 | ||
89dc9d4c UD |
1218 | [BZ #1140] |
1219 | * time/tzfile.c (__tzfile_compute): Compute tzname[] values based | |
1220 | on the specified time and not the last entries in the file. Move | |
1221 | code to determine tzname[] to... | |
1222 | (find_transition): ...here. Add ugly guess for times before the | |
1223 | first transition. | |
1224 | ||
f7140274 UD |
1225 | 2007-10-13 Ulrich Drepper <drepper@redhat.com> |
1226 | ||
cfca0aa3 UD |
1227 | [BZ #3195] |
1228 | * nscd/nscd_getai.c (__nscd_getai): Set errno to 0 in case we found | |
1229 | no entry. | |
1230 | * nscd/nscd_getgr.c (nscd_getgr_r): Likewise. | |
1231 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
1232 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. | |
1233 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
1234 | ||
43d3e6bd UD |
1235 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Optimize a bit: use simpler |
1236 | read mechanism when there are no group members and avoid no-op | |
1237 | read syscall in this case. | |
1238 | ||
f7140274 UD |
1239 | [BZ #3242] |
1240 | * nscd/nscd_helper.c (wait_on_socket): Take timeout as parameter. | |
1241 | (__readall): If reading failed due to EAGAIN error wait a bit | |
1242 | and possibly try again. | |
1243 | (__readvall): Likewise. | |
1244 | ||
656f02ce UD |
1245 | 2007-10-13 Bruno Haible <bruno@clisp.org> |
1246 | ||
1247 | * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock | |
1248 | when we cannot recode the message. | |
1249 | ||
0ea49677 UD |
1250 | 2007-10-13 Ulrich Drepper <drepper@redhat.com> |
1251 | ||
1252 | [BZ #4359] | |
1253 | * libio/__freading.c (__freading): Don't return true for | |
ed36f224 UD |
1254 | write-only streams. For read/write streams, check whether we |
1255 | performed a read operation already. | |
7e39d802 UD |
1256 | * libio/Makefile (tests): Add tst-ext2. |
1257 | * libio/tst-ext2.c: New file. | |
0ea49677 | 1258 | |
78a9b2dc UD |
1259 | 2007-10-12 Ulrich Drepper <drepper@redhat.com> |
1260 | ||
fab1a490 UD |
1261 | * locale/programs/repertoire.c (repertoire_read): Always free |
1262 | memory for repertoire file name [Coverity CID 270]. | |
1263 | ||
78a9b2dc UD |
1264 | * elf/cache.c (save_aux_cache): Free memory allocated for |
1265 | temporary file name [Coverity CID 267]. | |
1266 | ||
29d49a1a JJ |
1267 | 2007-10-12 Jakub Jelinek <jakub@redhat.com> |
1268 | ||
1269 | * misc/Makefile (headers): Add bits/error.h. | |
1270 | ||
d074d36d UD |
1271 | 2007-10-12 Ulrich Drepper <drepper@redhat.com> |
1272 | ||
b7d1c5fa UD |
1273 | * posix/fnmatch_loop.c: Take rule index returned as part of |
1274 | findidx return value into account when accessing weights. | |
1275 | * posix/regcomp.c: Likewise. | |
1276 | * posix/regexec.c: Likewise. | |
1277 | ||
d074d36d UD |
1278 | * locale/programs/ld-collate.c (collate_read): Optimize a bit. |
1279 | (skip_to): Fix problems with parameter of elifdef/elifndef. | |
1280 | ||
26a51060 UD |
1281 | 2007-10-11 Ulrich Drepper <drepper@redhat.com> |
1282 | ||
1283 | * iconv/gconv_simple.c: Add some branch prediction. | |
1284 | ||
6dd3748b UD |
1285 | 2007-10-12 Jakub Jelinek <jakub@redhat.com> |
1286 | ||
1287 | * locale/programs/ld-collate.c (collate_read): If ignore_content | |
1288 | and nowtok is tok_define, eat any tok_eol tokens. | |
1289 | ||
d0b5557d JJ |
1290 | 2007-10-11 Jakub Jelinek <jakub@redhat.com> |
1291 | ||
1292 | * sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC. | |
1293 | (struct tcp_md5sig): Change tcpm_addr type to struct sockaddr_storage. | |
1294 | ||
1295 | * inet/netinet/in.h: Don't include bits/socket.h. | |
1296 | * sysdeps/unix/sysv/linux/bits/socket.h: Only check _SYS_SOCKET_H | |
1297 | macro. | |
1298 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. | |
1299 | ||
3a054d7a UD |
1300 | 2007-10-10 Ulrich Drepper <drepper@redhat.com> |
1301 | ||
1302 | * locale/programs/locfile-token.h: Remove tok_elif, add tok_elifdef | |
1303 | and tok_elifndef. | |
1304 | * locale/programs/locfile-kw.gperf: Likewise. | |
1305 | * locale/programs/ld-collate.c: Implement primitive preprocessor. | |
1306 | ||
c06b7169 UD |
1307 | 2007-10-10 Jakub Jelinek <jakub@redhat.com> |
1308 | ||
1309 | * stdio-common/printf-parse.h: Include string.h and wchar.h. | |
1310 | (__find_specwc): Change into __extern_always_inline function. | |
1311 | (__find_specmb): Likewise. Remove ps argument. Use __strchrnul. | |
1312 | (__parse_one_specmb): Remove ps argument. | |
1313 | * stdio-common/vfprintf.c (vfprintf): Remove mbstate variable. | |
1314 | Adjust __find_specmb and __parse_one_specmb callers. | |
1315 | * stdio-common/printf-prs.c (parse_printf_format): Likewise. | |
1316 | * stdio-common/printf-parsemb.c (__find_specwc, __find_specmb): | |
1317 | Removed. | |
1318 | (__parse_one_specmb): Remove ps argument, adjust __find_specmb | |
1319 | caller. | |
1320 | ||
5a01ab7b UD |
1321 | 2007-10-09 Ulrich Drepper <drepper@redhat.com> |
1322 | ||
1323 | * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Work around problem | |
1324 | with some Pentium Ds. | |
1325 | ||
e3f8e049 UD |
1326 | 2007-10-08 Ulrich Drepper <drepper@redhat.com> |
1327 | ||
1328 | * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use | |
1329 | __read not read. | |
1330 | * sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use | |
1331 | __write not write. | |
1332 | ||
a1a363d2 UD |
1333 | 2007-10-07 Ulrich Drepper <drepper@redhat.com> |
1334 | ||
a1160714 UD |
1335 | [BZ #181] |
1336 | * locale/C-time.c: Set week_1stday data to 19971201. | |
659a9013 UD |
1337 | * locale/programs/ld-time.c (time_finish): Default for |
1338 | first_workday is Monday. | |
a1160714 | 1339 | |
bb27a6eb UD |
1340 | [BZ #2633] |
1341 | * wcsmbs/wchar.h: Move many C99 functions into std namespace. | |
1342 | ||
c8d48fae UD |
1343 | [BZ #5103] |
1344 | * posix/glob.c (glob): Recognize patterns starting \/. | |
1345 | * posix/tst-gnuglob.c (find_file): Handle absolute path names. | |
1346 | (main): Add test for pattern starting \/. | |
1347 | ||
a1a363d2 UD |
1348 | * misc/error.h: Use __const instead of const. |
1349 | * misc/bits/error.h: Likewise. | |
1350 | ||
1351 | 2007-10-07 Andreas Jaeger <aj@suse.de> | |
1352 | ||
1353 | * include/bits/error.h: New file. | |
1354 | ||
1355 | * misc/bits/error.h (error_at_line): Fix prototype. | |
1356 | ||
71894681 UD |
1357 | 2007-10-06 Ulrich Drepper <drepper@redhat.com> |
1358 | ||
a6fa5328 UD |
1359 | [BZ #3924] |
1360 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix a few | |
1361 | more little bugs in creating the stack frame when pltexit has to | |
1362 | be called. | |
1363 | ||
8c7661bc | 1364 | * nscd/nscd_helper.c (__nscd_cache_search): Prevent endless loops. |
50607309 | 1365 | * nscd/connections.c (verify_persistent_db): Recognize circular lists. |
8c7661bc | 1366 | |
c039eedd UD |
1367 | [BZ #4407] |
1368 | * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Fix *signgamp for -0.0. | |
1369 | * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. | |
1370 | * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. | |
1371 | * math/libm-test.inc: Add test for this case. | |
1372 | ||
71894681 UD |
1373 | [BZ #5010] |
1374 | * sunrpc/svc.c (struct svc_callout): Add sc_mapped element. | |
1375 | (svc_register): Initialize sc_mapped. Set to TRUE if call to | |
1376 | map service succeeded. | |
1377 | (svc_is_mapped): New function. | |
1378 | (svc_unregister): Use it before trying to unmap service. | |
1379 | ||
34c2c092 UD |
1380 | 2007-10-05 Ulrich Drepper <drepper@redhat.com> |
1381 | ||
d10737e4 UD |
1382 | * timezone/zic.c: Update from tzcode2007h. |
1383 | ||
1384 | [BZ #5063] | |
1385 | * timezone/africa: Update from tzdata2007h. | |
1386 | * timezone/antarctica: Likewise. | |
1387 | * timezone/asia: Likewise. | |
1388 | * timezone/australasia: Likewise. | |
1389 | * timezone/europe: Likewise. | |
1390 | * timezone/leapseconds: Likewise. | |
1391 | * timezone/northamerica: Likewise. | |
1392 | * timezone/southamerica: Likewise. | |
1393 | * timzeone/zone.tab: Likewise. | |
1394 | ||
0304f168 UD |
1395 | [BZ #5104] |
1396 | * elf/do-lookup.h (do_lookup_x): Don't ignore STT_COMMON symbols. | |
1397 | ||
a83b5649 UD |
1398 | [BZ #5113] |
1399 | * string/bits/string2.h (__strdup): Cast parameters to calloc to | |
1400 | avoid warning with -Wconversion. | |
1401 | (__strndup): Likewise. | |
c039eedd | 1402 | Half the patch by Christian Iseli <christian.iseli@licr.org>. |
a83b5649 | 1403 | |
3e6ce4d7 UD |
1404 | [BZ #5112] |
1405 | * nscd/connections.c (restart): Don't resync if database is | |
1406 | disabled. Patch mostly by Brian De Wolf <bldewolf@csupomona.edu>. | |
1407 | ||
8e351378 UD |
1408 | * sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN, |
1409 | struct tcp_md5sig. Extend struct tcp_info according to recent kernels. | |
1410 | ||
1411 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add eventfd, | |
1412 | evetnfd_read, eventfd_write. | |
1413 | * sysdeps/unix/sysv/linux/eventfd.c: New file. | |
1414 | * sysdeps/unix/sysv/linux/eventfd_read.c: New file. | |
1415 | * sysdeps/unix/sysv/linux/eventfd_write.c: New file. | |
1416 | * sysdeps/unix/sysv/linux/sys/eventfd.h: New file. | |
d10737e4 | 1417 | * sysdeps/unix/sysv/linux/Versions: Export eventfd, eventfd_read, |
8e351378 UD |
1418 | eventfd_write for GLIBC_2.7. |
1419 | ||
34c2c092 UD |
1420 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd. |
1421 | * sysdeps/unix/sysv/linux/signalfd.c: New file. | |
1422 | * sysdeps/unix/sysv/linux/sys/signalfd.h: New file. | |
1423 | * sysdeps/unix/sysv/linux/Versions: Export signalfd for GLIBC_2.7. | |
1424 | ||
6789aaaa | 1425 | 2007-10-04 Jakub Jelinek <jakub@redhat.com> |
375d9429 UD |
1426 | |
1427 | * stdlib/msort.c: Include stdint.h. | |
1428 | (struct msort_param): New type. | |
1429 | (msort_with_tmp): Use struct msort_param pointer for unchanging | |
1430 | parameters. Add optimized handling for several common sizes | |
1431 | and indirect sorting mode. | |
1432 | (qsort): Adjust msort_with_tmp callers. For big S use indirect | |
1433 | sorting. | |
1434 | Suggested by Belazougui Djamel . | |
1435 | ||
1436 | * stdlib/Makefile (tests): Add tst-qsort2. | |
1437 | * stdlib/tst-qsort2.c: New test. | |
1438 | ||
b80bfc8b UD |
1439 | 2007-10-04 Ulrich Drepper <drepper@redhat.com> |
1440 | ||
174420d2 UD |
1441 | * login/login_tty.c (login_tty): The Linux kernel can return EBUSY |
1442 | for dup2 in case another thread races with the current one. Retry | |
1443 | in this case. | |
1444 | ||
b80bfc8b UD |
1445 | * misc/error.h: Remove support for use outside of libc. We have to |
1446 | include <features.h> now. Include <bits/error.h> if possible. | |
1447 | * misc/bits/error.h: New file. | |
1448 | ||
6789aaaa | 1449 | 2007-10-03 Jakub Jelinek <jakub@redhat.com> |
ee868c89 | 1450 | |
e5dd2178 UD |
1451 | * string/bits/string3.h (memcpy, memmove, mempcpy, memset, bcopy, |
1452 | bzero, strcpy, stpcpy, strncpy, strcat, strncat): Use | |
1453 | __extern_always_inline functions unconditionally, drop macros. | |
1454 | ||
ac97dec1 UD |
1455 | * misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros. |
1456 | * wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use | |
1457 | __REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH. | |
1458 | ||
ee868c89 UD |
1459 | * misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+ |
1460 | add __artificial__ attribute. | |
1461 | ||
80e069e0 UD |
1462 | 2007-10-02 Ulrich Drepper <drepper@redhat.com> |
1463 | ||
6e682cf5 UD |
1464 | * string/strcoll_l.c (STRCOLL): Correct handling of switching from |
1465 | backward to forward direction. | |
1466 | ||
90241a20 UD |
1467 | * string/strcoll_l.c (STRCOLL): Correct test for alloca use. |
1468 | ||
80e069e0 UD |
1469 | [BZ #645] |
1470 | * locale/programs/ld-collate.c (collate_finish): Compare against last | |
1471 | used section which is known to have rules defined. | |
1472 | (collate_read): After order_start, correctly record order of sections | |
1473 | and queue sections up. | |
1474 | ||
035ef8d7 UD |
1475 | 2007-10-01 Ulrich Drepper <drepper@redhat.com> |
1476 | ||
95bddc0c UD |
1477 | [BZ #5071] |
1478 | * malloc/malloc.c (mremap_chunk): Avoid resizing of new block has | |
1479 | the same number of pages. | |
1480 | Patch by Tomash Brechko <tomash.brechko@gmail.com>. | |
1481 | ||
c8caf089 UD |
1482 | * locale/programs/ld-collate.c (collate_read): After initial copy |
1483 | statement, continue in state 0. | |
1484 | ||
035ef8d7 UD |
1485 | * include/stdio_ext.h (__fsetlocking): Define as macro. |
1486 | ||
592a95ee UD |
1487 | 2007-09-30 Ulrich Drepper <drepper@redhat.com> |
1488 | ||
56ebeb41 UD |
1489 | * locale/programs/ld-collate.c (collate_finish): Compare all bytes |
1490 | of section order. | |
1491 | ||
592a95ee UD |
1492 | * po/pt_BR.po: Fix typo. |
1493 | ||
6c522e21 UD |
1494 | 2007-09-29 Ulrich Drepper <drepper@redhat.com> |
1495 | ||
8ad5c3cd UD |
1496 | * iconvdata/Makefile (modules): Add ISO8859-9E. |
1497 | (distribute): Add iso8859-9e.c. | |
1498 | (gen-8bit-gap-modules): Add iso8859-9e. | |
1499 | * iconvdata/iso8859-9e.c: New file. | |
1500 | * iconvdata/gconv-modules: Add entries for ISO-8859-9E. | |
1501 | * iconvdata/TESTS: Likewise. | |
1502 | * iconvdata/tst-tables.sh: Likewise. | |
1503 | ||
1504 | * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. | |
1505 | ||
6c522e21 UD |
1506 | * locale/iso-639.def: Add several new entries. |
1507 | ||
385b4cf4 UD |
1508 | 2007-09-24 Jakub Jelinek <jakub@redhat.com> |
1509 | ||
1510 | * sysdeps/generic/ldsodefs.h (struct dl_scope_free_list): Store | |
1511 | void * pointers instead of struct link_map **. | |
1512 | (_dl_scope_free): Change argument type to void *. | |
1513 | * include/link.h (struct link_map): Change type of l_reldeps | |
1514 | to struct link_map_reldeps, move l_reldepsact into that | |
1515 | struct too. | |
1516 | * elf/dl-deps.c: Include atomic.h. | |
1517 | (_dl_map_object_deps): Only change l->l_initfini when it is | |
1518 | fully populated, use _dl_scope_free for freeing it. Optimize | |
1519 | removal of libs from reldeps by using l_reserved flag, when | |
1520 | some removal is needed, allocate a new list instead of | |
1521 | reallocating and free the old with _dl_scope_free. Adjust | |
1522 | for l_reldeps and l_reldepsact changes. | |
1523 | * elf/dl-lookup.c (add_dependency): Likewise. Reorganize to allow | |
1524 | searching in l_initfini and l_reldeps without holding dl_load_lock. | |
1525 | * elf/dl-fini.c (_dl_sort_fini): Adjust for l_reldeps and | |
1526 | l_reldepsact changes. | |
1527 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
1528 | * elf/dl-open.c (_dl_scope_free): Change argument type to void *. | |
1529 | ||
90bf831b UD |
1530 | 2007-09-28 Ulrich Drepper <drepper@redhat.com> |
1531 | ||
1532 | * iconvdata/Makefile (modules): Add KOI8-RU. | |
1533 | (distribute): Add koi8-ru.c. | |
1534 | (gen-8bit-gap-modules): Add koi8-ru. | |
1535 | * iconvdata/koi8-ru.c: New file. | |
1536 | * iconvdata/gconv-modules: Add entries for KOI8-RU. | |
1537 | * iconvdata/TESTS: Likewise. | |
1538 | * iconvdata/tst-tables.sh: Likewise. | |
1539 | ||
1540 | * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. | |
1541 | ||
d6cd6bf4 UD |
1542 | 2007-09-26 Jakub Jelinek <jakub@redhat.com> |
1543 | ||
1544 | * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define | |
1545 | with __warning__/__error__ attributes. | |
1546 | (__warnattr): Define. | |
1547 | * stdlib/bits/stdlib.h (__realpath_chk_warn, __ptsname_r_chk_warn, | |
1548 | __mbstowcs_chk_warn, __wcstombs_chk_warn): New aliases with | |
1549 | __warnattr. | |
1550 | (realpath, ptsname_r, mbstowcs, wcstombs): Call __*_chk_warn instead | |
1551 | of __*_chk if compile time detectable overflow is found. | |
1552 | * libio/bits/stdio2.h (__fgets_chk_warn, __fread_chk_warn, | |
1553 | __fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases | |
1554 | with __warnattr. | |
1555 | (fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn | |
1556 | instead of __*_chk if compile time detectable overflow is found. | |
1557 | (__gets_alias): Rename to... | |
1558 | (__gets_warn): ... this. Add __warnattr. | |
1559 | (gets): Call __gets_warn instead of __gets_alias. | |
1560 | * socket/bits/socket2.h (__recv_chk_warn, __recvfrom_chk_warn): New | |
1561 | aliases with __warnattr. | |
1562 | (recv, recvfrom): Call __*_chk_warn instead of __*_chk if compile | |
1563 | time detectable overflow is found. | |
1564 | * posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn, | |
1565 | __pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn, | |
1566 | __getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn, | |
1567 | __ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn, | |
1568 | __getdomainname_chk_warn): New aliases with __warnattr. | |
1569 | (read, pread, pread64, readlink, readlinkat, getcwd, confstr, | |
1570 | getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call | |
1571 | __*_chk_warn instead of __*_chk if compile time detectable overflow | |
1572 | is found. | |
1573 | (__getgroups_chk): Rename argument to __listlen from listlen. | |
1574 | (__getwd_alias): Rename to... | |
1575 | (__getwd_warn): ... this. Add __warnattr. | |
1576 | (getwd): Call __getwd_warn instead of __getwd_alias. | |
1577 | * wcsmbs/bits/wchar2.h (__wmemcpy_chk_warn, __wmemmove_chk_warn, | |
1578 | __wmempcpy_chk_warn, __wmemset_chk_warn, __wcsncpy_chk_warn, | |
1579 | __wcpncpy_chk_warn, __fgetws_chk_warn, __fgetws_unlocked_chk_warn, | |
1580 | __mbsrtowcs_chk_warn, __wcsrtombs_chk_warn, __mbsnrtowcs_chk_warn, | |
1581 | __wcsnrtombs_chk_warn): New aliases with __warnattr. | |
1582 | (wmemcpy, wmemmove, wmempcpy, wmemset, mbsrtowcs, wcsrtombs, | |
1583 | mbsnrtowcs, wcsnrtombs): Call __*_chk_warn instead of __*_chk if | |
1584 | compile time detectable overflow is found. | |
1585 | (wcsncpy, wcpncpy): Likewise. For constant __n fix check whether | |
1586 | to use __*_chk or not. | |
1587 | (fgetws, fgetws_unlocked): Divide __bos by sizeof (wchar_t), both | |
1588 | in comparisons which function should be called and in __*_chk* | |
1589 | arguments. Call __*_chk_warn instead of __*_chk if compile time | |
1590 | detectable overflow is found. | |
1591 | (swprintf, vswprintf): Divide __bos by sizeof (wchar_t) in | |
1592 | __*_chk argument. | |
1593 | * debug/tst-chk1.c (do_test): Add a few more tests. | |
1594 | ||
408cfca0 UD |
1595 | 2007-09-24 Ulrich Drepper <drepper@redhat.com> |
1596 | ||
1597 | [BZ #5058] | |
1598 | * intl/gettextP.h (struct loaded_domain): Add conversions_lock member. | |
1599 | * intl/loadmsgcat.c (_nl_load_domain): Initialize conversions_lock. | |
1600 | (_nl_unload_domain): Finalize conversions_lock. | |
1601 | * intl/dcigettext.c (_nl_find_msg): Take conversions_lock before | |
1602 | handling table of known conversions. | |
1603 | ||
e6eec9ce JJ |
1604 | 2007-09-24 Jakub Jelinek <jakub@redhat.com> |
1605 | ||
1606 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use | |
1607 | close_not_cancel_no_status instead of close. | |
1608 | ||
a532a41d UD |
1609 | 2007-09-13 Aurelien Jarno <aurelien@aurel32.net> |
1610 | ||
682268ef | 1611 | [BZ #5028] |
408cfca0 | 1612 | * posix/regcomp.c (lookup_collation_sequence_value): Check that |
a532a41d UD |
1613 | nrules != 0 for multibyte chars. |
1614 | ||
dec9ed9e UD |
1615 | 2007-09-23 Ulrich Drepper <drepper@redhat.com> |
1616 | ||
91633816 UD |
1617 | * resolv/ns_print.c (ns_sprintrrf): Handle ns_t_a6 and ns_t_opt. |
1618 | Provide better error message in case the type is unknown. | |
1619 | ||
9cc198f6 UD |
1620 | [BZ #4963] |
1621 | * wcsmbs/wcsnlen.c: Don't reference before checking the length. | |
1622 | * string/stratcliff.c: Make usable to test wide char functions. | |
1623 | * wcsmbs/wcsatcliff.c: New file. | |
1624 | * wcsmbs/Makefiel (tests): Add wcsatcliff. | |
1625 | ||
27f3d446 UD |
1626 | [BZ #4972] |
1627 | * iconvdata/Makefile (modules): Add MAC-CENTRALEUROPE. | |
1628 | (distribute): Add mac-centraleurope.c. | |
1629 | (gen-8bit-gap-modules): Add mac-centraleurope. | |
1630 | * iconvdata/mac-centraleurope.c: New file. | |
1631 | * iconvdata/gconv-modules: Add entries for MAC-CENTRALEUROPE. | |
1632 | * iconvdata/TESTS: Likewise. | |
1633 | * iconvdata/tst-tables.sh: Likewise. | |
1634 | ||
dec9ed9e UD |
1635 | [BZ #5043] |
1636 | * iconv/iconv_open.c (iconv_open): For large codeset names use malloc. | |
1637 | ||
0435403c UD |
1638 | 2007-09-21 Ulrich Drepper <drepper@redhat.com> |
1639 | ||
1640 | * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size_half): Renamed | |
1641 | from __x86_64_core_cache_size_half. | |
1642 | (init_cacheinfo): Compute shared cache size for AMD processors with | |
1643 | shared L3 correctly. | |
1644 | * sysdeps/x86_64/memcpy.S: Adjust for __x86_64_data_cache_size_half | |
1645 | name change. | |
1646 | Patch in large parts by Evandro Menezes. | |
1647 | ||
c3266dc0 UD |
1648 | 2007-09-19 Ulrich Drepper <drepper@redhat.com> |
1649 | ||
715899d1 UD |
1650 | * elf/dl-lookup.c (add_dependency): Handle failing memory |
1651 | allocation for dependency list. Remove unnecessary check. | |
1652 | ||
e1db0493 UD |
1653 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid unnecessary |
1654 | open/close when determining source addresses. | |
1655 | ||
c3266dc0 UD |
1656 | * crypt/Makefile (libcrypt-routines): Add sha256-crypt, sha256, |
1657 | sha512-crypt, and sha512. | |
1658 | (tests): Add sha256test, sha256c-test, sha512test, and sha512c-test. | |
1659 | (distribute): Add sha256.h and sha512.h. | |
1660 | * crypt/crypt-entry.c (crypt): Recognize the new $5$ and $6$ prefixes | |
1661 | and call the appropriate code. | |
1662 | * crypt/sha256-crypt.c: New file. | |
1663 | * crypt/sha256.c: New file. | |
1664 | * crypt/sha256.h: New file. | |
1665 | * crypt/sha256c-test.c: New file. | |
1666 | * crypt/sha256test.c: New file. | |
1667 | * crypt/sha512-crypt.c: New file. | |
1668 | * crypt/sha512.c: New file. | |
1669 | * crypt/sha512.h: New file. | |
1670 | * crypt/sha512c-test.c: New file. | |
1671 | * crypt/sha512test.c: New file. | |
1672 | ||
ddf51ecb JJ |
1673 | 2007-09-19 Jakub Jelinek <jakub@redhat.com> |
1674 | ||
1675 | * misc/bits/syslog.h (syslog): Remove extraneous argument from | |
1676 | the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to | |
1677 | __syslog_chk. | |
1678 | ||
b90395e6 UD |
1679 | 2007-09-18 Jakub Jelinek <jakub@redhat.com> |
1680 | ||
76c0bea7 JJ |
1681 | * locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of |
1682 | %as in fscanf format strings. | |
1683 | ||
00680568 JJ |
1684 | * sysdeps/sparc/sparc32/elf/start.S: Remove cfi_* markup. |
1685 | * sysdeps/sparc/sparc64/elf/start.S: Likewise. | |
c3266dc0 UD |
1686 | * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): |
1687 | Likewise. | |
1688 | * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): | |
1689 | Likewise. | |
00680568 | 1690 | |
b90395e6 UD |
1691 | * sysdeps/generic/ldsodefs.h (DL_LOOKUP_GSCOPE_LOCK): New definition. |
1692 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Or in | |
1693 | DL_LOOKUP_GSCOPE_LOCK into flags after THREAD_GSCOPE_SET_FLAG (). | |
1694 | * elf/dl-sym.c (do_sym): Likewise. | |
1695 | * include/link.h (struct link_map): Add l_serial field. | |
1696 | * elf/dl-object.c (_dl_new_object): Initialize l_serial. | |
1697 | * elf/dl-lookup.c (add_dependency): Add flags argument. | |
1698 | Remember map->l_serial, if DL_LOOKUP_GSCOPE_LOCK is among | |
1699 | flags, use THREAD_GSCOPE_RESET_FLAG before and | |
1700 | THREAD_GSCOPE_SET_FLAG after | |
1701 | __rtld_lock_lock_recursive (GL(dl_load_lock)) to avoid deadlock. | |
1702 | Don't dereference map until it has been found on some list. | |
1703 | If map->l_serial changed, return -1. | |
1704 | ||
874aa523 UD |
1705 | 2007-09-17 Jakub Jelinek <jakub@redhat.com> |
1706 | ||
1707 | * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, | |
1708 | __isoc99_sscanf, __isoc99_vscanf): New prototypes. | |
1709 | (__isoc99_vsscanf, __isoc99_vfscanf): New prototypes, add | |
1710 | libc_hidden_proto. | |
1711 | * include/wchar.h (__isoc99_fwscanf, __isoc99_wscanf, | |
1712 | __isoc99_swscanf, __isoc99_vwscanf): New prototypes. | |
1713 | (__isoc99_vswscanf, __isoc99_vfwscanf): New prototypes, | |
1714 | add libc_hidden_proto. | |
1715 | * libio/stdio.h (fscanf, scanf, sscanf, vfscanf, vscanf, | |
1716 | vsscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX | |
1717 | conformance requested. | |
1718 | * wcsmbs/wchar.h (fwscanf, wscanf, swscanf, vfwscanf, vwscanf, | |
1719 | vswscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX | |
1720 | conformance requested. | |
1721 | * libio/bits/stdio-ldbl.h (fscanf, scanf, sscanf, vfscanf, vscanf, | |
1722 | vsscanf): Redirect to __nldbl___isoc99_* if strict ISO C99 or POSIX | |
1723 | conformance requested. | |
1724 | * wcsmbs/bits/wchar-ldbl.h (fwscanf, wscanf, swscanf, vfwscanf, | |
1725 | vwscanf, vswscanf): Redirect to __nldbl___isoc99_* if strict | |
1726 | ISO C99 or POSIX conformance requested. | |
1727 | * stdio-common/Versions (libc): Export __isoc99_scanf@@GLIBC_2.7, | |
1728 | __isoc99_vscanf@@GLIBC_2.7, __isoc99_fscanf@@GLIBC_2.7, | |
1729 | __isoc99_vfscanf@@GLIBC_2.7, __isoc99_sscanf@@GLIBC_2.7 | |
1730 | and __isoc99_vsscanf@@GLIBC_2.7. | |
1731 | * stdio-common/Makefile (routines): Add isoc99_scanf, isoc99_vscanf, | |
1732 | isoc99_fscanf, isoc99_vfscanf, isoc99_sscanf and isoc99_vsscanf. | |
1733 | (tests): Add scanf14. | |
1734 | (CFLAGS-vfprintf.c, CFLAGS-fprintf.c, CFLAGS-printf.c, | |
1735 | CFLAGS-vfwprintf.c, CFLAGS-vfscanf.c, CFLAGS-vfwscanf.c, | |
1736 | CFLAGS-fscanf.c, CFLAGS-scanf.c, CFLAGS-isoc99_vfscanf.c, | |
1737 | CFLAGS-isoc99_vscanf.c, CFLAGS-isoc99_fscanf.c, | |
1738 | CFLAGS-isoc99_scanf.c): Add $(exceptions). | |
1739 | (CFLAGS-scanf15.c): Add various -I paths to prevent the compiler | |
1740 | from using internal headers. | |
1741 | * wcsmbs/Versions (libc): Export __isoc99_wscanf@@GLIBC_2.7, | |
1742 | __isoc99_vwscanf@@GLIBC_2.7, __isoc99_fwscanf@@GLIBC_2.7, | |
1743 | __isoc99_vfwscanf@@GLIBC_2.7, __isoc99_swscanf@@GLIBC_2.7 | |
1744 | and __isoc99_vswscanf@@GLIBC_2.7. | |
1745 | * wcsmbs/Makefile (routines): Add isoc99_wscanf, isoc99_vwscanf, | |
1746 | isoc99_fwscanf, isoc99_vfwscanf, isoc99_swscanf and isoc99_vswscanf. | |
1747 | (CFLAGS-isoc99_wscanf.c, CFLAGS-isoc99_fwscanf.c, | |
1748 | CFLAGS-isoc99_vwscanf.c, CFLAGS-isoc99_vfwscanf.c): Add $(exceptions). | |
1749 | (CPPFLAGS): Add -D_IO_MTSAFE_IO if needed. | |
1750 | * stdio-common/isoc99_scanf.c: New file. | |
1751 | * stdio-common/isoc99_vsscanf.c: New file. | |
1752 | * stdio-common/isoc99_vscanf.c: New file. | |
1753 | * stdio-common/isoc99_vfscanf.c: New file. | |
1754 | * stdio-common/isoc99_fscanf.c: New file. | |
1755 | * stdio-common/isoc99_sscanf.c: New file. | |
1756 | * wcsmbs/isoc99_fwscanf.c: New file. | |
1757 | * wcsmbs/isoc99_vswscanf.c: New file. | |
1758 | * wcsmbs/isoc99_swscanf.c: New file. | |
1759 | * wcsmbs/isoc99_wscanf.c: New file. | |
1760 | * wcsmbs/isoc99_vwscanf.c: New file. | |
1761 | * wcsmbs/isoc99_vfwscanf.c: New file. | |
1762 | * libio/libio.h (_IO_FLAGS2_SCANF_STD): Define. | |
1763 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Also | |
1764 | clear _IO_FLAGS2_SCANF_STD bit from _flags2. | |
1765 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Don't | |
1766 | handle %as, %aS and %a[ if _IO_FLAGS2_SCANF_STD is set in _flags2. | |
1767 | * stdio-common/scanf14.c: New test. | |
1768 | * stdio-common/scanf15.c: New test. | |
1769 | * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add | |
1770 | isoc99_scanf, isoc99_fscanf, isoc99_sscanf, | |
1771 | isoc99_vscanf, isoc99_vfscanf, isoc99_vsscanf, | |
1772 | isoc99_wscanf, isoc99_fwscanf, isoc99_swscanf, | |
1773 | isoc99_vwscanf, isoc99_vfwscanf and isoc99_vswscanf. | |
1774 | * sysdeps/ieee754/ldbl-opt/Versions (libc): Export | |
1775 | __nldbl___isoc99_scanf@@GLIBC_2.7, | |
1776 | __nldbl___isoc99_fscanf@@GLIBC_2.7, | |
1777 | __nldbl___isoc99_sscanf@@GLIBC_2.7, | |
1778 | __nldbl___isoc99_vscanf@@GLIBC_2.7, | |
1779 | __nldbl___isoc99_vfscanf@@GLIBC_2.7, | |
1780 | __nldbl___isoc99_vsscanf@@GLIBC_2.7, | |
1781 | __nldbl___isoc99_wscanf@@GLIBC_2.7, | |
1782 | __nldbl___isoc99_fwscanf@@GLIBC_2.7, | |
1783 | __nldbl___isoc99_swscanf@@GLIBC_2.7, | |
1784 | __nldbl___isoc99_vwscanf@@GLIBC_2.7, | |
1785 | __nldbl___isoc99_vfwscanf@@GLIBC_2.7 | |
1786 | and __nldbl___isoc99_vswscanf@@GLIBC_2.7. | |
1787 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__isoc99_scanf, | |
1788 | __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf, | |
1789 | __isoc99_vfscanf, __isoc99_vsscanf, __isoc99_wscanf, | |
1790 | __isoc99_fwscanf, __isoc99_swscanf, __isoc99_vwscanf, | |
1791 | __isoc99_vfwscanf, __isoc99_vswscanf): Add NLDBL_DECL. | |
1792 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.c | |
1793 | (__nldbl___isoc99_scanf, __nldbl___isoc99_fscanf, | |
1794 | __nldbl___isoc99_sscanf, __nldbl___isoc99_vscanf, | |
1795 | __nldbl___isoc99_vfscanf, __nldbl___isoc99_vsscanf, | |
1796 | __nldbl___isoc99_wscanf, __nldbl___isoc99_fwscanf, | |
1797 | __nldbl___isoc99_swscanf, __nldbl___isoc99_vwscanf, | |
1798 | __nldbl___isoc99_vfwscanf, __nldbl___isoc99_vswscanf): New | |
1799 | functions. | |
1800 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfscanf.c: New file. | |
1801 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c: New file. | |
1802 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vwscanf.c: New file. | |
1803 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_wscanf.c: New file. | |
1804 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_scanf.c: New file. | |
1805 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_sscanf.c: New file. | |
1806 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vsscanf.c: New file. | |
1807 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fwscanf.c: New file. | |
1808 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfwscanf.c: New file. | |
1809 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vswscanf.c: New file. | |
1810 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vscanf.c: New file. | |
1811 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fscanf.c: New file. | |
1812 | ||
1813 | * stdio-common/Makefile (tests): Add scanf13. | |
1814 | (scanf13-ENV): New. | |
1815 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Handle | |
1816 | m modifier followed by l. | |
1817 | (STRING_ARG): Add width argument. | |
1818 | (_IO_vfscanf_internal) <case L_('c')>: Handle %mc. | |
1819 | <case L_('C')>: Handle %mlc and %mC. | |
1820 | <case L_('s'), case L_('S'), case L_('[')>: Adjust STRING_ARG | |
1821 | arguments. | |
1822 | * stdio-common/scanf13.c: New test. | |
1823 | ||
1824 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Clear | |
1825 | the _IO_FLAGS2_FORTIFY bit from _flags2 rather than _flags. | |
1826 | ||
883f7943 UD |
1827 | 2007-09-18 Ulrich Drepper <drepper@redhat.com> |
1828 | ||
1829 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Correct return value | |
874aa523 | 1830 | type and __THROW marker of splice, vmsplice, and tee. |
883f7943 UD |
1831 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. |
1832 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
1833 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
1834 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
1835 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. | |
1836 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
1837 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
1838 | * sysdeps/unix/sysv/linux/syscalls.list: Mark splice, vmsplice, and tee | |
1839 | as cancellation points. | |
1840 | ||
3524efe0 UD |
1841 | 2003-11-01 Daniel Jacobowitz <dan@debian.org> |
1842 | ||
1843 | * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): Don't | |
1844 | parse more than three parts of the version number. | |
1845 | ||
267c54dc UD |
1846 | 2007-09-15 Ulrich Drepper <drepper@redhat.com> |
1847 | ||
1848 | * stdio-common/vfscanf.c (_IO_vfwscanf): Add support for 'm' | |
1849 | modifier. Patch by Jakub Jelinek. | |
1850 | ||
5e17d6b7 UD |
1851 | 2007-08-26 Jakub Jelinek <jakub@redhat.com> |
1852 | ||
1853 | * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_routines): Add | |
1854 | call_fallocate in misc subdir. | |
1855 | * sysdeps/unix/sysv/linux/i386/call_fallocate.S: New file. | |
1856 | * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate64): Remove. | |
1857 | * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Use __call_fallocate | |
1858 | instead of __fallocate64. | |
1859 | * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise. | |
1860 | ||
3a50811c UD |
1861 | 2007-09-15 Jakub Jelinek <jakub@redhat.com> |
1862 | ||
1863 | * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. | |
1864 | * rt/Makefile (headers): Add bits/mqueue2.h. | |
1865 | * rt/mqueue.h: Include bits/mqueue2.h if -D_FORTIFY_SOURCE=2, | |
1866 | optimizing with GCC and __va_arg_pack_len is defined. | |
1867 | * rt/bits/mqueue2.h: New file. | |
1868 | * rt/mq_open.c (__mq_open): Renamed from mq_open. | |
1869 | (mq_open): New strong_alias. | |
1870 | (__mq_open_2): New function. | |
1871 | * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Renamed from mq_open. | |
1872 | (mq_open): New strong_alias. | |
1873 | (__mq_open_2): New function. | |
1874 | * debug/Versions (libc): Export __fortify_fail@@GLIBC_PRIVATE. | |
1875 | * Versions.def (librt): Add GLIBC_2.7 version. | |
1876 | * debug/fortify_fail.c (__fortify_fail): Add libc_hidden_def. | |
1877 | * include/stdio.h (__fortify_fail): Add libc_hidden_proto. | |
1878 | ||
1879 | * misc/sys/cdefs.h (__errordecl, __va_arg_pack_len): Define. | |
1880 | * io/fcntl.h: Include bits/fcntl2.h when __va_arg_pack_len | |
1881 | is defined rather than when not C++. | |
1882 | * io/bits/fcntl2.h (__open_alias, __open64_alias, __openat_alias, | |
1883 | __openat64_alias): New redirects. | |
1884 | (__open_too_many_args, __open_missing_mode, __open64_too_many_args, | |
1885 | __open64_missing_mode, __openat_too_many_args, __openat_missing_mode, | |
1886 | __openat64_too_many_args, __openat64_missing_mode): New __errordecls. | |
1887 | (open, open64, openat, openat64): Rewrite as __extern_always_inline | |
1888 | functions instead of function-like macros. | |
1889 | ||
9bdfff60 UD |
1890 | 2007-09-14 H.J. Lu <hongjiu.lu@intel.com> |
1891 | ||
1892 | * sysdeps/i386/i586/memcpy.S (__memcpy_chk): New definition. | |
1893 | * sysdeps/i386/i586/mempcpy.S (__memcpy_chk): New definition. | |
1894 | * sysdeps/i386/i586/memset.S (__memset_chk): New definition. | |
1895 | ||
ab905672 UD |
1896 | 2007-09-15 Mike Frysinger <vapier@gentoo.org> |
1897 | ||
1898 | * inet/inet_net.c: Reset digit to 0 for inputs starting with "0x". | |
1899 | * inet/tst-network.c (tests): Add edge case tests for "0", "0x", "0x0". | |
1900 | ||
9bd68902 RM |
1901 | 2007-09-14 Mike Frysinger <vapier@gentoo.org> |
1902 | ||
1903 | * inet/tst-network.c: Increment ERRORS for failing tests. | |
1904 | ||
de1c3ebb UD |
1905 | 2007-09-07 Jakub Jelinek <jakub@redhat.com> |
1906 | ||
1907 | * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. | |
1908 | * misc/bits/syslog.h (syslog): When __va_arg_pack is defined, | |
1909 | implement as __extern_always_inline function. | |
1910 | (vsyslog): Define as __extern_always_inline function unconditionally. | |
1911 | * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): | |
1912 | When __va_arg_pack is defined, implement as __extern_always_inline | |
1913 | functions. | |
1914 | (vsprintf, vsnprintf, vprintf, vfprintf): Define as | |
1915 | __extern_always_inline functions unconditionally. | |
1916 | * libio/bits/stdio.h (vprintf): Ifdef out the inline when | |
1917 | bits/stdio2.h will be included. | |
1918 | * wcsmbs/bits/wchar2.h (__swprintf_alias): New redirect. | |
1919 | (swprintf, wprintf, fwprintf): When __va_arg_pack is defined, | |
1920 | implement as __extern_always_inline functions. | |
1921 | (vswprintf, vwprintf, vfwprintf): Define as | |
1922 | __extern_always_inline functions unconditionally. | |
1923 | * debug/tst-chk1.c (do_test): Enable remaining tests for C++. | |
1924 | ||
1925 | 2007-09-03 Jakub Jelinek <jakub@redhat.com> | |
1926 | ||
1927 | * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Only | |
1928 | define in C++ for GCC 4.3+, in C++ always use __gnu_inline__ | |
1929 | attribute. | |
1930 | * include/features.h (__USE_EXTERN_INLINES): Define only when | |
1931 | __extern_inline is defined. | |
1932 | * stdlib/stdlib.h: Include bits/stdlib.h when __extern_always_inline | |
1933 | is defined instead of when not __cplusplus. | |
1934 | * misc/sys/syslog.h: Include bits/syslog.h when __extern_always_inline | |
1935 | is defined instead of when not __cplusplus. | |
1936 | * socket/sys/socket.h: Include bits/socket2.h when | |
1937 | __extern_always_inline is defined instead of when not __cplusplus. | |
1938 | * libio/stdio.h: Include bits/stdio2.h when __extern_always_inline | |
1939 | is defined instead of when not __cplusplus. | |
1940 | * posix/unistd.h: Include bits/unistd.h when __extern_always_inline | |
1941 | is defined instead of when not __cplusplus. | |
1942 | * string/string.h: Include bits/string3.h when __extern_always_inline | |
1943 | is defined instead of when not __cplusplus. | |
1944 | * wcsmbs/wchar.h: Include bits/wchar2.h when __extern_always_inline | |
1945 | is defined instead of when not __cplusplus. | |
1946 | (btowc, wctob): Don't guard the inlines with ifndef __cplusplus. | |
1947 | * io/fcntl.h: Don't include bits/fcntl2.h if __extern_always_inline | |
1948 | is not defined. | |
1949 | * misc/bits/syslog-ldbl.h: Guard *_chk stuff with | |
1950 | defined __extern_always_inline instead of !defined __cplusplus. | |
1951 | * libio/bits/stdio-ldbl.h: Likewise. | |
1952 | * wcsmbs/bits/wchar-ldbl.h: Likewise. | |
1953 | * misc/bits/syslog.h (syslog): Don't define for C++. | |
1954 | (vsyslog): Use __extern_always_inline function for C++ instead of | |
1955 | a macro. | |
1956 | * libio/bits/stdio.h (__STDIO_INLINE): Define to __extern_inline | |
1957 | whenever that macro is defined. | |
1958 | (vprintf): Don't provide the inline for C++. | |
1959 | (fread_unlocked, fwrite_unlocked): Don't define the macros for C++. | |
1960 | * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): Don't | |
1961 | define the macros for C++. | |
1962 | (vsprintf, vsnprintf, vprintf, vfprintf): Define as | |
1963 | __extern_always_inline functions for C++. | |
1964 | * io/sys/stat.h (stat, lstat, fstat, fstatat, mknod, mknodat, | |
1965 | stat64, lstat64, fstat64, fstatat64): Don't define if not | |
1966 | __USE_EXTERN_INLINES. | |
1967 | * wcsmbs/bits/wchar2.h: Fix #error message. | |
1968 | (swprintf, wprintf, fwprintf): Don't define the macros for C++. | |
1969 | (vswprintf, vwprintf, vfwprintf): Define using | |
1970 | __extern_always_inline functions for C++. | |
1971 | * string/bits/string3.h: Don't #undef macros if __cplusplus. | |
1972 | (memcpy, memmove, mempcpy, memset, bcopy, bzero, strcpy, stpcpy, | |
1973 | strncpy, strcat, strncat): Define as __extern_always_inline | |
1974 | functions instead of macros for C++. | |
1975 | * math/bits/cmathcalls.h: Guard __extern_inline routines with | |
1976 | defined __extern_inline. | |
1977 | * sysdeps/alpha/fpu/bits/mathinline.h (__MATH_INLINE): Define | |
1978 | to __extern_inline whenever that macro is defined. | |
1979 | * sysdeps/ia64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
1980 | * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
1981 | * sysdeps/i386/i486/bits/string.h (__STRING_INLINE): Likewise. | |
1982 | * sysdeps/s390/bits/string.h (__STRING_INLINE): Likewise. | |
1983 | * sysdeps/s390/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
1984 | * sysdeps/powerpc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
1985 | * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
1986 | * sysdeps/sparc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
1987 | * sysdeps/unix/sysv/linux/sys/sysmacros.h (gnu_dev_major, | |
1988 | gnu_dev_minor, gnu_dev_makedev): Remove __extern_inline from | |
1989 | prototypes. Only provide __extern_inline routines if | |
1990 | __USE_EXTERN_INLINES. | |
1991 | * debug/Makefile: Add rules to build and run tst-{,lfs}chk{4,5,6} | |
1992 | tests. | |
1993 | * debug/tst-chk1.c (do_prepare, do_test): Allow compilation as C++. | |
1994 | For now avoid some *printf tests in C++. Skip all testing | |
1995 | if __USE_FORTIFY_LEVEL is defined, but __extern_always_inline macro | |
1996 | is not. | |
1997 | * debug/tst-chk4.cc: New file. | |
1998 | * debug/tst-chk5.cc: New file. | |
1999 | * debug/tst-chk6.cc: New file. | |
2000 | * debug/tst-lfschk4.cc: New file. | |
2001 | * debug/tst-lfschk5.cc: New file. | |
2002 | * debug/tst-lfschk6.cc: New file. | |
2003 | * include/wchar.h (__vfwprintf_chk, __vswprintf_chk): Avoid | |
2004 | prototypes in C++. | |
2005 | * include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk, | |
2006 | __vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk, | |
2007 | __vfprintf_chk, __fgets_unlocked_chk, __fgets_chk): Likewise. | |
2008 | ||
b53eef9c UD |
2009 | 2007-09-13 Ulrich Drepper <drepper@redhat.com> |
2010 | ||
2011 | * po/cs.po: Update from translation team. | |
2012 | ||
af385590 RM |
2013 | 2007-09-11 Roland McGrath <roland@redhat.com> |
2014 | ||
2015 | * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross | |
2016 | compiling. | |
2017 | ||
af2f25a1 RM |
2018 | 2007-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org> |
2019 | ||
2020 | * sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro. | |
2021 | ||
94733ae0 RM |
2022 | 2007-09-05 Roland McGrath <roland@redhat.com> |
2023 | ||
2024 | * manual/signal.texi (Signaling Another Process): Typo fix. | |
2025 | From Karl Berry <karl@freefriends.org>. | |
2026 | ||
de4d8563 UD |
2027 | 2007-08-29 Ulrich Drepper <drepper@redhat.com> |
2028 | ||
2029 | * sysdeps/unix/sysv/linux/check_pf.c (IFA_F_OPTIMISTIC): Define to | |
2030 | zero if not defined. | |
2031 | (make_request): Recognize optimistic addresses and treat them like | |
2032 | deprecated addresses. | |
2033 | Reported by Neil Horman <nhorman@redhat.com>. | |
2034 | ||
0adfcc05 UD |
2035 | 2007-08-28 Ulrich Drepper <drepper@redhat.com> |
2036 | ||
f3c54060 UD |
2037 | * nscd/connections.c (send_ro_fd): Also transfer file size. |
2038 | * nscd/nscd_helper.c (get_mapping): If nscd also transfers the | |
2039 | file size don't call fstat. | |
2040 | ||
0adfcc05 UD |
2041 | * nscd/nscd_helper.c (get_mapping): Avoid the pread call, just go |
2042 | ahead and map the file. This should always be correct and we can | |
2043 | catch problems later. | |
2044 | ||
3586b2b6 UD |
2045 | 2007-08-28 Jakub Jelinek <jakub@redhat.com> |
2046 | ||
2047 | * libio/bits/stdio2.h (__fread_chk, __fread_unlocked_chk): New | |
2048 | prototypes. | |
2049 | (__fread_alias, __fread_unlocked_alias): New aliases. | |
2050 | (fread): New extern inline. | |
2051 | (fread_unlocked): Likewise. Undef macro before definition of | |
2052 | the inline function. | |
2053 | * debug/Makefile (routines): Add fread_chk and fread_u_chk. | |
2054 | (CFLAGS-fread_chk.c, CFLAGS-fread_u_chk.c): Add. | |
2055 | * debug/Versions (libc): Export __fread_chk@@GLIBC_2.7 | |
2056 | and __fread_unlocked_chk@@GLIBC_2.7. | |
2057 | * debug/fread_chk.c: New file. | |
2058 | * debug/fread_u_chk.c: New file. | |
2059 | * debug/tst-chk1.c (do_test): Add fread and fread_unlocked tests. | |
2060 | ||
3704aa0b RM |
2061 | 2007-08-27 Jakub Jelinek <jakub@redhat.com> |
2062 | ||
2063 | * sysdeps/unix/sysv/linux/syscalls.list | |
2064 | (personality): Change caller to EXTRA. | |
2065 | ||
80e7d6a6 UD |
2066 | 2007-08-25 Ulrich Drepper <drepper@redhat.com> |
2067 | ||
278bfa00 UD |
2068 | * iconvdata/iso-2022-kr.c (BODY): Fake initialization of array buf |
2069 | to keep gcc quiet. | |
2070 | * iconvdata/iso-2022-cn.c (BODY): Likewise. | |
2071 | ||
a45d733c UD |
2072 | * locale/programs/ld-collate.c (collate_output): Avoid warning if |
2073 | NDEBUG is defined. | |
2074 | ||
5dfeae0e UD |
2075 | * Makerules: Use -p option with mkdir. |
2076 | ||
8f1fe057 UD |
2077 | * sunrpc/key_prot.c (xdr_unixcred): Work around gcc alias warning. |
2078 | * nis/nis_xdr.c (_xdr_nis_server): Likewise. | |
bd0dcd28 UD |
2079 | (_xdr_directory_obj): Likewise. |
2080 | (xdr_entry_obj): Likewise. | |
2081 | (xdr_group_obj): Likewise. | |
2082 | (xdr_link_obj): Likewise. | |
2083 | (xdr_table_obj): Likewise. | |
2084 | (_xdr_nis_result): Likewise. | |
2085 | (_xdr_ns_request): Likewise. | |
2086 | (_xdr_ib_request): Likewise. | |
2087 | (_xdr_nis_taglist): Likewise. | |
2088 | (xdr_cback_data): Likewise. | |
8f1fe057 | 2089 | * nis/yp_xdr.c (xdr_ypmaplist): Likewise. |
bd0dcd28 UD |
2090 | (xdr_ypresp_maplist): Likewise. |
2091 | ||
01339a67 UD |
2092 | * stdio-common/Makefile: Avoid format string warning for tst-sprint. |
2093 | ||
3fa10468 UD |
2094 | * posix/regex_internal.h: Prevent some declarations and definitions |
2095 | to be seen when used in tests. | |
2096 | ||
ec1e04de UD |
2097 | * posix/tst-rfc3484.c (__idna_to_unicode_lzlz): Initialize *OUTPUT. |
2098 | * posix/tst-rfc3484-2.c (__idna_to_unicode_lzlz): Likewise. | |
2099 | ||
7a344d1d UD |
2100 | * debug/Makefile: Disable format checking when compiling tst-chk?.c. |
2101 | ||
f8f6ff5d UD |
2102 | * config.make.in (datarootdir): Add to shut up configure. |
2103 | ||
76fca9f1 UD |
2104 | * sysdeps/x86_64/cacheinfo.c (handle_amd): Fix computation of |
2105 | associativity for fully-associative caches. | |
2106 | ||
80e7d6a6 UD |
2107 | * sysdeps/x86_64/cacheinfo.c (handle_amd): Handle L3 cache |
2108 | requests. Fill on more associativity values for L2. | |
2109 | Patch mostly by Evandro Menezes. | |
2110 | ||
cb5ba304 UD |
2111 | 2007-08-24 Ulrich Drepper <drepper@redhat.com> |
2112 | ||
d250df8c UD |
2113 | * sysdeps/unix/sysv/linux/x86_64/init-first.c |
2114 | (_libc_vdso_platform_setup): Avoid using exported variable by using | |
2115 | alias. | |
2116 | ||
88f61aaf UD |
2117 | * resolv/arpa/nameser.h (NS_OPT_DNSSEC_OK): Define. |
2118 | ||
cb5ba304 | 2119 | * sysdeps/unix/sysv/linux/i386/syscalls.list: No reason to mark |
cb104bd7 | 2120 | fallocate64 as EXTRA. It is not referenced if the symbol isn't |
cb5ba304 UD |
2121 | defined. |
2122 | ||
62e1b1f5 UD |
2123 | 2007-08-23 Ulrich Drepper <drepper@redhat.com> |
2124 | ||
44b2e581 UD |
2125 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Correctly |
2126 | align stack for call if pltexit is to be used. | |
2127 | ||
73e3ff07 UD |
2128 | [BZ #3924] |
2129 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Correctly | |
2130 | align for function call in case pltexit has to be called later. | |
2131 | ||
62e1b1f5 UD |
2132 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Avoid |
2133 | implicit atomic operation when storing function pointer. | |
2134 | (_dl_runtime_profile): Likewise. | |
2135 | ||
0008163a UD |
2136 | 2007-08-17 Jakub Jelinek <jakub@redhat.com> |
2137 | ||
2138 | * nis/nis_table.c (nis_list): Don't fail if __follow_path returned | |
2139 | NIS_NOTFOUND. | |
2140 | ||
55ea8790 UD |
2141 | 2007-08-21 Ulrich Drepper <drepper@redhat.com> |
2142 | ||
2e0e1a05 UD |
2143 | [BZ #4566] |
2144 | * string/strtok.c: Fix typo in comment. | |
2145 | ||
682e4437 UD |
2146 | [BZ #4582] |
2147 | * debug/segfault.c: Fix typos in comments. | |
2148 | ||
7d55c9eb UD |
2149 | [BZ #4588] |
2150 | * stdio-common/tempnam.c: Fix comment, it is not checked that | |
2151 | TMPDIR points to a writable directory. | |
2152 | ||
0f8f993c UD |
2153 | [BZ #4726] |
2154 | * resolv/res_send.c (__libc_res_nsend): Initialize all of the | |
2155 | memory allocated for the name server address. | |
2156 | ||
1465dd0f UD |
2157 | [BZ #4946] |
2158 | * nscd/connections.c (handle_request): Using sendfile always | |
2159 | requires that mmap is used for the database. | |
2160 | Patch by Petr Baudis <pasky@suse.cz>. | |
2161 | ||
c44d3bdf UD |
2162 | [BZ #4905] |
2163 | * nscd/hstcache.c (cache_addhst): When reloading an entry which | |
2164 | suddenly has two or more addresses, ignore it and remove the old | |
2165 | entry. | |
2166 | ||
1ce7d80d UD |
2167 | [BZ #4814] |
2168 | * resolv/res_hconf.c: Prepare for compiling outside libc. | |
2169 | * nscd/res_hconf.c: New file. | |
2170 | * nscd/Makefile (nscd-modules): Add res_hconf. Add rules to build | |
2171 | the new file. | |
2172 | * nscd/gethstbynm2_r.c (NEED__RES_HCONF): Define. | |
2173 | * nscd/gethstbyad_r.c (NEED__RES_HCONF): Likewise. | |
2174 | ||
a30d41c1 UD |
2175 | * nscd/hstcache.c (cache_addhst): Minimal optimization. |
2176 | ||
45dc3ad7 UD |
2177 | [BZ #4925] |
2178 | * debug/pcprofiledump.c: Turn on internationalization by calling | |
2179 | setlocale. Patch mostly by Benno Schulenberg. | |
2180 | ||
55ea8790 UD |
2181 | [BZ #4936] |
2182 | * iconv/gconv.c (__gconv): If flush was successful, clear rest of | |
2183 | the state. | |
2184 | * iconvdata/Makefile: Add rules to build and run bug-iconv5. | |
2185 | * iconvdata/bug-iconv5.c: New file. | |
2186 | ||
0b82ff74 UD |
2187 | 2007-08-04 Carlos O'Donell <carlos@systemhalted.org> |
2188 | ||
55ea8790 | 2189 | [BZ #4896] |
0b82ff74 UD |
2190 | * elf/elf.h: Define R_PARISC_PLABEL21L, R_PARISC_PLABEL14R, |
2191 | R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT, R_PARISC_TLS_GD21L, | |
2192 | R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL, R_PARISC_TLS_LDM21L, | |
2193 | R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL, R_PARISC_TLS_LDO21L, | |
2194 | R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, R_PARISC_TLS_DTPMOD64, | |
2195 | R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64, R_PARISC_TLS_LE21L, | |
2196 | R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L, R_PARISC_TLS_IE14R, | |
2197 | R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64. | |
2198 | ||
ee16a55a UD |
2199 | 2007-08-21 Ulrich Drepper <drepper@redhat.com> |
2200 | ||
2201 | [BZ #4937] | |
2202 | * elf/do-lookup.h (do_lookup_x): Minimal improvement in hash | |
2203 | lookup loop. Suggested by John Reiser. | |
2204 | ||
b211fe0f JJ |
2205 | 2007-08-21 Jakub Jelinek <jakub@redhat.com> |
2206 | ||
2207 | * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h. | |
2208 | ||
fb84593c UD |
2209 | 2007-08-20 Ulrich Drepper <drepper@redhat.com> |
2210 | ||
2211 | * csu/libc-start.c: Don't handle VDSO_SETUP here. | |
2212 | * sysdeps/unix/sysv/linux/init-first.c: Handle it here instead. | |
2213 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c: Renamed to... | |
2214 | * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...this. New file. | |
2215 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Move VDSO_SETUP code | |
2216 | to... | |
2217 | * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...here. New file. | |
2218 | ||
b83fb35c UD |
2219 | 2007-08-18 Ulrich Drepper <drepper@redhat.com> |
2220 | ||
2221 | * po/nl.po: Update from translation team. | |
2222 | ||
20806a70 AJ |
2223 | 2007-08-16 Andreas Jaeger <aj@suse.de> |
2224 | ||
2225 | * locale/localeinfo.h: Make _nl_category_name_idxs extern. | |
2226 | Reported by Peter Festner <peter.festner@ewetel.net>. | |
2227 | ||
42282d57 JJ |
2228 | 2007-08-17 Jakub Jelinek <jakub@redhat.com> |
2229 | ||
2230 | * login/tst-grantpt.c (test_einval): Add 3rd argument to open. | |
2231 | ||
8a501135 JJ |
2232 | 2007-08-16 Jakub Jelinek <jakub@redhat.com> |
2233 | ||
cb84d1e4 JJ |
2234 | * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u |
2235 | to check for undefined symbols. | |
2236 | ||
91ddd9c4 JJ |
2237 | * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): |
2238 | If the syscall fails, set errno to the actual returned error number | |
2239 | rather than EINVAL. | |
2240 | * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): If | |
2241 | arguments are incorrect, set errno to EINVAL, if the syscall | |
2242 | fails, set errno to the actual returned error number. | |
2243 | ||
18915760 JJ |
2244 | * stdlib/bits/stdlib-ldbl.h (__strtold_internal): Remove. |
2245 | * wcsmbs/bits/wchar-ldbl.h (__wcstold_internal): Remove. | |
2246 | ||
8a501135 JJ |
2247 | * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: Moved to... |
2248 | * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: ... here. New | |
2249 | file. | |
2250 | (ASI_PNF, ASI_BLK_P): Don't define. | |
2251 | * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: Moved to... | |
2252 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: ... here. New | |
2253 | file. | |
2254 | * sysdeps/sparc/sparc32/sparcv9v/memset.S: Moved to... | |
2255 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: ... here. New | |
2256 | file. | |
2257 | ||
e4720b0e JJ |
2258 | 2007-08-15 Jakub Jelinek <jakub@redhat.com> |
2259 | ||
2260 | * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Fix raising | |
2261 | FE_UNDERFLOW on Niagara CPUs. | |
2262 | ||
2263 | * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear all | |
2264 | exceptions. | |
2265 | ||
702a9414 JJ |
2266 | 2007-08-14 Jakub Jelinek <jakub@redhat.com> |
2267 | ||
467d1345 JJ |
2268 | * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No |
2269 | need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9. | |
2270 | (sparc_fixup_plt): Add do_flush argument instead of figuring whether | |
2271 | flush should be used or not inside of the function. | |
2272 | (elf_machine_fixup_plt, elf_machine_rela): Adjust caller. | |
2273 | ||
2274 | * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone, | |
2275 | __thread_start): Use HIDDEN_JUMPTARGET. | |
2276 | * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone, | |
2277 | __thread_start): Likewise. | |
2278 | * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define. | |
2279 | ||
702a9414 JJ |
2280 | * sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare. |
2281 | Add libc_hidden_proto. | |
2282 | (STRTOF): Add libc_hidden_proto. | |
2283 | (___new_strtold_l, ___new_wcstold_l): New weak aliases. | |
2284 | (strtold_l, wcstold_l): Use them as second argument for | |
2285 | long_double_symbol. | |
2286 | ||
c6c8f0ec UD |
2287 | 2007-08-14 Ulrich Drepper <drepper@redhat.com> |
2288 | ||
2289 | * elf/dl-misc.c: Undo last change. The kernel won't allow it. | |
2290 | ||
5e88abf9 UD |
2291 | 2007-08-13 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
2292 | ||
2293 | * stdlib/strtold_l.c: Include wchar.h if needed. Add libc_hidden_def. | |
2294 | ||
fc4819b0 UD |
2295 | 2007-08-14 Ulrich Drepper <drepper@redhat.com> |
2296 | ||
2297 | * po/bg.po: New file. From the translation team. | |
2298 | ||
22502ea2 UD |
2299 | 2007-08-13 Jakub Jelinek <jakub@redhat.com> |
2300 | ||
2301 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, | |
2302 | __ASSUME_PPOLL, __ASSUME_ATFCTS, __ASSUME_SET_ROBUST_LIST, | |
2303 | __ASSUME_UTIMENSAT, __ASSUME_FALLOCATE): Update per-arch conditions | |
2304 | when each feature was introduced. | |
2305 | ||
2306 | * sysdeps/unix/sysv/linux/dl-vdso.c: Don't include dl-hash.h. | |
2307 | * sysdeps/unix/sysv/linux/dl-vdso.h: Don't include dl-hash.h if NDEBUG. | |
2308 | (CHECK_HASH): New macro. | |
2309 | (PREPARE_VERSION): Use it. | |
2310 | ||
2311 | * sysdeps/unix/sysv/linux/pselect.c (__generic_pselect): Only provide | |
2312 | prototype if not __ASSUME_PSELECT. | |
2313 | * sysdeps/unix/sysv/linux/ppoll.c (__generic_ppoll): Only provide | |
2314 | prototype if not __ASSUME_PPOLL. | |
2315 | ||
2316 | * sysdeps/unix/sysv/linux/dl-osinfo.h (ROUND): #undef after use. | |
2317 | ||
2318 | * sysdeps/unix/clock_settime.c (freq, __pthread_clock_settime, | |
2319 | hp_timing_settime): Don't define or declare if HANDLED_CPUTIME | |
2320 | is defined. | |
2321 | ||
9c6f6953 UD |
2322 | 2007-08-13 Ulrich Drepper <drepper@redhat.com> |
2323 | ||
2324 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c | |
2325 | (_libc_vdso_platform_setup): If vDSO is not available point | |
2326 | __vdso_gettimeofday to the vsyscall. | |
2327 | * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S [SHARED]: Use | |
2328 | __vdso_gettimeofday instead of vsyscall. | |
2329 | ||
f8de5057 UD |
2330 | 2007-08-13 Jakub Jelinek <jakub@redhat.com> |
2331 | ||
2332 | * nscd/servicescache.c: Include kernel-features.h. | |
2333 | * nscd/gai.c: Likewise. | |
2334 | * sysdeps/unix/sysv/linux/statfs64.c: Likewise. | |
2335 | * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. | |
2336 | * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. | |
2337 | * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. | |
2338 | * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. | |
2339 | * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. | |
2340 | * sysdeps/unix/sysv/linux/if_index.c: Likewise. | |
2341 | * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise. | |
2342 | * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. | |
2343 | ||
3c87d79d UD |
2344 | 2007-08-12 Ulrich Drepper <drepper@redhat.com> |
2345 | ||
ea37207a UD |
2346 | * elf/dl-dst.h: No need for _dl_dst_count, _dl_dst_substitute, |
2347 | and _dl_get_origin defines anymore. | |
2348 | ||
4eb375fe UD |
2349 | * sysdeps/unix/sysv/linux/clock_gettime.c (maybe_syscall_gettime_cpu): |
2350 | Build fix for systems which might lack POSIX timer support. | |
2351 | ||
3c87d79d UD |
2352 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c |
2353 | (_libc_vdso_platform_setup): Mangle function pointers before storing | |
2354 | them. | |
2355 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL): | |
2356 | Demangle vdso pointer before use. | |
2357 | (INTERNAL_VSYSCALL): Likewise. | |
2358 | ||
2359 | * elf/cache.c (primes): Mark as const. | |
2360 | Noted by Roland McGrath. | |
2361 | ||
27d9ffda UD |
2362 | 2007-08-01 Andreas Jaeger <aj@suse.de> |
2363 | Jakub Jelinek <jakub@redhat.com> | |
2364 | ||
2365 | * elf/ldconfig.c (opt_ignore_aux_cache): Add new option. | |
2366 | (options): Add option. | |
2367 | (parse_opt): Handle option. | |
2368 | (manual_link): Adjust process_file caller. Call implicit_soname. | |
2369 | (search_dir): Formatting. Use and populate auxiliary cache. | |
2370 | (main): Load and save auxiliary cache. | |
2371 | * elf/readlib.c (process_file): Add stat_buf argument. Pass struct | |
2372 | stat64 from fstat64 to caller. | |
2373 | (implicit_soname): New function. | |
2374 | * elf/readelflib.c (process_elf_file): If DT_SONAME is not present, | |
2375 | leave *soname as NULL. | |
2376 | * elf/cache.c: Include libgen.h. | |
2377 | (print_entry, print_cache, compare, save_cache, add_to_cache): | |
2378 | Formatting and cleanups. | |
2379 | (aux_cache_entry_id, aux_cache_entry, aux_cache_file_entry, | |
2380 | aux_cache_file): New structures. | |
2381 | (AUX_CACHEMAGIC): Define. | |
2382 | (primes): New array. | |
2383 | (aux_hash_size, aux_hash): New variables. | |
2384 | (aux_cache_entry_id_hash, nextprime, init_aux_cache, | |
2385 | search_aux_cache, insert_to_aux_cache, add_to_aux_cache, | |
2386 | load_aux_cache, save_aux_cache): New functions. | |
2387 | * sysdeps/generic/ldconfig.h (_PATH_LDCONFIG_AUX_CACHE): Define. | |
2388 | (init_aux_cache, search_aux_cache, add_to_aux_cache, | |
2389 | load_aux_cache, save_aux_cache, implicit_soname): New prototypes. | |
2390 | (process_file): Adjust prototype. | |
2391 | ||
8d944b0f UD |
2392 | 2007-08-12 Jakub Jelinek <jakub@redhat.com> |
2393 | ||
2394 | * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Include stddef.h | |
2395 | with __need_size_t. | |
2396 | ||
75fb247e UD |
2397 | 2007-08-12 Ulrich Drepper <drepper@redhat.com> |
2398 | ||
fb86328a UD |
2399 | * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Expect |
2400 | r_found_version structure as second parameter. | |
2401 | * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Define. | |
2402 | (_dl_vdso_vsym): Change type of second parameter accordingly. | |
2403 | * sysdeps/unix/sysv/linux/x86-64/libc-start.c | |
2404 | (_libc_vdso_platform_setup): Adjust. | |
974a1f0f | 2405 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c |
fb86328a UD |
2406 | (_libc_vdso_platform_setup): Likewise. |
2407 | ||
75fb247e UD |
2408 | * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: Move to... |
2409 | * sysdeps/unix/sysv/linux/dl-vdso.c: ...here. | |
2410 | * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: Move to... | |
2411 | * sysdeps/unix/sysv/linux/dl-vdso.h: ...here. | |
2412 | * csu/libc-start.c: Pretty printing. | |
2413 | Use VDSO_SETUP if defined. | |
2414 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Define VDSO_SETUP | |
2415 | and let generic code call into _libc_vdso_platform_setup. | |
2416 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c: New file. | |
2417 | * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: New file. | |
2418 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Pretty printing. | |
2419 | Define INLINE_VSYSCALL and INTERNAL_VSYSCALL. | |
2420 | * sysdeps/unix/sysv/linux/x86_64/Versions: Export __vdso_clock_gettime | |
2421 | for GLIBC_PRIVATE. | |
2422 | * sysdeps/unix/sysv/linux/x86_64/Makefile [subdir=elf] | |
2423 | (sysdep_rountines): Add dl-vdso. | |
2424 | ||
2425 | * sysdeps/unix/sysv/linux/powerpc/Makefile: Use sysdep_routines instead | |
2426 | of routines. | |
2427 | ||
2428 | * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add | |
2429 | attribute_hidden to __vdso_gettimeofday prototype. | |
2430 | ||
9229b83e RM |
2431 | 2007-08-12 Roland McGrath <roland@redhat.com> |
2432 | ||
2433 | * manual/stdio.texi (Variable Arguments Output): Fix xref to gcc manual. | |
2434 | From: Karl Berry <karl@freefriends.org>. | |
2435 | ||
4503061f UD |
2436 | 2007-08-11 Ulrich Drepper <drepper@redhat.com> |
2437 | ||
2438 | * elf/dl-misc.c (_dl_sysdep_read_whole_file): We really don't need | |
2439 | an atime update for the files we read. | |
2440 | ||
d7e23b02 UD |
2441 | 2007-08-10 Ulrich Drepper <drepper@redhat.com> |
2442 | ||
7cf89e95 UD |
2443 | * shadow/lckpwdf.c (__lckpwdf): Use O_CLOEXEC if possible. |
2444 | ||
9d169bb3 | 2445 | * nscd/connections.c: Use O_CLOEXEC if possible. Use mkostemp |
d7e23b02 UD |
2446 | instead of mkstemp. |
2447 | ||
2448 | * misc/Makefile (routines): Add mkostemp and mkostemp64. | |
2449 | * misc/Versions: Export mkostemp and mkostemp64 for GLIBC_2.7. | |
2450 | * misc/mkostemp.c: New file. | |
2451 | * misc/mkostemp64.c: New file. | |
2452 | * stdlib/stdlib.h: Declare the new functions. | |
2453 | * sysdeps/posix/tempname.c: Add new parameter which is added to | |
2454 | the flags for open. Remove __GT_BIGFILE handling. | |
2455 | * stdio-common/tempname.c: Likewise. | |
2456 | * include/stdio.h: Adjust __gen_tempname prototype. | |
2457 | Renumber __GT_* constants. | |
2458 | * libio/oldtmpfile.c: Adjust for __gen_tempname interface change. | |
2459 | * misc/mkdtemp.c: Likewise. | |
2460 | * misc/mkstemp.c: Likewise. | |
2461 | * misc/mkstemp64.c: Likewise. | |
2462 | * misc/mktemp.c: Likewise. | |
2463 | * stdio-common/tempnam.c: Likewise. | |
2464 | * stdio-common/tmpfile.c: Likewise. | |
2465 | * stdio-common/tmpfile64.c: Likewise. | |
2466 | * stdio-common/tmpnam.c: Likewise. | |
2467 | * stdio-common/tmpnam_r.c: Likewise. | |
2468 | ||
22532966 RM |
2469 | 2007-08-10 Roland McGrath <roland@frob.com> |
2470 | ||
2471 | * sysdeps/mach/hurd/bits/ioctls.h (NLDLY, TABDLY, BSDLY, VTDLY): | |
2472 | New macros. | |
2473 | (NLDELAY, CRDELAY, TBDELAY, BSDELAY, VTDELAY): Define to those. | |
2474 | Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
2475 | ||
673876e6 UD |
2476 | 2007-08-10 Ulrich Drepper <drepper@redhat.com> |
2477 | ||
aa132749 UD |
2478 | * nss/nss_files/files-XXX.c (internal_setent): Use O_CLOEXEC if |
2479 | possible. | |
2480 | * nss/nss_files/files-alias.c (internal_setent): Likewise. | |
2481 | * nss/Makefile (libnss_files-routines): Add files-have_o_cloexec. | |
2482 | * nss/nss_files/files-have_o_cloexec.c: New file. | |
2483 | ||
22532966 | 2484 | * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Use O_CLOEXEC if |
673876e6 UD |
2485 | available. |
2486 | ||
1e286653 JJ |
2487 | 2007-08-10 Jakub Jelinek <jakub@redhat.com> |
2488 | ||
2489 | * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l, | |
2490 | ___new_wcstold_l): New weak aliases. | |
2491 | (strtold_l, wcstold_l): Use them as second argument for | |
2492 | long_double_symbol. | |
2493 | ||
f07f72f3 UD |
2494 | 2007-08-09 Ulrich Drepper <drepper@redhat.com> |
2495 | ||
6479496a UD |
2496 | * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct |
2497 | register in test for error. | |
2498 | ||
c4adefbd UD |
2499 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define. |
2500 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise. | |
2501 | ||
f07f72f3 UD |
2502 | * po/sv.po: Update from translation team. |
2503 | ||
eef38c28 RM |
2504 | 2007-08-06 Roland McGrath <roland@redhat.com> |
2505 | ||
773e305e RM |
2506 | * include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l. |
2507 | Remove __strto*_l inlines. | |
2508 | * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l. | |
2509 | * stdlib/strtod.c: Add libc_hidden_def. | |
2510 | * stdlib/strtod_l.c: Likewise. | |
2511 | * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto | |
2512 | for __new_strtold and __new_wcstold. | |
2513 | * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for | |
2514 | __STRTOF, STRTOF. | |
2515 | * stdlib/strtol.c: Add libc_hidden_def. | |
2516 | * stdlib/strtol_l.c: Likewise. | |
2517 | * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and | |
2518 | strtoq. | |
2519 | ||
2520 | * scripts/data/localplt-powerpc-linux-gnu.data: New file. | |
2521 | ||
2522 | * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ... | |
2523 | * scripts/data/localplt-generic.data: ... here. | |
2524 | * elf/Makefile (check-data): Get generic file if no other. | |
2525 | ($(objpfx)check-localplt.out): Make target unconditional. | |
2526 | ||
eef38c28 RM |
2527 | * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): |
2528 | Use ElfW(Nhdr). | |
2529 | ||
742df3a4 UD |
2530 | 2007-08-05 Ulrich Drepper <drepper@redhat.com> |
2531 | ||
2532 | * po/zh_CN.po: Updated translation from translation team. | |
2533 | ||
0470fa46 JJ |
2534 | 2007-08-05 Jakub Jelinek <jakub@redhat.com> |
2535 | ||
2536 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): | |
2537 | Don't use CGOTSETUP and CGOTRESTORE macros. | |
2538 | ||
b5075bdc RM |
2539 | 2007-08-04 Roland McGrath <roland@redhat.com> |
2540 | ||
2541 | * posix/Makefile ($(objpfx)getconf.speclist): Fix typo. | |
2542 | ||
9accc268 JJ |
2543 | 2007-08-04 Jakub Jelinek <jakub@redhat.com> |
2544 | ||
2545 | * io/bits/fcntl2.h (open, open64, openat, openat64): Add | |
2546 | __extension__ around the whole statement expression. | |
2547 | ||
220ae3ef UD |
2548 | 2007-08-04 Ulrich Drepper <drepper@redhat.com> |
2549 | ||
c8ccd8e3 UD |
2550 | * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR |
2551 | elements during initialization. | |
2552 | ||
220ae3ef UD |
2553 | * po/pl.po: Updated translation from translation team. |
2554 | * po/tr.po: Likewise. | |
11960f7f | 2555 | * po/nl.po: Likewise. |
220ae3ef | 2556 | |
2fb20667 UD |
2557 | 2007-08-03 Ulrich Drepper <drepper@redhat.com> |
2558 | ||
2559 | * rt/aio.h: Add __nonnull attributes. | |
2560 | ||
ce31a3b1 UD |
2561 | 2007-08-03 Jakub Jelinek <jakub@redhat.com> |
2562 | ||
64f6281c UD |
2563 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Properly handle -0. |
2564 | * stdlib/Makefile (tests): Add tst-strtod5. | |
2565 | (tst-strtod5-ENV): New. | |
2566 | * stdlib/tst-strtod5.c: New file. | |
2567 | ||
ce31a3b1 UD |
2568 | * intl/dcigettext.c (_nl_find_msg): Free encoding if __gconv_open |
2569 | failed. | |
2570 | * intl/finddomain.c (_nl_find_domain): Free normalized_codeset | |
2571 | on failure. | |
2572 | ||
2573 | * elf/dl-load.c (decompose_rpath): Free copy if result couldn't be | |
2574 | allocated. | |
2575 | ||
754980e4 JJ |
2576 | 2007-08-03 Jakub Jelinek <jakub@redhat.com> |
2577 | ||
2578 | * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument | |
2579 | numbers. | |
2580 | ||
497af0cb UD |
2581 | 2007-08-02 Ulrich Drepper <drepper@redhat.com> |
2582 | ||
cbf0489b UD |
2583 | * io/Makefile (aux): Add have_o_cloexec. |
2584 | * include/fcntl.h: Declare __have_o_cloexec. | |
2585 | * io/have_o_cloexec.c: New file. | |
2586 | * sysdeps/unix/opendir.c (__opendir): Use O_CLOEXEC is available. | |
2587 | (__alloc_dir): If O_CLOEXEC has been used, don't duplicate the | |
2588 | fcntl call if not necessary. | |
2589 | * login/utmp_file.c (setutent_file): Use __have_o_cloexec instead | |
2590 | of local variable. | |
2591 | ||
fa39685d UD |
2592 | * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. |
2593 | Avoid memset, add explicit initialization. | |
2594 | * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn | |
2595 | to the end and change into zero-sized array. | |
2596 | Move lock member to fill a hole on 64-bit platforms. | |
9b2e9577 UD |
2597 | |
2598 | * stdlib/stdlib.h: Remove __strto*_internal prototypes and strto* | |
2599 | inline functions. | |
2600 | * include/stdlib.h: Add __strto*_internal prototypes here. | |
2601 | * wcsmbs/wchar.h: Remove __wcsto*_internal prototypes and wcsto* | |
2602 | inline functions. | |
2603 | * include/wchar.h: Add __wcsto*_internal prototypes. | |
2604 | * sysdeps/generic/inttypes.h: No need to protect the declaration | |
2605 | of the __strto*_internal and __wcsto*_internal members here. | |
2606 | ||
497af0cb UD |
2607 | * rt/mqueue.h: Change const to __const and add nonnull attributes. |
2608 | ||
d17a8cf0 RM |
2609 | 2007-08-02 Roland McGrath <roland@redhat.com> |
2610 | ||
2611 | * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links to | |
2612 | $(inst_bindir)/getconf if possible. | |
2613 | ||
2614 | * posix/Makefile ($(objpfx)getconf.speclist): New target. | |
2615 | (generated): Add it. | |
2616 | ($(inst_libexecdir)/getconf): Use it. | |
2617 | ||
0abf17de UD |
2618 | 2007-08-01 Ulrich Drepper <drepper@redhat.com> |
2619 | ||
2620 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Using | |
2621 | /proc is faster and sufficient. /sys is still needed for | |
2622 | __get_nprocs_conf. | |
2623 | ||
5e0923ab UD |
2624 | 2007-08-01 Jakub Jelinek <jakub@redhat.com> |
2625 | ||
2626 | * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate | |
2627 | syscall as __fallocate64. | |
2628 | * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file. | |
2629 | * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file. | |
2630 | ||
1475e201 UD |
2631 | 2007-07-30 Jakub Jelinek <jakub@redhat.com> |
2632 | ||
2633 | * stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_t | |
2634 | value. | |
2635 | ||
2636 | * stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning | |
2637 | if off_t is different rank from size_t. | |
2638 | ||
2639 | * sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program, | |
2640 | uw_frame_state_for): Avoid type punning warnings. | |
2641 | * sysdeps/generic/unwind-dw2-fde-glibc.c | |
2642 | (_Unwind_IteratePhdrCallback): Likewise. | |
2643 | * sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise. | |
2644 | (binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes, | |
2645 | get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char | |
2646 | pointers. | |
2647 | ||
e076bece UD |
2648 | 2007-07-31 Ulrich Drepper <drepper@redhat.com> |
2649 | ||
9506149a UD |
2650 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): Count |
2651 | total processors using sysfs. | |
2652 | (__get_nprocs): Use sysfs to determine which processors are online. | |
e076bece | 2653 | |
bbeaaa84 JJ |
2654 | 2007-07-31 Jakub Jelinek <jakub@redhat.com> |
2655 | ||
09881398 JJ |
2656 | * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix |
2657 | syscall arguments count. | |
2658 | ||
bbeaaa84 JJ |
2659 | * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests. |
2660 | ||
087ef75f RM |
2661 | 2007-07-30 Roland McGrath <roland@redhat.com> |
2662 | ||
2663 | * manual/libc.texinfo: Update copyrights, formatting magic, and | |
2664 | @dircategory. From Karl Berry <karl@freefriends.org>. | |
2665 | ||
44f08a6e UD |
2666 | 2007-07-29 Ulrich Drepper <drepper@redhat.com> |
2667 | ||
eafaae72 UD |
2668 | [BZ #4860] |
2669 | * io/Makefile (headers): Add bits/fcntl2.h. | |
2670 | ||
c5705565 UD |
2671 | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO_S): Optimize |
2672 | using gcc builtin. | |
2673 | (__CPU_EQUAL_S): Likewise. | |
2674 | ||
44f08a6e UD |
2675 | * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. |
2676 | (tests): Add tst-cpuset. | |
2677 | * posix/sched_cpualloc.c: New file. | |
2678 | * posix/sched_cpufree.c: New file. | |
2679 | * posix/tst-cpuset.c: New file. | |
2680 | * posix/Versions: Export __sched_cpualloc and __sched_cpufree for | |
2681 | GLIBC_2.7. | |
2682 | * sysdeps/unix/sysv/linux/bits/sched.h: Define __CPU_*_S macros. | |
2683 | * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S | |
2684 | macros. Define CPU_*_S macros. | |
2685 | ||
8f5e1400 UD |
2686 | 2007-07-28 Ulrich Drepper <drepper@redhat.com> |
2687 | ||
5b74caf6 UD |
2688 | * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE |
2689 | entry. | |
2690 | ||
a26d01bb | 2691 | [BZ #4858] |
8f5e1400 UD |
2692 | * stdio-common/printf_fp.c (___printf_fp): Fix special case of |
2693 | #.0g and value rounded to 1.0. | |
2694 | * stdio-common/tfformat.c (sprint_doubles): Add two new tests. | |
2695 | ||
085a4412 UD |
2696 | 2007-07-26 Jakub Jelinek <jakub@redhat.com> |
2697 | ||
cedb4109 UD |
2698 | * locale/programs/ld-monetary.c (monetary_finish): Avoid range check |
2699 | for int_frac_digits and frac_digits. | |
2700 | ||
2701 | * login/logout.c (logout): Avoid aliasing violation. | |
2702 | * login/logwtmp.c (logwtmp): Likewise. | |
2703 | ||
2704 | * libio/genops.c (_IO_un_link): Avoid aliasing violation. | |
2705 | ||
9d9febc7 UD |
2706 | * nscd/selinux.c (preserve_capabilities): Initialize new_caps |
2707 | to avoid warning. | |
2708 | * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid | |
2709 | warning. | |
2710 | * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid | |
2711 | warning. | |
2712 | * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len | |
2713 | to avoid warnings. | |
2714 | ||
701666b7 UD |
2715 | * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to |
2716 | void **. | |
2717 | * nss/nsswitch.h (service_user): Use void * type for KNOWN field. | |
2718 | ||
2719 | * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to | |
2720 | char * to avoid warning. | |
2721 | * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise. | |
2722 | ||
2723 | * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv. | |
2724 | ||
2725 | * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults, | |
2726 | allocate_arrays): Cast second argument to charmap_find_symbol | |
2727 | to char * to avoid warnings. | |
2728 | ||
2729 | * locale/programs/repertoire.c (repertoire_new_char): Change | |
2730 | from_nr, to_nr and cnt to unsigned long, adjust printf format | |
2731 | string. | |
2732 | ||
2733 | * locale/programs/ld-collate.c (insert_value, handle_ellipsis): | |
2734 | Cast second argument to new_element to char * to avoid warnings. | |
2735 | ||
2736 | * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *. | |
2737 | ||
2738 | * intl/gettextP.h (struct loaded_domain): Change plural to const | |
2739 | struct expression *. | |
2740 | * intl/plural-eval.c (plural_eval): Change first argument to | |
2741 | const struct expression *. | |
2742 | * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first | |
2743 | argument to const struct expression **. | |
2744 | * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust | |
2745 | prototypes. | |
2746 | * intl/loadmsgcat (_nl_unload_domain): Cast away const | |
2747 | in call to __gettext_free_exp. | |
2748 | ||
2749 | * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe | |
2750 | unitialized wstring/wpattern var warnings. | |
2751 | ||
2752 | * posix/runtests.c (struct a_test): Make data field const char *. | |
2753 | ||
2754 | * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf | |
2755 | vars if not LDBL_MANT_DIG >= 106. | |
2756 | ||
2757 | * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized. | |
2758 | ||
2759 | * stdio-common/vfprintf.c (vfprintf): Cast first arugment to | |
2760 | __find_specmb to avoid warning. | |
2761 | ||
2762 | * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings. | |
2763 | ||
2764 | * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts | |
2765 | to avoid warnings. | |
2766 | ||
2767 | * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to | |
2768 | initializer. | |
2769 | ||
2770 | * sysdeps/unix/clock_gettime.c (clock_gettime): Only define | |
2771 | tv var when it will be actually used. | |
2772 | ||
2773 | * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void | |
2774 | to avoid warnings. | |
2775 | ||
085a4412 UD |
2776 | * iconvdata/gbk.c (BODY): Make buf and cp char instead of unsigned |
2777 | char array resp. pointer. | |
2778 | * iconvdata/iso-2022-kr.c (BODY): Make buf unsigned char instead of | |
2779 | char array. | |
2780 | * iconvdata/cns11643.h (cns11643_to_ucs4): Change first argument | |
2781 | to const unsigned char **. | |
2782 | (ucs4_to_cns11643): Change second argument to unsigned char *. | |
2783 | * iconvdata/euc-tw.c (BODY): Change endp type to | |
2784 | const unsigned char *. | |
2785 | * iconvdata/iso-ir-165.h (ucs4_to_isoir165): Change second argument | |
2786 | to unsigned char *. | |
2787 | * iconvdata/ibm1008_420.c (LOOP_NEED_FLAGS): Don't define. | |
2788 | * iconvdata/iso-2022-cn.c (BODY): Change buf to unsigned char array. | |
2789 | * iconvdata/iso-2022-cn-ext.c (BODY): Change buf, tmpbuf, tmp | |
2790 | types to unsigned char pointers/arrays instead of char. | |
2791 | * iconvdata/jis0201.h (ucs4_to_jisx0201): Change second argument | |
2792 | to unsigned char *. | |
2793 | * iconvdata/jis0208.h (ucs4_to_jisx0208): Likewise. | |
2794 | * iconvdata/jis0212.h: Include assert.h. | |
2795 | (ucs4_to_jisx0212): Change second argument to unsigned char *. | |
2796 | assert that if cp[0] is not '\0', cp[1] is not '\0' either instead | |
2797 | of trying to handle that. | |
2798 | * iconvdata/euc-kr.c (euckr_from_ucs4): Initialize also cp[1] to | |
2799 | shut up a warning. | |
2800 | * iconvdata/euc-jp-ms.c (from_ucs4_lat1, from_ucs4_greek, | |
2801 | from_ucs4_cjk, from_ucs4_cjkcpt, from_ucs4_extra): Change type to | |
2802 | two dimensional const unsigned char arrays. | |
2803 | (BODY): Cast "" to (const unsigned char *) for assignment to cp. | |
2804 | Initialize endp to inptr to shut up a warning. | |
2805 | ||
fa69dc9c UD |
2806 | 2007-07-20 Jakub Jelinek <jakub@redhat.com> |
2807 | ||
ae1ad762 UD |
2808 | [BZ #4772] |
2809 | * time/strptime_l.c (__strptime_internal): Silently ignore | |
2810 | strftime modifiers and field width in recursive calls. | |
2811 | ||
fa69dc9c UD |
2812 | * include/time.h (enum ptime_locale_status): Remove. |
2813 | (__strptime_internal): Remove decided and era_cnt arguments, | |
2814 | add statep argument. | |
2815 | * time/strptime_l.c (__strptime_internal): Remove decided | |
2816 | and era_cnt arguments, add statep argument. Don't recompute | |
2817 | any fields in recursive calls, only update caller's tm | |
2818 | and state, if recursive call fails, don't change tm nor | |
2819 | any state. | |
2820 | (get_alt_number): Adjust. | |
2821 | (recursive): Adjust caller. | |
2822 | (strptime): Likewise. | |
2823 | * time/strptime.c (strptime): Likewise. | |
2824 | ||
7b503bcc UD |
2825 | 2007-07-19 Jakub Jelinek <jakub@redhat.com> |
2826 | ||
2827 | * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code. | |
2828 | * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV | |
2829 | if from and to charsets are the same. | |
2830 | * iconv/gconv_db.c (__gconv_find_transform): Likewise. | |
2831 | * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open | |
2832 | returns __GCONV_NOCONV, but not for __GCONV_NULCONV. | |
2833 | ||
2834 | 2007-07-17 Jakub Jelinek <jakub@redhat.com> | |
2835 | ||
2836 | * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. | |
2837 | Don't define wint_t when __need_mbstate_t unless it | |
2838 | is necessary. | |
2839 | (__mbstate_t): Use __WINT_TYPE__ rather than wint_t | |
2840 | in the typedef if possible. | |
2841 | * wctype/wctype.h (wint_t): Define by including | |
2842 | wchar.h with __need_wint_t instead of including stddef.h | |
2843 | with __need_wint_t and as fallback definining it ourselves. | |
2844 | * iconv/gconv.h (__need_wint_t): Define before including | |
2845 | wchar.h. | |
2846 | * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC | |
2847 | or _GLIBCPP_USE_WCHAR_T. | |
2848 | (__need_wchar_t): Don't define | |
2849 | if not _LIBC or _GLIBCPP_USE_WCHAR_T. | |
2850 | (__need_wint_t): Don't define before including stddef.h, | |
2851 | define before including wchar.h only if _LIBC or | |
2852 | _GLIBCPP_USE_WCHAR_T. | |
2853 | (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. | |
2854 | * sysdeps/mach/hurd/_G_config.h: Likewise. | |
2855 | * sysdeps/generic/_G_config.h: Likewise. | |
2856 | * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only | |
2857 | prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. | |
2858 | (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define | |
2859 | if _LIBC or _GLIBCPP_USE_WCHAR_T. | |
2860 | ||
a95a608f UD |
2861 | 2007-07-28 Ulrich Drepper <drepper@redhat.com> |
2862 | ||
2863 | * sysdeps/posix/posix_fallocate64.c: Undefine | |
2864 | __posix_fallocate64_l64 before alias handling. | |
2865 | * sysdeps/unix/sysv/linux/posix_fallocate.c: New file. | |
2866 | * sysdeps/unix/sysv/linux/posix_fallocate64.c: New file. | |
2867 | * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: New file. | |
2868 | * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: New file. | |
2869 | ||
2870 | * io/tst-posix_fallocate.c: Include <fcntl.h>. | |
2871 | ||
2872 | 2007-07-23 Jakub Jelinek <jakub@redhat.com> | |
2873 | ||
2874 | * locale/programs/ld-collate.c (atwc): New variable. | |
2875 | (add_to_tablewc): New toplevel function, moved from collate_output. | |
2876 | (collate_output): Remove add_to_tablewc nested function. | |
2877 | ||
2878 | * iconv/iconvconfig.c (hash_table, hash_size): New toplevel vars. | |
2879 | (name_insert): New function. | |
2880 | (write_output): Remove hash_table and hash_size vars and name_insert | |
2881 | nested function. | |
2882 | ||
80d4c3b0 RM |
2883 | 2007-07-24 Roland McGrath <roland@redhat.com> |
2884 | ||
2885 | * Makerules (install-others-programs-nosubdir): New target. | |
2886 | (install-no-libc.a-nosubdir): Depend on it. | |
2887 | ||
2888 | * iconv/Makefile (install-others-programs): Set this instead of | |
2889 | install-others. | |
2890 | * login/Makefile (install-others-programs): Likewise. | |
2891 | * posix/Makefile (install-others-programs): Likewise. | |
2892 | ||
2893 | * Makerules (install-no-libc.a-nosubdir): Clean up conditional | |
2894 | dependencies. | |
2895 | ||
c1bf9f14 UD |
2896 | 2007-07-23 Ulrich Drepper <drepper@redhat.com> |
2897 | ||
2898 | * io/Makefile (tests): Add tst-posix_fallocate. | |
2899 | * io/tst-posix_fallocate.c: New file. | |
2900 | ||
2901 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
2902 | __ASSUME_FALLOCATE. | |
2903 | ||
2320270c RM |
2904 | 2007-07-22 Roland McGrath <roland@frob.com> |
2905 | ||
3dadfa7e RM |
2906 | * hurd/getdport.c: Add missing copyright year update. |
2907 | ||
2320270c RM |
2908 | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. |
2909 | * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC. | |
2910 | ||
cc783763 UD |
2911 | 2007-07-22 Ulrich Drepper <drepper@redhat.com> |
2912 | ||
c942388d UD |
2913 | * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible. |
2914 | ||
cc783763 UD |
2915 | * libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and set |
2916 | O_CLOEXEC is needed. | |
2917 | * nis/nss_compat/compat-grp.c: Use 'e' flag when opening file. | |
2918 | Avoid additional fcntl to set O_CLOEXEC if not needed. | |
2919 | * nis/nss_compat/compat-initgroups.c: Likewise. | |
2920 | * nis/nss_compat/compat-pwd.c: Likewise. | |
2921 | * nis/nss_compat/compat-spwd.c: Likewise. | |
2922 | ||
610903b0 RM |
2923 | 2007-07-21 Samuel Thibault <samuel.thibault@ens-lyon.org> |
2924 | ||
3dadfa7e | 2925 | [BZ #3665] |
5c3d7832 RM |
2926 | * manual/errno.texi: Change ECANCELED value to 119. |
2927 | ||
3dadfa7e | 2928 | [BZ #4610] |
610903b0 RM |
2929 | * mach/lock-intern.h: Include <sys/cdefs.h>. |
2930 | ||
3dadfa7e | 2931 | [BZ #4178] |
610903b0 RM |
2932 | * sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before |
2933 | reading A. | |
2934 | ||
3dadfa7e RM |
2935 | [BZ #4126] |
2936 | * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias | |
2937 | to __sigsuspend. | |
610903b0 RM |
2938 | |
2939 | * sysdeps/mach/i386/sysdep.h: Include <dl-sysdep.h> and <tls.h>. | |
2940 | ||
2941 | 2006-06-13 Thomas Schwinge <tschwinge@gnu.org> | |
2942 | ||
2943 | * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to | |
2944 | `__ASSEMBLER__'. | |
2945 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
2946 | ||
acf79996 UD |
2947 | 2007-07-21 Ulrich Drepper <drepper@redhat.com> |
2948 | ||
dde0763a UD |
2949 | * nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC for |
2950 | descriptor received from nscd. | |
2951 | ||
acf79996 UD |
2952 | * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_CMSG_CLOEXEC. |
2953 | ||
2954 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_CLOEXEC. | |
2955 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
2956 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
2957 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
2958 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
2959 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
2960 | ||
00d26929 JJ |
2961 | 2007-07-20 Jakub Jelinek <jakub@redhat.com> |
2962 | ||
403445d7 JJ |
2963 | [BZ #4816] |
2964 | * manual/signal.texi (Non-atomic Example): Make memory var volatile. | |
2965 | ||
00d26929 JJ |
2966 | [BZ #4813] |
2967 | * login/forkpty.c (forkpty): Close master and slave fds on | |
2968 | fork failure. Patch by | |
2969 | Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>. | |
2970 | ||
087722b8 UD |
2971 | 2007-07-18 Jakub Jelinek <jakub@redhat.com> |
2972 | ||
2973 | * include/features.h (__USE_ISOC95): New define. | |
2974 | * wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf, | |
2975 | swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even | |
2976 | for -std=iso9899:199409. | |
2977 | * CONFORMANCE: Remove comments about unsupported AMD1. | |
2978 | ||
b042b023 UD |
2979 | 2007-07-17 Jakub Jelinek <jakub@redhat.com> |
2980 | ||
2981 | * sysdeps/ia64/sched_cpucount.c: New file. | |
2982 | * sysdeps/powerpc/sched_cpucount.c: New file. | |
2983 | ||
8381e467 UD |
2984 | * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add |
2985 | __BEGIN_DECLS/__END_DECLS around the prototype. | |
2986 | * bits/sched.h (__sched_cpucount): Likewise. Make second argument | |
2987 | pointer to const cpu_set_t. | |
2988 | ||
50e16f85 UD |
2989 | * bits/types.h: Don't include stddef.h, don't define __need_size_t. |
2990 | * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define | |
2991 | __need_size_t and include stddef.h. | |
2992 | * sysvipc/sys/msg.h: Likewise. | |
2993 | * posix/sched.h: Likewise. | |
2994 | * hurd/hurd/signal.h (__need_size_t): Define. | |
2995 | ||
2996 | * CONFORMANCE: ctype.h and wctype.h no longer define size_t, | |
2997 | neither does signal.h in pedantic ISO C namespaces. stdio.h | |
2998 | no longer defines wint_t or wchar_t. | |
2999 | ||
b257c726 UD |
3000 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. |
3001 | * debug/vfwprintf_chk.c (__vfwprintf_chk): Use | |
3002 | _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock. | |
3003 | * debug/vprintf_chk.c (__vprintf_chk): Likewise. | |
3004 | * debug/vwprintf_chk.c (__vwprintf_chk): Likewise. | |
3005 | * debug/vfprintf_chk.c (__vfprintf_chk): Likewise. | |
3006 | * debug/fwprintf_chk.c (__fwprintf_chk): Likewise. | |
3007 | * debug/printf_chk.c (__printf_chk): Likewise. | |
3008 | * debug/fprintf_chk.c (__fprintf_chk): Likewise. | |
3009 | * debug/wprintf_chk.c (__wprintf_chk): Likewise. | |
3010 | ||
3011 | * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): | |
3012 | Define. | |
3013 | ||
d5078b9f UD |
3014 | * bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define. |
3015 | * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS. | |
3016 | ||
1c3e748e UD |
3017 | 2007-07-16 Jakub Jelinek <jakub@redhat.com> |
3018 | ||
3019 | [BZ #4792] | |
3020 | * stdlib/stdlib.h (realloc): Remove __attribute_malloc__. | |
3021 | * malloc/malloc.h (realloc): Likewise. | |
3022 | ||
4e425301 UD |
3023 | * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end |
3024 | if one of proc_file_chain streams has that fileno. | |
3025 | * stdio-common/Makefile (tests): Add tst-popen2. | |
3026 | * stdio-common/tst-popen2.c: New test. | |
3027 | ||
2e2efe65 RM |
3028 | 2007-07-14 Jakub Jelinek <jakub@redhat.com> |
3029 | ||
3030 | * elf/ldconfig.c: Allow GPLv2 or any later version. | |
3031 | * elf/readlib.c: Likewise. | |
3032 | * elf/chroot_canon.c: Likewise. | |
3033 | * elf/cache.c: Likewise. | |
3034 | * nscd/mem.c: Likewise. | |
3035 | * nscd/getpwuid_r.c: Likewise. | |
3036 | * nscd/grpcache.c: Likewise. | |
3037 | * nscd/aicache.c: Likewise. | |
3038 | * nscd/getsrvbynm_r.c: Likewise. | |
3039 | * nscd/nscd.c: Likewise. | |
3040 | * nscd/servicescache.c: Likewise. | |
3041 | * nscd/getsrvbypt_r.c: Likewise. | |
3042 | * nscd/initgrcache.c: Likewise. | |
3043 | * nscd/gethstbyad_r.c: Likewise. | |
3044 | * nscd/gethstbynm2_r.c: Likewise. | |
3045 | * nscd/getgrnam_r.c: Likewise. | |
3046 | * nscd/nscd_setup_thread.c: Likewise. | |
3047 | * nscd/getpwnam_r.c: Likewise. | |
3048 | * nscd/gai.c: Likewise. | |
3049 | * nscd/connections.c: Likewise. | |
3050 | * nscd/dbg_log.c: Likewise. | |
3051 | * nscd/cache.c: Likewise. | |
3052 | * nscd/hstcache.c: Likewise. | |
3053 | * nscd/nscd_conf.c: Likewise. | |
3054 | * nscd/getgrgid_r.c: Likewise. | |
3055 | * nscd/pwdcache.c: Likewise. | |
3056 | * catgets/gencat.c: Likewise. | |
3057 | * locale/programs/linereader.h: Likewise. | |
3058 | * locale/programs/locarchive.c: Likewise. | |
3059 | * locale/programs/ld-paper.c: Likewise. | |
3060 | * locale/programs/locfile-kw.h: Likewise. | |
3061 | * locale/programs/ld-address.c: Likewise. | |
3062 | * locale/programs/xmalloc.c: Likewise. | |
3063 | * locale/programs/ld-time.c: Likewise. | |
3064 | * locale/programs/localedef.c: Likewise. | |
3065 | * locale/programs/simple-hash.c: Likewise. | |
3066 | * locale/programs/xstrdup.c: Likewise. | |
3067 | * locale/programs/ld-numeric.c: Likewise. | |
3068 | * locale/programs/locfile-kw.gperf: Likewise. | |
3069 | * locale/programs/ld-collate.c: Likewise. | |
3070 | * locale/programs/charmap-kw.gperf: Likewise. | |
3071 | * locale/programs/charmap.h: Likewise. | |
3072 | * locale/programs/charmap-kw.h: Likewise. | |
3073 | * locale/programs/config.h: Likewise. | |
3074 | * locale/programs/locfile.c: Likewise. | |
3075 | * locale/programs/ld-ctype.c: Likewise. | |
3076 | * locale/programs/charmap.c: Likewise. | |
3077 | * locale/programs/ld-messages.c: Likewise. | |
3078 | * locale/programs/repertoire.h: Likewise. | |
3079 | * locale/programs/locale.c: Likewise. | |
3080 | * locale/programs/ld-name.c: Likewise. | |
3081 | * locale/programs/linereader.c: Likewise. | |
3082 | * locale/programs/locfile.h: Likewise. | |
3083 | * locale/programs/3level.h: Likewise. | |
3084 | * locale/programs/ld-monetary.c: Likewise. | |
3085 | * locale/programs/ld-measurement.c: Likewise. | |
3086 | * locale/programs/charmap-dir.c: Likewise. | |
3087 | * locale/programs/ld-identification.c: Likewise. | |
3088 | * locale/programs/localedef.h: Likewise. | |
3089 | * locale/programs/charmap-dir.h: Likewise. | |
3090 | * locale/programs/repertoire.c: Likewise. | |
3091 | * locale/programs/simple-hash.h: Likewise. | |
3092 | * locale/programs/ld-telephone.c: Likewise. | |
3093 | * locale/programs/locale-spec.c: Likewise. | |
3094 | * locale/programs/locfile-token.h: Likewise. | |
3095 | * posix/getconf.c: Likewise. | |
3096 | * iconv/dummy-repertoire.c: Likewise. | |
3097 | * iconv/iconv_charmap.c: Likewise. | |
3098 | * iconv/iconvconfig.c: Likewise. | |
3099 | * iconv/iconv_prog.c: Likewise. | |
3100 | * malloc/memusagestat.c: Likewise. | |
3101 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. | |
3102 | ||
84c23a3d RM |
3103 | 2007-07-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
3104 | ||
3105 | * sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers. | |
3106 | * sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise. | |
3107 | * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity | |
3108 | check for the first argument. | |
3109 | ||
1c298d08 UD |
3110 | 2007-07-12 Jakub Jelinek <jakub@redhat.com> |
3111 | ||
3112 | [BZ #4775] | |
3113 | * math/tgmath.h (__tgmath_real_type_sub): Formatting. | |
3114 | (__tgmath_real_type): Fix if expr is const int or other const | |
3115 | qualified integral type. | |
3116 | (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement | |
3117 | expressions and handle const qualified arguments. | |
3118 | (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG, | |
3119 | __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. | |
3120 | (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using | |
3121 | statement expressions. | |
3122 | (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, | |
3123 | __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise. | |
3124 | (__TGMATH_UNARY_IMAG): Define. | |
3125 | (conj, cproj): Use __TGMATH_UNARY_IMAG macro. | |
3126 | * math/Makefile (tests): Add test-tgmath2. | |
3127 | (CFLAGS-test-tgmath2.c): Add. | |
3128 | * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble, | |
3129 | count_cfloat, count_cldouble): New variables. | |
3130 | (NCCALLS): Define. | |
3131 | (main): Check number of complex calls as well. | |
3132 | (F(compile_test)): Add complex tests and tests with const qualified | |
3133 | arguments. | |
3134 | (y, z, ccount): Define. | |
3135 | (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh), | |
3136 | F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog), | |
3137 | F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj), | |
3138 | F(cproj)): New functions. | |
3139 | * math/test-tgmath2.c: New test. | |
3140 | ||
3141 | 2007-07-11 Jakub Jelinek <jakub@redhat.com> | |
3142 | ||
3143 | [BZ #4776] | |
3144 | * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH, | |
3145 | RPATH etc. as "/" rather than "", don't segfault on empty paths, | |
3146 | instead output ".". | |
3147 | * dlfcn/Makefile (distribute): Add glreflib3.c. | |
3148 | (module-names): Add glreflib3. | |
3149 | ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than | |
3150 | glreflib1.so. | |
3151 | (LDFLAGS_glreflib3.so): New. | |
3152 | * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of | |
3153 | glreflib1.so. | |
3154 | * dlfcn/glreflib3.c: New file. | |
3155 | ||
3156 | * intl/finddomain.c (_nl_find_domain): If _nl_explode_name | |
3157 | returned -1, return NULL. | |
3158 | * intl/explodename.c (_nl_explode_name): Return -1 if | |
3159 | _nl_normalize_codeset failed. | |
3160 | ||
a88f47a7 UD |
3161 | 2007-07-07 Steven Munroe <sjmunroe@us.ibm.com> |
3162 | ||
3163 | * sysdeps/powerpc/powerpc32/power6/memset.S: Update comments. | |
3164 | Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops | |
3165 | and avoid branch misspredicts for > 31 bytes memset case. | |
3166 | * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. | |
3167 | Remove toc ref to __cache_line_size. | |
3168 | ||
3169 | * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4 | |
3170 | to get ISA-V2.0 branch hints. | |
3171 | * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise | |
3172 | * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise | |
3173 | * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. | |
3174 | * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. | |
3175 | * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. | |
3176 | * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. | |
3177 | Remove toc ref to __cache_line_size. | |
3178 | ||
3179 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: | |
3180 | Include math_ldbl_opt.h. | |
3181 | ||
f98c2d06 UD |
3182 | 2007-07-10 Ulrich Drepper <drepper@redhat.com> |
3183 | ||
3184 | [BZ #4773] | |
3185 | * time/strptime_l.c (__strptime_internal): Implement greedy | |
3186 | matching of weekday and month names. | |
3187 | ||
cec5991f RM |
3188 | 2007-07-09 Roland McGrath <roland@redhat.com> |
3189 | ||
3190 | * elf/elf.h (NT_GNU_ABI_TAG): New macro. | |
3191 | (ELF_NOTE_ABI): Use it. | |
3192 | (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros. | |
3193 | ||
8c1dcd26 UD |
3194 | 2007-07-09 Ulrich Drepper <drepper@redhat.com> |
3195 | ||
3196 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries. | |
3197 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. | |
3198 | ||
c2c7bd3f UD |
3199 | 2007-07-07 Ulrich Drepper <drepper@redhat.com> |
3200 | ||
3201 | [BZ #4745] | |
0923a2c8 UD |
3202 | * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF |
3203 | in loop to look for conversion specifier to avoid testing of | |
3204 | wrong errno value. | |
3205 | * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a. | |
c2c7bd3f | 3206 | * stdio-common/bug18.c: New file. |
0923a2c8 UD |
3207 | * stdio-common/bug18a.c: New file. |
3208 | * stdio-common/bug19.c: New file. | |
3209 | * stdio-common/bug19a.c: New file. | |
c2c7bd3f | 3210 | |
4facf4af RM |
3211 | 2007-07-05 Mike Frysinger <vapier@gentoo.org> |
3212 | ||
3213 | * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when | |
3214 | running awk script. | |
3215 | ||
1311e86e UD |
3216 | 2007-07-01 Jakub Jelinek <jakub@redhat.com> |
3217 | ||
3218 | * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check. | |
3219 | * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). | |
3220 | Return NULL if mmap failed instead of asserting it does not. | |
3221 | (calloc): Check for integer overflow. | |
3222 | ||
3223 | * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger | |
3224 | than LONG_MAX / 10. | |
3225 | ||
57c9179c UD |
3226 | 2007-07-03 Jakub Jelinek <jakub@redhat.com> |
3227 | ||
3228 | [BZ #4702] | |
3229 | * nis/nss-default.c: Include errno.h. | |
3230 | (init): Preserve errno. | |
3231 | ||
d0b283a8 UD |
3232 | 2007-07-02 Ulrich Drepper <drepper@redhat.com> |
3233 | ||
3234 | * sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment. | |
3235 | ||
34e0bbaf UD |
3236 | 2007-06-30 Ulrich Drepper <drepper@redhat.com> |
3237 | ||
3238 | * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC. | |
3239 | ||
3240 | 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
3241 | ||
3242 | * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV. | |
3243 | ||
34e0bbaf | 3244 | 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> |
33516494 UD |
3245 | |
3246 | * sysdeps/s390/dl-procinfo.c: New file. | |
3247 | * sysdeps/s390/dl-procinfo.h: New file. | |
3248 | * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file. | |
3249 | ||
0e508a6e UD |
3250 | 2007-06-29 Jakub Jelinek <jakub@redhat.com> |
3251 | ||
3252 | * elf/dl-load.c (open_verify): Find .note.ABI-tag notes even | |
3253 | in PT_NOTE segments with multiple notes. | |
3254 | * elf/readelflib.c (process_elf_file): Likewise. | |
3255 | ||
e22c61fb UD |
3256 | 2007-06-22 Ulrich Drepper <drepper@redhat.com> |
3257 | ||
3258 | * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more | |
3259 | ISO C compliant. | |
3260 | ||
e4eb675d UD |
3261 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
3262 | ||
3263 | * elf/dl-close.c (free_mem): Free _dl_scope_free_list. | |
3264 | ||
3265 | 2007-06-13 Jakub Jelinek <jakub@redhat.com> | |
3266 | ||
3267 | * include/link.h: Don't include rtld-lowlevel.h. | |
3268 | (struct link_map): Remove l_scope_lock. | |
3269 | * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h. | |
3270 | (_dl_scope_free_list): New field (variable) in _rtld_global. | |
3271 | (DL_LOOKUP_SCOPE_LOCK): Remove. | |
3272 | (_dl_scope_free): New prototype. | |
3273 | * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock. | |
3274 | Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x. | |
3275 | (_dl_profile_fixup): Likewise. | |
3276 | * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x | |
3277 | whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and | |
3278 | THREAD_GSCOPE_RESET_FLAG around it. | |
3279 | * elf/dl-close.c (_dl_close_worker): Don't use | |
3280 | __rtld_mrlock_{change,done}. Call _dl_scope_free on the old | |
3281 | scope. Make sure THREAD_GSCOPE_WAIT () happens if any old | |
3282 | scopes were queued or if l_scope_mem has been abandoned. | |
3283 | * elf/dl-open.c (_dl_scope_free): New function. | |
3284 | (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}. | |
3285 | * elf/dl-support.c (_dl_scope_free_list): New variable. | |
3286 | * elf/dl-lookup.c (add_dependency): Remove flags argument. | |
3287 | Remove DL_LOOKUP_SCOPE_LOCK handling. | |
3288 | (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK | |
3289 | handling. | |
3290 | * elf/dl-object.c (_dl_new_object): Don't use | |
3291 | __rtld_mrlock_initialize. | |
3292 | ||
9be09e06 UD |
3293 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
3294 | ||
3295 | * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements | |
3296 | to fill in holes | |
3297 | (rtld_global_ro): Likewise. | |
3298 | ||
3299 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> | |
3300 | ||
3301 | * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. | |
3302 | Move PT_LOAD checking to... | |
3303 | (_dl_addr_inside_object): ... here, new function. | |
3304 | * elf/dl-sym.c (do_sym): If not l_contiguous, | |
3305 | call _dl_addr_inside_object. | |
3306 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. | |
3307 | * dlfcn/dlinfo.c (dlinfo_doit): Likewise. | |
3308 | * elf/dl-open.c (dl_open_worker): Likewise. | |
3309 | (_dl_addr_inside_object): New function if IS_IN_rtld. | |
3310 | * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no | |
3311 | holes are present or are PROT_NONE protected. | |
3312 | * include/link.h (struct link_map): Add l_contiguous field. | |
3313 | * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype. | |
3314 | ||
ae1ad3ae UD |
3315 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
3316 | Tomas Janousek <tjanouse@redhat.com> | |
3317 | Ulrich Drepper <drepper@redhat.com> | |
3318 | ||
3319 | [BZ #4647] | |
3320 | * resolv/res_send.c (send_dg): Remove socket_pf. Use ipv6_unavail | |
3321 | member in __res_state, only convaddr4to6 if nssocks[ns] is a PF_INET6 | |
3322 | socket. | |
3323 | * resolv/resolv.h (__res_state): Add ipv6_unavail member. Make | |
3324 | unused member a bitmap. | |
3325 | * resolv/res_init.c (__res_vinit): Reset ipv6_unavail if IPv6 | |
3326 | servers are configured. | |
3327 | ||
3abee0b7 UD |
3328 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
3329 | ||
3330 | * elf/rtld.c (dl_main): Don't call init_tls more than once. | |
3331 | ||
89074592 UD |
3332 | 2007-06-17 Andreas Schwab <schwab@suse.de> |
3333 | ||
3334 | * sysdeps/generic/initfini.c: Tell gcc about the nonstandard sections. | |
3335 | ||
b26e274d AJ |
3336 | 2007-06-16 Andreas Jaeger <aj@suse.de> |
3337 | ||
3338 | [BZ #4125] | |
3339 | * sysdeps/unix/sysv/linux/sys/ptrace.h | |
3340 | (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, | |
3341 | PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, | |
89074592 | 3342 | PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT, PTRACE_O_MASK, |
b26e274d AJ |
3343 | PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE, |
3344 | PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT): | |
3345 | Define. | |
3346 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. | |
3347 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. | |
3348 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. | |
3349 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. | |
3350 | ||
e0d4a4e5 UD |
3351 | 2007-06-16 Ulrich Drepper <drepper@redhat.com> |
3352 | ||
3353 | [BZ #4599] | |
3354 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): When | |
3355 | determining whether there are IPv4/IPv6 addresses, ignore loopback | |
3356 | addresses. | |
3357 | ||
ae8e81f5 JJ |
3358 | 2007-06-14 Uros Bizjak <ubizjak@gmail.com> |
3359 | ||
3360 | * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. | |
3361 | * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int | |
3362 | as the return type. Change type of "r" variable to CMPtype. | |
3363 | * soft-fp/eqsf2.c (__eqsf2): Likewise. | |
3364 | * soft-fp/eqtf2.c (__eqtf2): Likewise. | |
3365 | * soft-fp/gedf2.c (__gedf2): Likewise. | |
3366 | * soft-fp/gesf2.c (__gesf2): Likewise. | |
3367 | * soft-fp/getf2.c (__getf2): Likewise. | |
3368 | * soft-fp/ledf2.c (__ledf2): Likewise. | |
3369 | * soft-fp/lesf2.c (__lesf2): Likewise. | |
3370 | * soft-fp/letf2.c (__letf2): Likewise. | |
3371 | * soft-fp/unorddf2 (__unorddf2): Likewise. | |
3372 | * soft-fp/unordsf2 (__unordsf2): Likewise. | |
3373 | * soft-fp/unordtf2 (__unordtf2): Likewise. | |
3374 | ||
90cd2413 UD |
3375 | 2007-06-09 Ulrich Drepper <drepper@redhat.com> |
3376 | ||
3377 | * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and | |
3378 | make sure gcc doesn't mess around with this. | |
3379 | ||
3c457089 UD |
3380 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> |
3381 | ||
3382 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist. | |
3383 | ||
e8b6b64d UD |
3384 | 2007-06-08 Jakub Jelinek <jakub@redhat.com> |
3385 | ||
3386 | * elf/dl-close.c (_dl_close_worker): Remove all to be removed | |
3387 | libraries from the global scope at once and call THREAD_GSCOPE_WAIT | |
3388 | at most once per _dl_close_worker. | |
3389 | ||
36dffb22 UD |
3390 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> |
3391 | ||
755db8c5 UD |
3392 | * sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of |
3393 | __sched_cpucount as const. | |
3394 | * posix/sched_cpucount.c: Adjust. | |
3395 | ||
36dffb22 UD |
3396 | * posix/sched_cpucount.c (__sched_cpucount): Allow using special |
3397 | instruction for counting bits. | |
3398 | * sysdeps/x86_64/sched_cpucount.c: New file. | |
3399 | ||
26f56c1c UD |
3400 | 2007-06-07 Ulrich Drepper <drepper@redhat.com> |
3401 | ||
3402 | * configure.in: Avoid variable named BASH. | |
e967d385 | 3403 | * config.make.in: Likewise. |
26f56c1c | 3404 | Patch in part by Mike Frysinger. |
835abc5c | 3405 | |
26f56c1c | 3406 | 2007-06-06 Jakub Jelinek <jakub@redhat.com> |
47779a7d JJ |
3407 | |
3408 | [BZ #4586] | |
835abc5c UD |
3409 | * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat |
3410 | pseudo-zeros as zero. | |
3411 | * sysdeps/x86_64/ldbl2mpn.c: New file. | |
3412 | * sysdeps/ia64/ldbl2mpn.c: New file. | |
3413 | ||
7e3706ea UD |
3414 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> |
3415 | ||
3416 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove | |
3417 | unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf. | |
3418 | Remove unreachable code at the end. | |
3419 | ||
3420 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
3421 | ||
3422 | * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of | |
3423 | ldbl-128ibm in comment. | |
3424 | (fpclassifyl): Correct classification of denormals. | |
3425 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct | |
3426 | return value for MIN denormal. Rewrite using long double math too | |
3427 | correctly handle denormals and canonicalize the results. | |
3428 | ||
3429 | 2007-06-05 Jakub Jelinek <jakub@redhat.com> | |
3430 | ||
3431 | * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c | |
3432 | (__mpn_construct_long_double): Fix conversion where result ought | |
3433 | to be smaller than __LDBL_MIN__, or the low double should be | |
3434 | denormal. Fix decision where to negate low double - honor round | |
3435 | to even rules. | |
3436 | * stdio-common/tst-sprintf2.c: Include string.h. | |
3437 | (COMPARE_LDBL): Define. | |
3438 | (TEST): Also test whether a string hexadecimal float representation | |
3439 | can be parsed back to the number. | |
3440 | (main): Add a couple of further tests. | |
3441 | ||
43b76828 UD |
3442 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> |
3443 | ||
3444 | * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c | |
3445 | (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double | |
3446 | is non-zero, but smaller than 2 * __DBL_MIN__. | |
3447 | * stdio-common/tst-sprintf2.c: New test. | |
3448 | * stdio-common/Makefile (tests): Add tst-sprintf2. | |
3449 | ||
3450 | * math/test-misc.c (main): Don't run last batch of tests with | |
3451 | IBM long double format. | |
3452 | ||
04067002 UD |
3453 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> |
3454 | ||
3455 | * sysdeps/powerpc/powerpc32/970/fpu/Implies: New file. | |
3456 | * sysdeps/powerpc/powerpc32/power5/fpu/Implies: New file. | |
3457 | * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: New file. | |
3458 | * sysdeps/powerpc/powerpc32/power6/fpu/Implies: New file. | |
3459 | * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. | |
3460 | * sysdeps/powerpc/powerpc64/970/fpu/Implies: New file. | |
3461 | * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New file. | |
3462 | * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New file. | |
3463 | * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New file. | |
3464 | * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. | |
3465 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: New file. | |
3466 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: | |
3467 | New file. | |
3468 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: | |
3469 | New file. | |
3470 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: | |
3471 | New file. | |
3472 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: | |
3473 | New file. | |
3474 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: | |
3475 | New file. | |
3476 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: New file. | |
3477 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: | |
3478 | New file. | |
3479 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: | |
3480 | New file. | |
3481 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: | |
3482 | New file. | |
3483 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: | |
3484 | New file. | |
3485 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: | |
3486 | New file. | |
3487 | ||
3488 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> | |
3489 | ||
3490 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Move. | |
3491 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: To here. | |
3492 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: Move. | |
3493 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: To here. | |
3494 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: Move. | |
3495 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: To here. | |
3496 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: Move. | |
3497 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: To here. | |
3498 | ||
3499 | 2007-05-22 Steven Munroe <sjmunroe@us.ibm.com> | |
3500 | ||
3501 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S | |
3502 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
3503 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S | |
3504 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
3505 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S | |
3506 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
3507 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S | |
3508 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
3509 | ||
3510 | 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> | |
3511 | ||
3512 | * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: New file. | |
3513 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: New file. | |
3514 | * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: New file. | |
3515 | * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: New file. | |
3516 | ||
3517 | 2007-03-15 Steven Munroe <sjmunroe@us.ibm.com> | |
3518 | ||
3519 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S | |
3520 | [LONG_DOUBLE_COMPAT]: Add compat_symbol for llrintl@@GLIBC_2_1. | |
3521 | ||
3522 | 2006-02-13 Steven Munroe <sjmunroe@us.ibm.com> | |
3523 | ||
3524 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: New File | |
3525 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: New File | |
3526 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: New File | |
3527 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: New File | |
3528 | ||
3529 | 2006-10-20 Steven Munroe <sjmunroe@us.ibm.com> | |
3530 | ||
3531 | * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file. | |
3532 | * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: New file. | |
3533 | ||
3534 | 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> | |
3535 | ||
3536 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: New file. | |
3537 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: New file. | |
3538 | ||
3539 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: Moved. | |
3540 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: Likewise. | |
3541 | * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: To here. | |
3542 | * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. | |
3543 | ||
3544 | 2006-09-29 Steven Munroe <sjmunroe@us.ibm.com> | |
3545 | ||
3546 | * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: New file. | |
3547 | * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: New file. | |
3548 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: New file. | |
3549 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: New file. | |
3550 | ||
3551 | 2006-09-28 Steven Munroe <sjmunroe@us.ibm.com> | |
3552 | ||
3553 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: New file. | |
3554 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: New file. | |
3555 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: New file. | |
3556 | * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. | |
3557 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: New file. | |
3558 | * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. | |
3559 | ||
3560 | 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> | |
3561 | ||
3562 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: New file. | |
3563 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: New file. | |
3564 | * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: New file. | |
3565 | * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: New file. | |
3566 | ||
3567 | 2006-06-15 Steven Munroe <sjmunroe@us.ibm.com> | |
3568 | ||
3569 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: New file. | |
3570 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: New file. | |
3571 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: New file. | |
3572 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: New file. | |
3573 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: New file. | |
3574 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: New file. | |
3575 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: New file. | |
3576 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: New file. | |
3577 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: New file. | |
3578 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: New file. | |
3579 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: New file. | |
3580 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: New file. | |
3581 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: New file. | |
3582 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: New file. | |
3583 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: New file. | |
3584 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: New file. | |
3585 | ||
3586 | 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> | |
3587 | ||
3588 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: New file. | |
3589 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: New file. | |
3590 | ||
3591 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
3592 | ||
3593 | * sysdeps/powerpc/powerpc32/power6/memset.S: New file. | |
3594 | * sysdeps/powerpc/powerpc64/power6/memset.S: New file. | |
3595 | ||
3596 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> | |
3597 | ||
3598 | * sysdeps/powerpc/powerpc32/970/Implies: New file. | |
3599 | * sysdeps/powerpc/powerpc32/power5/Implies: New file. | |
3600 | * sysdeps/powerpc/powerpc32/power5+/Implies: New file. | |
3601 | * sysdeps/powerpc/powerpc32/power6/Implies: New file. | |
3602 | * sysdeps/powerpc/powerpc32/power6x/Implies: New file. | |
3603 | * sysdeps/powerpc/powerpc64/970/Implies: New file. | |
3604 | * sysdeps/powerpc/powerpc64/power5/Implies: New file. | |
3605 | * sysdeps/powerpc/powerpc64/power5+/Implies: New file. | |
3606 | * sysdeps/powerpc/powerpc64/power6/Implies: New file. | |
3607 | * sysdeps/powerpc/powerpc64/power6x/Implies: New file. | |
3608 | ||
3609 | 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> | |
3610 | ||
3611 | * sysdeps/powerpc/powerpc32/power4/memset.S: New file | |
3612 | ||
3613 | 2007-03-13 Steven Munroe <sjmunroe@us.ibm.com> | |
3614 | ||
3615 | * sysdeps/powerpc/powerpc64/memcpy.S: Improve aligned loop to minimize | |
3616 | branch miss-predicts. Ensure that cache line crossing does not impact | |
3617 | dispatch grouping. | |
3618 | ||
3619 | 2006-12-13 Steven Munroe <sjmunroe@us.ibm.com> | |
3620 | ||
3621 | * sysdeps/powerpc/powerpc64/power4/memcopy.h: Replace with include | |
3622 | "../../powerpc32/power4/memcopy.h". | |
3623 | * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Replace with include | |
3624 | "../../powerpc32/power4/wordcopy.c". | |
3625 | ||
3626 | 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> | |
3627 | ||
3628 | * sysdeps/powerpc/powerpc32/powerpc64/Makefile: Moved. | |
3629 | * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: Likewise. | |
3630 | * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: Likewise. | |
3631 | * sysdeps/powerpc/powerpc32/power4/Makefile: To here. | |
3632 | * sysdeps/powerpc/powerpc32/power4/memcopy.h: Likewise. | |
3633 | * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise. | |
3634 | ||
3635 | 2006-09-10 Steven Munroe <sjmunroe@us.ibm.com> | |
3636 | ||
3637 | * sysdeps/powerpc/powerpc32/power6/memcpy.S: New file. | |
3638 | ||
3639 | 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> | |
3640 | ||
3641 | * sysdeps/powerpc/powerpc32/power6/wordcopy.c: New file. | |
3642 | * sysdeps/powerpc/powerpc32/powerpc64/Makefile: New file. | |
3643 | * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: New file. | |
3644 | * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: New file. | |
3645 | * sysdeps/powerpc/powerpc64/power4/Makefile: New file. | |
3646 | * sysdeps/powerpc/powerpc64/power4/memcopy.h: New file. | |
3647 | * sysdeps/powerpc/powerpc64/power4/wordcopy.c: New file. | |
3648 | * sysdeps/powerpc/powerpc64/power6/wordcopy.c: New file. | |
3649 | ||
3650 | 2006-07-06 Steven Munroe <sjmunroe@us.ibm.com> | |
3651 | ||
3652 | * sysdeps/powerpc/powerpc64/power6/memcpy.S: New file. | |
3653 | ||
3654 | 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> | |
3655 | ||
3656 | * sysdeps/powerpc/powerpc32/power4/memcmp.S: New file. | |
3657 | * sysdeps/powerpc/powerpc32/power4/memcpy.S: New file. | |
3658 | * sysdeps/powerpc/powerpc32/power4/memset.S: New file. | |
3659 | * sysdeps/powerpc/powerpc32/power4/strncmp.S: New file. | |
3660 | * sysdeps/powerpc/powerpc64/power4/memcmp.S: New file. | |
3661 | * sysdeps/powerpc/powerpc64/power4/memcpy.S: New file. | |
3662 | * sysdeps/powerpc/powerpc64/power4/strncmp.S: New file. | |
3663 | ||
5b55e1d3 RM |
3664 | 2007-05-29 Roland McGrath <roland@redhat.com> |
3665 | ||
3666 | * po/Makefile (po-sed-cmd): New variable. | |
3667 | (libc.pot.files): Move sed command text in there, avoid \ inside ''. | |
3668 | ||
5da4373c UD |
3669 | 2007-05-29 Ulrich Drepper <drepper@redhat.com> |
3670 | ||
4b5e7304 UD |
3671 | * crypt/md5-crypt.c: Fix comment. |
3672 | ||
5da4373c UD |
3673 | * nscd/nscd_helper.c (get_mapping): Handle short replies instead |
3674 | of crashing. When this is the case or if the reply is malformed, | |
3675 | don't try to close the new file descriptor since it does not | |
3676 | exist. | |
3677 | Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>. | |
3678 | ||
40f57573 UD |
3679 | 2007-05-28 Jakub Jelinek <jakub@redhat.com> |
3680 | ||
3681 | * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define | |
3682 | if __NR_utimensat is not defined. | |
3683 | ||
6df7ffad UD |
3684 | 2007-05-26 Ulrich Drepper <drepper@redhat.com> |
3685 | ||
3686 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include <sysdep.h>. | |
3687 | ||
47ad95ab UD |
3688 | 2007-05-25 Jakub Jelinek <jakub@redhat.com> |
3689 | ||
3690 | * io/bits/fcntl2.h (__open_2): Add nonnull attribute. | |
3691 | (open): Fix comment typos. Don't call __open_2 if flags | |
3692 | is a compile time constant without O_CREAT. | |
3693 | (__open64_2): Add nonnull attribute. | |
3694 | (open64): Fix comment typos. Don't call __open64_2 if flags | |
3695 | is a compile time constant without O_CREAT. | |
3696 | (__openat_2): Add nonnull attribute, fix nonnull attribute | |
3697 | on redirect. | |
3698 | (openat): Fix comment typos. Don't call __openat_2 if flags | |
3699 | is a compile time constant without O_CREAT. | |
3700 | (__openat64_2): Add nonnull attribute, fix nonnull attribute | |
3701 | on redirect. | |
3702 | (openat64): Fix comment typos. Don't call __openat64_2 if flags | |
3703 | is a compile time constant without O_CREAT. | |
3704 | ||
ddfd0535 UD |
3705 | 2007-05-24 Ulrich Drepper <drepper@redhat.com> |
3706 | ||
3707 | * Makerules (sysd-rules): Define PTW for ptw-* files. | |
3708 | * Versions: Define GLIBC_2.7 for libc. | |
3709 | * include/stdio.h: Declare __fortify_fail. | |
3710 | * debug/fortify_fail.c: New file. | |
3711 | * debug/Makefile (routines): Add fortify_fail. | |
3712 | * debug/chk_fail.c: Use __fortify_fail. | |
3713 | * debug/stack_chk_fail.c: Likewise. | |
3714 | * io/Versions: Export __open_2, __open64_2, __openat_2, and | |
3715 | __openat64_2 for GLIBC_2.7. | |
3716 | * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h. | |
3717 | * io/open.c: Define *_2 variant of function which checks for O_CREAT | |
3718 | and fails if necessary. | |
3719 | * io/open64.c: Likewise. | |
3720 | * io/openat.c: Likewise. | |
3721 | * io/openat64.c: Likewise. | |
3722 | * sysdeps/unix/sysv/linux/open64.c: Likewise. | |
3723 | * sysdeps/unix/sysv/linux/openat.c: Likewise. | |
3724 | * sysdeps/unix/sysv/linux/openat64.c: Likewise. | |
3725 | * io/bits/fcntl2.h: New file. | |
3726 | * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and | |
3727 | __openat64_2. | |
3728 | * include/bits/fcntl2.h: New file. | |
3729 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
3730 | Add open_2. | |
3731 | * sysdeps/unix/sysv/linux/open_2.c: New file. | |
3732 | ||
bfe6f5fa UD |
3733 | 2007-05-21 Ulrich Drepper <drepper@redhat.com> |
3734 | ||
6d59823c UD |
3735 | * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value |
3736 | as second parameter to handle_intel. | |
3737 | ||
e2b1e343 UD |
3738 | * nscd/aicache.c (addhstaiX): If reported TTL is zero don't cache |
3739 | the entry. | |
3740 | ||
bfe6f5fa UD |
3741 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information |
3742 | handling to ... | |
3743 | * sysdeps/x86_64/cacheinfo.c: ... here. New file. | |
3744 | * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add | |
3745 | cacheinfo. | |
3746 | * sysdeps/x86_64/memcpy.S: Complete rewrite. | |
3747 | * sysdeps/x86_64/mempcpy.S: Adjust appropriately. | |
3748 | Patch by Evandro Menezes <evandro.menezes@amd.com>. | |
3749 | ||
3750 | * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: New file. | |
3751 | ||
1f4843fb UD |
3752 | 2007-05-21 Jakub Jelinek <jakub@redhat.com> |
3753 | ||
2c2c003a UD |
3754 | [BZ #4525] |
3755 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add epoll_pwait. | |
3756 | * sysdeps/unix/sysv/linux/epoll_pwait.c: New file. | |
3757 | * sysdeps/unix/sysv/linux/syscalls.list (epoll_pwait): Remove. | |
3758 | ||
3759 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (epoll_pwait): Declare. | |
3760 | ||
af269dd9 UD |
3761 | [BZ #4514] |
3762 | * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable, | |
3763 | reinitialize workend at the start of each do_positional format spec | |
3764 | loop, free workstart before do_positional loops. | |
3765 | (printf_unknown): Fix size of work_buffer. | |
3766 | * stdio-common/tst-sprintf.c (main): Add 3 new testcases. | |
3767 | ||
1f4843fb UD |
3768 | * malloc/hooks.c (MALLOC_STATE_VERSION): Bump. |
3769 | (public_sET_STATe): If ms->version < 3, put all chunks into | |
3770 | unsorted chunks and clear {fd,bk}_nextsize fields of largebin | |
3771 | chunks. | |
3772 | ||
3773 | * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes. | |
3774 | * malloc/hooks.c: Likewise. | |
3775 | * malloc/arena.c: Likewise. | |
3776 | * malloc/malloc.c (do_check_malloc_state): Don't assert | |
3777 | n_mmaps is not greater than n_mmaps_max. This removes the need | |
3778 | for the previous change. | |
3779 | ||
3780 | * malloc/Makefile (CFLAGS-malloc.c): Revert accidental | |
3781 | 2007-05-07 commit. | |
3782 | ||
12e8bbff UD |
3783 | 2007-05-19 Ulrich Drepper <drepper@redhat.com> |
3784 | ||
3785 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRIVATE_FUTEX): | |
3786 | Define for kernel >= 2.6.22. | |
69e5cbf5 | 3787 | |
12e8bbff | 3788 | 2007-05-18 Ulrich Drepper <drepper@redhat.com> |
6d59823c | 3789 | |
df94b641 UD |
3790 | * elf/dl-close.c (_dl_close_worker): When removing object from |
3791 | global scope, wait for all lookups to finish afterwards. | |
3792 | * elf/dl-open.c (add_to_global): When global scope array must | |
3793 | grow, allocate a new one and free old array only after all | |
3794 | lookups finish. | |
3795 | * elf/dl-runtime.c (_dl_fixup): Protect using global scope. | |
3796 | (_dl_lookup_symbol_x): Likewise. | |
3797 | * elf/dl-support.c: Define _dl_wait_lookup_done. | |
3798 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Add | |
3799 | _dl_wait_lookup_done. | |
3800 | ||
2acd01ac UD |
3801 | * malloc/malloc.c (do_check_chunk): Correct check for mmaped block |
3802 | not overlapping with arena. | |
3803 | ||
129abdd3 UD |
3804 | * malloc/mcheck.c (reallochook): If size==0, free the block. |
3805 | ||
eb4b098a UD |
3806 | * rt/tst-shm.c: Use fstat64 instead of fstat. |
3807 | ||
69e5cbf5 UD |
3808 | * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where |
3809 | __NR_sync_file_range is not defined. | |
3810 | ||
a2ccc760 UD |
3811 | 2007-05-17 Ulrich Drepper <drepper@redhat.com> |
3812 | ||
bec51a30 UD |
3813 | Dummy files to prevent stub versions from being used. |
3814 | * sysdeps/x86_64/fpu/k_cosl.c: New file. | |
3815 | * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file. | |
3816 | * sysdeps/x86_64/fpu/k_sinl.c: New file. | |
3817 | * sysdeps/x86_64/fpu/k_tanl.c: New file. | |
3818 | ||
a2ccc760 UD |
3819 | * version.h (VERSION): Set to 2.6.90. |
3820 | ||
1a31b586 UD |
3821 | 2007-05-14 Ulrich Drepper <drepper@redhat.com> |
3822 | ||
a2ccc760 UD |
3823 | * version.h (VERSION): Define to 2.6. |
3824 | * include/features.h (__GLIBC_MINOR__): Define to 6. | |
2c1d6172 | 3825 | |
1d47e92f UD |
3826 | * malloc/malloc.c: Use all small bin slots on 64-bit archs. |
3827 | ||
3828 | * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 | |
3829 | sizes. | |
366ad8fd | 3830 | |
1a31b586 | 3831 | 2007-05-13 Ulrich Drepper <drepper@redhat.com> |
87e66335 | 3832 | |
366ad8fd UD |
3833 | * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum |
3834 | number of mmaps. n_mmaps_max is the target. | |
3835 | * malloc/hooks.c: Likewise. | |
3836 | * malloc/arena.c: Likewise. | |
3837 | ||
11ed6713 AJ |
3838 | 2007-05-12 Andreas Jaeger <aj@suse.de> |
3839 | ||
3840 | * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for | |
3841 | getpid. | |
3842 | ||
d65ef3dd UD |
3843 | 2007-05-11 Ulrich Drepper <drepper@redhat.com> |
3844 | ||
2e81d449 UD |
3845 | * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by |
3846 | adding new variables. | |
3847 | ||
d65ef3dd | 3848 | * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc |
2e81d449 | 3849 | optimize. Completely extend global scope array before making the |
d65ef3dd UD |
3850 | new entries visible. |
3851 | ||
c27d2078 UD |
3852 | 2007-05-10 Ulrich Drepper <drepper@redhat.com> |
3853 | ||
341c566f UD |
3854 | * sysdeps/unix/sysv/linux/tst-getcpu.c: New file. |
3855 | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add | |
3856 | tst-getcpu. | |
3857 | ||
3858 | * include/link.h: Move l_version and l_nversion members around to | |
3859 | fill gaps. | |
3860 | ||
a53fa282 UD |
3861 | * scripts/check-c++-types.sh: Don't use -fnu89-inline option. |
3862 | ||
3771196d UD |
3863 | * sysdeps/unix/sysv/linux/sched_setaffinity.c |
3864 | (__sched_setaffinity_new): If syscall was successful and | |
3865 | RESET_VGETCPU_CACHE is defined, use it before returning. | |
3866 | * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file. | |
3867 | ||
f9bf102d UD |
3868 | * io/sys/stat.h: Make sure struct timespec is defined for |
3869 | __USE_ATFILE. | |
3870 | ||
c27d2078 UD |
3871 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and |
3872 | UTIME_OMIT. | |
3873 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
3874 | * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. | |
3875 | * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. | |
3876 | * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. | |
3877 | * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. | |
3878 | * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. | |
3879 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT. | |
3880 | * io/sys/stat.h: Declare utimensat, futimens. | |
3881 | * io/utimensat.c: New file. | |
3882 | * io/futimens.c: New file. | |
3883 | * sysdeps/unix/sysv/linux/utimensat.c: New file. | |
3884 | * sysdeps/unix/sysv/linux/futimens.c: New file. | |
3885 | * io/Makefile (routines): Add utimensat, futimens. | |
3886 | * io/Versions: Add utimensat, futimens to GLIBC_2.6. | |
3887 | * sysdeps/unix/sysv/linux/lutimes.c: New file. | |
3888 | * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if | |
3889 | available. | |
3890 | ||
3891 | * include/sys/cdefs.h: Redefine __nonnull so that test for | |
3892 | incorrect parameters in the libc code itself are not omitted. | |
3893 | ||
cf6b0980 JJ |
3894 | 2007-05-09 Jakub Jelinek <jakub@redhat.com> |
3895 | ||
c1dfd7e6 JJ |
3896 | * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow |
3897 | exception in addition to inexact when asked to raise only FE_INEXACT. | |
3898 | ||
cf6b0980 JJ |
3899 | [BZ #3427] |
3900 | * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions | |
3901 | in *envp. | |
3902 | ||
df7b6fea UD |
3903 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> |
3904 | ||
3905 | [BZ #4403] | |
3906 | * string/strfry.c (strfry): Make result more random. | |
3907 | ||
37f40235 RH |
3908 | 2007-05-07 Richard Henderson <rth@redhat.com> |
3909 | ||
3910 | * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define | |
3911 | if __NO_LONG_DOUBLE_MATH. | |
3912 | * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not | |
df7b6fea | 3913 | available in the compiler, add .arch directive to the assembly. |
37f40235 RH |
3914 | |
3915 | 2007-05-07 Jakub Jelinek <jakub@redhat.com> | |
3916 | ||
3917 | * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on | |
3918 | compat_symbol to GLIBC_2_1. | |
3919 | * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. | |
3920 | * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. | |
3921 | * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. | |
3922 | * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. | |
3923 | * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. | |
3924 | * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. | |
3925 | * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in | |
3926 | libc, not libm. | |
3927 | (__isnanl): New compat_symbol. | |
3928 | ||
c7fd3362 JJ |
3929 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> |
3930 | Jakub Jelinek <jakub@redhat.com> | |
3931 | ||
3932 | * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. | |
3933 | (new_heap): Initialize mprotect_size. | |
3934 | (grow_heap): When growing, only mprotect from mprotect_size till | |
3935 | new_size if mprotect_size is smaller. When shrinking, use PROT_NONE | |
3936 | MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. | |
3937 | ||
4a59e9ad | 3938 | 2007-04-30 Steven Munroe <sjmunroe@us.ibm.com> |
37f40235 | 3939 | Peter Bergner <bergner@us.ibm.com> |
4a59e9ad UD |
3940 | |
3941 | * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern. | |
3942 | Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV. | |
3943 | * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support. | |
3944 | * sysdeps/powerpc/fpu/fe_mask.c: New file. | |
3945 | * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment. | |
3946 | * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): | |
3947 | Call __fe_mask_env() if all FP exceptions disabled. | |
3948 | * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits | |
3949 | from old FPSCR to new fenv to propagate DFP rounding modes. | |
3950 | Call __fe_mask_env() if FP exceptions previously enabled. | |
3951 | * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge | |
3952 | exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when | |
3953 | transitioning from all exceptions disabled to any exception enabled | |
3954 | or visa versa. | |
3955 | * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to | |
3956 | merge exceptions from env. Call __fe_nomask_env or __fe_mask_env | |
3957 | when transitioning from all exceptions disabled to any exception | |
3958 | enabled or visa versa. | |
3959 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to... | |
3960 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here. | |
3961 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to... | |
3962 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here. | |
3963 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file. | |
3964 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file. | |
3965 | ||
aa75f64c UD |
3966 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
3967 | ||
15eca720 | 3968 | [BZ #4465] |
aa75f64c UD |
3969 | * posix/unistd.h: Remove __THROW from fdatasync. |
3970 | ||
711deb05 UD |
3971 | 2007-05-06 Mike Frysinger <vapier@gentoo.org> |
3972 | ||
15eca720 | 3973 | [BZ #4465] |
711deb05 UD |
3974 | * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args. |
3975 | ||
ffecd39b UD |
3976 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
3977 | ||
49a8eb75 UD |
3978 | * stdio-common/vfprintf.c (process_string_arg): Optimize |
3979 | ridiculous precision in wide char code printing multi-byte string. | |
3980 | Reported by Jim Meyering <jim@meyering.net>. | |
3981 | ||
ffecd39b UD |
3982 | [BZ #4131] |
3983 | * elf/dl-addr.c (_dl_addr): Compare address with actual segment | |
3984 | boundaries to work around systems with overlapping binary loading. | |
3985 | Based on a patch by Suzuki <suzuki@in.ibm.com>. | |
3986 | ||
b16dba4c UD |
3987 | 2007-05-04 Ulrich Drepper <drepper@redhat.com> |
3988 | ||
30b323ab UD |
3989 | * stdio-common/vfprintf.c (process_string_arg): Adjust call to |
3990 | __mbsnrtowcs after last change. | |
3991 | ||
b16dba4c UD |
3992 | * locale/programs/linereader.c (get_symname): Fix adding final NUL. |
3993 | (get_ident): Likewise. | |
3994 | ||
37002cbc JJ |
3995 | 2007-05-03 Jakub Jelinek <jakub@redhat.com> |
3996 | ||
3997 | * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT | |
3998 | with setting the sticky bit. | |
3999 | * math/test-misc.c (main): Add more truncation tests. | |
4000 | ||
4001 | 2007-04-14 Uros Bizjak <ubizjak@gmail.com> | |
4002 | ||
4003 | * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of | |
4004 | double in the function declaration. | |
4005 | * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of | |
4006 | double in the function declaration. | |
4007 | * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of | |
4008 | float in the function declaration. | |
4009 | * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of | |
4010 | float in the function declaration. | |
4011 | ||
4012 | * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for | |
4013 | denormal operands. Do not generate FP_EX_DENORM exception. | |
4014 | (FP_UNPACK_RAW_EP): Ditto. | |
4015 | (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of | |
4016 | undefined _FP_UNPACK_RAW_E. | |
4017 | (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of | |
4018 | undefined _FP_UNPACK_RAW_EP. | |
4019 | (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of | |
4020 | undefined _FP_PACK_RAW_E. | |
4021 | (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of | |
4022 | undefined _FP_PACK_RAW_EP. | |
4023 | ||
d9ac82d0 UD |
4024 | * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to |
4025 | _FP_FRAC_COPY_2. | |
4026 | * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to | |
4027 | _FP_FRAC_COPY_4. | |
37002cbc JJ |
4028 | |
4029 | 2007-04-16 Uros Bizjak <ubizjak@gmail.com> | |
4030 | Jakub Jelinek <jakub@redhat.com> | |
4031 | ||
4032 | * soft-fp/op-common.h (FP_EXTEND): Do not abort when | |
4033 | _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for | |
4034 | this case. | |
4035 | * soft-fp/op-common.h (FP_TRUNC): Ditto. | |
4036 | ||
002f0b0b JJ |
4037 | 2007-05-03 Jakub Jelinek <jakub@redhat.com> |
4038 | ||
4039 | * math/test-misc.c (main): Add tests for rounding long double | |
4040 | values close to smallest double denormalized value to double. | |
4041 | ||
4042 | 2007-04-30 Joseph Myers <joseph@codesourcery.com> | |
4043 | ||
4044 | * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in | |
4045 | condition for truncating to 0. Set sticky bit for such | |
4046 | truncation. | |
4047 | ||
57433ede UD |
4048 | 2007-05-02 Jakub Jelinek <jakub@redhat.com> |
4049 | ||
4050 | * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than | |
4051 | fixed length array for ignore. | |
4052 | ||
c01c2455 UD |
4053 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
4054 | ||
4055 | [BZ #4438] | |
4056 | * stdio-common/vfprintf.c (process_string_arg): Don't overflow the | |
4057 | stack for large precisions. | |
1cb04337 UD |
4058 | * stdio-common/test-vfprintf.c (main): Add test for large |
4059 | precision. | |
c01c2455 | 4060 | |
37f02b1d UD |
4061 | 2007-04-30 Jakub Jelinek <jakub@redhat.com> |
4062 | ||
b866373d UD |
4063 | * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign |
4064 | for exponent 0. | |
4065 | * stdio-common/tfformat.c (sprint_doubles): Add a new test. | |
4066 | ||
37f02b1d UD |
4067 | [BZ #4439] |
4068 | * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into | |
4069 | account in the size check. | |
4070 | * resolv/tst-inet_ntop.c: New test. | |
4071 | * resolv/Makefile (tests): Add tst-inet_ntop. | |
4072 | ||
7ecfbd38 UD |
4073 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
4074 | Jakub Jelinek <jakub@redhat.com> | |
4075 | ||
4076 | [BZ #4349] | |
4077 | * malloc/malloc.c: Keep separate list for first blocks on the bin | |
4078 | lists with a given size. This helps skipping over list elements | |
4079 | we know won't fit in two places. | |
4080 | Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>. | |
4081 | ||
e53f0f51 UD |
4082 | 2007-04-28 Ulrich Drepper <drepper@redhat.com> |
4083 | ||
4084 | [BZ #4102] | |
4085 | * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate | |
4086 | label to Teredo tunnel addresses 2001://32. | |
4087 | ||
109f51f2 UD |
4088 | 2007-04-27 Ulrich Drepper <drepper@redhat.com> |
4089 | ||
762422d1 UD |
4090 | * locale/programs/ld-collate.c (collate_read): Allow order_start |
4091 | after copy. | |
4092 | ||
61d5a67f UD |
4093 | * locale/programs/ld-collate.c (collate_read): Fix printing of |
4094 | error message. | |
4095 | ||
4096 | [BZ #3213] | |
4097 | * locale/C-translit.h.in: Add entry for U2044. | |
4098 | ||
109f51f2 UD |
4099 | [BZ #4342] |
4100 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow | |
4101 | hexa-decimal floats without exponent. | |
4102 | * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. | |
4103 | ||
ec08f13d UD |
4104 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
4105 | ||
4106 | * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu. | |
4107 | * sysdeps/unix/sysv/linux/sched_getcpu.c: New file. | |
4108 | * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. | |
4109 | * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for | |
4110 | GLIBC_2.6. | |
bce20b9a UD |
4111 | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines): |
4112 | Add sched_getcpu. | |
ec08f13d | 4113 | |
41967e1c JJ |
4114 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
4115 | ||
4116 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead | |
4117 | of 0 after the out_fail label. | |
4118 | ||
ba508da3 UD |
4119 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
4120 | ||
4121 | [BZ #4406] | |
109f51f2 | 4122 | * iconv/gconv_charset.h (strip): Allow ':'. |
ba508da3 UD |
4123 | * iconv/iconv_open.c (iconv_open): Adjust comment. |
4124 | ||
9c8d03d9 JJ |
4125 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
4126 | ||
4127 | * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized | |
4128 | version. | |
4129 | ||
2f1687b9 UD |
4130 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
4131 | ||
4132 | [BZ #4381] | |
4133 | * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient | |
4134 | alignment of buffer and tmp_buffer. | |
4135 | * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, | |
4136 | internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient | |
4137 | alignment of buffer. | |
4138 | * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen | |
4139 | bigger than INT_MAX. | |
4140 | * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and | |
4141 | h_errnop arguments. Fail if buflen is too small. | |
4142 | (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. | |
4143 | ||
b64a9db8 JJ |
4144 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
4145 | ||
4146 | [BZ #4405] | |
4147 | * iconvdata/gconv-modules (E13B): Add a missing slash to the alias | |
4148 | name. Patch by Aurelien Jarno <aurelien@aurel32.net>. | |
4149 | ||
4d3144c9 RM |
4150 | 2007-04-22 Roland McGrath <roland@redhat.com> |
4151 | ||
4152 | * elf/elf.h (NT_PRXFPREG): New macro. | |
4153 | ||
767b40bf AJ |
4154 | 2007-04-19 Andreas Jaeger <aj@suse.de> |
4155 | ||
4156 | [BZ #3905] | |
4157 | * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, | |
4158 | IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): | |
4159 | Added. | |
4160 | ||
2592d1ec UD |
4161 | 2007-04-19 Ulrich Drepper <drepper@redhat.com> |
4162 | ||
4163 | * include/sys/mman.h: Mark madvise hidden. | |
d07d044e | 4164 | * misc/madvise.c: Add libc_hidden_def. |
2592d1ec | 4165 | |
7ab174ed UD |
4166 | 2007-04-06 Jakub Jelinek <jakub@redhat.com> |
4167 | ||
4168 | * nis/nis_domain_of.c (__nis_domain_of): New function. | |
4169 | * include/rpcsvc/nislib.h (__nis_domain_of): New prototype. | |
4170 | * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. | |
4171 | * nis/nis_call.c (rec_dirsearch): Likewise. | |
4172 | (first_shoot): Likewise. Remove search_parent_first argument. | |
4173 | (struct nis_server_cache): Rename search_parent_first field | |
4174 | to search_parent. | |
4175 | (nis_server_cache_search, nis_server_cache_add): Rename | |
4176 | search_parent_first argument to search_parent. | |
4177 | (__nisfind_server): Likewise. If search_parent, call | |
4178 | __nis_domain_of. | |
4179 | ||
b17c265f UD |
4180 | 2007-04-18 Ulrich Drepper <drepper@redhat.com> |
4181 | ||
4182 | * sysdeps/posix/getaddrinfo.c: Remove commented-out code. | |
4183 | ||
b7674b11 UD |
4184 | 2007-04-17 Ulrich Drepper <drepper@redhat.com> |
4185 | ||
4186 | [BZ #4368] | |
4187 | * stdlib/stdlib.h: Remove obsolete part of comment for realpath. | |
4188 | ||
faf3ad69 UD |
4189 | 2007-04-16 Ulrich Drepper <drepper@redhat.com> |
4190 | ||
4191 | [BZ #4364] | |
4192 | * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. | |
4193 | ||
c14f245c UD |
4194 | 2007-04-15 Jakub Jelinek <jakub@redhat.com> |
4195 | ||
4196 | * locale/programs/locarchive.c (INITIAL_NUM_NAMES, | |
4197 | INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate | |
4198 | current number of locales in SUPPORTED. | |
4199 | (create_archive): Initialize serial. | |
4200 | (enlarge_archive): Preserve aliases rather than duplicating | |
4201 | their locrecs. | |
4202 | ||
d40e67f5 UD |
4203 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
4204 | ||
993a5d66 UD |
4205 | * libio/genops.c (_IO_default_finish): Call _IO_lock_fini |
4206 | after _IO_un_link, not before it. | |
4207 | ||
d40e67f5 UD |
4208 | * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4 |
4209 | special case handling when wcp == wstartp + 1. Fix a comment typo. | |
4210 | * stdio-common/tfformat.c (sprint_doubles): Add a new testcase. | |
4211 | ||
0fca3153 UD |
4212 | 2007-03-30 Jakub Jelinek <jakub@redhat.com> |
4213 | ||
4214 | * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow, | |
4215 | __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, | |
4216 | _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): | |
4217 | Remove __THROW. | |
4218 | * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, | |
4219 | _IO_file_xsgetn_maybe_mmap): Likewise. | |
4220 | * libio/oldfileops.c (old_do_write): Likewise. | |
4221 | * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, | |
4222 | _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, | |
4223 | _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, | |
4224 | _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, | |
4225 | _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, | |
4226 | _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, | |
4227 | _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, | |
4228 | _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, | |
4229 | _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, | |
4230 | _IO_file_underflow, _IO_file_underflow_mmap, | |
4231 | _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, | |
4232 | _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, | |
4233 | _IO_file_sync, _IO_file_close_it, _IO_file_finish, | |
4234 | _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, | |
4235 | _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, | |
4236 | _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, | |
4237 | _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, | |
4238 | _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, | |
4239 | _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, | |
4240 | _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, | |
4241 | _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, | |
4242 | _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, | |
4243 | _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, | |
4244 | _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, | |
4245 | _IO_adjust_column_internal, _IO_default_uflow_internal, | |
4246 | _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, | |
4247 | _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, | |
4248 | _IO_file_setbuf_internal, _IO_file_seekoff_internal, | |
4249 | _IO_file_xsputn_internal, _IO_file_xsgetn_internal, | |
4250 | _IO_file_close_it_internal, _IO_file_underflow_internal, | |
4251 | _IO_file_overflow_internal, _IO_file_attach_internal, | |
4252 | _IO_file_fopen_internal, _IO_file_sync_internal, | |
4253 | _IO_file_finish_internal, _IO_wfile_xsputn_internal, | |
4254 | _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, | |
4255 | _IO_switch_to_wget_mode_internal, _IO_padn_internal, | |
4256 | _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, | |
4257 | _IO_seekpos_unlocked): Likewise. | |
4258 | (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, | |
4259 | _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes. | |
4260 | ||
07358add JJ |
4261 | 2007-04-16 Jakub Jelinek <jakub@redhat.com> |
4262 | ||
4263 | * locale/programs/locarchive.c (show_archive_content): Fix sizeof | |
4264 | argument in xmalloc size computation. | |
4265 | ||
7a82b74f UD |
4266 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
4267 | ||
4268 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use | |
4269 | math_opt_barrier and math_force_eval macros. | |
4270 | ||
3e336a87 UD |
4271 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
4272 | ||
4273 | [BZ #3306] | |
4274 | * math/math_private.h (math_opt_barrier, math_force_eval): Define. | |
4275 | * sysdeps/i386/fpu/math_private.h: New file. | |
4276 | * sysdeps/x86_64/fpu/math_private.h: New file. | |
4277 | * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and | |
4278 | math_force_eval macros. Use "+m" constraint on asm rather than | |
4279 | "=m" and "m". | |
4280 | * math/s_nextafter.c (__nextafter): Likewise. | |
4281 | * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): | |
4282 | Likewise. | |
4283 | * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. | |
4284 | * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. | |
4285 | * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. | |
4286 | * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use | |
4287 | math_opt_barrier and math_force_eval macros. | |
4288 | * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. | |
4289 | * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. | |
4290 | * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. | |
4291 | (__nexttoward): Use math_opt_barrier and | |
4292 | math_force_eval macros. Use "+m" constraint on asm rather than | |
4293 | "=m" and "m". Only use asm to force double result if | |
4294 | FLT_EVAL_METHOD is 2. | |
4295 | * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. | |
4296 | (__nexttowardf): Use math_opt_barrier and | |
4297 | math_force_eval macros. Use "+m" constraint on asm rather than | |
4298 | "=m" and "m". Only use asm to force double result if | |
4299 | FLT_EVAL_METHOD is not 0. | |
4300 | * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. | |
4301 | (__nexttowardf): Use math_opt_barrier and | |
4302 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
4303 | x to float using asm. | |
4304 | * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. | |
4305 | (__nldbl_nexttowardf): Use math_opt_barrier and | |
4306 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
4307 | x to float using asm. | |
4308 | * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. | |
4309 | (__nexttowardf): Use math_opt_barrier and math_force_eval | |
4310 | macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. | |
4311 | * math/bug-nextafter.c (zero, inf): New variables. | |
4312 | (main): Add new tests. | |
4313 | * math/bug-nexttoward.c (zero, inf): New variables. | |
4314 | (main): Add new tests. | |
4315 | ||
a8c79c40 UD |
4316 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> |
4317 | ||
4318 | [BZ #3427] | |
4319 | * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all | |
4320 | exceptions both in SW and MXCSR. | |
4321 | * sysdeps/x86_64/fpu/feupdateenv.c: New file. | |
4322 | * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. | |
4323 | * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. | |
4324 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
4325 | in MXCSR if SSE is available. | |
4326 | * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h | |
4327 | and ldsodefs.h. | |
4328 | (__feupdateenv): Query exceptions also from MXCSR if SSE is available. | |
4329 | Fix comment typo. | |
4330 | * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. | |
4331 | Return 0 rather than 1. | |
4332 | * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. | |
4333 | Remove incorrect part of a comment. Fix argument to feraiseexcept. | |
4334 | * math/test-fenv.c (feholdexcept_tests): New function. | |
4335 | (main): Call it. | |
4336 | ||
4337 | 2007-01-05 Richard B. Kreckel <kreckel@ginac.de> | |
4338 | ||
4339 | [BZ #3427] | |
4340 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
4341 | in SW. | |
4342 | ||
30a3aa75 JJ |
4343 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
4344 | ||
4345 | [BZ #4344] | |
4346 | * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. | |
4347 | Reported by David Anderson <davea42@earthlink.net>. | |
4348 | ||
75587bfe UD |
4349 | 2007-04-07 Ulrich Drepper <drepper@redhat.com> |
4350 | ||
4351 | * posix/sys/wait.h: Remove unnecessary forward declaration. | |
4352 | ||
88fa1769 JJ |
4353 | 2007-04-05 Jakub Jelinek <jakub@redhat.com> |
4354 | ||
4355 | * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers | |
4356 | with obj->do_servers after first_shoot. | |
4357 | ||
eab1bdfb UD |
4358 | 2007-04-03 Ulrich Drepper <drepper@redhat.com> |
4359 | ||
4360 | * posix/Makefile (routines): Add sched_cpucount. | |
4361 | (tests): Add tst-cpucount. | |
4362 | * posix/sched_cpucount.c: New file. | |
4363 | * posix/tst-cpucount.c: New file. | |
4364 | * posix/Versions: Export __sched_cpucount with version GLIBC_2.6. | |
b4afdd06 UD |
4365 | * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount. |
4366 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
4367 | * posix/sched.h: Define CPU_COUNT. | |
eab1bdfb | 4368 | |
9700b039 UD |
4369 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
4370 | ||
4371 | * posix/fnmatch.c (STRUCT): Define. | |
4372 | (fnmatch): Pass NULL as last argument to internal_fn{,w}match. | |
4373 | * posix/fnmatch_loop.c (struct STRUCT): New type. | |
4374 | (FCT): Add ends argument. If ends != NULL and normal * is | |
4375 | seen in the pattern, store current pattern and string pointers | |
4376 | and return. Adjust recursive calls. | |
4377 | (EXT): Adjust FCT callers. | |
4378 | (STRUCT): Undef at the end of the file. | |
4379 | * posix/Makefile (tests): Add tst-fnmatch2. | |
4380 | * posix/tst-fnmatch2.c: New test. | |
4381 | ||
d64e9790 JJ |
4382 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
4383 | ||
933dfe7b JJ |
4384 | * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success |
4385 | and 1 on failure. | |
4386 | ||
d64e9790 JJ |
4387 | * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): |
4388 | Change last argument to unsigned int. | |
4389 | ||
e1f0c5bc UD |
4390 | 2007-03-23 Jakub Jelinek <jakub@redhat.com> |
4391 | ||
4392 | * scripts/check-local-headers.sh: Filter out sys/capability.h. | |
4393 | ||
4394 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> | |
4395 | ||
4396 | * config.h.in (HAVE_LIBCAP): Add. | |
4397 | * nscd/selinux.h: Include sys/capability.h rather than non-existent | |
4398 | sys/capabilities.h. | |
4399 | * nscd/selinux.c (preserve_capabilities): Use cap_free instead of | |
4400 | free_caps. Cast away const from 4th cap_set_flag argument. | |
4401 | ||
4e87573f UD |
4402 | 2007-03-26 Ulrich Drepper <drepper@redhat.com> |
4403 | ||
4404 | * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to | |
4405 | GLIBC_2.6. | |
4406 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
4407 | Add sync_file_range. | |
4408 | Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
4409 | ||
fa6e3bc3 UD |
4410 | 2007-03-19 Steven Munroe <sjmunroe@us.ibm.com> |
4411 | ||
4412 | * sysdeps/powerpc/bits/atomic.h | |
4413 | [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ. | |
4414 | [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL. | |
4415 | (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
4416 | (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx. | |
4417 | (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
4418 | (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx. | |
4419 | * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]: | |
4420 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
4421 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
4422 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
4423 | * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]: | |
4424 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
4425 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
4426 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
4427 | (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
4428 | (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx. | |
4429 | (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
4430 | (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx. | |
4431 | (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
4432 | (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx. | |
4433 | ||
4434 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> | |
c7693af7 UD |
4435 | |
4436 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c | |
4437 | (__cache_line_size): Define the variable here. Add | |
4438 | attribute_hidden, remove weak_extern. | |
4439 | (__libc_start_main): Set __cache_line_size | |
4440 | unconditionally. | |
4441 | * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c | |
4442 | (__cache_line_size): Define the variable here. Add | |
4443 | attribute_hidden, remove weak_extern. | |
4444 | (DL_PLATFORM_AUXV): Set __cache_line_size | |
4445 | unconditionally. | |
4446 | * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove | |
4447 | weak_extern, add attribute_hidden. | |
4448 | (__elf_machine_runtime_setup): Assume __cache_line_size is always | |
4449 | defined in ld.so. | |
4450 | * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove | |
4451 | definition. | |
4452 | * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise. | |
4453 | ||
0479e581 JJ |
4454 | 2007-03-26 Jakub Jelinek <jakub@redhat.com> |
4455 | ||
4456 | [BZ #4276] | |
4457 | * timezone/africa: Update from tzdata2007d. | |
4458 | * timezone/asia: Likewise. | |
4459 | * timezone/australasia: Likewise. | |
4460 | * timezone/backward: Likewise. | |
4461 | * timezone/europe: Likewise. | |
4462 | * timezone/iso3166.tab: Likewise. | |
4463 | * timezone/leapseconds: Likewise. | |
4464 | * timezone/northamerica: Likewise. | |
4465 | * timezone/southamerica: Likewise. | |
4466 | * timezone/zone.tab: Likewise. | |
4467 | ||
4468 | * timezone/private.h: Update from tzcode2007d. | |
4469 | * timezone/zdump.c: Likewise. | |
4470 | * timezone/zic.c: Likewise. | |
4471 | ||
697d37b1 JJ |
4472 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
4473 | ||
4474 | * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. | |
4475 | (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New | |
4476 | variables. | |
4477 | (nis_server_cache_search, nis_server_cache_add): New functions. | |
4478 | (__nisfind_server): Use them. Add dbp and flags argument, if | |
4479 | call __nisbind_create. | |
4480 | (__nisbind_create): Add server_used and current_ep arguments, | |
4481 | only call __nis_findfastest if server_used is ~0. | |
4482 | (__do_niscall2, __prepare_niscall): Adjust callers. | |
4483 | (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid, | |
4484 | ckey_cache_euid, ckey_cache_lock): New variables. | |
4485 | (get_ckey): New function. | |
4486 | (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to | |
4487 | __pmap_getnisport. Save __pmap_getnisport result in | |
4488 | dbp->addr.sin_port if non-zero. Use get_ckey to create conversation | |
4489 | key. | |
4490 | * nis/nis_lookup.c (nis_lookup): Likewise. | |
4491 | * nis/nis_table.c (nis_list): Likewise. | |
4492 | * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust | |
4493 | prototypes. | |
4494 | ||
4495 | * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r, | |
4496 | _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list. | |
4497 | * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r, | |
4498 | _nss_nisplus_getservbyport_r): Likewise. | |
4499 | * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r, | |
4500 | _nss_nisplus_getnetbyaddr_r): Likewise. | |
4501 | * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise. | |
4502 | * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r, | |
4503 | _nss_nisplus_getntohost_r): Likewise. | |
4504 | * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r, | |
4505 | _nss_nisplus_getrpcbynumber_r): Likewise. | |
4506 | ||
06029c20 JJ |
4507 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> |
4508 | ||
371f84a4 JJ |
4509 | * configure.in (libc_cv_gnu89_inline): Only do compile test. |
4510 | * configure: Rebuilt. | |
4511 | ||
06029c20 JJ |
4512 | * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac |
4513 | bit-fields. | |
4514 | * soft-fp/extended.h (_FP_UNION_E): Likewise. | |
4515 | ||
4516 | 2006-06-07 Joseph Myers <joseph@codesourcery.com> | |
4517 | ||
4518 | [BZ #2831] | |
4519 | * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac | |
4520 | bit-fields. | |
4521 | ||
addc8335 UD |
4522 | 2007-03-18 Jakub Jelinek <jakub@redhat.com> |
4523 | ||
4524 | * nscd/gai.c: Include alloca.h. | |
4525 | (__libc_use_alloca): Define. | |
4526 | ||
b037a293 UD |
4527 | 2007-03-16 Jakub Jelinek <jakub@redhat.com> |
4528 | ||
965cba04 UD |
4529 | * elf/dl-open.c (dl_open_worker): Declare l in 2 different |
4530 | smaller scopes. | |
4531 | * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. | |
4532 | (DL_DST_REQUIRED): Adjust user. | |
4533 | ||
4534 | * include/dlfcn.h (struct link_map): New forward decl. | |
4535 | ||
4536 | * inet/getnameinfo.c: Include stddef.h. | |
4537 | (getnameinfo): Use offsetof. | |
4538 | ||
4539 | * time/tst-mktime2.c (do_test): Don't rely on signed wrap. | |
4540 | ||
4541 | * stdio-common/vfprintf.c (_itoa): Undef before redefining. | |
4542 | ||
4543 | * string/strerror_l.c: Include stdlib.h. | |
4544 | ||
b037a293 UD |
4545 | * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. |
4546 | * config.make.in (gnu89-inline-CFLAGS): New variable. | |
4547 | * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with | |
4548 | -std=gnu99. | |
4549 | * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. | |
4550 | * argp/argp.h: Use it. | |
4551 | * bits/mathinline.h: Likewise. | |
4552 | * bits/sigset.h: Likewise. | |
4553 | * bits/string.h: Likewise. | |
4554 | * ctype/ctype.h: Likewise. | |
4555 | * hurd/hurd.h: Likewise. | |
4556 | * hurd/hurd/fd.h: Likewise. | |
4557 | * hurd/hurd/port.h: Likewise. | |
4558 | * hurd/hurd/signal.h: Likewise. | |
4559 | * hurd/hurd/threadvar.h: Likewise. | |
4560 | * hurd/hurd/userlink.h: Likewise. | |
4561 | * io/sys/stat.h: Likewise. | |
4562 | * libio/bits/stdio.h: Likewise. | |
4563 | * libio/bits/stdio2.h: Likewise. | |
4564 | * mach/lock-intern.h: Likewise. | |
4565 | * mach/mach/mig_support.h: Likewise. | |
4566 | * math/bits/cmathcalls.h: Likewise. | |
4567 | * posix/bits/unistd.h: Likewise. | |
4568 | * socket/bits/socket2.h: Likewise. | |
4569 | * stdlib/bits/stdlib.h: Likewise. | |
4570 | * stdlib/stdlib.h: Likewise. | |
4571 | * string/argz.h: Likewise. | |
4572 | * string/bits/string2.h: Likewise. | |
4573 | * string/bits/string3.h: Likewise. | |
4574 | * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. | |
4575 | * sysdeps/generic/inttypes.h: Likewise. | |
4576 | * sysdeps/generic/machine-lock.h: Likewise. | |
4577 | * sysdeps/generic/machine-sp.h: Likewise. | |
4578 | * sysdeps/i386/fpu/bits/mathinline.h: Likewise. | |
4579 | * sysdeps/i386/i486/bits/string.h: Likewise. | |
4580 | * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. | |
4581 | * sysdeps/mach/alpha/machine-lock.h: Likewise. | |
4582 | * sysdeps/mach/alpha/machine-sp.h: Likewise. | |
4583 | * sysdeps/mach/i386/machine-lock.h: Likewise. | |
4584 | * sysdeps/mach/powerpc/machine-lock.h: Likewise. | |
4585 | * sysdeps/mach/powerpc/machine-sp.h: Likewise. | |
4586 | * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. | |
4587 | * sysdeps/s390/bits/string.h: Likewise. | |
4588 | * sysdeps/s390/fpu/bits/mathinline.h: Likewise. | |
4589 | * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. | |
4590 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. | |
4591 | * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. | |
4592 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
4593 | * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. | |
4594 | * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. | |
4595 | * wcsmbs/bits/wchar2.h: Likewise. | |
4596 | * wcsmbs/wchar.h: Likewise. | |
4597 | * stdlib/gmp.h: Likewise. Include <features.h> to get | |
4598 | __extern_inline definition. | |
4599 | ||
6b2665f5 UD |
4600 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> |
4601 | ||
b037a293 UD |
4602 | * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is |
4603 | NULL. | |
4604 | ||
6b2665f5 UD |
4605 | [BZ #3919] |
4606 | * math/libm-test.inc (log_test): Test -Inf and NaN. | |
4607 | (log10_test, log1p_test, log2_test): Test -Inf. | |
4608 | * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise | |
4609 | FE_INVALID when argument is qNaN. | |
4610 | * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. | |
4611 | * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. | |
4612 | * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. | |
4613 | * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace | |
4614 | andb $1, %ah with testb $1, %ah, don't test for parity, instead | |
4615 | testb $4, %ah and jump if non-zero. | |
4616 | * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. | |
4617 | * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. | |
4618 | ||
44969f17 UD |
4619 | [BZ #4101] |
4620 | * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find | |
4621 | ancestors with the same depths. | |
4622 | Patch by Niels Moeller <nisse@lysator.liu.se>. | |
4623 | (filter_doc): Don't crash if argp is NULL. | |
4624 | * argp/Makefile (tests): Add tst-argp2. | |
4625 | * argp/tst-argp2.c: New test. | |
4626 | ||
05eb8975 UD |
4627 | [BZ #4130] |
4628 | * login/utmp_file.c (setutent_file): Use O_LARGEFILE for | |
4629 | open_not_cancel_2. | |
4630 | (updwtmp_file): Likewise. | |
4631 | ||
6cb988fa UD |
4632 | [BZ #4181] |
4633 | * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0. | |
4634 | (inet6_opt_append): Don't check extlen is big enough if extbuf | |
4635 | is NULL. | |
4636 | (inet6_opt_finish): Likewise. | |
4637 | * inet/Makefile (tests): Add test-inet6_opt. | |
4638 | * inet/test-inet6_opt.c: New test. | |
4639 | ||
4640 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never | |
4641 | reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY | |
4642 | NLMSG_ERR. Instead use a page sized buffer. | |
4643 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized | |
4644 | buffer. | |
4645 | ||
aea1d19e RH |
4646 | 2007-03-14 Richard Henderson <rth@redhat.com> |
4647 | ||
b6df547c RH |
4648 | * sysdeps/alpha/fpu/s_llround.c: New file. |
4649 | * sysdeps/alpha/fpu/s_llroundf.c: New file. | |
4650 | * sysdeps/alpha/fpu/s_lround.c: New file. | |
4651 | * sysdeps/alpha/fpu/s_lroundf.c: New file. | |
4652 | * sysdeps/alpha/fpu/s_round.c: New file. | |
4653 | * sysdeps/alpha/fpu/s_roundf.c: New file. | |
4654 | * sysdeps/alpha/fpu/s_trunc.c: New file. | |
4655 | * sysdeps/alpha/fpu/s_truncf.c: New file. | |
4656 | ||
aea1d19e RH |
4657 | * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches. |
4658 | * sysdeps/alpha/fpu/s_ceilf.c: Likewise. | |
4659 | * sysdeps/alpha/fpu/s_floor.c: Likewise. | |
4660 | * sysdeps/alpha/fpu/s_floorf.c: Likewise. | |
4661 | * sysdeps/alpha/fpu/s_rint.c: Likewise. | |
4662 | * sysdeps/alpha/fpu/s_rintf.c: Likewise. | |
4663 | ||
4664 | * sysdeps/alpha/fpu/s_fmax.S: New file. | |
4665 | * sysdeps/alpha/fpu/s_fmaxf.S: New file. | |
4666 | * sysdeps/alpha/fpu/s_fmin.S: New file. | |
4667 | * sysdeps/alpha/fpu/s_fminf.S: New file. | |
4668 | * sysdeps/alpha/fpu/s_isnan.c: New file. | |
4669 | * sysdeps/alpha/fpu/s_isnanf.c: New file. | |
4670 | * sysdeps/alpha/fpu/s_llrint.c: New file. | |
4671 | * sysdeps/alpha/fpu/s_llrintf.c: New file. | |
4672 | * sysdeps/alpha/fpu/s_lrint.c: New file. | |
4673 | * sysdeps/alpha/fpu/s_lrintf.c: New file. | |
4674 | * sysdeps/alpha/fpu/s_nearbyint.c: New file. | |
4675 | * sysdeps/alpha/fpu/s_nearbyintf.c: New file. | |
4676 | ||
4677 | * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove. | |
4678 | (__fdimf, fdimf, __fdim, fdim): Remove. | |
4679 | (__signbitf, __signbit, __signbitl): Use gcc builtin if available. | |
4680 | (__isnanf, __isnan, __isnanl): New. | |
4681 | ||
9e43b50d RH |
4682 | 2007-03-13 Richard Henderson <rth@redhat.com> |
4683 | ||
4684 | * sysdeps/ieee754/ldbl-128/Makefile: New file. | |
4685 | ||
62789da3 RH |
4686 | 2007-03-13 Richard Henderson <rth@redhat.com> |
4687 | ||
4688 | * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. | |
4689 | * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. | |
4690 | * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. | |
4691 | * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. | |
4692 | * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. | |
4693 | * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. | |
4694 | ||
47dbe62b RH |
4695 | 2007-03-13 Richard Henderson <rth@redhat.com> |
4696 | ||
37f40235 | 4697 | * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV. |
47dbe62b RH |
4698 | * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. |
4699 | * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. | |
4700 | * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): | |
4701 | Move to dl-auxv.h; initialize instead of extern weak. | |
4702 | (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef | |
4703 | weak symbol. | |
4704 | * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): | |
4705 | Extern instead of initialized. | |
4706 | ||
b8097bed RH |
4707 | 2007-03-13 Richard Henderson <rth@redhat.com> |
4708 | ||
4709 | * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for | |
4710 | __sigsuspend_nocancel. | |
4711 | ||
6bf4a686 UD |
4712 | 2007-03-06 Ulrich Drepper <drepper@redhat.com> |
4713 | ||
4714 | * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for | |
4715 | 172.16/12 address range. | |
4716 | ||
0b3b1a0c UD |
4717 | 2007-03-02 Jakub Jelinek <jakub@redhat.com> |
4718 | ||
4719 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with | |
4720 | a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC | |
4721 | message. | |
4722 | ||
8f3edfee UD |
4723 | 2007-03-01 Jakub Jelinek <jakub@redhat.com> |
4724 | ||
c1c5e654 | 4725 | [BZ #4069] |
8f3edfee UD |
4726 | * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN |
4727 | earlier. | |
4728 | * math/libm-test.inc (pow_test): Add more tests involving NaNs. | |
4729 | ||
4730 | * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception | |
4731 | for x qNaN and y either +-inf or non-integer value. | |
4732 | * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise. | |
4733 | * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. | |
4734 | * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. | |
4735 | ||
245a1481 UD |
4736 | 2007-02-10 Mike Frysinger <vapier@gentoo.org> |
4737 | ||
4738 | * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h | |
4739 | from sysdep_headers. | |
4740 | ||
c217692b UD |
4741 | 2007-02-28 Jakub Jelinek <jakub@redhat.com> |
4742 | ||
4743 | * time/tzfile.c (find_transition): Instead of a linear search try to | |
4744 | guess the transition index, use a linear search if the result is at | |
4745 | most 10 transitions away from the guess or binary search otherwise. | |
4746 | ||
fe64626c JJ |
4747 | 2007-02-27 Jakub Jelinek <jakub@redhat.com> |
4748 | ||
4749 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix | |
4750 | memory reallocation. | |
4751 | ||
0f7769f7 UD |
4752 | 2007-02-21 Ulrich Drepper <drepper@redhat.com> |
4753 | ||
621c133d UD |
4754 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions |
4755 | and fix some typos. | |
4756 | Optimize use of TOLOWER. | |
9cf147d8 | 4757 | |
cdfd61e1 UD |
4758 | [BZ #3325] |
4759 | * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem. | |
4760 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
4761 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
4762 | ||
8889e7aa UD |
4763 | [BZ #3458] |
4764 | * sysdeps/unix/sysv/linux/posix_madvise.c: New file. | |
4765 | * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry. | |
4766 | ||
63a2f305 UD |
4767 | [BZ #4076] |
4768 | * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /. | |
4769 | (open_dir_stream): Likewise. | |
4770 | * io/Makefile (tests): Add bug-ftw5. | |
c536b9b8 | 4771 | * io/bug-ftw5.c: New file. |
63a2f305 | 4772 | |
c8703f88 UD |
4773 | * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional. |
4774 | * nscd/servicescache.c (cache_addserv): Likewise. | |
4775 | ||
4776 | * nscd/grpcache.c (cache_addgr): In case a record changed on | |
4777 | refresh, adjust key_copy. | |
4778 | ||
61705e06 UD |
4779 | [BZ #4074] |
4780 | * nscd/pwdcache.c (cache_addpw): In case a record changed on | |
4781 | refresh, adjust key_copy. | |
4782 | ||
0f7769f7 UD |
4783 | [BZ #4070] |
4784 | * stdio-common/printf_fp.c (___printf_fp): Handle a few more | |
0f7769f7 | 4785 | special cases. |
8889e7aa | 4786 | * stdio-common/tfformat.c (sprint_doubles): Some more tests. |
0f7769f7 | 4787 | |
3979024a UD |
4788 | 2007-02-19 Ulrich Drepper <drepper@redhat.com> |
4789 | ||
4c02bf1a UD |
4790 | * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor |
4791 | optimization. | |
4792 | ||
3979024a UD |
4793 | * stdio-common/vfscanf.c: Small cleanups throughout. |
4794 | ||
821d3e70 UD |
4795 | 2007-02-18 Ulrich Drepper <drepper@redhat.com> |
4796 | ||
2484468b UD |
4797 | [BZ #3325] |
4798 | * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem. | |
4799 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
4800 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
4801 | Patch by Jared Casper <jaredcasper@gmail.com>. | |
4802 | ||
858ee15d UD |
4803 | * sysdeps/unix/closedir.c: Outside libc don't use locking. |
4804 | * sysdeps/unix/opendir.c: Likewise. | |
4805 | * sysdeps/unix/readdir.c: Likewise. | |
4806 | ||
ecb72bd5 UD |
4807 | [BZ #2211] |
4808 | * stdio-common/vfscanf.c: Handle localized digits etc for floating | |
4809 | point numbers. | |
4810 | Patch mostly by Hamed Malek <hamed@farsiweb.info>. | |
4811 | ||
ac2ca022 UD |
4812 | * stdio-common/vfscanf.c: Fix problems in width accounting. |
4813 | * stdio-common/tst-sscanf.c (double_tests): New tests. | |
4814 | (main): Hook them up. | |
4815 | ||
e9bb5246 | 4816 | * stdio-common/vfscanf.c: Remove unused WIDTH handling. |
da50f001 | 4817 | More simplifications of floating-point reader. |
e9bb5246 | 4818 | |
821d3e70 UD |
4819 | * stdio-common/Makefile (tests): Add tst-swscanf. |
4820 | * stdio-common/tst-sscanf.c: Make tests usable for swscanf | |
4821 | testing. | |
4822 | * stdio-common/tst-swscanf.c: New file. | |
4823 | ||
07fb5185 UD |
4824 | 2007-02-17 Ulrich Drepper <drepper@redhat.com> |
4825 | ||
9138cc0b UD |
4826 | [BZ #2633] |
4827 | * libio/stdio.h: Define struct _IO_FILE in global namespace. | |
4828 | * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace. | |
4829 | Remove using for __jmp_buf_tag. | |
4830 | * locale/locale.h (struct lconv): Also define in std namespace. | |
4831 | * wcsmbs/wchar.h: Move using declaration for tm out of namespace. | |
4832 | ||
6818d837 UD |
4833 | [BZ #3842] |
4834 | * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut | |
4835 | using __libc_enable_secure. | |
4836 | ||
15c4b5a4 UD |
4837 | [BZ #3818] |
4838 | * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define. | |
4839 | ||
5e9e9c14 UD |
4840 | [BZ #3745] |
4841 | * locale/programs/ld-collate.c (handle_ellipsis): Fix generation | |
4842 | of names for ellipsises. | |
4843 | ||
07fb5185 UD |
4844 | [BZ #3348] |
4845 | * malloc/memusage.sh: Cleanups. | |
4846 | * debug/xtrace.sh: Quoting and trap changes. | |
4847 | ||
8c6d1043 UD |
4848 | 2007-02-16 Ulrich Drepper <drepper@redhat.com> |
4849 | ||
07fb5185 UD |
4850 | * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries. |
4851 | ||
93e66914 | 4852 | * locale/iso-3166.def: Update entry for Serbia. |
93e36434 UD |
4853 | * locale/iso-4217.def: Define RSD, remove CSD. |
4854 | ||
ad0b348c UD |
4855 | * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16- |
4856 | and 64-bit operations. | |
4857 | ||
4858 | [BZ #4040] | |
4859 | * sysdeps/i386/i486/bits/atomic.h: One more change, this time for | |
4860 | 16-bit operations. | |
4861 | ||
8c6d1043 UD |
4862 | * nscd/nscd.c (parse_opt): One more conversion to use send instead |
4863 | of writev. | |
4864 | ||
987f54c6 UD |
4865 | 2007-02-15 Ulrich Drepper <drepper@redhat.com> |
4866 | ||
b3715c05 UD |
4867 | [BZ #3991] |
4868 | * assert/assert.h (assert): Simplify. | |
4869 | (assert_perror): Likewise. | |
4870 | Patch by Israel G. Lugo <ilugo@bridonsecurity.com>. | |
4871 | ||
6eea8e0d UD |
4872 | * nscd/nscd_helper.c (open_socket): Don't send padding bytes from |
4873 | reqdata. | |
4874 | ||
987f54c6 UD |
4875 | * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic |
4876 | change: don't pass NULL in place of an integer. | |
4877 | ||
3dc08a7e UD |
4878 | 2007-02-02 Bruno Haible <bruno@clisp.org> |
4879 | ||
06c17c78 UD |
4880 | [BZ #3954] |
4881 | * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs): | |
4882 | Add mapping for U+327E. | |
4883 | * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment. | |
4884 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable | |
4885 | mapping of 0xD9 0xE8. | |
4886 | * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable | |
4887 | mapping of U+327E. | |
4888 | Reported by Jungshik Shin <jungshik@google.com>. | |
4889 | ||
4890 | [BZ #3955] | |
3dc08a7e UD |
4891 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable |
4892 | mapping of 0xD9 0xE6 and of 0xD9 0xE7. | |
4893 | Reported by Jungshik Shin <jungshik@google.com>. | |
4894 | ||
a810e68c UD |
4895 | 2007-02-14 Ulrich Drepper <drepper@redhat.com> |
4896 | ||
4897 | * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some | |
4898 | byte variants. | |
4899 | ||
4900 | [BZ #4040] | |
4901 | * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some | |
4902 | byte variants. Patch mostly be tom@tommay.net. | |
4903 | ||
05f135ba UD |
4904 | 2007-02-14 Jakub Jelinek <jakub@redhat.com> |
4905 | ||
4906 | [BZ #3996] | |
4907 | * posix/glob.c (attribute_hidden): Define if not defined. | |
4908 | (glob): Unescape dirname, filename or username when needed and not | |
4909 | GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename | |
4910 | is NULL. Handle unescaped [ in pattern without closing ]. | |
4911 | Don't pass GLOB_CHECK down to recursive glob for directories. | |
4912 | (__glob_pattern_type): New function. | |
4913 | (__glob_pattern_p): Implement using __glob_pattern_type. | |
4914 | (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta | |
4915 | characters and backslashes if not GLOB_NOESCAPE or unterminated [. | |
4916 | Remove unreachable code. | |
4917 | * posix/globtest.sh: Add a couple of new tests. | |
4918 | ||
2f699967 UD |
4919 | 2007-02-13 Ulrich Drepper <drepper@redhat.com> |
4920 | ||
4921 | * po/ru.po: Update from translation team. | |
4922 | ||
3a7cd5b4 JJ |
4923 | 2007-02-12 Jakub Jelinek <jakub@redhat.com> |
4924 | ||
4925 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ | |
4926 | to the list of i486+ CPUs. | |
4927 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
4928 | ||
2f978feb UD |
4929 | 2007-02-12 Ulrich Drepper <drepper@redhat.com> |
4930 | ||
4931 | * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference. | |
4932 | * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined | |
4933 | references. | |
4934 | ||
2bbb7d5b UD |
4935 | 2007-02-09 Ulrich Drepper <drepper@redhat.com> |
4936 | ||
5ed61e0f UD |
4937 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. |
4938 | ||
2bbb7d5b UD |
4939 | * resolv/res_init.c (res_setoptions): Recognize edns0 option. |
4940 | * resolv/res_mkquery.c: Define __res_nopt. | |
4941 | * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set | |
4942 | try adding EDNS0 record. | |
4943 | * resolv/res_send.c (send_dg): If request failed with FORMERR and | |
4944 | EDNS0 record was send make sure we don't try it again. | |
4945 | * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0. | |
4946 | * include/resolv.h: Declare __res_nopt. | |
4947 | ||
00458b5b UD |
4948 | 2007-02-08 Jakub Jelinek <jakub@redhat.com> |
4949 | ||
4950 | [BZ #3944] | |
4951 | * time/strptime_l.c (__strptime_internal): Set have_mon for | |
4952 | %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday | |
4953 | have been computed from tm_yday and tm_year. Don't crash | |
4954 | in day_of_the_week or day_of_the_year if not have_mon | |
4955 | and tm_mon contains bogus value. | |
4956 | * time/Makefile (tests): Add tst-strptime3. | |
4957 | * time/tst-strptime3.c: New test. | |
4958 | ||
784aacea UD |
4959 | 2007-02-05 Jakub Jelinek <jakub@redhat.com> |
4960 | ||
4961 | [BZ #3957] | |
4962 | * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0' | |
4963 | bit for RE_HAT_LISTS_NOT_NEWLINE. | |
4964 | (build_charclass_op): Remove bogus comment. | |
4965 | * posix/Makefile (tests): Add bug-regex27 and bug-regex28. | |
4966 | * posix/bug-regex27.c: New test. | |
4967 | * posix/bug-regex28.c: New test. | |
4968 | ||
bf7a2463 UD |
4969 | 2007-02-03 Ulrich Drepper <drepper@redhat.com> |
4970 | ||
4971 | * po/sv.po: Update from translation team. | |
4972 | ||
f2ccf983 UD |
4973 | 2007-02-02 Ulrich Drepper <drepper@redhat.com> |
4974 | ||
4975 | * nscd/nscd_helper.c (open_socket): Minor size optimization. | |
4976 | ||
73f50d5a UD |
4977 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
4978 | ||
4979 | * include/locale.h (__uselocale): Add libc_hidden_proto. | |
4980 | * locale/uselocale.c (__uselocale): Add libc_hidden_def. | |
4981 | ||
f6bf9e59 JJ |
4982 | * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of |
4983 | gettimeofday. | |
4984 | ||
4a44ce79 UD |
4985 | 2007-02-01 Ulrich Drepper <drepper@redhat.com> |
4986 | ||
4987 | * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before | |
4988 | returning. | |
4989 | (PTR_DEMANGLE): Real definition now that it's not the same as | |
4990 | PRT_MANGLE anymore. | |
4991 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
4992 | ||
4993 | * string/strerror_l.c: New file. | |
4994 | * string/Makefile (routines): Add strerror_l. | |
4995 | * string/string.h: Declare strerror_l. | |
4996 | * string/Versions: Export strerror_l for GLIBC_2.6. | |
4997 | ||
58a2d52e UD |
4998 | 2007-01-31 Ulrich Drepper <drepper@redhat.com> |
4999 | ||
5000 | * nscd/nscd_helper.c (open_socket): Now takes request type and key | |
5001 | as parameter. Construct request record. Try sending request | |
5002 | before the first poll use, it usually succeeds. Adjust all | |
5003 | callers. | |
5004 | * nscd/nscd-client.h: Define MAXKEYLEN. | |
4a44ce79 | 5005 | * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here. |
58a2d52e | 5006 | |
1a77d37f JJ |
5007 | 2007-01-31 Jakub Jelinek <jakub@redhat.com> |
5008 | ||
5009 | * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier | |
5010 | from return value. | |
5011 | * nscd/nscd_helper.c: Include string.h. | |
5012 | (__nscd_cache_search): Remove const qualifier from return value. | |
5013 | On strict alignment architectures check hash entry and data head | |
5014 | alignment. | |
5015 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because | |
5016 | mmapped data during GC cycle contains garbage. If | |
5017 | __nscd_drop_map_ref fails, decrement mapped->counter when returning | |
5018 | error or if retrying with NO_MAPPING, only __nscd_unmap if counter | |
5019 | dropped to 0. | |
5020 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
5021 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
5022 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
5023 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
5024 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
5025 | ||
ee314200 UD |
5026 | 2007-01-30 Ulrich Drepper <drepper@redhat.com> |
5027 | ||
5028 | * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. | |
5029 | ||
14c8bf3b UD |
5030 | 2007-01-26 Ulrich Drepper <drepper@redhat.com> |
5031 | ||
5032 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register | |
5033 | names not numbers in cfi_*. | |
5034 | ||
d2708e67 AJ |
5035 | 2007-01-26 Andreas Jaeger <aj@suse.de> |
5036 | ||
5037 | * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, | |
14c8bf3b | 5038 | ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add. |
d2708e67 AJ |
5039 | Correct values of PER_HPUX and PER_OSF4. |
5040 | ||
7fbc8784 UD |
5041 | 2007-01-24 Ulrich Drepper <drepper@redhat.com> |
5042 | ||
8aaf53ee | 5043 | * elf/dl-minimal.c: Undefine _itoa first. |
7fbc8784 UD |
5044 | * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. |
5045 | * malloc/mtrace.c: Revert last change. | |
5046 | * posix/wordexp.c: Likewise. | |
5047 | ||
9d6cde3d UD |
5048 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
5049 | ||
5050 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ | |
5051 | and __geode__ to the list of i486+ CPUs. | |
5052 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
5053 | ||
c1f0486a UD |
5054 | 2007-01-23 Ulrich Drepper <drepper@redhat.com> |
5055 | ||
5056 | * stdio-common/_itoa.c: Include <limits.h>. | |
5057 | * stdio-common/_itowa.c: Likewise. | |
5058 | ||
6cae3957 UD |
5059 | 2007-01-22 Ulrich Drepper <drepper@redhat.com> |
5060 | ||
765bbb24 UD |
5061 | * stdio-common/_itowa.c: Don't compile _itowa for 64-bit |
5062 | platforms. | |
5063 | * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for | |
5064 | 64-bit platforms. | |
5065 | * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if | |
5066 | possible. | |
5067 | * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa | |
5068 | if possible. | |
5069 | ||
6cae3957 UD |
5070 | [BZ #3902] |
5071 | * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. | |
5072 | * stdio-common/Makefile (tests): Add bug17. | |
5073 | * stdio-common/bug17.c: New file. | |
5074 | ||
ddaafd04 UD |
5075 | 2007-01-19 Ulrich Drepper <drepper@redhat.com> |
5076 | ||
5077 | * iconvdata/brf.c: New file. | |
439201de UD |
5078 | * iconvdata/testdata/BRF: New file. |
5079 | * iconvdata/testdata/BRF..UTF8: New file. | |
5080 | Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
ddaafd04 UD |
5081 | * iconvdata/Makefile: Add rules to build BRF. |
5082 | * iconvdata/TESTS: Add BRF entry. | |
5083 | * iconvdata/gconv-modules: Likewise. | |
5084 | * iconvdata/tst-tables.sh: Likewise. | |
ddaafd04 | 5085 | |
9e6e344e UD |
5086 | 2007-01-18 Anton Nikishaev <anton.nik@gmail.com> |
5087 | ||
5088 | * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of | |
5089 | type `long long int', not `long int'. | |
5090 | (wcstoq): Likewise. | |
5091 | ||
299f7b0f UD |
5092 | 2007-01-18 Ulrich Drepper <drepper@redhat.com> |
5093 | ||
5094 | * scripts/gen-as-const.awk: Add cast to long to avoid int promotion | |
5095 | of values on 64-bit platforms which are too large. | |
5096 | ||
cd8127cc JJ |
5097 | 2007-01-12 Steven Munroe <sjmunroe@us.ibm.com> |
5098 | Joe Kerian <jkerian@us.us.ibm.com> | |
5099 | ||
5100 | [BZ #2749] | |
5101 | * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include | |
5102 | <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro. | |
5103 | (__copysignl): Use signbit() for comparison. | |
5104 | * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for | |
5105 | SET_LDOUBLE_WORDS64. | |
5106 | ||
5107 | [BZ #2423, #2749] | |
5108 | * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>. | |
5109 | (__ceill): Remove calls to fegetround(), fesetround(). | |
5110 | * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. | |
5111 | * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. | |
5112 | * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. | |
5113 | ||
b3acfdf7 JJ |
5114 | 2007-01-17 Jakub Jelinek <jakub@redhat.com> |
5115 | ||
4a2e03c6 JJ |
5116 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos. |
5117 | ||
b3acfdf7 JJ |
5118 | * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. |
5119 | ||
1476bce6 UD |
5120 | 2007-01-17 Ulrich Drepper <drepper@redhat.com> |
5121 | ||
5122 | * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to | |
5123 | demangle pointer. | |
5124 | * csu/libc-start.c: Likewise. | |
5125 | ||
d78bce1c UD |
5126 | 2007-01-16 Ulrich Drepper <drepper@redhat.com> |
5127 | ||
5128 | * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot | |
5129 | really work anyway. | |
5130 | ||
1bd79025 UD |
5131 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
5132 | ||
000b027e UD |
5133 | * nscd/connections.c (servinfo): Renamed to reqinfo. Change all |
5134 | users. | |
5135 | (handle_request): Remove unnecessary tests. | |
5136 | ||
1bd79025 UD |
5137 | * nscd/cache.c (cache_add): Record the failure to add to the cache. |
5138 | ||
d68f5d2c JJ |
5139 | 2007-01-15 Jakub Jelinek <jakub@redhat.com> |
5140 | ||
5141 | * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear | |
5142 | workbits in semi-raw fraction. | |
5143 | ||
5144 | * math/test-misc.c: Add new tests. | |
5145 | ||
5146 | 2007-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
5147 | ||
5148 | * math/basic-test.c: Include test-skeleton.c. | |
5149 | (TEST_TRUNC): Define. | |
5150 | (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. | |
5151 | (main): Rename to ... | |
5152 | (do_test): ...this. Run new tests. | |
5153 | (TEST_FUNCTION): Define. | |
5154 | ||
5155 | 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com> | |
5156 | Joe Kerian <jkerian@us.us.ibm.com> | |
5157 | ||
5158 | [BZ #2749] | |
5159 | * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow | |
5160 | handling for high words. | |
5161 | * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact | |
5162 | and overflow for infinity. | |
5163 | ||
4e35ef2c UD |
5164 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
5165 | ||
2a1dea97 UD |
5166 | * nscd/connections.c (handle_request): Add a __builtin_expect. |
5167 | ||
9691d83c UD |
5168 | * nscd/connections.c (serv2db): Change type into structure which |
5169 | also says whether this is a request for data. Renamed to | |
5170 | servinfo. All users changed. | |
5171 | (handle_request): Much simpler test whether we should search the cache. | |
5172 | ||
49ee6d79 UD |
5173 | * nscd/connections.c (handle_request): Fix thinko in selinux test |
5174 | invocation. | |
5175 | ||
4e35ef2c UD |
5176 | * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. |
5177 | * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock | |
5178 | it before getting dl_load_lock and then relock. | |
5179 | (_dl_lookup_symbol_x): Pass flags to add_dependency. | |
5180 | When rerunning _dl_lookup_symbol_x, compute symbol_scope again in | |
5181 | case we unlocked the scope. | |
5182 | * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to | |
5183 | _dl_lookup_symbol_x in case we locked the scope. | |
5184 | (_dl_profile_fixup): Likewise. | |
5185 | * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also | |
5186 | set DL_LOOKUP_SCOPE_LOCK. | |
5187 | ||
23691ab2 UD |
5188 | 2007-01-13 Ulrich Drepper <drepper@redhat.com> |
5189 | ||
fb453d08 UD |
5190 | * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and |
5191 | CFLAGS-getsrvbynpt_r.c. | |
5192 | * nscd/getsrvbynm_r.c: New file. | |
5193 | * nscd/getsrvbypt_r.c: New file. | |
5194 | * nscd/nscd_getserv_r.c: New file. | |
5195 | * nscd/servicescache.c: New file. | |
5196 | * nscd/Makefile (routines): Add nscd_getserv_r. | |
5197 | (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache. | |
5198 | Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and | |
5199 | CFLAGS-getsrvbypt_r.c. | |
5200 | * nscd/cache.c (prune_cache): Rewrite to get re-add function from | |
5201 | table. Add entries for services database. | |
5202 | * nscd/connections.c (serv2str): Mark as const. Add entries for | |
5203 | services database. | |
5204 | (dbs): Add .reset_res and servdb initialization. | |
5205 | (serv2db): Add entries for services database. | |
5206 | (verify_persistent_db): Accept dbnr == servdb. | |
5207 | (invalidate_cache): Rewrite database name recognition to use a table. | |
5208 | Call res_init() if .reset_res is set for database. | |
5209 | (handle_request): Add code to handle services database. | |
5210 | * nscd/gai.c: Don't define __getservbyname_r. | |
5211 | * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add | |
5212 | GETSERVBYNAME, GETSERVBYPORT, GETFDSERV. | |
5213 | (serv_response_header): Define. | |
5214 | (struct datahead): Add serv_response_header member. | |
5215 | * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value | |
5216 | using table. | |
5217 | * nscd/nscd.conf: Add entries for services database. | |
5218 | * nscd/nscd.h: Adjust declaration of dbnames and serv2str. | |
5219 | Declare serv_iov_disabled. | |
5220 | Declare addservbyname, readdservbyname, addservbyport, and | |
5221 | readdservbyport. | |
5222 | * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry. | |
5223 | (find_db): Fix error message. | |
5224 | * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services, | |
5225 | __nscd_getservbyname_r, and __nscd_getservbyport_r. | |
5226 | * nscd/selinux.c (perms): Add entries for services database. | |
5227 | * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE. | |
5228 | * nss/nsswitch.c (__nss_disable_nscd): Also disable services database. | |
5229 | ||
5230 | * nscd/grpcache.c: Remove obsolete code. Cleanups. | |
5231 | * nscd/hstcache.c: Likewise. | |
5232 | * nscd/pwdcache.c: Likewise. | |
5233 | ||
b21fa963 UD |
5234 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct |
5235 | computation of keylen. | |
5236 | ||
23691ab2 UD |
5237 | * include/string.h: Only redefine strndupa if this is really for |
5238 | libc code. | |
5239 | ||
8980796b UD |
5240 | 2007-01-12 Ulrich Drepper <drepper@redhat.com> |
5241 | ||
4a4a65f2 UD |
5242 | * nscd/nscd_gethst_r.c: Minor cleanups. |
5243 | ||
43397eaf UD |
5244 | * nscd/connections.c (handle_request): Check selinux permissions |
5245 | for all non-admin commands. | |
5246 | ||
038a1a9f UD |
5247 | * sysdeps/i386/i486/bits/atomic.h: Define |
5248 | atomic_compare_and_exchange_val_acq, | |
5249 | atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add | |
5250 | using __sync_* built-ins for gcc >= 4.1. | |
5251 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
5252 | ||
8980796b UD |
5253 | [BZ #3840] |
5254 | * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d, | |
5255 | and .oS.d files. | |
5256 | ||
32c075e1 JJ |
5257 | 2007-01-05 Steven Munroe <sjmunroe@us.ibm.com> |
5258 | ||
5259 | * stdlib/tst-makecontext.c: Include errno.h. Change main() | |
5260 | to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. | |
5261 | (do_test): Check errno and exit(0) if ENOSYS. | |
5262 | ||
5263 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> | |
5264 | ||
5265 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte | |
5266 | thousands separators. | |
5267 | * stdlib/Makefile: Add rules to build and run tst-strtod4. | |
5268 | * stdlib/tst-strtod4.c: New test. | |
5269 | ||
5270 | [BZ #3855] | |
5271 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by | |
5272 | hexadecimal digit should accept just the initial 0. | |
5273 | * stdlib/tst-strtod2.c (tests): New variable. | |
5274 | (do_test): Run several tests rather than just one. | |
5275 | ||
11bf311e | 5276 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> |
df859a0c | 5277 | |
11bf311e UD |
5278 | * sysdeps/i386/soft-fp/sfp-machine.h: Remove. |
5279 | * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. | |
df859a0c | 5280 | |
11bf311e | 5281 | 2007-01-10 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 5282 | |
11bf311e UD |
5283 | * io/fts.c: Make sure fts_cur is always valid after return from |
5284 | fts_read. | |
5285 | Patch by Miloslav Trmac <mitr@redhat.com>. | |
64a0aa0f | 5286 | |
11bf311e | 5287 | 2006-10-27 Richard Sandiford <richard@codesourcery.com> |
32c075e1 | 5288 | |
11bf311e UD |
5289 | * elf/elf.h (R_MIPS_GLOB_DAT): Define. |
5290 | (R_MIPS_NUM): Bump by 1. | |
32c075e1 | 5291 | |
11bf311e | 5292 | 2007-01-03 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 5293 | |
11bf311e UD |
5294 | * posix/execvp.c: Include alloca.h. |
5295 | (allocate_scripts_argv): Renamed to... | |
5296 | (scripts_argv): ... this. Don't allocate buffer here nor count | |
5297 | arguments. | |
5298 | (execvp): Use alloca if possible. | |
5299 | * posix/Makefile: Add rules to build and run tst-vfork3 test. | |
5300 | * posix/tst-vfork3.c: New test. | |
32c075e1 JJ |
5301 | |
5302 | 2007-01-03 Ulrich Drepper <drepper@redhat.com> | |
5303 | ||
5304 | * string/Makefile (tst-strxfrm2-ENV): Define. | |
11bf311e | 5305 | * stdlib/Makefile (tst-strtod3-ENV): Define. |
32c075e1 | 5306 | |
11bf311e | 5307 | 2007-01-02 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 5308 | |
11bf311e UD |
5309 | * posix/getconf.c: Update copyright year. |
5310 | * nss/getent.c: Likewise. | |
5311 | * iconv/iconvconfig.c: Likewise. | |
5312 | * iconv/iconv_prog.c: Likewise. | |
5313 | * elf/ldconfig.c: Likewise. | |
5314 | * catgets/gencat.c: Likewise. | |
5315 | * csu/version.c: Likewise. | |
5316 | * elf/ldd.bash.in: Likewise. | |
5317 | * elf/sprof.c (print_version): Likewise. | |
5318 | * locale/programs/locale.c: Likewise. | |
5319 | * locale/programs/localedef.c: Likewise. | |
5320 | * nscd/nscd.c (print_version): Likewise. | |
5321 | * debug/xtrace.sh: Likewise. | |
5322 | * malloc/memusage.sh: Likewise. | |
5323 | * malloc/mtrace.pl: Likewise. | |
5324 | * debug/catchsegv.sh: Likewise. | |
64a0aa0f | 5325 | |
11bf311e | 5326 | 2006-12-24 Ulrich Drepper <drepper@redhat.com> |
48576885 | 5327 | |
11bf311e UD |
5328 | * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment |
5329 | attempts. | |
48576885 | 5330 | |
11bf311e | 5331 | 2006-12-23 Ulrich Drepper <drepper@redhat.com> |
3b6667a4 | 5332 | |
11bf311e | 5333 | * posix/wordexp.c: Remove some unnecessary tests. |
3b6667a4 | 5334 | |
33c6de58 UD |
5335 | 2006-12-22 Gavin Romig-Koch <gavin@redhat.com> |
5336 | ||
5337 | * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't | |
5338 | blacklist the group till after we look it up. | |
5339 | ||
fc242bef UD |
5340 | 2006-12-21 Ulrich Drepper <drepper@redhat.com> |
5341 | ||
5342 | * include/atomic.h (atomic_forced_read): New macro. | |
5343 | ||
11bf311e UD |
5344 | 2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
5345 | ||
5346 | * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file. | |
5347 | ||
a12dcecc UD |
5348 | 2006-12-19 Jakub Jelinek <jakub@redhat.com> |
5349 | ||
11bf311e UD |
5350 | * nss/getXXbyYY_r.c: Include atomic.h. |
5351 | (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, | |
5352 | add atomic_write_barrier () in between. | |
5353 | ||
a12dcecc UD |
5354 | * stdlib/Makefile (tests): Add tst-makecontext. |
5355 | * stdlib/tst-makecontext.c: New test. | |
5356 | ||
5357 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S | |
5358 | (__makecontext): Don't realign uc_mcontext.uc_regs. | |
5359 | ||
11bf311e | 5360 | 2006-11-28 Jakub Jelinek <jakub@redhat.com> |
594d423a | 5361 | |
11bf311e UD |
5362 | * elf/dl-support.c: Include dl-procinfo.h. |
5363 | * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, | |
5364 | PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, | |
5365 | PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): | |
5366 | Define. | |
5367 | (_dl_string_platform): Use PPC_PLATFORM_* macros instead of | |
5368 | hardcoded constants. | |
5369 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use | |
5370 | PPC_PLATFORM_* macros for array designators. | |
594d423a | 5371 | |
11bf311e | 5372 | 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com> |
594d423a | 5373 | |
11bf311e UD |
5374 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap |
5375 | names to the beginning. | |
5376 | (_dl_powerpc_platforms): Add "power6x". | |
5377 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
5378 | (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. | |
5379 | (_DL_PLATFORMS_COUNT): Increase. | |
5380 | (_dl_string_platform): Handle power6x case. | |
5381 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, | |
5382 | PPC_FEATURE_POWER6_EXT): Define. | |
5383 | (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. | |
594d423a | 5384 | |
5bcba0ed UD |
5385 | 2006-12-18 Jakub Jelinek <jakub@redhat.com> |
5386 | ||
5387 | [BZ #3747] | |
5388 | * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the | |
11bf311e | 5389 | [-2^31 .. 2^31) range. |
5bcba0ed UD |
5390 | * stdlib/tst-rand48.c (main): Fix expected values for 64-bit |
5391 | targets. | |
5392 | * stdlib/tst-rand48-2.c: New test. | |
5393 | * stdlib/Makefile (tests): Add tst-rand48-2. | |
5394 | ||
9e1444fc UD |
5395 | 2006-12-14 Jakub Jelinek <jakub@redhat.com> |
5396 | ||
5397 | * misc/tst-pselect.c (do_test): Fix sigblock argument. | |
5398 | ||
36775704 UD |
5399 | 2006-12-14 Ulrich Drepper <drepper@redhat.com> |
5400 | ||
5401 | * misc/tst-pselect.c (do_test): Make sure the helper process is | |
5402 | terminating when the test is aborted. | |
5403 | ||
1e88bd0f UD |
5404 | 2006-12-13 Ulrich Drepper <drepper@redhat.com> |
5405 | ||
11bf311e UD |
5406 | * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. |
5407 | * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): | |
5408 | Handle relatime mount option. | |
5409 | ||
1e88bd0f UD |
5410 | [BZ #2337] |
5411 | * libio/Makefile (tests): Add tst-setvbuf1. | |
5412 | * libio/tst-setvbuf1.c: New file. | |
5413 | ||
5414 | 2006-12-08 Jakub Jelinek <jakub@redhat.com> | |
5415 | ||
5416 | [BZ #2337] | |
5417 | * libio/genops.c (__uflow): Fix a typo. | |
5418 | * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat | |
5419 | nor set _IO_LINE_BUF bit here. Size the wide buffer based on | |
5420 | the narrow buffer size. | |
5421 | ||
5422 | 2006-11-24 Jakub Jelinek <jakub@redhat.com> | |
5423 | ||
5424 | [BZ #2337] | |
5425 | * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. | |
5426 | * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set | |
5427 | _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit | |
5428 | in _flags. | |
5429 | * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, | |
5430 | _IO_wstr_finish): Likewise. | |
5431 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
5432 | * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] | |
5433 | even for wide streams. | |
5434 | ||
11bf311e | 5435 | 2006-12-13 Jakub Jelinek <jakub@redhat.com> |
1f55ce48 | 5436 | |
11bf311e UD |
5437 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include |
5438 | kernel-features.h. | |
5439 | ||
5440 | 2006-12-11 Ulrich Drepper <drepper@redhat.com> | |
5441 | ||
5442 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand | |
5443 | separators also if no non-zero digits found. | |
5444 | * stdlib/Makefile (tests): Add tst-strtod3. | |
1f55ce48 | 5445 | |
d117c1ce UD |
5446 | 2006-12-09 Ulrich Drepper <drepper@redhat.com> |
5447 | ||
f85fb97b UD |
5448 | [BZ #3632] |
5449 | * include/features.h: Fix comment about default value for | |
5450 | _POSIX_C_SOURCE. | |
5451 | ||
11bf311e UD |
5452 | [BZ #3664] |
5453 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize | |
5454 | empty parsed strings. | |
5455 | * stdlib/Makefile (tests): Add tst-strtod2. | |
5456 | * stdlib/tst-strtod2.c: New file. | |
5457 | ||
5458 | [BZ #3673] | |
5459 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit | |
5460 | computation. | |
5461 | * stdlib/Makefile (tests): Add tst-atof2. | |
5462 | * stdlib/tst-atof2.c: New file. | |
5463 | ||
5464 | [BZ #3674] | |
5465 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value | |
5466 | correctly if removing trailing zero of hex-float. | |
5467 | * stdlib/Makefile (tests): Add tst-atof1. | |
5468 | * stdlib/tst-atof1.c: New file. | |
5469 | ||
a822d9f4 UD |
5470 | 2006-12-09 Jakub Jelinek <jakub@redhat.com> |
5471 | ||
11bf311e UD |
5472 | * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. |
5473 | Start searching for next comma at p rather than rest. | |
5474 | * misc/Makefile (tests): Add tst-mntent2. | |
5475 | * misc/tst-mntent2.c: New test. | |
5476 | ||
a822d9f4 UD |
5477 | * misc/getusershell.c (initshells): Check for integer overflows. |
5478 | Make strings buffer one bigger as fgets always succeeds when second | |
5479 | argument is 1. Don't use calloc for shells array. Disallow | |
11bf311e | 5480 | / as shell. |
f0d5e1f6 | 5481 | |
11bf311e | 5482 | 2006-12-08 Ulrich Drepper <drepper@redhat.com> |
f0d5e1f6 | 5483 | |
11bf311e UD |
5484 | * malloc/memusage.c: Handle realloc with new size of zero and |
5485 | non-NULL pointer correctly. | |
5486 | (me): Really write first record twice. | |
5487 | (struct entry): Make format bi-arch safe. | |
5488 | (dest): Write out more realloc statistics. | |
5489 | * malloc/memusagestat.c (struct entry): Make format bi-arch safe. | |
32c075e1 | 5490 | |
11bf311e | 5491 | 2006-12-05 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 5492 | |
11bf311e | 5493 | * nis/nis_subr.c (nis_getnames): Revert last change. |
32c075e1 | 5494 | |
f0d5e1f6 UD |
5495 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
5496 | ||
5497 | * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. | |
5498 | (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. | |
5499 | * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. | |
5500 | (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to | |
5501 | ENOTTY. | |
5502 | * io/Makefile: Add rules to build and run tst-ttyname_r test. | |
5503 | * io/tst-ttyname_r.c: New test. | |
5504 | ||
11bf311e | 5505 | 2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
5df4fe08 | 5506 | |
11bf311e | 5507 | * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed. |
5df4fe08 | 5508 | |
11bf311e | 5509 | 2006-11-30 H.J. Lu <hongjiu.lu@intel.com> |
ee50871d | 5510 | |
11bf311e UD |
5511 | * sysdeps/i386/i686/memcmp.S: Use jump table as the base of |
5512 | jump table entries. | |
5513 | ||
5514 | 2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> | |
5515 | ||
5516 | * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost | |
5517 | `clone' function to ensure proper unwinding stop of gdb. | |
5518 | * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. | |
5519 | ||
5520 | 2006-12-01 Ulrich Drepper <drepper@redhat.com> | |
5521 | ||
5522 | * nscd/nscd.init: Remove obsolete and commented-out -S option | |
5523 | handling. | |
5524 | ||
5525 | 2006-11-23 Jakub Jelinek <jakub@redhat.com> | |
5526 | ||
5527 | [BZ #3514] | |
5528 | * manual/string.texi (strncmp): Fix pastos from wcscmp description. | |
5529 | ||
5530 | [BZ #3515] | |
5531 | * manual/string.texi (strtok): Remove duplicate paragraph. | |
5532 | ||
5533 | 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com> | |
5534 | ||
5535 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with | |
5536 | libgcc not supporting `rflags' unwinding (register # >= 17). | |
5537 | ||
5538 | 2006-11-30 Jakub Jelinek <jakub@redhat.com> | |
5539 | ||
5540 | * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc | |
5541 | succeeded. | |
5542 | ||
5543 | 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com> | |
5544 | Jakub Jelinek <jakub@redhat.com> | |
5545 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
5546 | ||
5547 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct | |
5548 | unwind information. | |
5549 | * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for | |
5550 | 'restore_rt' even in the 'signal' directory. | |
5551 | * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list. | |
ee50871d | 5552 | |
b1a758f3 UD |
5553 | 2006-11-27 Jakub Jelinek <jakub@redhat.com> |
5554 | ||
5555 | [BZ #3559] | |
5556 | * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if | |
11bf311e UD |
5557 | malloc crashed. Don't allocate memory unnecessarily in each |
5558 | loop. | |
b1a758f3 | 5559 | |
11bf311e | 5560 | 2006-10-21 Jakub Jelinek <jakub@redhat.com> |
854d1124 | 5561 | |
11bf311e | 5562 | * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. |
dfc99a56 | 5563 | |
11bf311e | 5564 | 2006-11-20 Ulrich Drepper <drepper@redhat.com> |
dfc99a56 | 5565 | |
11bf311e | 5566 | * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. |
852d657c | 5567 | |
11bf311e | 5568 | 2006-11-18 Bruno Haible <bruno@clisp.org> |
852d657c | 5569 | |
11bf311e UD |
5570 | * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke |
5571 | __sysconf only after having tried to call getgroups32. | |
36c0a636 | 5572 | |
11bf311e | 5573 | 2006-11-19 Ulrich Drepper <drepper@redhat.com> |
36c0a636 | 5574 | |
11bf311e UD |
5575 | * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style |
5576 | addresses for IPv4 queries if they can be mapped. | |
b1f0c2a6 | 5577 | |
11bf311e | 5578 | 2006-11-16 Jakub Jelinek <jakub@redhat.com> |
b1f0c2a6 | 5579 | |
11bf311e UD |
5580 | * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text. |
5581 | * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise. | |
5582 | (signmask): Add .size directive. | |
5583 | (othermask): Add .type directive. | |
bef8927a | 5584 | |
11bf311e | 5585 | 2006-11-14 Ulrich Drepper <drepper@redhat.com> |
2c53fa20 | 5586 | |
11bf311e | 5587 | * po/nl.po: Update from translation team. |
854d1124 | 5588 | |
11bf311e | 5589 | * timezone/zdump.c: Redo fix for BZ #3137. |
3f1e9205 | 5590 | |
11bf311e | 5591 | 2006-11-14 Jakub Jelinek <jakub@redhat.com> |
bef8927a | 5592 | |
11bf311e UD |
5593 | * nss/nss_files/files-alias.c (get_next_alias): Set line back |
5594 | to first_unused after parsing :include: file. | |
5c2af134 | 5595 | |
32c075e1 | 5596 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> |
e1b37083 | 5597 | |
11bf311e UD |
5598 | * timezone/africa: Update from tzdata2006o. |
5599 | * timezone/antarctica: Likewise. | |
5600 | * timezone/asia: Likewise. | |
5601 | * timezone/australasia: Likewise. | |
5602 | * timezone/backward: Likewise. | |
5603 | * timezone/europe: Likewise. | |
5604 | * timezone/iso3166.tab: Likewise. | |
5605 | * timezone/northamerica: Likewise. | |
5606 | * timezone/southamerica: Likewise. | |
5607 | * timezone/zone.tab: Likewise. | |
5608 | ||
5609 | * time/tzfile.c (__tzfile_read): Extend to handle new file format | |
5610 | on machines with 64-bit time_t. | |
5611 | ||
5612 | * timezone/checktab.awk: Update from tzcode2006o. | |
5613 | * timezone/ialloc.c: Likewise. | |
5614 | * timezone/private.h: Likewise. | |
5615 | * timezone/scheck.c: Likewise. | |
5616 | * timezone/tzfile.h: Likewise. | |
5617 | * timezone/tzselect.ksh: Likewise. | |
5618 | * timezone/zdump.c: Likewise. | |
5619 | * timezone/zic.c: Likewise. | |
5620 | ||
5621 | [BZ #3483] | |
5622 | * elf/ldconfig.c (main): Call setlocale and textdomain. | |
5623 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
5624 | ||
5625 | [BZ #3480] | |
5626 | * manual/argp.texi: Fix typos. | |
5627 | * manual/charset.texi: Likewise. | |
5628 | * manual/errno.texi: Likewise. | |
5629 | * manual/filesys.texi: Likewise. | |
5630 | * manual/lang.texi: Likewise. | |
5631 | * manual/maint.texi: Likewise. | |
5632 | * manual/memory.texi: Likewise. | |
5633 | * manual/message.texi: Likewise. | |
5634 | * manual/resource.texi: Likewise. | |
5635 | * manual/search.texi: Likewise. | |
5636 | * manual/signal.texi: Likewise. | |
5637 | * manual/startup.texi: Likewise. | |
5638 | * manual/stdio.texi: Likewise. | |
5639 | * manual/sysinfo.texi: Likewise. | |
5640 | * manual/syslog.texi: Likewise. | |
5641 | * manual/time.texi: Likewise. | |
5642 | Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. | |
5643 | ||
5644 | [BZ #3465] | |
5645 | * sunrpc/clnt_raw.c: Minimal message improvements. | |
5646 | * sunrpc/pm_getmaps.c: Likewise. | |
5647 | * nis/nss_nisplus/nisplus-publickey.c: Likewise. | |
5648 | * nis/nis_print_group_entry.c: Likewise. | |
5649 | * locale/programs/repertoire.c: Likewise. | |
5650 | * locale/programs/charmap.c: Likewise. | |
5651 | * malloc/memusage.sh: Likewise. | |
5652 | * elf/dl-deps.c: Likewise. | |
5653 | * locale/programs/ld-collate.c: Likewise. | |
5654 | * libio/vswprintf.c: Likewise. | |
5655 | * malloc/memusagestat.c: Likewise. | |
5656 | * sunrpc/auth_unix.c: Likewise. | |
5657 | * sunrpc/rpc_main.c: Likewise. | |
5658 | * nscd/cache.c: Likewise. | |
5659 | * locale/programs/repertoire.c: Unify output messages. | |
5660 | * locale/programs/charmap.c: Likewise. | |
5661 | * locale/programs/ld-ctype.c: Likewise. | |
5662 | * locale/programs/ld-monetary.c: Likewise. | |
5663 | * locale/programs/ld-numeric.c: Likewise. | |
5664 | * locale/programs/ld-time.c: Likewise. | |
5665 | * elf/ldconfig.c: Likewise. | |
5666 | * nscd/selinux.c: Likewise. | |
5667 | * elf/cache.c: Likewise. | |
5668 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
5669 | ||
5c2af134 UD |
5670 | [BZ #3451] |
5671 | * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode | |
5672 | change atomic. | |
5673 | (ceil): Likewise. | |
5674 | ||
11bf311e UD |
5675 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> |
5676 | ||
5677 | * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization | |
5678 | if N is one bigger than return value. | |
5679 | * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 | |
5680 | and l1 last arguments, if buf is defined, verify the return value | |
5681 | equals to strlen (buf) and verify no byte beyond passed length | |
5682 | is modified. | |
5683 | ||
5684 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> | |
5685 | ||
5686 | * po/sv.po: Update from translation team. | |
5687 | ||
37afcf79 UD |
5688 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
5689 | ||
5690 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add | |
5691 | noinline attribute. | |
5692 | ||
5693 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> | |
5694 | ||
5695 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add | |
5696 | noinline attribute. | |
5697 | ||
11bf311e UD |
5698 | * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): |
5699 | Use __new_sys_siglist instead of _sys_siglist_internal as | |
5700 | second macro argument. | |
5701 | (_old_sys_siglist): Use declare_symbol_alias macro instead of | |
5702 | strong_alias. | |
2692deea | 5703 | |
11bf311e UD |
5704 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
5705 | ||
5706 | [BZ #3493] | |
5707 | * posix/unistd.h (sysconf): Remove const attribute. | |
5708 | ||
5709 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for | |
5710 | temporary or deprecated addresses. | |
5711 | Patch by Sridhar Samudrala <sri@us.ibm.com>. | |
5712 | ||
5713 | * string/Makefile (tests): Add tst-strxfrm2. | |
5714 | * string/tst-strxfrm2.c: New file. | |
5715 | ||
5716 | 2006-10-09 Jakub Jelinek <jakub@redhat.com> | |
5717 | ||
5718 | * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 | |
5719 | rather than r->r_brk. | |
2692deea UD |
5720 | |
5721 | 2006-11-08 Jakub Jelinek <jakub@redhat.com> | |
5722 | ||
11bf311e UD |
5723 | * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal |
5724 | optimization even if needed > n. | |
5725 | ||
2692deea UD |
5726 | * elf/dl-load.c (decompose_rpath): Return bool rather than void. |
5727 | If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and | |
5728 | return false, otherwise return true. | |
5729 | (cache_rpath): Return decompose_rpath return value. | |
5730 | ||
11bf311e UD |
5731 | 2006-11-07 Jakub Jelinek <jakub@redhat.com> |
5732 | ||
5733 | * include/libc-symbols.h (declare_symbol): Rename to... | |
5734 | (declare_symbol_alias): ... this. Add ORIGINAL argument, imply | |
5735 | strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes | |
5736 | .size directive. | |
5737 | * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias | |
5738 | changes. | |
5739 | * sysdeps/gnu/siglist.c: Likewise. | |
5740 | ||
5741 | 2006-11-03 Steven Munroe <sjmunroe@us.ibm.com> | |
5742 | ||
5743 | * sysdeps/powerpc/fpu/bits/mathinline.h | |
5744 | [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... | |
5745 | * sysdeps/powerpc/fpu/math_private.h: ...here. New file. | |
5746 | ||
5747 | 2006-11-05 Ulrich Drepper <drepper@redhat.com> | |
5748 | ||
5749 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): | |
5750 | Update handling of cache descriptor 0x49 for new models. | |
5751 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): | |
5752 | Likewise. | |
5753 | ||
9666e36c UD |
5754 | 2006-11-02 Jakub Jelinek <jakub@redhat.com> |
5755 | ||
5756 | * malloc/memusage.c (dest): Reset not_me back to false after | |
5757 | printing statistics. | |
5758 | ||
11bf311e UD |
5759 | 2006-11-02 Ulrich Drepper <drepper@redhat.com> |
5760 | ||
5761 | * configure.in: Work around ld --help change and avoid -z relro | |
5762 | test completely if the architecture doesn't care about security. | |
5763 | ||
5764 | 2006-11-01 Ulrich Drepper <drepper@redhat.com> | |
5765 | ||
5766 | * po/sv.po: Update from translation team. | |
5767 | ||
5768 | 2006-10-31 Ulrich Drepper <drepper@redhat.com> | |
5769 | ||
5770 | * stdlib/atexit.c (atexit): Don't mark as hidden when used to | |
5771 | generate compatibility version. | |
5772 | ||
5773 | 2006-10-29 Ulrich Drepper <drepper@redhat.com> | |
5774 | ||
5775 | * configure.in: Relax -z relro requirement a bit. | |
5776 | ||
5777 | * po/sv.po: Update from translation team. | |
5778 | ||
5779 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> | |
5780 | ||
5781 | * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. | |
5782 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. | |
5783 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
5784 | * elf/dl-open.c (_dl_open_worker): Likewise. | |
5785 | * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. | |
5786 | ||
b2369ca3 UD |
5787 | 2006-10-27 Ulrich Drepper <drepper@redhat.com> |
5788 | ||
11bf311e UD |
5789 | * configure.in: Require assembler support for visibility, compiler |
5790 | support for visibility and aliases, linker support for various -z | |
5791 | options. | |
5792 | * Makeconfig: Remove conditional code which now is unnecessary. | |
5793 | * config.h.in: Likewise. | |
5794 | * config.make.in: Likewise. | |
5795 | * dlfcn/Makefile: Likewise. | |
5796 | * elf/Makefile: Likewise. | |
5797 | * elf/dl-load.c: Likewise. | |
5798 | * elf/rtld.c: Likewise. | |
5799 | * include/libc-symbols.h: Likewise. | |
5800 | * include/stdio.h: Likewise. | |
5801 | * io/Makefile: Likewise. | |
5802 | * io/fstat.c: Likewise. | |
5803 | * io/fstat64.c: Likewise. | |
5804 | * io/fstatat.c: Likewise. | |
5805 | * io/fstatat64.c: Likewise. | |
5806 | * io/lstat.c: Likewise. | |
5807 | * io/lstat64.c: Likewise. | |
5808 | * io/mknod.c: Likewise. | |
5809 | * io/mknodat.c: Likewise. | |
5810 | * io/stat.c: Likewise. | |
5811 | * io/stat64.c: Likewise. | |
5812 | * libio/stdio.c: Likewise. | |
5813 | * nscd/Makefile: Likewise. | |
5814 | * stdlib/Makefile: Likewise. | |
5815 | * stdlib/atexit.c: Likewise. | |
5816 | * sysdeps/generic/ldsodefs.h: Likewise. | |
5817 | * sysdeps/i386/dl-machine.h: Likewise. | |
5818 | * sysdeps/i386/sysdep.h: Likewise. | |
5819 | * sysdeps/i386/i686/memcmp.S: Likewise. | |
5820 | * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. | |
5821 | * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. | |
5822 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. | |
5823 | ||
5824 | * Makerules: USE_TLS support is now default. | |
5825 | * tls.make.c: Likewise. | |
5826 | * csu/Versions: Likewise. | |
5827 | * csu/libc-start.c: Likewise. | |
5828 | * csu/libc-tls.c: Likewise. | |
5829 | * csu/version.c: Likewise. | |
5830 | * dlfcn/dlinfo.c: Likewise. | |
5831 | * elf/dl-addr.c: Likewise. | |
5832 | * elf/dl-cache.c: Likewise. | |
5833 | * elf/dl-close.c: Likewise. | |
5834 | * elf/dl-iteratephdr.c: Likewise. | |
5835 | * elf/dl-load.c: Likewise. | |
5836 | * elf/dl-lookup.c: Likewise. | |
5837 | * elf/dl-object.c: Likewise. | |
5838 | * elf/dl-open.c: Likewise. | |
5839 | * elf/dl-reloc.c: Likewise. | |
5840 | * elf/dl-support.c: Likewise. | |
5841 | * elf/dl-sym.c: Likewise. | |
5842 | * elf/dl-sysdep.c: Likewise. | |
5843 | * elf/dl-tls.c: Likewise. | |
5844 | * elf/ldconfig.c: Likewise. | |
5845 | * elf/rtld.c: Likewise. | |
5846 | * elf/tst-tls-dlinfo.c: Likewise. | |
5847 | * elf/tst-tls1.c: Likewise. | |
5848 | * elf/tst-tls10.h: Likewise. | |
5849 | * elf/tst-tls14.c: Likewise. | |
5850 | * elf/tst-tls2.c: Likewise. | |
5851 | * elf/tst-tls3.c: Likewise. | |
5852 | * elf/tst-tls4.c: Likewise. | |
5853 | * elf/tst-tls5.c: Likewise. | |
5854 | * elf/tst-tls6.c: Likewise. | |
5855 | * elf/tst-tls7.c: Likewise. | |
5856 | * elf/tst-tls8.c: Likewise. | |
5857 | * elf/tst-tls9.c: Likewise. | |
5858 | * elf/tst-tlsmod1.c: Likewise. | |
5859 | * elf/tst-tlsmod13.c: Likewise. | |
5860 | * elf/tst-tlsmod13a.c: Likewise. | |
5861 | * elf/tst-tlsmod14a.c: Likewise. | |
5862 | * elf/tst-tlsmod2.c: Likewise. | |
5863 | * elf/tst-tlsmod3.c: Likewise. | |
5864 | * elf/tst-tlsmod4.c: Likewise. | |
5865 | * elf/tst-tlsmod5.c: Likewise. | |
5866 | * elf/tst-tlsmod6.c: Likewise. | |
5867 | * include/errno.h: Likewise. | |
5868 | * include/link.h: Likewise. | |
5869 | * include/tls.h: Likewise. | |
5870 | * locale/global-locale.c: Likewise. | |
5871 | * locale/localeinfo.h: Likewise. | |
5872 | * malloc/arena.c: Likewise. | |
5873 | * malloc/hooks.c: Likewise. | |
5874 | * malloc/malloc.c: Likewise. | |
5875 | * resolv/Versions: Likewise. | |
5876 | * sysdeps/alpha/dl-machine.h: Likewise. | |
5877 | * sysdeps/alpha/libc-tls.c: Likewise. | |
5878 | * sysdeps/generic/ldsodefs.h: Likewise. | |
5879 | * sysdeps/generic/tls.h: Likewise. | |
5880 | * sysdeps/i386/dl-machine.h: Likewise. | |
5881 | * sysdeps/ia64/dl-machine.h: Likewise. | |
5882 | * sysdeps/ia64/libc-tls.c: Likewise. | |
5883 | * sysdeps/mach/hurd/fork.c: Likewise. | |
5884 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
5885 | * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. | |
5886 | * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. | |
5887 | * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. | |
5888 | * sysdeps/s390/libc-tls.c: Likewise. | |
5889 | * sysdeps/s390/s390-32/dl-machine.h: Likewise. | |
5890 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
5891 | * sysdeps/sh/dl-machine.h: Likewise. | |
5892 | * sysdeps/sparc/sparc32/dl-machine.h: Likewise. | |
5893 | * sysdeps/sparc/sparc64/dl-machine.h: Likewise. | |
5894 | * sysdeps/x86_64/dl-machine.h: Likewise. | |
5895 | ||
131c4428 UD |
5896 | * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and |
5897 | split out locking and parameter checking. | |
5898 | (_dl_close): Call _dl_close_worker after locking and checking. | |
5899 | * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of | |
5900 | _dl_close. | |
ffd0e1b7 UD |
5901 | * elf/Makefile: Add rules to build and run tst-thrlock. |
5902 | * elf/tst-thrlock.c: New file. | |
131c4428 | 5903 | |
11bf311e UD |
5904 | [BZ #3426] |
5905 | * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to | |
5906 | reality. | |
5907 | ||
b2369ca3 UD |
5908 | [BZ #3429] |
5909 | * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until | |
131c4428 | 5910 | we are sure we do not need it anymore for _dl_close. Also move |
b2369ca3 UD |
5911 | the asserts inside the lock region. |
5912 | Patch mostly by Suzuki <suzuki@in.ibm.com>. | |
5913 | ||
11bf311e UD |
5914 | 2006-10-27 Jakub Jelinek <jakub@redhat.com> |
5915 | ||
5916 | * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope | |
5917 | argument. | |
5918 | (_dl_lookup_symbol_x): Adjust caller. | |
5919 | ||
5920 | * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove | |
5921 | _ns_global_scope. | |
5922 | * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. | |
5923 | ||
5924 | * elf/dl-libc.c: Revert l_scope name changes. | |
5925 | * elf/dl-load.c: Likewise. | |
5926 | * elf/dl-object.c: Likewise. | |
5927 | * elf/rtld.c: Likewise. | |
5928 | * elf/dl-close.c (_dl_close): Likewise. | |
5929 | * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, | |
5930 | always use __rtld_mrlock_{change,done}. Always free old scope list | |
5931 | here if not l_scope_mem. | |
5932 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name | |
5933 | change. Never free scope list here. Just __rtld_mrlock_lock before | |
5934 | the lookup and __rtld_mrlock_unlock it after the lookup. | |
5935 | * elf/dl-sym.c: Likewise. | |
5936 | * include/link.h (struct r_scoperec): Remove. | |
5937 | (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem | |
5938 | with l_scope_mem and l_scoperec_lock with l_scope_lock. | |
5939 | ||
5940 | 2006-10-25 Ulrich Drepper <drepper@redhat.com> | |
5941 | ||
5942 | * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION. | |
5943 | ||
5944 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
5945 | ||
5946 | * configure.in: Disable building profile libraries by default. | |
5947 | ||
609cf614 UD |
5948 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> |
5949 | ||
5950 | * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses | |
5951 | as signed longs, check for x_base + pos overflow. | |
5952 | * sunrpc/Makefile (tests): Add tst-xdrmem2. | |
5953 | * sunrpc/tst-xdrmem2.c: New test. | |
5954 | ||
11bf311e UD |
5955 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> |
5956 | ||
5957 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to | |
5958 | _dl_lookup_symbol_x code. | |
5959 | ||
5960 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
5961 | ||
5962 | * elf/dl-runtime.c: Include sysdep-cancel.h. | |
5963 | (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and | |
5964 | scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* | |
5965 | instead of catomic_* macros. | |
5966 | * elf/dl-sym.c: Include sysdep-cancel.h. | |
5967 | (do_sym): Use __rtld_mrlock_* and scoperec->nusers only | |
5968 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
5969 | * elf/dl-close.c: Include sysdep-cancel.h. | |
5970 | (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only | |
5971 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
5972 | * elf/dl-open.c: Include sysdep-cancel.h. | |
5973 | (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only | |
5974 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
5975 | ||
5976 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
5977 | ||
5978 | [BZ #3313] | |
5979 | * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last | |
5980 | fastbin rather than end of fastbin array. | |
5981 | ||
5982 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
5983 | ||
5984 | * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct | |
5985 | body macro. | |
5986 | * sysdeps/x86_64/bits/atomic.h | |
5987 | (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. | |
5988 | (catomic_decrement): Use correct body macro. | |
5989 | ||
5990 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
5991 | ||
5992 | * include/atomic.h: Add a unique prefix to all local variables | |
5993 | in macros. | |
5994 | * csu/tst-atomic.c (do_test): Test also catomic_* macros. | |
5995 | ||
4a85a8ee UD |
5996 | 2006-10-16 Ulrich Drepper <drepper@redhat.com> |
5997 | ||
5998 | [BZ #3369] | |
5999 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 | |
6000 | and 7. | |
6001 | ||
11bf311e UD |
6002 | 2006-10-14 Ulrich Drepper <drepper@redhat.com> |
6003 | ||
6004 | * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated. | |
6005 | ||
ff8d96be UD |
6006 | 2006-10-13 Ulrich Drepper <drepper@redhat.com> |
6007 | ||
11bf311e UD |
6008 | [BZ #3313] |
6009 | * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to | |
6010 | determine highest fast bin to consolidate, always look into all of | |
6011 | them. | |
6012 | (do_check_malloc_state): Only require for empty bins for large | |
6013 | sizes in main arena. | |
6014 | ||
6015 | * libio/stdio.h: Add more __wur attributes. | |
6016 | ||
ff8d96be UD |
6017 | * elf/dl-minimal.c (realloc): Optimize last patch. |
6018 | ||
90a0991a UD |
6019 | 2006-10-12 Richard Sandiford <richard@codesourcery.com> |
6020 | ||
6021 | [BZ #3352] | |
6022 | * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, | |
6023 | and use memcpy() if it does. | |
ff8d96be | 6024 | |
11bf311e UD |
6025 | 2006-11-12 Andreas Jaeger <aj@suse.de> |
6026 | ||
6027 | [BZ #2510] | |
6028 | * manual/search.texi (Hash Search Function): Clarify. | |
6029 | (Array Search Function): Clarify. | |
6030 | ||
6031 | 2006-11-12 Joseph Myers <joseph@codesourcery.com> | |
6032 | ||
6033 | [BZ #2830] | |
6034 | * math/atest-exp.c (main): Cast hex value to mp_limb_t before | |
6035 | shifting. | |
6036 | * math/atest-exp2.c (read_mpn_hex): Likewise. | |
6037 | * math/atest-sincos.c (main): Likewise. | |
6038 | ||
37fb7595 UD |
6039 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> |
6040 | ||
11bf311e UD |
6041 | * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait. |
6042 | * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. | |
6043 | * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for | |
6044 | version GLIBC_2.6. | |
6045 | * Versions.def: Add GLIBC_2.6 for libc. | |
6046 | ||
46c38bd7 UD |
6047 | * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. |
6048 | ||
11bf311e UD |
6049 | * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support. |
6050 | ||
6051 | 2006-10-11 Jakub Jelinek <jakub@redhat.com> | |
6052 | ||
6053 | * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. | |
6054 | ||
6055 | * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. | |
6056 | ||
6057 | * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. | |
6058 | * sysdeps/generic/unsecvars.h: Add NIS_PATH. | |
6059 | ||
6060 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> | |
6061 | ||
6062 | * include/atomic.c: Define catomic_* operations. | |
6063 | * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. | |
6064 | * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. | |
6065 | * malloc/memusage.c: Likewise. | |
6066 | * gmon/mcount.c: Likewise. | |
6067 | * elf/dl-close.c: Likewise. | |
6068 | * elf/dl-open.c: Likewise. | |
6069 | * elf/dl-profile.c: Likewise. | |
6070 | * elf/dl-sym.c: Likewise. | |
6071 | * elf/dl-runtime.c: Likewise. | |
6072 | * elf/dl-fptr.c: Likewise. | |
6073 | * resolv/res_libc.c: Likewise. | |
6074 | ||
2a6ee549 UD |
6075 | 2006-10-10 Ulrich Drepper <drepper@redhat.com> |
6076 | ||
6077 | * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH | |
6078 | components which lack them. | |
6079 | ||
6080 | * nis/nis_subr.c (nis_getnames): Make sure that we always return | |
6081 | at least one entry consisting of the parameter concatenated with | |
6082 | the domain. | |
6083 | ||
11bf311e | 6084 | 2006-10-10 Roland McGrath <roland@frob.com> |
c4f9fc3a | 6085 | |
11bf311e UD |
6086 | * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. |
6087 | * sysdeps/mach/hurd/futimes.c: Likewise. | |
6088 | * sysdeps/mach/hurd/lutimes.c: Likewise. | |
6089 | ||
6090 | 2006-10-09 Ulrich Drepper <drepper@redhat.com> | |
6091 | Jakub Jelinek <jakub@redhat.com> | |
6092 | ||
6093 | Implement reference counting of scope records. | |
6094 | * elf/dl-close.c (_dl_close): Remove all scopes from removed objects | |
6095 | from the list in objects which remain. Always allocate new scope | |
6096 | record. | |
6097 | * elf/dl-open.c (dl_open_worker): When growing array for scopes, | |
6098 | don't resize, allocate a new one. | |
6099 | * elf/dl-runtime.c: Update reference counters before using a scope | |
6100 | array. | |
6101 | * elf/dl-sym.c: Likewise. | |
6102 | * elf/dl-libc.c: Adjust for l_scope name change. | |
6103 | * elf/dl-load.c: Likewise. | |
6104 | * elf/dl-object.c: Likewise. | |
6105 | * elf/rtld.c: Likewise. | |
6106 | * include/link.h: Include <rtld-lowlevel.h>. Define struct | |
6107 | r_scoperec. Replace r_scope with pointer to r_scoperec structure. | |
6108 | Add l_scoperec_lock. | |
6109 | * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. | |
6110 | * sysdeps/generic/rtld-lowlevel.h: New file. | |
6111 | ||
6112 | * include/atomic.h: Rename atomic_and to atomic_and_val and | |
6113 | atomic_or to atomic_or_val. Define new macros atomic_and and | |
6114 | atomic_or which do not return values. | |
6115 | * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. | |
6116 | Various cleanups. | |
6117 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
6118 | ||
6119 | * po/sv.po: Update from translation team. | |
6120 | ||
6121 | 2006-10-07 Ulrich Drepper <drepper@redhat.com> | |
6122 | ||
6123 | * Versions.def: Add GLIBC_2.6 to libpthread. | |
6124 | ||
6125 | * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. | |
6126 | (versioned_symbol): Likewise. | |
6127 | (compat_symbol): Likewise. | |
6128 | ||
6129 | * po/tr.po: Update from translation team. | |
feb87ad1 | 6130 | |
4df92d57 UD |
6131 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
6132 | ||
11bf311e UD |
6133 | * nis/Banner: Removed. It's been integral part forever and the |
6134 | author info is incomplete anyway. | |
6135 | * libio/Banner: Likewise. | |
6136 | ||
4df92d57 UD |
6137 | * nis/nis_table.c (nis_list): If __follow_path fails in the new |
6138 | code, make sure the nis_freeresult call doesn't crash and that the | |
6139 | result is reported correctly. | |
6140 | ||
68361572 UD |
6141 | 2006-09-27 Jakub Jelinek <jakub@redhat.com> |
6142 | ||
6143 | * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS | |
6144 | when callback is NULL. | |
6145 | ||
6146 | * nis/Versions (libnss_nisplus): Add | |
6147 | _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. | |
6148 | * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. | |
6149 | * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, | |
6150 | _nss_create_tablename): Rename to... | |
6151 | (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): | |
6152 | ... these. No longer static. | |
6153 | (internal_setgrent): Adjust users. | |
6154 | (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. | |
6155 | Don't use locking around _nss_grp_create_tablename call. | |
6156 | * nis/nss_nisplus/nisplus-initgroups.c: New file. | |
6157 | ||
11bf311e UD |
6158 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
6159 | ||
6160 | * version.h (VERSION): Bump to 2.5.90 for new development tree. | |
6161 | ||
3a4e0609 UD |
6162 | 2006-10-06 Andreas Jaeger <aj@suse.de> |
6163 | ||
6164 | * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. | |
6165 | ||
6166 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> | |
6167 | ||
6168 | * po/pl.po: Update from translation team. | |
6169 | ||
6170 | * nscd/nscd.c (main): Fix typo in message. | |
6171 | Patch by Jakub Bogsz <qboosh@pld-linux.org>. | |
6172 | ||
97e57dee UD |
6173 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
6174 | ||
6175 | [BZ #3291] | |
6176 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
6177 | errno.h, signal.h, unistd.h and sysdep-cancel.h. | |
6178 | (__sigprocmask): Define. | |
6179 | ||
768027a4 UD |
6180 | 2006-10-02 Ulrich Drepper <drepper@redhat.com> |
6181 | ||
6182 | * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is | |
6183 | used. | |
6184 | ||
0b25a49a UD |
6185 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
6186 | ||
6187 | * nscd/mem.c (mempool_alloc): Round array size to 16 bytes | |
6188 | in oldtotal and newtotal calculation. | |
6189 | * nscd/nscd-client.h (struct mapped_database): Add datasize | |
6190 | field. | |
6191 | * nscd/nscd_helper.c (get_mapping): Initialize datasize field. | |
6192 | (__nscd_get_map_ref): Get a new mapping even if mapping's data_size | |
6193 | increased. | |
6194 | (__nscd_cache_search): Add checks to make sure we never reference | |
6195 | data beyond the current mapping. | |
6196 | ||
a1286745 UD |
6197 | 2006-10-02 Dmitry V. Levin <ldv@altlinux.org> |
6198 | ||
d4ed7561 UD |
6199 | * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val |
6200 | variables const to avoid compiler warnings. | |
6201 | ||
a1286745 UD |
6202 | * io/fts.c (fts_close): Remove redundant checks. |
6203 | (fts_build): Likewise. | |
6204 | (fts_palloc): Likewise. | |
6205 | ||
6206 | * manual/message.texi (Advanced gettext functions, | |
6207 | Using gettextized software): Fix typos. | |
6208 | ||
f01e4069 UD |
6209 | 2006-09-30 Ulrich Drepper <drepper@redhat.com> |
6210 | ||
6211 | * posix/glob.c (glob_in_dir): Add some comments and asserts to | |
6212 | explain why there are no leaks. | |
6213 | ||
154619b5 UD |
6214 | 2006-09-29 Ulrich Drepper <drepper@redhat.com> |
6215 | ||
690c3947 UD |
6216 | * libio/wmemstream.c: Include <wchar.h>. |
6217 | * libio/bug-wmemstream1.c: Likewise. | |
6218 | * libio/tst-wmemstream1.c: Likewise. | |
6219 | * libio/tst-wmemstream2.c: Likewise. | |
6220 | ||
88cc61e8 UD |
6221 | * version.h (RELEASE): Bump to 2.5. |
6222 | * README: Regenerated. | |
6223 | ||
a70c18b0 UD |
6224 | * locale/iso-3166.def: Add Aaland Islands and Montenegro. |
6225 | ||
154619b5 UD |
6226 | [BZ #3273] |
6227 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have | |
6228 | found no group members. | |
6229 | Patch by Petr Baudis. | |
6230 | ||
6231 | 2006-09-29 Jakub Jelinek <jakub@redhat.com> | |
6232 | ||
6233 | * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't | |
6234 | assert bootstrap_map.l_tls_modid is zero. | |
6235 | (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 | |
6236 | if USE___THREAD. | |
6237 | ||
1c31aa79 UD |
6238 | 2006-09-27 Ulrich Drepper <drepper@redhat.com> |
6239 | ||
6240 | * libio/stdio.h: Move open_wmemstream prototype to ... | |
6241 | * wcsmbs/wchar.h: ... here. | |
6242 | ||
f1122ec3 UD |
6243 | 2006-09-25 Jakub Jelinek <jakub@redhat.com> |
6244 | ||
6245 | [BZ #3252] | |
6246 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only | |
6247 | fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call | |
6248 | __{,l}chown to handle the rest. | |
6249 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only | |
6250 | fchownat syscall and __ASSUME_32BITUIDS case inline, call | |
6251 | __{,l}chown to handle the rest. | |
6252 | * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include | |
6253 | i386/fchownat.c. | |
6254 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. | |
6255 | * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. | |
6256 | ||
6257 | [BZ #3253] | |
6258 | * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a | |
6259 | time, rather allocate increasingly bigger arrays of pointers, if | |
6260 | possible with alloca, if too large with malloc. | |
6261 | ||
6262 | 2006-09-24 Jakub Jelinek <jakub@redhat.com> | |
6263 | ||
6264 | * sysdeps/powerpc/fpu/libm-test-ulps: Updated. | |
6265 | ||
6266 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. | |
6267 | ||
457b559e UD |
6268 | 2006-09-24 Ulrich Drepper <drepper@redhat.com> |
6269 | ||
6270 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, | |
6271 | home addresses. | |
6272 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize | |
6273 | IFA_F_HOMEADDRESS flag for interfaces. | |
6274 | * include/ifaddrs.h (struct in6addrinfo): Define | |
6275 | in6ai_homeaddress. | |
6276 | ||
4a132246 UD |
6277 | 2006-09-21 Jakub Jelinek <jakub@redhat.com> |
6278 | ||
6279 | [BZ #3225] | |
6280 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, | |
6281 | PTR_DEMANGLE3): Define. | |
6282 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, | |
6283 | PTR_DEMANGLE3): Likewise. | |
6284 | * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. | |
6285 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): | |
6286 | Likewise. | |
6287 | * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. | |
6288 | ||
c69136ae UD |
6289 | 2006-09-20 Jakub Jelinek <jakub@redhat.com> |
6290 | ||
6291 | * po/libc.pot: Regenerated. | |
6292 | * po/be.po: Updated. | |
6293 | * po/ca.po: Likewise. | |
6294 | * po/cs.po: Likewise. | |
6295 | * po/da.po: Likewise. | |
6296 | * po/de.po: Likewise. | |
6297 | * po/el.po: Likewise. | |
6298 | * po/en_GB.po: Likewise. | |
6299 | * po/es.po: Likewise. | |
6300 | * po/fi.po: Likewise. | |
6301 | * po/fr.po: Likewise. | |
6302 | * po/gl.po: Likewise. | |
6303 | * po/hr.po: Likewise. | |
6304 | * po/hu.po: Likewise. | |
6305 | * po/ja.po: Likewise. | |
6306 | * po/ko.po: Likewise. | |
6307 | * po/nb.po: Likewise. | |
6308 | * po/nl.po: Likewise. | |
6309 | * po/pl.po: Likewise. | |
6310 | * po/pt_BR.po: Likewise. | |
6311 | * po/ru.po: Likewise. | |
6312 | * po/rw.po: Likewise. | |
6313 | * po/sk.po: Likewise. | |
6314 | * po/sv.po: Likewise. | |
6315 | * po/tr.po: Likewise. | |
6316 | * po/zh_CN.po: Likewise. | |
6317 | * po/zh_TW.po: Likewise. | |
6318 | ||
6319 | [BZ #3137] | |
6320 | * iconv/iconv_prog.c (main): Fix spelling in error message. | |
6321 | * iconv/iconvconfig.c (main): Likewise. | |
6322 | * locale/programs/ld-collate.c (handle_ellipsis): Likewise. | |
6323 | * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. | |
6324 | * locale/programs/localedef.c (main): Likewise. | |
6325 | * locale/programs/repertoire.c (repertoire_read): Likewise. | |
6326 | * timezone/zdump.c (main): Likewise. | |
6327 | * nscd/connections.c (handle_request): Fix spelling in log message. | |
6328 | Patch by Malcolm Parsons <malcolm.parsons@gmail.com>. | |
6329 | ||
83b3108c UD |
6330 | 2006-09-20 Ulrich Drepper <drepper@redhat.com> |
6331 | ||
6332 | * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 | |
6333 | interfaces. | |
6334 | ||
89210b4c AJ |
6335 | 2006-09-20 Andreas Jaeger <aj@suse.de> |
6336 | ||
6337 | * math/libm-test.inc (lrint_test_upward): Fix typo. | |
6338 | ||
6624dbc0 UD |
6339 | 2006-06-17 Joseph S. Myers <joseph@codesourcery.com> |
6340 | ||
6341 | [BZ #2592] | |
6342 | * math/libm-test.inc (lrint_test_tonearest): New function. | |
6343 | (lrint_test_towardzero): New function. | |
6344 | (lrint_test_downward): New function. | |
6345 | (lrint_test_upward): New function. | |
6346 | (main): Run these new tests. | |
6347 | * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding | |
6348 | of values near to 0. | |
6349 | (two52): Use double not long double. | |
6350 | * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. | |
6351 | * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. | |
6352 | (two23): Use float not double. | |
6353 | * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. | |
6354 | (two23): Use float not double. | |
6355 | * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. | |
6356 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. | |
6357 | * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. | |
6358 | * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. | |
6359 | ||
60cb50c7 UD |
6360 | 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
6361 | ||
6362 | * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): | |
6363 | Cast sp to unsigned long to avoid compiler warning. | |
6364 | Use __makecontext_ret function instead of a trampoline on the stack. | |
6365 | (__makecontext_ret): New function. | |
6366 | * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. | |
6367 | ||
33315ced UD |
6368 | 2006-09-19 Jakub Jelinek <jakub@redhat.com> |
6369 | ||
6370 | * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but | |
6371 | platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM | |
6372 | bits. | |
6373 | ||
1ee2ff20 UD |
6374 | 2006-09-19 Ulrich Drepper <drepper@redhat.com> |
6375 | ||
6376 | * elf/dl-close.c (_dl_close): If dependency is not unloaded make | |
6377 | sure no reference to the unloaded map's search list remains in the | |
6378 | dependency's scope. | |
6379 | ||
6380 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
6381 | ||
6382 | * elf/Makefile: Add rules to build and run unload7 test. | |
6383 | * elf/unload7.c: New test. | |
6384 | * elf/unload7mod1.c: New file. | |
6385 | * elf/unload7mod2.c: New file. | |
6386 | ||
0466106e UD |
6387 | 2006-09-18 Jakub Jelinek <jakub@redhat.com> |
6388 | ||
6389 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. | |
6390 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, | |
6391 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
6392 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
6393 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
6394 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
6395 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
6396 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, | |
6397 | PTRACE_GETEVENTMSG): Likewise. | |
6398 | (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent | |
6399 | values. | |
6400 | ||
9c316a45 UD |
6401 | 2006-09-17 Mike Frysinger <vapier@gentoo.org> |
6402 | ||
0466106e UD |
6403 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, |
6404 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
6405 | * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, | |
6406 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. | |
9c316a45 UD |
6407 | |
6408 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
6409 | ||
6410 | * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't | |
6411 | write '\0' to the fd. | |
6412 | * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. | |
6413 | * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. | |
6414 | Change regs to unsigned long pointer from unsigned int, fix fscr | |
6415 | offset. | |
6416 | ||
fb146a76 UD |
6417 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
6418 | ||
6419 | * io/Makefile (CFLAGS-fstatat.c): Set. | |
6420 | (CFLAGS-fstatat64.c): Likewise. | |
6421 | (CFLAGS-mknodat.c): Likewise. | |
6422 | ||
6423 | * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. | |
6424 | * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. | |
6425 | * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. | |
6426 | * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. | |
6427 | ||
4cd3633d UD |
6428 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
6429 | Steven Munroe <sjmunroe@us.ibm.com> | |
fb146a76 | 6430 | |
4cd3633d UD |
6431 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap |
6432 | names to the beginning. Rename "cell" to "cellbe". | |
6433 | (_dl_powerpc_platforms): New. | |
6434 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
6435 | (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. | |
6436 | (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. | |
6437 | (_DL_HWCAP_PLATFORM): Define to new mask. | |
6438 | (_dl_platform_string, _dl_string_platform): New functions. | |
6439 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, | |
6440 | PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. | |
6441 | ||
30aa5785 UD |
6442 | 2006-09-12 Jakub Jelinek <jakub@redhat.com> |
6443 | ||
6444 | [BZ #2526] | |
6445 | * README.libm: Fix a thinko in sqrt algorithm description. | |
6446 | ||
6447 | [BZ #3143] | |
6448 | * manual/string.texi (argz_delete): Fix prototype. | |
6449 | Patch by <alpt@freaknet.org>. | |
6450 | ||
6451 | 2006-08-26 Joseph Myers <joseph@codesourcery.com> | |
6452 | ||
6453 | [BZ #3138] | |
6454 | * io/test-lfs.c (do_prepare): Give name_len type size_t. | |
6455 | * io/tst-fcntl.c (do_prepare): Likewise. | |
6456 | * posix/tst-exec.c (do_prepare): Likewise. | |
6457 | * posix/tst-preadwrite.c (do_prepare): Likewise. | |
6458 | * posix/tst-spawn.c (do_prepare): Likewise. | |
6459 | * posix/tst-truncate.c (do_prepare): Likewise. | |
6460 | * rt/tst-aio.c (do_prepare): Likewise. | |
6461 | * rt/tst-aio64.c (do_prepare): Likewise. | |
6462 | * stdlib/test-canon2.c (do_prepare): Give test_dir_len type | |
6463 | size_t. | |
6464 | ||
d26d01d1 UD |
6465 | 2006-09-09 Ulrich Drepper <drepper@redhat.com> |
6466 | ||
41aba3d7 UD |
6467 | [BZ #2821] |
6468 | * time/mktime.c (guess_time_tm): Fix overflow detection. | |
6469 | * time/Makefile (tests): Add bug-mktime1. | |
6470 | * time/bug-mktime1.c: New file. | |
6471 | ||
eaa51b47 | 6472 | [BZ #3189, #3188] |
d26d01d1 | 6473 | * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. |
eaa51b47 | 6474 | (mremap): Likewise. |
d26d01d1 | 6475 | |
ba40cc15 UD |
6476 | 2006-09-07 Jakub Jelinek <jakub@redhat.com> |
6477 | ||
2b6a801e UD |
6478 | [BZ #1006] |
6479 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): | |
6480 | Ensure relocation doesn't clobber any bits outside of the | |
6481 | immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, | |
6482 | R_SPARC_HI22 and R_SPARC_H44. | |
6483 | ||
469615bd UD |
6484 | [BZ #2775] |
6485 | * malloc/malloc.c (sYSMALLOc): Only call grow_heap if | |
6486 | (long) (MINSIZE + nb - old_size) is positive. | |
6487 | ||
6488 | * malloc/arena.c (grow_heap): When growing bail even if new_size | |
6489 | is negative. | |
6490 | ||
ba40cc15 UD |
6491 | [BZ #3155] |
6492 | * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access | |
6493 | stack below r1. | |
6494 | ||
243b9ac1 UD |
6495 | 2006-09-06 Jakub Jelinek <jakub@redhat.com> |
6496 | ||
ba40cc15 UD |
6497 | * posix/regex_internal.c (re_string_reconstruct): Handle |
6498 | offset < pstr->valid_raw_len && pstr->offsets_needed case. | |
6499 | Ensure no bytes read before raw_mbs array. Pass a saved copy of | |
6500 | pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to | |
6501 | re_string_context_at. | |
6502 | * posix/Makefile: Add rules to build and run bug-regex26 test. | |
6503 | * posix/bug-regex26.c: New test. | |
6504 | ||
243b9ac1 UD |
6505 | * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free |
6506 | rather than col_sym_free. Move seqp declaration earlier. | |
6507 | ||
6508 | * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. | |
6509 | ||
d052233c UD |
6510 | 2006-09-05 Jakub Jelinek <jakub@redhat.com> |
6511 | ||
6512 | * nscd/initgrcache.c (addinitgroupsX): Move any_success | |
6513 | decl before first goto out. | |
6514 | ||
71213dc2 UD |
6515 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
6516 | ||
6517 | * Makerules (shlib.lds): If have-hash-style, put .hash section | |
6518 | at the end of the RO segment. | |
6519 | ||
6520 | 2006-09-04 Ulrich Drepper <drepper@redhat.com> | |
6521 | ||
6522 | * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new | |
6523 | style hash table format is used. | |
6524 | ||
03eeff83 UD |
6525 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
6526 | ||
6527 | * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after | |
6528 | randomization rather than before. | |
6529 | * resolv/res_init.c (res_randomid): Don't call gettimeofday here. | |
6530 | ||
b80770b2 UD |
6531 | 2006-08-31 Jakub Jelinek <jakub@redhat.com> |
6532 | ||
ba40cc15 | 6533 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. |
b80770b2 UD |
6534 | |
6535 | * malloc/malloc.c (_int_malloc): Use full list insert and not | |
6536 | shortcut which assumes the list is empty for large requests | |
6537 | too. | |
6538 | ||
6539 | * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". | |
6540 | ||
99ea5991 UD |
6541 | 2006-08-30 Jakub Jelinek <jakub@redhat.com> |
6542 | ||
6543 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin | |
6544 | and offout arguments to the prototype. | |
6545 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. | |
6546 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. | |
6547 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. | |
6548 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. | |
6549 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. | |
6550 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. | |
6551 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. | |
6552 | * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. | |
6553 | ||
4004a0a5 UD |
6554 | 2006-08-28 Ulrich Drepper <drepper@redhat.com> |
6555 | ||
950398e1 UD |
6556 | * elf/dl-load.c (_dl_init_paths): Expand DSTs. |
6557 | ||
4004a0a5 UD |
6558 | * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in |
6559 | dlopen parameters. | |
6560 | ||
6e310111 UD |
6561 | 2006-08-28 Jakub Jelinek <jakub@redhat.com> |
6562 | ||
6563 | * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno | |
6564 | only if herrno is NETDB_INTERNAL. Handle errors other than | |
6565 | ERANGE outside of the loops, handle TRY_AGAIN. | |
6566 | ||
6567 | * locale/programs/ld-ctype.c (translit_flatten): Issue error | |
6568 | if other's ctype category was missing. | |
6569 | * locale/programs/ld-collate.c (collate_read): Return if | |
6570 | copy_locale's collate category is missing. | |
6571 | ||
07014fca UD |
6572 | 2006-08-27 Ulrich Drepper <drepper@redhat.com> |
6573 | ||
6574 | [BZ #2684] | |
6575 | * malloc/malloc.c (public_rEALLOc): Try harder by using other | |
6576 | arenas if allocation failed. | |
6577 | Patch mostly by Jan Edler <jan.edler@indexengines.com>. | |
6578 | ||
71663747 UD |
6579 | 2006-08-26 Ulrich Drepper <drepper@redhat.com> |
6580 | ||
41999a1a UD |
6581 | * malloc/malloc.c (bin_at): Rewrite to be more clear and to not |
6582 | waste bins[0..1]. | |
6583 | (malloc_state): Reduce bins size by 2. | |
6584 | (_int_malloc): Fix test for large enough buffer for early termination. | |
6585 | When no unsorted block matches perfectly and an exiting block has | |
6586 | to be split, use full list insert and not shortcut which assumes | |
6587 | the list is empty. | |
6588 | ||
71663747 UD |
6589 | * locale/programs/ld-ctype.c (ctype_read): Better patch for read |
6590 | failure. | |
6591 | ||
93b53ca2 UD |
6592 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
6593 | ||
f5a82772 UD |
6594 | * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't |
6595 | do anything. | |
6596 | ||
2ac9ca73 UD |
6597 | * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined |
6598 | symbol require exact match (these are PLTs). | |
6599 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h | |
6600 | (_dl_ppc64_addr_sym_match): Likewise. | |
6601 | ||
93b53ca2 UD |
6602 | [BZ #2683] |
6603 | * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. | |
6604 | If symbol has a value use it. | |
6605 | * elf/tst-dladdr1.c: New file. | |
6606 | * elf/Makefile: Add rules to build and run tst-addr1. | |
6607 | ||
7463d5cb UD |
6608 | 2006-08-24 Jakub Jelinek <jakub@redhat.com> |
6609 | ||
6610 | * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP | |
6611 | keeps failing and heap growth or new heap creation isn't | |
6612 | successful either. | |
6613 | * malloc/tst-malloc.c (main): Add new tests. | |
6614 | ||
542a6f62 UD |
6615 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
6616 | ||
6617 | [BZ #2734] | |
6618 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions | |
6619 | as in the x86-64 code to use bswap. | |
6620 | ||
aa2c6b6d UD |
6621 | 2006-05-21 Joseph S. Myers <joseph@codesourcery.com> |
6622 | ||
24982798 | 6623 | [BZ #2680] |
aa2c6b6d UD |
6624 | * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not |
6625 | __USE_UNIX98. | |
6626 | * posix/bits/unistd.h: Likewise. | |
6627 | ||
59776aef UD |
6628 | 2006-05-15 Mike Frysinger <vapier@gentoo.org> |
6629 | ||
6630 | [BZ #2751] | |
6631 | * string/strchr.c: Add cast to avoid warning. | |
6632 | ||
e404fb16 UD |
6633 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
6634 | ||
6635 | * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit | |
bd2c2341 | 6636 | platforms define as 512K. For 64-bit platforms as 32MB. The lower |
e404fb16 UD |
6637 | limit is needed to avoid the exploding of the address space |
6638 | requirement for secondary heaps. | |
6639 | * malloc/arena.c (HEAP_MAX_SIZE): Define using | |
6640 | DEFAULT_MMAP_THRESHOLD_MAX if it is defined. | |
6641 | ||
376e973a UD |
6642 | 2006-07-30 Joseph S. Myers <joseph@codesourcery.com> |
6643 | ||
6644 | [BZ #3018] | |
6645 | * Makerules (depfiles): Handle extra-test-objs the same as | |
6646 | extra-objs. | |
6647 | (common-mostlyclean): Likewise. | |
6648 | * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs | |
6649 | instead. | |
6650 | * elf/Makefile (extra-objs): Likewise. | |
6651 | * stdlib/Makefile (extra-objs): Likewise. | |
6652 | ||
240c62a7 UD |
6653 | 2006-08-14 Eric Blake <ebb9@byu.net> |
6654 | ||
6655 | [BZ #3044] | |
6656 | * misc/error.h: Assume C89 or better. | |
6657 | * misc/error.c: Likewise. | |
6658 | ||
3997b7c4 UD |
6659 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
6660 | ||
6661 | [BZ #3040] | |
6662 | * sysdeps/unix/sysv/linux/openat.c: Fix compilation if | |
6663 | __ASSUME_ATFCTS is defined. | |
6664 | ||
8a6537b0 UD |
6665 | 2006-08-19 Ulrich Drepper <drepper@redhat.com> |
6666 | ||
72320021 UD |
6667 | * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks |
6668 | to sort in each call. | |
6669 | ||
ed3691ba UD |
6670 | * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map |
6671 | is empty simply return and use next service. | |
6672 | * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. | |
6673 | ||
8a6537b0 UD |
6674 | * locale/programs/charmap.c (charmap_read): Add new parameter. It |
6675 | tells us when not finding a charmap file is an error. | |
6676 | * locale/programs/charmap.h: Adjust charmap_read prototype. | |
6677 | * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we | |
6678 | cannot find a charmap. | |
6679 | * locale/programs/localedef.c (main): Adjust charmap_read call. | |
6680 | ||
ad2a3c07 UD |
6681 | 2006-08-15 Jakub Jelinek <jakub@redhat.com> |
6682 | ||
6683 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use | |
6684 | sysdeps/posix/pause.c implementation instead. | |
6685 | ||
6686 | 2006-08-09 Jakub Jelinek <jakub@redhat.com> | |
6687 | ||
6688 | * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority | |
6689 | to EPERM. | |
6690 | ||
f17efcb4 UD |
6691 | 2006-08-13 Andreas Schwab <schwab@suse.de> |
6692 | ||
6693 | * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): | |
6694 | Don't clobber caller's LRSAVE. | |
6695 | (_dl_prof_resolve): Likewise. | |
6696 | ||
107b8a92 UD |
6697 | 2006-08-14 Ulrich Drepper <drepper@redhat.com> |
6698 | ||
6699 | [BZ #1996] | |
6700 | * libio/memstream.c (open_memstream): Allocate initial buffer with | |
6701 | calloc. | |
6702 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
6703 | * libio/strops.c: Pretty printing. | |
6704 | (_IO_str_overflow): Clear uninitialized part of the new buffer. | |
6705 | (enlarge_userbuf): New function. | |
6706 | (_IO_str_seekoff): Call it if seek position is larger than current | |
6707 | buffer. | |
6708 | * libio/wstrops.c: Likewise. | |
6709 | * libio/vasprintf.c: Add comment as to why we do not have to use | |
6710 | calloc instead of malloc to allocate initial buffer. | |
6711 | * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. | |
6712 | * libio/bug-memstream1.c: New file. | |
6713 | * libio/bug-wmemstream1.c: New file. | |
6714 | ||
fa3ac53f UD |
6715 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> |
6716 | ||
89993734 UD |
6717 | * libio/wstrops.c: Remove dead macro definitions and comments. |
6718 | * libio/strops.c: Likewise. | |
6719 | ||
fa3ac53f UD |
6720 | [BZ #2764] |
6721 | * login/utmpname.c (__utmpname): Remove unnecessary test. | |
6722 | ||
f99ed760 UD |
6723 | 2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> |
6724 | ||
6725 | [BZ #2832] | |
6726 | * math/gen-libm-test.pl (clean_up_number): Do not remove trailing | |
6727 | 0s from integers. | |
6728 | ||
6729 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> | |
6730 | ||
6731 | [BZ #2987] | |
6732 | * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall | |
6733 | for CPU clocks. | |
6734 | * sysdeps/unix/clock_settime.c: Add support for platform-specific | |
6735 | setting of CPU clocks. | |
6736 | ||
4c3f81d0 UD |
6737 | 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> |
6738 | ||
6739 | [BZ #2841] | |
6740 | * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', | |
6741 | since C99 requires the result to promote to 'int' when uint_least8_t | |
6742 | and uint_least16_t promote to 'int'. | |
6743 | ||
cd8e60ce UD |
6744 | 2006-08-12 Ulrich Drepper <drepper@redhat.com> |
6745 | ||
9a5c46e8 UD |
6746 | [BZ #3013] |
6747 | * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix | |
6748 | lenght of one output field, correct bitmask creation. | |
6749 | * locale/programs/ld-time.c: Add alignment. | |
6750 | ||
cd8e60ce UD |
6751 | [BZ #2997] |
6752 | * misc/error.c: Add space between program name and message if file | |
6753 | name is missing. | |
6754 | ||
9a528884 UD |
6755 | 2006-08-03 Eric Blake <ebb9@byu.net> |
6756 | ||
6757 | [BZ #2998] | |
6758 | * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. | |
6759 | ||
1d05c2fb UD |
6760 | 2006-08-09 Ulrich Drepper <drepper@redhat.com> |
6761 | ||
0c1c6c6c UD |
6762 | * malloc/memusagestat.c: Silence warnings. |
6763 | ||
1d05c2fb UD |
6764 | * malloc/malloc.c: Dynamically size mmap treshold if the program |
6765 | frees mmaped blocks. | |
6766 | Patch by Valerie Henson and Arjan van de Ven. | |
6767 | ||
2d1e6277 UD |
6768 | 2006-08-08 Jakub Jelinek <jakub@redhat.com> |
6769 | ||
be7ffd91 UD |
6770 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with |
6771 | __USE_GNU. | |
6772 | ||
2d1e6277 UD |
6773 | * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, |
6774 | __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. | |
6775 | (DEF): Don't put the var into .gnu.linkonce.r.* section. | |
6776 | Only provide var definitions in strtol_l (or for *ull* | |
6777 | in strtoll_l). | |
6778 | ||
6779 | * stdio-common/bug16.c (tests): New array. | |
6780 | (do_tests): Allow the first hexadecimal digit | |
6781 | to be 1, 2, 4 or 8. Do 3 additional tests. | |
6782 | ||
6783 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
6784 | ||
6785 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use | |
6786 | fchownat syscall if available. | |
6787 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. | |
6788 | * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. | |
6789 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. | |
6790 | ||
d0ccde25 UD |
6791 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
6792 | ||
6793 | * nis/nis_xdr.c: Avoid some function calls. | |
6794 | ||
13a0293d | 6795 | 2006-08-07 Jakub Jelinek <jakub@redhat.com> |
3f7a21a9 | 6796 | Ulrich Drepper <drepper@redhat.com> |
13a0293d UD |
6797 | |
6798 | * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take | |
6799 | short cut if only one name component is stripped away. | |
6800 | ||
bd1ebae0 UD |
6801 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
6802 | ||
6803 | * nis/nis_call.c: Minor cleanups throughout. | |
2d1e6277 | 6804 | (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. |
bd1ebae0 UD |
6805 | (first_shoot): Add search_parent_first parameter. Only if it is set |
6806 | search parent server first. | |
6807 | If directory for table found through cold start cache is not the same | |
6808 | as referenced in the cache, don't use it. | |
6809 | (__nisfind_server): Take additional parameter. Pass it on to | |
6810 | first_shoot. | |
6811 | (__prepare_niscall): Adjust __nisfind_server call. | |
6812 | * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. | |
6813 | * nis/nis_table.c: Adjust __nisfind_server call. | |
6814 | * nis/nis_lookup.c: Likewise. | |
6815 | (nis_lookup): Don't loop endlessly if name is reduced to ".". | |
6816 | ||
f1762c0c UD |
6817 | 2006-08-03 Ulrich Drepper <drepper@redhat.com> |
6818 | ||
fe710250 UD |
6819 | [BZ #2182] |
6820 | * math/s_cacosh.c: Return values from positive branch. | |
6821 | * math/s_cacoshf.c: Likewise. | |
6822 | * math/s_cacoshl.c: Likewise. | |
6823 | ||
a5852807 UD |
6824 | [BZ #2883] |
6825 | * sysvipc/sys/msg.h: Change return value to ssize_t. | |
6826 | * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. | |
fe710250 UD |
6827 | * sysvipc/msgrcv.c: Likewise. |
6828 | * include/sys/msg.h: Likewise. | |
39571a13 | 6829 | |
6c215a8d UD |
6830 | * grp/initgroups.c (internal_getgrouplist): Remove unnecessary |
6831 | test introduced in patch for bz #661. | |
39571a13 | 6832 | (getgrouplist): Simplify code a bit. Don't allocate one additional |
f13bfdd0 | 6833 | element for NEWGROUPS. |
6c215a8d | 6834 | |
9c06eb66 UD |
6835 | [BZ #2908] |
6836 | * stdio-common/printf_fphex.c (__printf_fphex): When rounding up | |
6837 | 'f', use '1' as leading digit not '\1'. | |
6838 | * stdio-common/Makefile (tests): Add bug16. | |
6839 | * stdio-common/bug16.c: New file. | |
6840 | ||
6841 | [BZ #2914] | |
6842 | * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE | |
6843 | and don't try to open it. The patch introducing the macro | |
6844 | contained a bug and used the same file name as the new file | |
6845 | instead of using /var/adm/hostid. Nobody complaint so I'm taking | |
6846 | this out completely. | |
6847 | ||
6848 | [BZ #2926] | |
6849 | * assert/assert.h: Move cast to void inside ?: to quiet gcc. | |
6850 | Patch by Jerry James <Jerry.James@usu.edu>. | |
6851 | ||
f1762c0c UD |
6852 | * rt/Makefile (tests): Add tst-clock2. |
6853 | * rt/tst-clock2.c: New file. | |
6854 | ||
6855 | [BZ #2978] | |
6856 | * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread | |
6857 | function and its parameters and pass it to new thread. | |
6858 | (__gai_notify): Add support for alternative waiting for completion. | |
6859 | * resolv/gai_suspend.c (gai_suspend): Add support for alternative | |
6860 | waiting for completion. | |
6861 | * resolv/getaddrinfo_a.c: Likewise. | |
6862 | * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative | |
6863 | waiting for completion is used. | |
6864 | * resolv/gai_misc.c: Allow overwriting code to start helper thread. | |
6865 | * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h". | |
6866 | * resolv/gai_error.c: Likewise. | |
6867 | * resolv/gai_sigqueue.c: Likewise. | |
6868 | ||
83ae6b40 RM |
6869 | 2006-08-02 Thomas Schwinge <tschwinge@gnu.org> |
6870 | ||
0e4e62fe | 6871 | * hurd/getdport.c (__getdport): Don't return EBADF; instead set |
f1762c0c | 6872 | errno to EBADF and return MACH_PORT_NULL. |
83ae6b40 | 6873 | |
82ee37c5 UD |
6874 | 2006-06-23 Joseph Myers <joseph@codesourcery.com> |
6875 | ||
6876 | [BZ #2980] | |
f1762c0c | 6877 | * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. |
82ee37c5 UD |
6878 | |
6879 | 2006-08-02 Ulrich Drepper <drepper@redhat.com> | |
6880 | ||
6881 | * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, | |
6882 | walk them instead of the symbol table. | |
6883 | ||
7bb1b2c9 UD |
6884 | 2006-08-01 Ulrich Drepper <drepper@redhat.com> |
6885 | ||
f13bfdd0 | 6886 | [BZ #2098] |
fbbc73b3 UD |
6887 | * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by |
6888 | status of NSS calls, not the number of returned entries. | |
6889 | ||
a4518922 UD |
6890 | * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, |
6891 | request_key, keyctl. | |
7bb1b2c9 | 6892 | |
b06e7e9a UD |
6893 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
6894 | ||
6895 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. | |
6896 | ||
f1227969 UD |
6897 | 2006-07-16 Jeff Bailey <jbailey@ubuntu.com> |
6898 | ||
6899 | * elf/tst-auditmod1.c: Fix typo in #error. | |
6900 | ||
82ae2712 UD |
6901 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
6902 | ||
f1227969 UD |
6903 | * elf/tst-auditmod1.c: Remove code for unsupported architectures. |
6904 | ||
82ae2712 UD |
6905 | * iconvdata/run-iconv-test.sh: Run cmp in C locale. |
6906 | ||
a1260d92 UD |
6907 | 2006-07-20 Adam Nemet <anemet@caviumnetworks.com> |
6908 | ||
6909 | * stdlib/test-canon.c (do_test): Close fd before unlinking file so | |
b06e7e9a | 6910 | that the directory is empty even on non-POSIX filesystems. |
a1260d92 | 6911 | |
d2de41fe UD |
6912 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
6913 | ||
13669f2c UD |
6914 | * elf/dl-open.c (dl_open_worker): Add branch prediction. |
6915 | ||
d2de41fe UD |
6916 | * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into |
6917 | the backend NSS module. If backend setgrent call failed, don't have | |
6918 | internal_setgrent fail. Just remember this until it is needed. | |
6919 | * nis/nss_compat/compat-pwd.c: Likewise. | |
6920 | * nis/nss_compat/compat-spwd.c: Likewise. | |
6921 | ||
b894c2ea RM |
6922 | 2006-07-30 Roland McGrath <roland@redhat.com> |
6923 | ||
6924 | * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. | |
6925 | * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. | |
6926 | * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. | |
6927 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. | |
6928 | ||
6929 | * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. | |
6930 | (nanosleep_not_cancel): New macro. | |
6931 | (sigsuspend_not_cancel): new macro. | |
6932 | * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] | |
6933 | (do_sigsuspend): Define as inline. | |
6934 | (__sigsuspend): Always use do_sigsuspend. | |
6935 | [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. | |
6936 | * include/signal.h: Declare __sigsuspend_nocancel. | |
6937 | * sysdeps/posix/pause.c | |
6938 | [! NO_CANCELLATION] (__pause_nocancel): New function. | |
6939 | ||
6940 | * include/unistd.h (__pause_nocancel): Add attribute_hidden. | |
6941 | * include/time.h (__nanosleep_nocancel): Likewise. | |
6942 | ||
c10d32c8 UD |
6943 | 2006-07-30 Ulrich Drepper <drepper@redhat.com> |
6944 | ||
6945 | * locale/programs/localedef.c (add_to_readlist): Rename local | |
6946 | variables to avoid confusion. | |
6947 | ||
6948 | * locale/programs/charmap.c (charmap_read): Emit error message if | |
6949 | charmap couldn't be found or read. | |
6950 | ||
6822f056 UD |
6951 | 2006-07-28 Ulrich Drepper <drepper@redhat.com> |
6952 | ||
d5ba53f9 UD |
6953 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
6954 | __ASSUME_FUTEX_LOCK_PI. | |
6955 | * include/time.h: Declare __nanosleep_nocancel. | |
6956 | * include/unistd.h: Declare __pause_nocancel. | |
6957 | ||
6822f056 UD |
6958 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of |
6959 | LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we | |
6960 | get the __stack_chk_fail_local definition when it's needed. | |
6961 | ||
3a975ff5 UD |
6962 | 2006-07-26 Ulrich Drepper <drepper@redhat.com> |
6963 | ||
6de1f625 UD |
6964 | * dlfcn/Makefile: Add rules to build and run bug-atexit3. |
6965 | * dlfcn/bug-atexit3.c: New file. | |
6966 | * dlfcn/bug-atexit3-lib.cc: New file. | |
6967 | ||
3a975ff5 UD |
6968 | * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be |
6969 | used when the namespace is not the base namespace. | |
6970 | ||
a92b1166 UD |
6971 | 2006-07-26 Gavin Romig-Koch <gavin@redhat.com> |
6972 | ||
6973 | * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. | |
6974 | (__new_exitfn): Bump it in every successful call. | |
6975 | * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered | |
6976 | more exit handlers, call them right away. | |
6977 | * stdlib/exit.h: Declare __new_exitfn_called. | |
6978 | ||
a08336fb UD |
6979 | 2006-07-25 Ulrich Drepper <drepper@redhat.com> |
6980 | ||
bd3754dc UD |
6981 | * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when |
6982 | calling registered handler. | |
6983 | ||
a08336fb UD |
6984 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. |
6985 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
6986 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
6987 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
6988 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
6989 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
6990 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
6991 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
6992 | ||
871b9158 UD |
6993 | 2006-07-10 Ulrich Drepper <drepper@redhat.com> |
6994 | ||
6995 | * elf/dl-lookup.c (dl_new_hash): New functions. | |
6996 | (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute | |
6997 | value here. Compute new-style hash value. Pass new hash value | |
6998 | and reference to variable with the old value to do_lookup_x. | |
6999 | (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not | |
7000 | old-style hash table. | |
7001 | (_dl_debug_bindings): Pass new hash value and reference to variable | |
7002 | with the old value to do_lookup_x. | |
7003 | * elf/do-lookup.h (do_lookup_x): Accept additional parameter with | |
7004 | new-style hash value and change old-style hash value parameter to | |
7005 | be a reference. Reoganize functions to determine whether | |
7006 | new-style hash table is available. Only fall back on old-style | |
7007 | table. If old-style hash value is needed, compute it here. | |
7008 | * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH | |
7009 | entry. | |
7010 | * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, | |
7011 | DT_TLSDEC_GOT. Adjust DT_ADDRNUM. | |
7012 | * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, | |
7013 | l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. | |
7014 | * Makeconfig: If linker supports --hash-style option add it to all | |
7015 | linker command lines to build DSOs. | |
7016 | * config.make.in: Define have-hash-style. | |
7017 | * configure.in: Test whether linker supports --hash-style option. | |
7018 | ||
7019 | * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. | |
7020 | * sysdeps/generic/ldsodefs.h: Adjust prototype. | |
7021 | ||
a1f0de82 UD |
7022 | 2006-06-27 Ulrich Drepper <drepper@redhat.com> |
7023 | ||
361a3706 UD |
7024 | * elf/dl-load.c (open_path): Fix test to determine whether DSO is |
7025 | auditing. | |
7026 | ||
a1f0de82 UD |
7027 | * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at |
7028 | RPATH of main map twice. | |
7029 | ||
4259230f UD |
7030 | 2006-06-22 Ulrich Drepper <drepper@redhat.com> |
7031 | ||
7032 | * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't | |
7033 | look further, return original strings. | |
7034 | (_nl_find_msg): Do not return found translation if the conversion | |
7035 | failed. Either signal the string is unusable or that something went | |
7036 | wrong and the original should be used. | |
7037 | ||
7038 | 2006-06-21 Ulrich Drepper <drepper@redhat.com> | |
7039 | ||
7040 | * string/_strerror.c (__strerror_r): Add __builtin_expect. | |
7041 | ||
f9b7a98b UD |
7042 | 2006-06-14 Jakub Jelinek <jakub@redhat.com> |
7043 | ||
7044 | [BZ #2766] | |
7045 | * misc/insremque.c (insque): Handle prev == NULL. | |
7046 | * misc/Makefile (tests): Add tst-insremque. | |
7047 | * misc/tst-insremque.c: New test. | |
7048 | ||
ac55a25b UD |
7049 | 2006-06-17 Ulrich Drepper <drepper@redhat.com> |
7050 | ||
7051 | [BZ #2792] | |
7052 | * elf/dl-deps.c (expand_dst): Rename __cnt variable to not | |
7053 | conflict with DL_DST_REQUIRED. | |
7054 | ||
02f366b3 UD |
7055 | 2006-06-16 Ulrich Drepper <drepper@redhat.com> |
7056 | ||
7057 | * nis/nis_subr.c (nis_getnames): Fix the implementation to better | |
7058 | match what Solaris does. | |
7059 | ||
9009e8f8 UD |
7060 | 2006-06-04 Ulrich Drepper <drepper@redhat.com> |
7061 | ||
1b8373f4 UD |
7062 | * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and |
7063 | local_setegid instead of seteuid and setegid. | |
7064 | * sysdeps/generic/local-setxid.h: New file. | |
7065 | * sysdeps/unix/sysv/linux/local-setxid.h: New file. | |
7066 | ||
7231452e UD |
7067 | * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. |
7068 | ||
9009e8f8 | 7069 | * string/Makefile (tests): Add bug-envz1. |
02f366b3 | 7070 | * string/bug-envz1.c: New file. |
9009e8f8 | 7071 | |
33e63e79 UD |
7072 | 2006-06-02 Jakub Jelinek <jakub@redhat.com> |
7073 | ||
7074 | * posix/regex_internal.c (re_string_skip_chars): If no character has | |
7075 | been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc | |
7076 | to the byte which couldn't be converted. | |
7077 | (re_string_reconstruct): Don't clear valid_raw_len before calling | |
7078 | re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set | |
7079 | tip_context using re_string_context_at. | |
7080 | * posix/Makefile: Add rules to build and run bug-regex25 test. | |
7081 | * posix/bug-regex25.c: New test. | |
7082 | ||
fdc02996 UD |
7083 | 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com> |
7084 | ||
7085 | [BZ #2703] | |
7086 | * string/envz.c (envz_strip): Correct erroneously reversed src | |
7087 | and dest parameters to memmove() invocation. | |
7088 | ||
902c4291 UD |
7089 | 2006-05-30 Jakub Jelinek <jakub@redhat.com> |
7090 | ||
7091 | * nscd/nscd.h (prune_cache): Add fd argument to prototype. | |
7092 | * nscd/nscd.c (parse_opt): Read response from INVALIDATE request | |
7093 | to make sure the database has been already invalidated. | |
7094 | * nscd/cache.c (prune_cache): Add fd argument. Write response to fd | |
7095 | after the cache has been invalidated. Use pthread_mutex_lock rather | |
7096 | than pthread_mutex_trylock if fd != -1. | |
7097 | * nscd/connections.c (invalidate_cache): Add fd argument, write | |
7098 | response to fd if not calling prune_cache, pass fd to prune_cache. | |
7099 | (handle_request): Adjust invalidate_cache caller. | |
7100 | (nscd_run): Pass -1 as fd to prune_cache. | |
7101 | ||
ecc68568 UD |
7102 | 2006-05-30 Ulrich Drepper <drepper@redhat.com> |
7103 | ||
7104 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in | |
7105 | the correct place. | |
7106 | ||
9636a217 UD |
7107 | 2006-05-29 Ulrich Drepper <drepper@redhat.com> |
7108 | ||
7109 | * nscd/nscd.h (struct database_dyn): Add prunelock field. | |
7110 | * nscd/cache.c (prune_cache): Take prunelock before starting the | |
7111 | work. Just return in case it is already taken. | |
cabfcde1 | 7112 | * nscd/connections.c (dbs): Initialize .prunelock. |
9636a217 | 7113 | |
6bcb494a UD |
7114 | 2006-05-25 Ulrich Drepper <drepper@redhat.com> |
7115 | ||
672d5a63 | 7116 | * nis/nis_removemember.c (nis_removemember): Avoid unnecessary |
ecc68568 | 7117 | copying. No need to allocate new array for group members. Just |
672d5a63 UD |
7118 | move the pointers and update the size. |
7119 | ||
1663b44f UD |
7120 | * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. |
7121 | Avoid memory leak in case realloc fails. Simplification for | |
7122 | better code generation. | |
7123 | ||
7124 | Avoid deprecation warning because of libc_hidden_proto for | |
7125 | inet6_option_alloc. | |
7126 | * inet/inet6_option.c (option_alloc): Renamed from | |
7127 | inet6_option_alloc. Made static. | |
9636a217 | 7128 | (inet6_option_alloc): Now a simple wrapper around option_alloc. |
1663b44f UD |
7129 | (inet6_option_append): Call option_alloc. |
7130 | * include/netinet/in.h: Remove libc_hidden_proto for | |
7131 | inet6_option_alloc. | |
7132 | ||
6bcb494a UD |
7133 | * nis/nis_callback.c (__nis_create_callback): Always call xdr_free |
7134 | for cleanup when cb!=NULL [Coverity CID 233]. | |
7135 | ||
aec6b246 UD |
7136 | 2006-05-24 Ulrich Drepper <drepper@redhat.com> |
7137 | ||
07bfff20 UD |
7138 | [BZ #2693] |
7139 | * inet/Makefile (routines): Add inet6_opt and inet6_rth. | |
7140 | * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, | |
7141 | inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, | |
7142 | inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, | |
7143 | inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, | |
7144 | and inet6_rth_getaddr. | |
7145 | * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible | |
7146 | array. | |
7147 | * inet/netinet/in.h (struct ip6_mtuinfo): Define. | |
7148 | Mark inet6_option_* interfaces as deprecated. | |
7149 | Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, | |
7150 | inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, | |
7151 | inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, | |
7152 | inet6_rth_segments, and inet6_rth_getaddr. | |
7153 | * inet/inet6_opt.c: New file. | |
7154 | * inet/inet6_rth.c: New file. | |
7155 | ||
7156 | * inet/netinet/icmp6.h: Pretty printing. | |
7157 | ||
aec6b246 UD |
7158 | [BZ #2683] |
7159 | * elf/dl-addr.c (_dl_addr): Don't match undefined references. | |
7160 | ||
2d571cd1 UD |
7161 | 2006-05-23 Ulrich Drepper <drepper@redhat.com> |
7162 | ||
062e719b UD |
7163 | * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of |
7164 | doing it all here. When server does not know the answer do not | |
7165 | fail immediate, try parent first. | |
7166 | ||
2d571cd1 UD |
7167 | * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer |
7168 | overflow test. | |
7169 | ||
a17fa610 UD |
7170 | 2006-05-20 Ulrich Drepper <drepper@redhat.com> |
7171 | ||
7172 | * nis/nis_call.c (__prepare_niscall): New function. Split out | |
7173 | from __do_niscall. | |
7174 | * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request | |
7175 | and exported. | |
7176 | (__follow_path): New function. Split out from nis_list. | |
7177 | * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and | |
7178 | _xdr_nis_result. | |
7179 | * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and | |
7180 | _xdr_nis_result. | |
7181 | * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, | |
7182 | and __follow_path. | |
7183 | * nis/Versions: Export __prepare_niscall, __create_ib_request, | |
7184 | __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result | |
7185 | from libnsl for version GLIBC_PRIVATE. | |
7186 | * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. | |
7187 | Remove entry parameter from _nss_nisplus_parse_pwent and | |
7188 | _nss_nisplus_parse_grent. | |
7189 | * nis/nss_nisplus/nisplus-parser.c: Likewise. | |
7190 | * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ | |
7191 | again. Rewrite getpwent handling to not use nis_first_entry and | |
7192 | nis_next_entry. Roll out own niscall handling. | |
7193 | * nis/nss_nisplus/nisplus-grp.c: Likewise. | |
7194 | ||
7195 | * sunrpc/xdr_rec.c: Fix typo in comment. | |
7196 | ||
429bb183 UD |
7197 | 2006-05-19 Ulrich Drepper <drepper@redhat.com> |
7198 | ||
1d4f062a UD |
7199 | * nis/nis_call.c (__do_niscall3): Avoid code duplication in error |
7200 | handling. | |
7201 | ||
101cc598 UD |
7202 | * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc |
7203 | to allocate memory for my_pollfd. Better initialization of | |
7204 | cb_is_running. Use TEMP_FAILURE_RETRY. | |
7205 | ||
f50fa10c UD |
7206 | * malloc/memusage.sh (memusageso): Add quotes. |
7207 | (memusagestat): Likewise. | |
7208 | * debug/xtrace.sh (pcprofileso): Likewise. | |
7209 | (pcprofiledump): Likewise. | |
7210 | * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR | |
7211 | replacement. | |
7212 | * malloc/Makefile ($(objpfx)memusage): Likewise. | |
7213 | ||
882bfe73 UD |
7214 | * nis/nis_callback.c (__nis_create_callback): Calls to |
7215 | svcudp_bufcreate and svctcp_create can fail. Free ->xprt if | |
7216 | asprintf call fails. | |
7217 | ||
429bb183 UD |
7218 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure |
7219 | no uninitialized memory is passed to sendto. | |
7220 | ||
f90de831 UD |
7221 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> |
7222 | ||
7223 | * nis/nis_callback.c (__nis_create_callback): Use asprinf instead | |
7224 | of snprintf+strdup. Handle OOM. | |
7225 | * nis/nis_callback.c (__nis_create_callback): Allocate cb and | |
7226 | cb->serv together. Remove now obsolete free calls. | |
7227 | (__nis_destroy_callback): Remove now obsolete free call. | |
7228 | ||
a17fa610 | 7229 | 2006-05-18 David Woodhouse <dwmw2@redhat.com> |
6e2a7825 UD |
7230 | |
7231 | * sysdeps/posix/getaddrinfo.c: Add unique labels to the default | |
7232 | RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local | |
7233 | and ULA respectively). Set precedence for IPv4 address to 10 as | |
7234 | defined in RFC3484 for preferring IPv6. | |
7235 | * posix/gai.conf: Update to match the new default tables. | |
7236 | ||
758b9d7e UD |
7237 | 2006-05-18 Jakub Jelinek <jakub@redhat.com> |
7238 | ||
7239 | * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent | |
7240 | returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. | |
7241 | * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. | |
7242 | * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. | |
7243 | ||
7244 | * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): | |
7245 | Removed. | |
7246 | (init_nss_interface): Remove initialization of these variables. | |
7247 | ||
7248 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> | |
7249 | ||
7250 | * nis/nis_call.c (rec_dirsearch): Little optimization: pull | |
7251 | nis_free_directory forward to avoid duplication. | |
7252 | ||
388c779e UD |
7253 | 2006-05-17 Ulrich Drepper <drepper@redhat.com> |
7254 | ||
5f1724bf UD |
7255 | * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and |
7256 | rec_dirsearch returning NULL. | |
7257 | (first_shoot): Handle __nis_finddirectory returning NULL. | |
7258 | (__nisfind_server): Fix leak when rec_dirsearch returns NULL. | |
7259 | ||
388c779e UD |
7260 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, |
7261 | IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. | |
7262 | ||
360d5cf4 UD |
7263 | 2006-05-17 Jakub Jelinek <jakub@redhat.com> |
7264 | ||
7265 | * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if | |
7266 | pid changed. | |
7267 | ||
88dbff8c UD |
7268 | 2006-05-15 Ulrich Drepper <drepper@redhat.com> |
7269 | ||
6f8a7dff UD |
7270 | * include/rpc/pmap_prot.h: Mark all functions as hidden. |
7271 | ||
7272 | * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. | |
7273 | * nscd/nscd_getgr_r.c: Likewise. | |
7274 | ||
7275 | * include/rpc/pmap_rmt.h: Mark all functions as hidden. | |
7276 | ||
7277 | * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. | |
7278 | * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. | |
7279 | ||
7280 | * stdlib/longlong.h (__clz_tab): Mark as hidden. | |
7281 | ||
7282 | * iconv/gconv_int.h: Mark __gconv_lock as hidden. | |
7283 | ||
360d5cf4 | 7284 | * include/rpc/key_prot.h: Mark all _internal functions as hidden. |
8263ed62 UD |
7285 | |
7286 | * include/rpc/auth.h: Mark xdr_des_block_internal and | |
7287 | xdr_opaque_auth_internal as hidden. | |
7288 | ||
7289 | * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as | |
7290 | hidden. | |
7291 | ||
360d5cf4 | 7292 | * include/rpc/xdr.h: Mark all _internal functions as hidden. |
8263ed62 | 7293 | |
02264020 UD |
7294 | * misc/getusershell.c (okshells): Don't use static initializers, |
7295 | do it dynamically. | |
7296 | ||
fd5ea238 UD |
7297 | * stdlib/fmtmsg.c (keywords): Change type of len element to |
7298 | uint32_t to not waste space on 64bit machines. | |
7299 | ||
9446614c UD |
7300 | * locale/setlocale.c: Change _nl_category_names into a string. |
7301 | Add new _nl_category_name_idxs. Change all users. | |
7302 | * locale/localeinfo.h: Adjust declaration of _nl_category_names. | |
7303 | Declare _nl_category_name_idxs. | |
7304 | * locale/findlocale.c: Adjust for _nl_category_names change. | |
7305 | * locale/loadlocale.c: Likewise. | |
7306 | * locale/newlocale.c: Likewise. | |
7307 | * intl/dcigettext.c: Likewise. | |
7308 | ||
88dbff8c UD |
7309 | * iconv/gconv_conf.c (add_alias): Move actual alias handling to... |
7310 | (add_alias2): ...here. New function. | |
7311 | (__gconv_read_conf): Simplify builtin alias handling. | |
7312 | (builtin_aliases): Convert to string to avoid relocations. | |
7313 | * iconv/gconv_builtin.h: Add comment about correct formatting. | |
7314 | ||
4442d58f UD |
7315 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
7316 | ||
7317 | * resolv/res_debug.c (loc_ntoa): Make error const. | |
7318 | ||
7319 | 2006-05-14 Andreas Schwab <schwab@suse.de> | |
7320 | ||
7321 | * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. | |
7322 | ||
7323 | 2006-05-12 Jakub Jelinek <jakub@redhat.com> | |
7324 | ||
7325 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. | |
7326 | (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than | |
7327 | sizeof (cpu_set_t). | |
7328 | ||
a51752b6 UD |
7329 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
7330 | ||
5d3fd1f6 UD |
7331 | * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. |
7332 | ||
08cfb839 UD |
7333 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
7334 | ||
4b481a15 UD |
7335 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
7336 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
7337 | ||
7338 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. | |
7339 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
7340 | ||
7341 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. | |
7342 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
7343 | xdr_cback_data. | |
7344 | ||
7345 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. | |
7346 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
7347 | xdr_ypupdate_args. | |
7348 | ||
7349 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. | |
7350 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
7351 | ||
7352 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. | |
7353 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
7354 | ||
7355 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. | |
7356 | * include/rpcsvc/nis_callback.h: New file. | |
7357 | ||
7358 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. | |
7359 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
7360 | ||
7361 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
7362 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
7363 | ||
7364 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. | |
7365 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
7366 | ||
7367 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
7368 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
7369 | ||
b1ad49c6 UD |
7370 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
7371 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
7372 | xdr_ypdelete_args. | |
7373 | ||
cd5f7829 UD |
7374 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
7375 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
7376 | ||
a51752b6 UD |
7377 | * nis/nis_error.c: Remove table of strings. Use position |
7378 | independent mechanism. | |
7379 | * nis/nis_error.h: New file. | |
7380 | ||
3d237e42 UD |
7381 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
7382 | ||
7383 | * locale/programs/ld-time.c (time_finish): If wide era name or | |
7384 | format aren't provided, set both wname and wformat to L"". | |
7385 | ||
d6c159fe UD |
7386 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
7387 | ||
0088b04e UD |
7388 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
7389 | results if the call was succesful. | |
7390 | ||
d6c159fe UD |
7391 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
7392 | ||
7393 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count | |
7394 | as hidden. | |
7395 | ||
5c5acdf0 UD |
7396 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
7397 | ||
7398 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. | |
7399 | ||
16d620db UD |
7400 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
7401 | ||
7402 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the | |
7403 | caller makes sure this is not the case. | |
7404 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
7405 | ||
e7c8359e UD |
7406 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
7407 | ||
ecf359c6 UD |
7408 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
7409 | calls. | |
7410 | ||
400cc70a UD |
7411 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
7412 | [Coverity CID 229, 230] | |
7413 | ||
7414 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and | |
7415 | DGETTEXT calls. | |
7416 | (hol_help): Likewise. [Coverity CID 226, 227] | |
7417 | ||
7418 | * string/argz-replace.c (__argz_replace): Unconditionally call | |
7419 | free on SRC. [Coverity CID 225] | |
7420 | ||
7421 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate | |
7422 | the return value of __nis_default_owner and __nis_default_group, | |
7423 | it has been especially allocated. [Coverity CID 224] | |
7424 | ||
51e59260 UD |
7425 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
7426 | searchgroup and searchowner. Significantly simplified. | |
7427 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
7428 | string before duplicating it. | |
7429 | (__nis_default_group): Likewise. | |
7430 | ||
7431 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, | |
7432 | we must clear the variable before calling __nisfind_server. | |
7433 | ||
7434 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with | |
7435 | nis_getnames. [Coverity CID 223] | |
7436 | ||
7437 | * locale/programs/locfile.c (locfile_read): Use alloca instead of | |
7438 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
7439 | ||
7440 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically | |
7441 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
7442 | ||
e7c8359e | 7443 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
51e59260 | 7444 | was allocated here. [Coverity CID 219, 220] |
e7c8359e UD |
7445 | |
7446 | * posix/getconf.c (print_all): Free confstr data after printing. | |
7447 | [Coverity CID 218] | |
7448 | ||
7449 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if | |
7450 | list allocation fails. [Coverity CID 215] | |
7451 | ||
7452 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. | |
7453 | [Coverity CID 213] | |
7454 | ||
7455 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if | |
7456 | string is NULL. [Coverity CID 212] | |
7457 | * argp/Makefile: Add rules to build and run bug-argp1. | |
7458 | * argp/bug-argp1.c: New file. | |
7459 | ||
7460 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find | |
7461 | end of string. | |
7462 | * stdlib/canonicalize.c (__realpath): Likewise. | |
7463 | ||
7464 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL | |
7465 | pointer. [Coverity CID 206] | |
7466 | ||
7467 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map | |
7468 | in statically linked code. | |
7469 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
7470 | statically built code, be prepared to have no link map. | |
7471 | [Coverity CID 205] | |
7472 | ||
7473 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in | |
7474 | dgettext calls. [Coverity CID 204] | |
7475 | ||
7476 | * argp/argp-help.c (struct uparams): Remove valid member. Change | |
7477 | the one user. | |
7478 | (uparam_names): Reduce size. Avoid relative relocations. | |
7479 | Moved to read-only segment. | |
7480 | (fill_in_uparams): Update for new layout. | |
7481 | ||
7482 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be | |
7483 | assumed to always be != NULL. [Coverity CID 202] | |
7484 | ||
7485 | * argp/argp-help.c (hol_entry_help): Remove some dead code | |
7486 | [Coverity CID 200]. | |
7487 | ||
7488 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize | |
7489 | away a few more unconditional yperr2nss calls. | |
7490 | (_nss_nis_getservbyname_r): Likewise. | |
7491 | ||
acf82eaf UD |
7492 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
7493 | ||
4461cf48 UD |
7494 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
7495 | architectures. | |
7496 | ||
b74a8c7f UD |
7497 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
7498 | that unused memory passed to sendto is nevertheless initialized. | |
7499 | ||
acb98cb5 UD |
7500 | [BZ #2499] |
7501 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
7502 | possibly unaligned memory accesses. | |
7503 | ||
bce16467 UD |
7504 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
7505 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
7506 | and __putlong respectively. Correct buffer overflow check for | |
7507 | NS_NOTIFY_OP. | |
7508 | ||
7509 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. | |
7510 | ||
8e45b1ac UD |
7511 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
7512 | (send_dg): Rewrite error handling to be more compact and avoid | |
7513 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
7514 | ||
697e1628 UD |
7515 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
7516 | ||
7517 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly | |
7518 | instead of ns_get16. | |
7519 | (res_queriesmatch): Likewise. Minor optimization. | |
7520 | ||
acf82eaf UD |
7521 | [BZ #2499] |
7522 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
7523 | __libc_res_nsend might reallocate the buffer for the answer. In | |
7524 | this case we have to reload the HP pointer. | |
7525 | ||
7bfee654 UD |
7526 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
7527 | ||
694b49ca UD |
7528 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
7529 | some branch prediction hints. | |
7530 | ||
7bfee654 UD |
7531 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
7532 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
7533 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
7534 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
7535 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
7536 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
7537 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
7538 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
7539 | ||
308bb2d5 UD |
7540 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
7541 | ||
7542 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation | |
7543 | by a GOT relocation to make Scrt1.o position independent. | |
7544 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
7545 | ||
7546 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for | |
7547 | six system call parameters. | |
7548 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
7549 | ||
cdb9c321 UD |
7550 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
7551 | ||
7552 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of | |
7553 | malloc&bzero. | |
7554 | ||
7555 | * sunrpc/svc_udp.c (BZERO): Remove definition. | |
7556 | (CALLOC): Define. | |
7557 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
7558 | ||
7559 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. | |
7560 | (des_SPtrans): Use uint32_t type. | |
7561 | (des_skb): Likewise. | |
7562 | ||
7563 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. | |
7564 | ||
fff04b32 UD |
7565 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
7566 | ||
7567 | [BZ #2509] | |
7568 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
7569 | on 32-bit arches. | |
7570 | ||
7571 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> | |
7572 | ||
7573 | * locale/programs/ld-address.c (address_finish): Fix one more | |
cdb9c321 | 7574 | place where the iso639 array might be accessed beyond the limits. |
fff04b32 | 7575 | |
077a30bc | 7576 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
77dd4c3b | 7577 | |
f2d5cf50 UD |
7578 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
7579 | filling it for the first time. | |
7580 | ||
3e4370cf UD |
7581 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
7582 | Adjust all callers. | |
7583 | Free res object content before returning. | |
7584 | ||
5e65a53d UD |
7585 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
7586 | ||
48be3114 UD |
7587 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
7588 | client->cl_auth. | |
7589 | ||
ca4fce0e UD |
7590 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
7591 | cleanup for initial thread, just the free call on TVP. | |
7592 | ||
077a30bc | 7593 | * nscd/gai.c (__getline): Define. |
3b7a95fb | 7594 | |
5d37289a | 7595 | |
3f87d901 | 7596 | See ChangeLog.16 for earlier changes. |