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