]>
Commit | Line | Data |
---|---|---|
0891f970 UD |
1 | 2004-09-30 Ulrich Drepper <drepper@redhat.com> |
2 | ||
74fef3bb | 3 | * nscd/nscd.c (termination_handler): Reset timestamp so that |
16b15c86 | 4 | clients immediately stop using the database. |
74fef3bb | 5 | |
0891f970 UD |
6 | * nscd/nscd-client.h (__nscd_get_map_ref): Drop volatile from last |
7 | parameter. | |
74fef3bb | 8 | (__nscd_drop_map_ref): Change second parameter to be a reference to |
0891f970 UD |
9 | a variable. Update variable when cycle count changed. |
10 | * nscd/nscd_helper.c (__nscd_get_map_ref): Remove volatile here, too. | |
11 | * nscd/nscd_getai.c: Correctly use __nscd_drop_map_ref. Reinitialize | |
12 | all variables and avoid memory leak in case of retries. | |
13 | * nscd/nscd_getgr_r.c: Likewise. | |
14 | * nscd/nscd_gethst_r.c: Likewise. | |
15 | * nscd/nscd_getpw_r.c: Likewise. | |
16 | * nscd/nscd_initgroups.c: Likewise. | |
17 | ||
74fef3bb | 18 | * nscd/nscd.h: Add declaration of addinitgroups and |
0891f970 UD |
19 | readdinitgroups. |
20 | ||
6037b751 AJ |
21 | 2004-09-30 Andreas Jaeger <aj@suse.de> |
22 | ||
23 | * nscd/Makefile (CFLAGS-nscd_initgroups.c): Set to -fpie. | |
366778e9 | 24 | (CFLAGS-initgrcache.c): Set to -fexceptions. |
6037b751 | 25 | |
66b38fc9 UD |
26 | 2004-09-29 Ulrich Drepper <drepper@redhat.com> |
27 | ||
28 | * sysdeps/generic/glob.c (glob_in_dir): Don't blindly trust | |
29 | readdir results; for symlinks or files of unknown type check using | |
30 | stat whether the file exists. | |
31 | ||
32 | * posix/tst-gnuglob.c (find_file): Handle leading "./". Fix | |
33 | recognition of files. | |
34 | ||
8930fcf9 UD |
35 | 2004-09-29 Jakub Jelinek <jakub@redhat.com> |
36 | ||
37 | * time/tzfile.c (tzfile_mtime): New variable. | |
38 | (__tzfile_read): Reread the file if mtime is different. | |
39 | ||
40 | 2004-09-28 Jakub Jelinek <jakub@redhat.com> | |
41 | ||
42 | * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf, __fdim, fdimf, fdim): | |
43 | Handle +inf/+inf. | |
44 | * sysdeps/powerpc/fpu/bits/mathinline.h (fdim, fdimf): Likewise. | |
45 | * sysdeps/sparc/fpu/bits/mathinline.h (fdim, fdimf): Likewise. | |
46 | ||
af38d7ce UD |
47 | 2004-09-29 Ulrich Drepper <drepper@redhat.com> |
48 | ||
49 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Use correct constant for | |
50 | testing result of __nscd_get_map_ref. | |
51 | ||
7ff2ba90 UD |
52 | 2004-09-29 Jakub Jelinek <jakub@redhat.com> |
53 | ||
54 | * sysdeps/i386/fpu/s_fdim.S (__fdim): Handle +inf/+inf. | |
55 | * sysdeps/i386/fpu/s_fdimf.S (__fdimf): Likewise. | |
56 | * sysdeps/i386/fpu/s_fdiml.S (__fdiml): Likewise. | |
57 | ||
58 | 004-09-29 Ulrich Drepper <drepper@redhat.com> | |
8c1d74a9 | 59 | |
f7e7a396 UD |
60 | * grp/initgroups.c: Move compat_call implementation... |
61 | * grp/compat-initgroups.c: ...to here. New file. | |
62 | * grp/Makefile (distribute): Add compat-initgroups.c. | |
63 | (CFLAGS-initgroups.c): Add -DUSE_NSCD=1. | |
64 | * mscd/initgrcache.c: New file. | |
65 | * nscd/nscd_initgroups.c: New file. | |
66 | * nscd/Makefile (routines): Add nscd_initgroups. | |
67 | (nscd-modules): Add initgrcache. | |
68 | * nscd/cache.c (prune_cache): Add support for INITGROUPS entries. | |
69 | * nscd/connections.c: Handle INITGROUPS requests. | |
70 | * nscd/nscd-client.h: Define INITGROUPS, initgr_response_header. | |
71 | Add initgrdata element to struct datahead. Fix typo in comment. | |
72 | * nscd/nscd_proto.h: Declare __nscd_getgrouplist. Fix parameter | |
73 | type in __nscd_getgrgrid_r. | |
74 | * nscd/selinux.c (perms): Add INITGROUPS entry. | |
75 | ||
76 | * nscd/nscd_getai.c: No need to include <sys/mman.h>. | |
77 | ||
78 | * sunrpc/get_myaddr.c (get_myaddress): Account for interfaces without | |
79 | assigned addresses. | |
80 | * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. | |
81 | * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. | |
82 | * sunrpc/clnt_udp.c (is_network_up): Likewise. | |
83 | ||
04c785b2 UD |
84 | * nscd/nscd.c: Define getaddrinfo hidden so that it is never found |
85 | outside. | |
86 | ||
8c1d74a9 | 87 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_segvflags): |
6fe62f53 | 88 | Renamed from si_flags due to conflict with si_flags from <elf.h>. |
8c1d74a9 | 89 | |
0026d6d1 UD |
90 | 2004-09-28 Ulrich Drepper <drepper@redhat.com> |
91 | ||
81177191 UD |
92 | * nscd/nscd_getai.c: Use NO_MAPPING instead of MAP_FAILED for test |
93 | of failing __nscd_get_map_ref. Fix a few typos. | |
94 | ||
53b4fed6 UD |
95 | * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Make sure |
96 | SIGSETXID is not blocked. | |
97 | * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Likewise. | |
98 | * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise. | |
99 | * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise. | |
100 | * sysdeps/generic/sigfillset.c (sigfillset): Don't set SIGSETXID. | |
101 | ||
21ae57c4 UD |
102 | * sunrpc/get_myaddr.c (get_myaddress): Fix test for failing |
103 | getifaddrs call. | |
104 | * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. | |
6c81dc42 | 105 | * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. |
4f21c95d UD |
106 | * sunrpc/Makefile (xtests): Add tst-getmyaddr. |
107 | * sunrpc/tst-getmyaddr.c: New file. | |
21ae57c4 | 108 | |
a19fe332 UD |
109 | * malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to |
110 | disable all checking. | |
111 | ||
0026d6d1 UD |
112 | * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_flags): Add |
113 | support to get this value. | |
114 | ||
067fff20 UD |
115 | 2004-09-28 Jakub Jelinek <jakub@redhat.com> |
116 | ||
117 | * io/utime.h (utime): Allow second argument to be NULL. | |
118 | ||
e59a8e84 UD |
119 | 2004-09-28 Ulrich Drepper <drepper@redhat.com> |
120 | ||
121 | * sysdeps/posix/getaddrinfo.c (gaih_inet): If NAME is a numerical IP | |
122 | address and AI_CANONNAME is set, return copy of NAME as ai_canonname. | |
123 | ||
7dfde5a0 AJ |
124 | 2004-09-27 Andreas Jaeger <aj@suse.de> |
125 | ||
126 | * sysdeps/i386/dl-machine.h (elf_machine_rela_relative): Replace | |
127 | static inline by auto inline, add always_inline attribute. | |
128 | (elf_machine_rel): Likewise. | |
129 | (elf_machine_rela): Likewise. | |
130 | (elf_machine_lazy_rel): Likewise. | |
131 | (elf_machine_lazy_rela): Likewise. | |
132 | (elf_machine_rel_relative): Likewise. | |
133 | ||
9b904803 UD |
134 | 2004-09-27 Ulrich Drepper <drepper@redhat.com> |
135 | ||
f20ba032 UD |
136 | * sunrpc/xdr_intXX_t.c: Add xdr_quad_t and xdr_u_quad_t aliases. |
137 | * sunrpc/rpc/xdr.h: Declare xdr_quad_t and xdr_u_quad_t. | |
9b904803 UD |
138 | * sunrpc/rpc_parse.c (get_type): Use "quad_t" for TOK_HYPER. |
139 | Otherwise isvectordef will loop infinitely if typedef hyper int64_t | |
140 | is seen. | |
141 | (unsigned_dec): Use "u_quad_t" for similar reasons. | |
f20ba032 | 142 | * sunrpc/Versions: Export xdr_quad_t and xdr_u_quad_t. |
9b904803 | 143 | |
c5e2501b RM |
144 | 2004-09-27 Roland McGrath <roland@redhat.com> |
145 | ||
9e9720a2 RM |
146 | * sysdeps/generic/bits/waitstatus.h (__WIFSIGNALED): Simplify bit |
147 | twiddling in last change. | |
148 | ||
a044c713 RM |
149 | * posix/tst-waitid.c (do_test): Add tests for waitpid with WCONTINUED. |
150 | ||
bcc956f2 | 151 | [BZ #409] |
a044c713 RM |
152 | * posix/sys/wait.h [__WIFCONTINUED] (WIFCONTINUED): New macro. |
153 | * stdlib/stdlib.h [__WIFCONTINUED] (WIFCONTINUED): New macro. | |
154 | * sysdeps/generic/bits/waitstatus.h (__W_CONTINUED): New macro. | |
155 | [WCONTINUED] (__WIFCONTINUED): New macro. | |
156 | (__WIFSIGNALED): Rewritten to exclude __W_CONTINUED value, and have no | |
157 | branches. | |
158 | ||
c5e2501b RM |
159 | * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to |
160 | all three syscall uses, not just one! | |
161 | ||
9ea9b141 RH |
162 | 2004-09-26 Richard Henderson <rth@redhat.com> |
163 | ||
164 | * sysdeps/alpha/alphaev6/memcpy.S: Mark .prologue. | |
165 | * sysdeps/unix/alpha/sysdep.h (LEAF, ENTRY): Align entry points | |
166 | to 16 byte boundaries. | |
167 | ||
ca225a41 UD |
168 | 2004-09-26 Ulrich Drepper <drepper@redhat.com> |
169 | ||
625ef999 UD |
170 | * elf/readlib.c (process_file): Before complaining about too-short |
171 | file, check that it potentially be an ELF file. Also complain about | |
172 | empty files. [BZ #151]. | |
173 | ||
610e3e7f UD |
174 | * scripts/test-installation.pl: Fix ld.so recognition for new |
175 | LD_TRACE_LOADED_OBJECTS output format. | |
176 | Patch by <jsberg04+computing.glibc@ftml.net> [BZ #407]. | |
177 | ||
c4e328a1 UD |
178 | * elf/dl-support.c (_dl_non_dynamic_init): Fix cleaning of |
179 | environment. [BZ #384] | |
180 | ||
412c954a UD |
181 | * sunrpc/clnt_udp.c (is_network_up): Use getifaddrs instead of ioctl. |
182 | * sunrpc/get_myaddr.c (get_myaddress): Likewise. | |
183 | * sunrpc/pmap_clnt.c (__get_myaddress): Likewise. | |
184 | * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise. Change interface | |
185 | to avoid buffer overrun and remove now useless parameters. | |
186 | (clnt_broadcast): Adjust caller. [BZ #381]. | |
187 | ||
6497a1d0 UD |
188 | * sysdeps/generic/s_fdim.c: Handle +inf/+inf |
189 | * sysdeps/generic/s_fdimf.c: Likewise. | |
190 | * sysdeps/generic/s_fdiml.c: Likewise. | |
191 | * sysdeps/i386/i686/fpu/s_fdim.S: Likewise. | |
192 | * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise. | |
193 | * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise. | |
194 | * sysdeps/powerpc/fpu/s_fdim.c: Likewise. | |
195 | * sysdeps/powerpc/fpu/s_fdimf.c: Likewise. | |
196 | * sysdeps/x86_64/fpu/s_fdiml.S: Likewise. | |
197 | * math/libm-test.inc (fdim_test): Add test case. [BZ #376]. | |
198 | ||
a1d335d6 UD |
199 | * sysdeps/generic/bits/types.h: Fix __SQUAD_TYPE and __UQUAD_TYPE |
200 | for compilers without __GLIBC_HAVE_LONG_LONG. [BZ #362] | |
201 | ||
ca225a41 UD |
202 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Remove incorrect |
203 | requirement on socktype and protocol. | |
204 | (gaih_inet): If numeric port number is given, return records for all | |
205 | possible socket types. | |
206 | * posix/tst-getaddrinfo2.c: New file. | |
207 | * posix/Makefile (tests): Add tst-getaddrinfo2. [BZ #358] | |
208 | ||
4faf24a3 UD |
209 | 2004-09-25 Ulrich Drepper <drepper@redhat.com> |
210 | ||
fe6ce170 UD |
211 | * locale/loadlocale.c (_nl_intern_locale_data): Recognize LC_CTYPE |
212 | data where _nl_value_type_LC_CTYPE does not contain the type | |
213 | information. Add range checks. | |
214 | Reported by John Lumby <johnlumby@hotmail.com> [BZ #356]. | |
215 | ||
5cec9552 UD |
216 | * libio/vasprintf.c (_IO_vasprintf): Fix condition to decide |
217 | whether to realloc or not. | |
218 | Reported by Pavel Kankovsky <peak@argo.troja.mff.cuni.cz> [BZ #346]. | |
219 | ||
ce7265c7 UD |
220 | * intl/dcigettext.c (DCIGETTEXT): Protect tfind/tsearch calls. |
221 | * intl/dcigettext.c (_nl_find_msg): Call _nl_load_domain also if | |
222 | decided < 0. | |
223 | * intl/finddomain.c (_nl_find_domain): Likewise. | |
ce7265c7 UD |
224 | * intl/loadmsgcat.c (_nl_load_domain): Set decided to 1 only once we |
225 | are done. First set to -1 to signal initialization is ongoing. | |
226 | Protect against concurrent callers with recursive lock. | |
f6b90f42 | 227 | * intl/finddomain.c (_nl_find_domain): Protect calls to |
6721afe2 UD |
228 | _nl_make_l10nflist. [BZ #322] |
229 | ||
4faf24a3 UD |
230 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): If determinination of |
231 | source address fails, initialized source_addr_len field so that | |
6721afe2 | 232 | duplicate address recognition does not copy junk. |
4faf24a3 | 233 | |
5f66b766 UD |
234 | 2004-09-25 Jakub Jelinek <jakub@redhat.com> |
235 | ||
236 | * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Remove second | |
237 | result declaration. | |
238 | ||
239 | 2004-09-22 Andreas Schwab <schwab@suse.de> | |
240 | ||
241 | * sysdeps/unix/sysv/linux/ia64/sysdep.h: Adjust whitespace. | |
242 | ||
3900770e UD |
243 | 2004-09-24 Ulrich Drepper <drepper@redhat.com> |
244 | ||
51499423 UD |
245 | * misc/daemon.c (daemon): Don't succeed if /dev/null cannot be |
246 | opened. | |
247 | ||
9435d38c UD |
248 | * nis/ypclnt.c (do_ypcall): Add one missing unlock. Simplify the |
249 | code a bit. | |
250 | ||
43ca813d UD |
251 | * misc/daemon.c (daemon): Define errno in case /dev/null is not |
252 | the correct device. | |
253 | ||
3900770e UD |
254 | * nis/ypclnt.c (yp_bind_file): Optimize a bit. Minimal cleanups. |
255 | ||
24f076f8 AJ |
256 | 2004-09-23 Andreas Jaeger <aj@suse.de> |
257 | ||
258 | * locale/weight.h (findidx): Remove static, it's not supported | |
259 | anymore with GCC 4.0 in a block scope. | |
260 | * locale/weightwc.h (findidx): Likewise. | |
261 | * posix/regcomp.c (seek_collating_symbol_entry): Likewise. | |
262 | (lookup_collation_sequence_value): Likewise. | |
263 | (build_range_exp): Likewise. | |
264 | (build_collating_symbol): Likewise. | |
265 | * iconv/iconvconfig.c (write_output): Likewise. | |
266 | * elf/do-rel.h (elf_dynamic_do_rel): Likewise. | |
267 | ||
268 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Remove | |
269 | static, add always_inline attribute. | |
270 | (elf_machine_rela): Likewise. | |
271 | (elf_machine_lazy_rel): Likewise. | |
272 | ||
273 | * elf/dynamic-link.h (elf_get_dynamic_info): Make static dependend | |
274 | on !RESOLVE so that it's not defined in local scope. | |
275 | ||
362038b0 UD |
276 | 2004-09-23 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
277 | ||
278 | * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL_NCS): Define. | |
279 | ||
8f1913a9 UD |
280 | 2004-09-23 Thorsten Kukuk <kukuk@suse.de> |
281 | ||
282 | * sysdeps/unix/sysv/linux/sys/mount.h: Sync MS_RMT_MASK flag | |
283 | and BLK* ioctls with linux kernel headers. | |
284 | ||
1fc07491 UD |
285 | 2004-09-23 Ulrich Drepper <drepper@redhat.com> |
286 | ||
287 | * sysdeps/generic/bits/dlfcn.h: Add RTLD_DEEPBIND. | |
288 | * elf/dl-object.c (_dl_new_object): Add new parameter mode. If mode | |
289 | has RTLD_DEEPBIND set add local searchlist before global scope. | |
290 | * sysdeps/generic/ldsodefs.h (_dl_new_object): Adjust prototype. | |
291 | * elf/rtld.c: Adjust callers of _dl_new_object. | |
292 | * elf/dl-load.c: Likewise. | |
293 | (_dl_map_object_from_fd): If RTLD_DEEPBIND is used, don't do anything | |
294 | for DF_SYMBOLIC. | |
295 | * elf/dl-open.c (dl_open_writer): Pass RTLD_DEEPBIND flag on to | |
296 | _dl_map_object_deps. | |
297 | * elf/tst-deep1.c: New file. | |
298 | * elf/tst-deep1mod1.c: New file. | |
299 | * elf/tst-deep1mod2.c: New file. | |
300 | * elf/tst-deep1mod3.c: New file. | |
301 | * elf/Makefile: Add rules to build and run new tests. | |
302 | ||
303 | * elf/dl-deps.c: Pretty printing. | |
304 | ||
bbb5e55c UD |
305 | 2004-09-23 Jakub Jelinek <jakub@redhat.com> |
306 | ||
307 | * sysdeps/unix/alpha/sysdep.h (inline_syscall[0-6]): Change name | |
308 | argument to numbers from syscall names. | |
309 | (INLINE_SYSCALL1): Pass __NR_##name to inline_syscall##nr. | |
310 | (INTERNAL_SYSCALL_NCS): Renamed from... | |
311 | (INTERNAL_SYSCALL_1): ... this. Use INTERNAL_SYSCALL_NCS. | |
312 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h | |
313 | (INTERNAL_SYSCALL_NCS): Define. | |
314 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h | |
315 | (INTERNAL_SYSCALL_NCS): Likewise. | |
316 | * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall[0-6]): | |
317 | Change name argument to numbers from syscall names. | |
318 | (INLINE_SYSCALL, INTERNAL_SYSCALL): Adjust. | |
319 | (INTERNAL_SYSCALL_NCS): Define. | |
320 | ||
be27d08c UD |
321 | 2004-09-22 Ulrich Drepper <drepper@redhat.com> |
322 | ||
54915e9e UD |
323 | * malloc/malloc.c (malloc_printerr): Use syslog if writev failed. |
324 | ||
be27d08c UD |
325 | * string/string.h: Add __nonnull annotations. |
326 | * stdlib/stdlib.h: Likewise. | |
327 | ||
4ff389fe UD |
328 | 2004-09-20 H.J. Lu <hongjiu.lu@intel.com> |
329 | ||
330 | * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL): | |
331 | Renamed to ... | |
332 | (DO_INLINE_SYSCALL_NCS): This. | |
333 | (DO_INLINE_SYSCALL): New. | |
334 | (INLINE_SYSCALL): Updated. | |
335 | (INTERNAL_SYSCALL_NCS): Updated. | |
336 | ||
366ca3ac UD |
337 | 2004-09-21 Ulrich Drepper <drepper@redhat.com> |
338 | ||
a2d231e5 UD |
339 | * elf/sprof.c (load_shobj): Add support for reading symbol table |
340 | from debuginfo file. | |
341 | ||
366ca3ac UD |
342 | * elf/ldd.bash.in: Fix syntax errors. |
343 | ||
3c12b91a UD |
344 | 2004-09-20 Ulrich Drepper <drepper@redhat.com> |
345 | ||
1658cb80 UD |
346 | * sysdeps/unix/sysv/linux/dl-execstack.c |
347 | (_dl_make_stack_executable): Remove some duplication. | |
348 | ||
3c12b91a UD |
349 | * nscd/nscd.c (options): Mark S option as hidden. |
350 | (parse_opt): When S option is used, print warning message. | |
351 | * nscd/grpcache.c (adgrptbyX): Don't handle secure mode. | |
352 | * nscd/hstcache.c (addhstbyX): Don't handle secure mode. | |
353 | * nscd/aicache.c (addhstaiX): Don't handle secure mode. | |
354 | * nscd/pwdcache.c (addpwbyX): Don't handle secure mode. | |
355 | ||
f6f43da7 RM |
356 | 2004-09-20 Roland McGrath <roland@frob.com> |
357 | ||
358 | * elf/dl-load.c (__stack_prot): Only use PROT_GROWSUP/PROT_GROWSDOWN | |
359 | in initializer #if defined. | |
360 | ||
361 | 2004-09-18 Paul Eggert <eggert@cs.ucla.edu> | |
362 | ||
363 | [BZ #391] | |
364 | * stdlib/getsubopt.c: Merge fixes from gnulib. | |
365 | (__strchrnul) [!_LIBC]: Define and include "strchrnul.c". | |
366 | (getsubopt): Use prototypes, not K&R style. | |
367 | Fix bug: memcmp(A,B,N) was being invoked on a memory block B | |
368 | whose size might be smaller than N. Use strncmp to avoid the bug. | |
369 | ||
664e7d93 UD |
370 | 2004-09-20 Ulrich Drepper <drepper@redhat.com> |
371 | ||
65f0beb9 UD |
372 | * configure.in: If selinux has not explictly been requested, don't |
373 | comment on it missing. | |
374 | ||
664e7d93 UD |
375 | * elf/dl-load.c: Define __stack_prot. |
376 | * sysdeps/unix/sysv/linux/dl-execstack.c: Don't define | |
377 | __stack_prot here, just declare it. | |
378 | ||
54beacab UD |
379 | 2004-09-20 Jakub Jelinek <jakub@redhat.com> |
380 | ||
381 | * configure.in (libc_cv_z_relro): Only set to yes if linker script | |
382 | contains DATA_SEGMENT_RELRO_END. | |
383 | ||
efec5079 UD |
384 | 2004-09-20 Ulrich Drepper <drepper@redhat.com> |
385 | ||
386 | * elf/dl-load.c (_dl_map_object_from_fd): Add some error checking. | |
387 | Reorder code slightly. | |
388 | * elf/rtld.c (dl_main): No need to check whether l_info[DT_HASH] | |
389 | is non-null, _dl_setup_hash will do that. | |
390 | ||
29e11320 UD |
391 | 2004-09-19 Ulrich Drepper <drepper@redhat.com> |
392 | ||
2edb61e3 UD |
393 | * sysdeps/unix/sysv/linux/setegid.c [HAVE_PTR__NPTL_SETXID]: Call |
394 | callback to set IDs in all other threads as well. | |
395 | * sysdeps/unix/sysv/linux/seteuid.c: Likewise. | |
396 | * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. | |
397 | * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. | |
398 | * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. | |
399 | * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. | |
400 | * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. | |
401 | * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. | |
402 | * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. | |
403 | * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. | |
404 | * sysdeps/unix/sysv/linux/setuid.c: New file. | |
405 | * sysdeps/unix/sysv/linux/setgid.c: New file. | |
406 | * sysdeps/unix/sysv/linux/setreuid.c: New file. | |
407 | * sysdeps/unix/sysv/linux/setregid.c: New file. | |
408 | * sysdeps/unix/sysv/linux/setresuid.c: New file. | |
409 | * sysdeps/unix/sysv/linux/setresgid.c: New file. | |
410 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INTERNAL_SYSCALL_NCS. | |
411 | * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise. | |
412 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. | |
413 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise. | |
414 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
415 | * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Use x86 version. | |
416 | * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise. | |
417 | * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file. | |
418 | * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file. | |
419 | * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove setresgid | |
420 | and setresuid. | |
421 | * nscd/aicache.c: Use pthread_seteuid_np instead of seteuid. | |
422 | * nscd/grpcache.c: Likewise. | |
423 | * nscd/hstcache.c: Likewise. | |
424 | * nscd/pwdcache.c: Likewise. | |
425 | ||
29e11320 UD |
426 | * resolv/res_mkquery.c (res_nmkquery): Fix typo. |
427 | ||
f4380a09 UD |
428 | 2004-09-18 Ulrich Drepper <drepper@redhat.com> |
429 | ||
dcca3fe2 UD |
430 | * sysdeps/unisx/sysv/linux/dl-execstack.c: Get protection flag |
431 | from memory. | |
432 | * elf/dl-load.c (_dl_map_object_from_fd): Add PROT_EXEC flag to | |
433 | __stack_flags. | |
434 | ||
d7243362 UD |
435 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Do not use |
436 | gethostbyname3_r if we are not looking for the canonical name. | |
437 | ||
f4380a09 UD |
438 | * resolv/res_mkquery.c (res_nmkquery): Randomize request ID every |
439 | time. | |
440 | ||
9530eaf0 RM |
441 | 2004-09-18 Roland McGrath <roland@redhat.com> |
442 | ||
443 | * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Pass fifth argument to | |
444 | system call. | |
445 | ||
7a11603d UD |
446 | 2004-09-17 Ulrich Drepper <drepper@redhat.com> |
447 | ||
448 | * include/link.h (struct link_map): Add l_used element. | |
449 | * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_UNUSED. | |
450 | * elf/rtld.c (process_dl_debug): Recognize unused. | |
451 | (dl_main): When unused debug flag is set check for unused direct | |
452 | dependencies. | |
453 | When printing dependencies and SONAME starts with /, omit the SONAME => | |
454 | part. | |
455 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Mark object in which the | |
456 | symbol has been found as used. | |
457 | * elf/ldd.bash.in: Add -u option. | |
458 | ||
f04b1e1f UD |
459 | 2004-09-18 Jakub Jelinek <jakub@redhat.com> |
460 | ||
461 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): | |
462 | Do nothing if __NR_set_tid_address is not defined. [BZ #390] | |
463 | ||
464 | 2004-09-17 Ulrich Drepper <drepper@redhat.com> | |
465 | ||
466 | * sysdeps/posix/getaddrinfo.c: Use gethostbyname3_r NSS function | |
467 | in case it is available. | |
468 | ||
f731666f UD |
469 | 2004-09-17 Jakub Jelinek <jakub@redhat.com> |
470 | ||
471 | * nscd/nscd.c (parse_opt): Write arg string instead of (void *) | |
472 | key to the socket. | |
473 | ||
8a1f658b UD |
474 | 2004-09-17 Ulrich Drepper <drepper@redhat.com> |
475 | ||
476 | * misc/sys/cdefs.h: Define __nonnull using nonnull function attribute | |
477 | for gcc 3.3 and higher. | |
478 | * io/fcntl.h: Add __nonnull where appropriate. | |
479 | * io/ftw.h: Likewise. | |
480 | * io/utime.h: Likewise. | |
481 | * io/sys/poll.h: Likewise. | |
482 | * io/sys/sendfile.h: Likewise. | |
483 | * io/sys/stat.h: Likewise. | |
484 | * io/sys/statfs.h: Likewise. | |
485 | * io/sys/statvfs.h: Likewise. | |
486 | * posix/unistd.h: Likewise. | |
41102740 UD |
487 | * catgets/nl_types.h: Likewise. |
488 | * crypt/crypt.h: Likewise. | |
489 | * debug/execinfo.h: Likewise. | |
8a1f658b | 490 | |
74a30a58 UD |
491 | 2004-09-16 Ulrich Drepper <drepper@redhat.com> |
492 | ||
5032f494 UD |
493 | * posix/glob.h: Remove cruft to make header usable outside glibc. |
494 | The maintenance headache is too big. | |
495 | ||
74a30a58 UD |
496 | * configure.in: Add test for required SELinux features. |
497 | * config.make.in: Add have-selinux entry. | |
498 | * config.h.in: Add HAVE_SELINUX entry. | |
499 | * nscd/Makefile (nscd-modules): Add selinux. | |
500 | (CFLAGS-selinux.c): Add -fpie. | |
501 | Define selinux-LIBS and use in link line. | |
502 | * nscd/connections.c (handle_request): Check access SELinux permissions | |
503 | before processing request. | |
504 | * nscd/nscd.c (main): Initialize selinux_enabled and stop avc thread. | |
505 | * nscd/nscd_stat.c: Transmit and print AVC statistics. | |
506 | * nscd/selinux.c: New file. | |
507 | * nscd/selinux.h: New file. | |
166151ff | 508 | Patch mostly by Matthew Rickard <mjricka@epoch.ncsc.mil>. |
74a30a58 UD |
509 | |
510 | 2004-09-16 Jakub Jelinek <jakub@redhat.com> | |
511 | ||
512 | * nscd/nscd_helper.c (__nscd_unmap, get_mapping): Use __munmap | |
513 | instead of munmap. | |
514 | ||
515 | * nscd/Makefile (CFLAGS-aicache.c): Set to -fpie. | |
516 | ||
517 | 2004-09-16 Thorsten Kukuk <kukuk@suse.de> | |
518 | ||
519 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Check | |
520 | __nss_not_use_nscd_hosts variable if nscd should be used or not. | |
521 | ||
522 | 2004-09-16 Ulrich Drepper <drepper@redhat.com> | |
523 | ||
524 | * nscd/nscd_proto.h: Define NSS_NSCD_RETRY. | |
525 | Add __nscd_getai prototype. | |
526 | * nss/getXXbyYY_r.c: Remode definition of NSS_NSCD_RETRY. | |
527 | * nscd/nscd-client.h: Remove __nscd_getai prototype. | |
528 | * nscd/nscd_getai.c: Include nscd_proto.h. | |
529 | ||
530 | * elf/ldd.bash.in: Add support for SELinux environments. | |
531 | Patch by Stephen Smalley <sds@epoch.ncsc.mil>. | |
532 | ||
ae9e6b36 RM |
533 | 2004-09-16 Roland McGrath <roland@redhat.com> |
534 | ||
535 | * configure.in (--with-headers): Let argument contain a : separated | |
536 | list of directories to use, not just one. | |
537 | * configure: Regenerated. | |
538 | ||
edbaf5e5 RH |
539 | 2004-09-15 Richard Henderson <rth@redhat.com> |
540 | ||
541 | * sysdeps/alpha/fpu/libm-test-ulps: Update. | |
542 | * scripts/data/c++-types-alpha-linux-gnu.data: New file. | |
543 | ||
d19687d6 UD |
544 | 2004-09-15 Ulrich Drepper <drepper@redhat.com> |
545 | ||
d1fe1f22 UD |
546 | * nscd/aicache.c: Prefer using gethostbyname3_r NSS callback to also |
547 | get ttl and canonical name. Use these two values. | |
548 | * resolv/Versions: Export _nss_dns_gethostbyname3_r from libnss_dns. | |
549 | * resolv/nss_dns/dns-host.c (getanswer_r): Take two new parameters. | |
550 | If nonnull fill with TTL and pointer to canonical name respectively. | |
551 | (_nss_dns_gethostbyaddr_r): Pass NULL in new parameters of getanswer_r. | |
552 | (_nss_dns_gethostbyname2_r): Just wrapper around | |
553 | _nss_dns_gethostbyname3_r. | |
554 | (_nss_dns_gethostbyname3_r): Renamed from _nss_dns_gethostbyname2_r. | |
555 | Take two new parameters which as passed to getanswer_r. | |
556 | ||
d19687d6 UD |
557 | * nscd/Makefile (rountines): Add nscd_getai. |
558 | (nscd-modules): Add aicache. | |
559 | * nscd/aicache.c: New file. | |
560 | * nscd/nscd_getai.c: New file. | |
561 | * nscd/cache.c (prune_cache): Handle GETAI request type. | |
562 | * nscd/connections.c: Add GETAI support in request handling. | |
563 | * nscd/nscd-client.h (request_type): Add GETAI. | |
564 | Define ai_response_header and struct nscd_ai_result types. | |
565 | (struct datahead): Add aidata field. | |
566 | Declare __nscd_getai. | |
567 | * nscd/nscd.c: Add getaddrinfo definition to catch problems. | |
568 | * nscd/nscd.h: Declare addhstai and readdhstai. | |
569 | ||
570 | * sysdeps/posix/getaddrinfo.c: Add support for using cached results. | |
dc4f1624 | 571 | * posix/Makefile (CFLAGS-getaddrinfo.c): Add -DUSE_NSCD. |
d19687d6 UD |
572 | |
573 | * nscd/nscd-client.h (struct datahead): Use uint8_t instead of bool. | |
574 | ||
5d156bb6 UD |
575 | 2004-09-14 Ulrich Drepper <drepper@redhat.com> |
576 | ||
577 | * misc/sys/cdefs.h: Remove debugging text from __P and __PMT. | |
578 | ||
79937577 UD |
579 | 2004-09-13 Ulrich Drepper <drepper@redhat.com> |
580 | ||
581 | * misc/sys/cdefs.h: Restore old definition of __P. | |
582 | * csu/munch.awk: Remove uses of __P and __PMT. | |
583 | * gmon/gmon.c: Likewise. | |
584 | * hesiod/hesiod.h: Likewise. | |
585 | * include/stdio.h: Likewise. | |
586 | * io/fts.c: Likewise. | |
587 | * libio/genops.c: Likewise. | |
588 | * libio/libioP.h: Likewise. | |
589 | * libio/fileops.c: Likewise. | |
590 | * libio/iolibio.h: Likewise. | |
591 | * libio/libio.h: Likewise. | |
592 | * libio/memstream.c: Likewise. | |
593 | * libio/oldfileops.c: Likewise. | |
594 | * libio/oldstdfiles.c: Likewise. | |
595 | * libio/iopopen.c: Likewise. | |
596 | * libio/vsnprintf.c: Likewise. | |
597 | * libio/vswprintf.c: Likewise. | |
598 | * libio/wgenops.c: Likewise. | |
599 | * libio/oldiopopen.c: Likewise. | |
600 | * locale/programs/xmalloc.c: Likewise. | |
601 | * locale/programs/xstrdup.c: Likewise. | |
602 | * malloc/mtrace.c: Likewise. | |
603 | * misc/getttyent.c: Likewise. | |
604 | * misc/getusershell.c: Likewise. | |
605 | * nis/rpcsvc/ypupd.h: Likewise. | |
606 | * posix/fnmatch.h: Likewise. | |
607 | * posix/glob.h: Likewise. | |
608 | * resolv/arpa/nameser.h: Likewise. | |
609 | * resolv/gethnamaddr.c: Likewise. | |
610 | * resolv/resolv.h: Likewise. | |
611 | * resolv/inet_net_ntop.c: Likewise. | |
612 | * resolv/inet_net_pton.c: Likewise. | |
613 | * resolv/res_init.c: Likewise. | |
614 | * resolv/nss_dns/dns-network.c: Likewise. | |
615 | * stdio-common/vfprintf.c: Likewise. | |
616 | * stdio-common/reg-printf.c: Likewise. | |
617 | * sysdeps/generic/chflags.c: Likewise. | |
618 | * sysdeps/generic/fchflags.c: Likewise. | |
619 | * sysdeps/generic/glob.c: Likewise. | |
620 | * sysdeps/generic/printf_fphex.c: Likewise. | |
621 | * sysdeps/generic/memcmp.c: Likewise. | |
622 | * sysdeps/generic/memcopy.h: Likewise. | |
623 | * sysdeps/generic/morecore.c: Likewise. | |
624 | * sysdeps/generic/sstk.c: Likewise. | |
625 | * sysdeps/posix/sigvec.c: Likewise. | |
626 | * sysdeps/posix/ttyname_r.c: Likewise. | |
627 | * sysdeps/standalone/arm/bits/errno.h: Likewise. | |
628 | * sysdeps/standalone/standalone.h: Likewise. | |
629 | * sysdeps/standalone/i386/force_cpu386/brdinit.c: Likewise. | |
630 | * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. | |
631 | * sysdeps/unix/arm/start.c: Likewise. | |
632 | * sysdeps/unix/bsd/sigaction.c: Likewise. | |
633 | * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise. | |
634 | * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise. | |
635 | * sysdeps/unix/bsd/sun/sunos4/wait4.c: Likewise. | |
636 | * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Likewise. | |
637 | * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise. | |
638 | * sysdeps/unix/sparc/start.c: Likewise. | |
639 | * sysdeps/unix/sysv/getdents.c: Likewise. | |
640 | * sysdeps/unix/sysv/irix4/fpathconf.c: Likewise. | |
641 | * sysdeps/unix/sysv/irix4/getgroups.c: Likewise. | |
642 | * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. | |
643 | * sysdeps/unix/sysv/irix4/getrusage.c: Likewise. | |
644 | * sysdeps/unix/sysv/irix4/pathconf.c: Likewise. | |
645 | * sysdeps/unix/sysv/irix4/setgroups.c: Likewise. | |
646 | * sysdeps/unix/sysv/irix4/sigtramp.c: Likewise. | |
647 | * sysdeps/unix/sysv/irix4/start.c: Likewise. | |
648 | * sysdeps/unix/sysv/irix4/sysconf.c: Likewise. | |
649 | * sysdeps/unix/sysv/sco3.2.4/__setpgid.c: Likewise. | |
650 | * sysdeps/unix/sysv/sco3.2.4/getgroups.c: Likewise. | |
651 | * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise. | |
652 | * sysdeps/unix/sysv/sysv4/__setpgid.c: Likewise. | |
653 | * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise. | |
654 | * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise. | |
655 | * sysdeps/unix/sysv/sysv4/sethostname.c: Likewise. | |
656 | * sysdeps/unix/sysv/sysv4/setsid.c: Likewise. | |
657 | * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise. | |
658 | * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise. | |
659 | * sysdeps/unix/sysv/sysv4/solaris2/getdents.c: Likewise. | |
660 | * time/tzset.c: Likewise. | |
661 | * time/strftime_l.c: Likewise. | |
662 | * time/strptime_l.c: Likewise. | |
663 | * crypt/md5.h: Likewise. | |
664 | ||
dc941093 RM |
665 | 2004-09-13 Andreas Jaeger <aj@suse.de> |
666 | ||
667 | * configure.in: Support GCC 4.x. | |
668 | * configure: Regenerated. | |
669 | ||
aadd7d9d UD |
670 | 2004-09-13 Thorsten Kukuk <kukuk@suse.de> |
671 | ||
672 | * nscd/nscd_stat.c: Don't access dbs[cnt].head for disabled services. | |
673 | ||
674 | * nscd/nscd.init: Fix path to socket. | |
675 | ||
f69425fa UD |
676 | 2004-09-12 Ulrich Drepper <drepper@redhat.com> |
677 | ||
407c4b9a UD |
678 | * nscd/nscd_helper.c (get_mapping): Correctly check cmsg length. |
679 | Avoid file descriptor leak in case of size mismatch. | |
680 | ||
404db64a | 681 | * nscd/nscd-client.h: Fix database structure layout for biarch. |
568470bb | 682 | * nscd/mem.c (gc): Add casts to avoid warnings. |
404db64a | 683 | |
f69425fa UD |
684 | * nss/getent.c: Don't preconstruct help message. Do it only when |
685 | needed. | |
686 | ||
687 | * locale/programs/locale.c: Simplify help message printing. | |
688 | ||
0c563d9d RM |
689 | 2004-09-12 Roland McGrath <roland@frob.com> |
690 | ||
691 | * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls | |
692 | missing in last change. | |
693 | ||
20f8e666 UD |
694 | 2004-09-11 Thorsten Kukuk <kukuk@suse.de> |
695 | ||
696 | * nis/nss_compat/compat-grp.c: Check that buflen is greater zero | |
697 | before writing data into the buffer with negative offset. | |
698 | * nis/nss_compat/compat-initgroups.c: Likewise. | |
699 | * nis/nss_compat/compat-pwd.c: Likewise. | |
700 | * nis/nss_compat/compat-spwd.c Likewise. | |
701 | ||
cf244b74 UD |
702 | 2004-09-12 Ulrich Drepper <drepper@redhat.com> |
703 | ||
ccc63b07 UD |
704 | * misc/syslog.c (vsyslog): Fix copying of PID in case of |
705 | out-of-memory situation. [BZ #365]. | |
706 | ||
707 | * sysdeps/alpha/fpu/bits/mathinline.h: Use __NTH instead of | |
708 | __THROW in inline function definitions. | |
709 | ||
9ad68422 UD |
710 | * posix/spawn.h [__USE_GNU]: Define POSIX_SPAWN_USEVFORK. |
711 | * posix/spawnattr_setflags.c: Check whether any unknown bit is set | |
712 | in FLAGS parameter and fail if this is the case. | |
713 | * sysdeps/posix/spawni.c: Use vfork if POSIX_SPAWN_USEVFORK flag is | |
714 | set. | |
715 | ||
cf244b74 UD |
716 | * nscd/pwdcache.c (cache_addpw): Sync also negative results to disk. |
717 | * nscd/grpcache.c (cache_addgr): Likewise. | |
718 | * nscd/hstcache.c (cache_addhst): Likewise. | |
719 | ||
9d78d122 RM |
720 | 2004-09-11 Roland McGrath <roland@frob.com> |
721 | ||
722 | * sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: | |
723 | Set _dl_phdr and _dl_phnum. | |
724 | (init1): When bootstrap task, bail early and never examine *D. | |
725 | ||
fc58d352 RM |
726 | 2004-09-11 Alfred M. Szmidt <ams@kemisten.nu> |
727 | ||
728 | * sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]: | |
729 | Cast THR, SEL and DESC to `void'. | |
730 | ||
5a617b9e UD |
731 | 2004-09-11 Ulrich Drepper <drepper@redhat.com> |
732 | ||
72ae1e97 UD |
733 | * nscd/connections.c (nscd_run): Call setup_thread only for enabled |
734 | databases. | |
735 | ||
5a617b9e UD |
736 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr. |
737 | ||
3418007e UD |
738 | 2004-09-10 Ulrich Drepper <drepper@redhat.com> |
739 | ||
740 | * nscd/nscd.c (pagesize_m1): New variable. | |
741 | (main): Initialize it. | |
742 | * nscd/nscd.h: Declare pagesize_m1. | |
743 | * nscd/hstcache.c: Pass correctly aligned address to msync. | |
744 | * nscd/grpcache.c: Likewise. | |
745 | * nscd/pwdcache.c: Likewise. | |
746 | ||
9b2dc515 UD |
747 | 2004-09-10 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
748 | ||
749 | * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Decrement | |
750 | __nwaiters. If pthread_cond_destroy has been called and this is | |
751 | the last waiter, signal pthread_cond_destroy caller and avoid | |
752 | using the pthread_cond_t structure after unlock. | |
753 | * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise. | |
754 | ||
05f4d5cd UD |
755 | 2004-09-10 Ulrich Drepper <drepper@redhat.com> |
756 | ||
757 | * sysdeps/unix/sysv/linux/kernel-features.h: Don't define | |
758 | __ASSUME_CLONE_STOPPED. | |
759 | ||
760 | 2004-09-10 Jakub Jelinek <jakub@redhat.com> | |
761 | ||
762 | * misc/sys/cdefs.h (__REDIRECT_NTH): Change order of __THROW and | |
763 | __asm__ for C++. [BZ #377] | |
764 | ||
d13a3c57 UD |
765 | 2004-09-10 Ulrich Drepper <drepper@redhat.com> |
766 | ||
767 | * nscd/nscd_stat.c: Improve output by also printing .shared and | |
768 | .persistent. | |
769 | ||
770 | * nscd/connections.c: Allow cache sharing to be really disabled. | |
771 | ||
c0097ea1 UD |
772 | 2004-09-10 Jakub Jelinek <jakub@redhat.com> |
773 | ||
774 | * malloc/malloc.c (_int_free): Only do arena boundary check for | |
775 | contiguous arenas. | |
776 | ||
5a617b9e | 777 | 2004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
181742f8 RM |
778 | |
779 | * stdlib/longlong.h [__M32R__] (add_ssaaaa, sub_ddmmss): Fix broken | |
780 | instruct operands. | |
781 | * elf/elf.h: Add R_M32R_* relocs. | |
782 | ||
a962d7dc UD |
783 | 2004-09-09 Ulrich Drepper <drepper@redhat.com> |
784 | ||
e071493f UD |
785 | * misc/sys/cdefs.h: Despite what the gcc manual says, gcc 3.2 |
786 | seems not to support the nothrow attribute. Use it only for gcc | |
787 | 3.3 and higher. | |
788 | ||
a962d7dc UD |
789 | * malloc/hooks.c (top_check): Print top chunk corruption as normal |
790 | error message. | |
791 | ||
792 | * malloc/malloc.c (malloc_printerr): Don't make informational | |
793 | message look like error message. | |
794 | ||
45ab54ce AJ |
795 | 2004-09-09 Andreas Jaeger <aj@suse.de> |
796 | ||
797 | * nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie. | |
798 | ||
9d0cdc0e UD |
799 | 2004-09-08 Ulrich Drepper <drepper@redhat.com> |
800 | ||
062ad132 UD |
801 | * sysdeps/unix/sysv/linux/bits/socket.h (__SCM_CONNECT): Removed. |
802 | ||
14abadc8 UD |
803 | * malloc/malloc.c (_int_free): Add inexpensive double free and |
804 | memory corruption tests. | |
805 | (malloc_printf_nc): Renamed to malloc_printerr. Second parameter | |
806 | is no format string anymore. Don't use stdio. Adjust all callers. | |
807 | * malloc/hooks.c: Adjust malloc_printf_nc callers. | |
9d0cdc0e | 808 | |
54b497ce RM |
809 | 2004-09-08 Roland McGrath <roland@redhat.com> |
810 | ||
811 | * malloc/mcheck.c: Don't use __P. | |
812 | Use prototypes definitions for static functions. | |
813 | ||
4924c007 UD |
814 | 2004-09-08 Ulrich Drepper <drepper@redhat.com> |
815 | ||
816 | * sysdeps/ia64/fpu/bits/mathinline.h: Use __NTH instead of __THROW. | |
817 | ||
081fc592 UD |
818 | 2004-09-08 Ulrich Drepper <drepper@redhat.com> |
819 | Jakub Jelinek <jakub@redhat.com> | |
820 | ||
cf6f93d4 UD |
821 | * nscd/nscd-client.h: Add a few #includes. |
822 | ||
081fc592 UD |
823 | * nscd/Makefile (nscd-modules): Add nscd_setup_thread. |
824 | * nscd/connections.c (nscd_run): Call setup_thread for maintenance | |
825 | threads. | |
826 | * nscd/nscd-client.h (struct database_pers_head): Add | |
827 | nscd_certainly_running field. | |
828 | * nscd/nscd.h: Declare setup_thread. | |
829 | * nscd/nscd_helper.c (__nscd_get_map_ref): Avoid the time test if | |
830 | nscd_certainly_running is nonzero. | |
67a0b49d UD |
831 | * sysdeps/generic/nscd_setup_thread.c: New file. |
832 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file. | |
081fc592 | 833 | |
06d6611a UD |
834 | 2004-09-08 Ulrich Drepper <drepper@redhat.com> |
835 | ||
c207f23b UD |
836 | * nscd/connections.c: Implement r/o sharing of nscd's cache with client |
837 | processes via shared memory. | |
838 | * nscd/nscd-client.h: Likewise. | |
839 | * nscd/nscd.h: Likewise. | |
840 | * nscd/nscd_conf.c: Likewise. | |
841 | * nscd/nscd_getgr_r.c: Likewise. | |
842 | * nscd/nscd_getpw_r.c: Likewise. | |
843 | * nscd/nscd_gethst_r.c: Likewise. | |
844 | * nscd/nscd.conf: Add new config parameters. | |
845 | * nscd/Makefile (aux): Add nscd_helper. | |
846 | * nscd/nscd_helper.c: New file. | |
847 | * nscd/mem.c (gc): Indicate beginning and end of the gc cycle. | |
848 | ||
849 | * nscd/hstcache.c: Simplify a lot. We cache only the request itself, | |
850 | no derived information. | |
851 | * connections.c (nscd_init): Fix bug in testing size of the persistent. | |
852 | ||
853 | * nis/Makefile (aux): Add nis_hash. | |
854 | * nis/nis_hash.c: New file. Split out from nis_util.c. | |
855 | * nis/nis_util.c: Move __nis_hash code in separate file. | |
856 | ||
857 | * csu/tst-atomic.c: Improve atomic_increment_val test which would | |
858 | not have found a ppc bug. | |
859 | ||
0a3ad40d UD |
860 | * sysdeps/s390/fpu/bits/mathinline.h: Remove unnecessary includes. |
861 | ||
06d6611a UD |
862 | * malloc/arena.c: Remove __MALLOC_P uses. |
863 | * malloc/malloc.c: Likewise. | |
864 | ||
865 | * malloc/mtrace.c: Remove __P uses. | |
866 | * malloc/mcheck-init.c: Likewise. | |
867 | ||
590b40f7 UD |
868 | 2004-09-07 Jakub Jelinek <jakub@redhat.com> |
869 | ||
870 | * sysdeps/powerpc/powerpc64/configure.in: New file. | |
871 | * config.h.in (USE_PPC64_OVERLAPPING_OPD): Add. | |
872 | * configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove. | |
873 | * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. | |
874 | (OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX, | |
875 | BODY_PREFIX): Define. | |
876 | (ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support | |
877 | HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols, | |
878 | USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries. | |
879 | * sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h. | |
880 | (TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros. | |
881 | ||
3655715b UD |
882 | 2004-09-07 Ulrich Drepper <drepper@redhat.com> |
883 | ||
67254a97 UD |
884 | * malloc/malloc.h: Don't define __THROW if it is already defined. |
885 | ||
7ba0e52c UD |
886 | * sysdeps/powerpc/bits/atomic.h (atomic_increment): Define. |
887 | (atomic_decrement): Define. | |
888 | ||
889 | * sysdeps/powerpc/bits/atomic.h: Implement atomic_increment_val and | |
890 | atomic_decrement_val. | |
891 | * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise. | |
892 | * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise. | |
893 | ||
894 | * csu/tst-atomic.c (do_test): Add tests of atomic_increment_val | |
895 | and atomic_decrement_val. | |
896 | ||
f377d022 | 897 | * include/atomic.h: Define atomic_increment_val, atomic_decrement_val, |
f510d815 | 898 | and atomic_delay is not already defined. |
f377d022 UD |
899 | * sysdeps/i386/i486/bits/atomic.h: Define atomic_delay. |
900 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
901 | ||
902 | * miscd/sys/cdefs.h (__NTH): New macro. | |
903 | (__THROW): Define using nothrow attribute for C code and gcc >= 3.2. | |
904 | (__REDIRECT_NTH): New macro. | |
905 | * argp/argp.h: Use __NTH and __REDIRECT_NTH where necessary. | |
906 | * ctype/ctype.h: Likewise. | |
907 | * dirent/dirent.h: Likewise. | |
908 | * io/fcntl.h: Likewise. | |
909 | * io/sys/sendfile.h: Likewise. | |
910 | * io/sys/stat.h: Likewise. | |
911 | * io/sys/statfs.h: Likewise. | |
912 | * io/sys/statvfs.h: Likewise. | |
913 | * libio/bits/stdio.h: Likewise. | |
914 | * misc/sys/mman.h: Likewise. | |
915 | * posix/unistd.h: Likewise. | |
916 | * resource/sys/resource.h: Likewise. | |
917 | * rt/aio.h: Likewise. | |
918 | * signal/signal.h: Likewise. | |
919 | * stdlib/stdlib.h: Likewise. | |
920 | * string/argz.h: Likewise. | |
921 | * string/string.h: Likewise. | |
922 | * sysdeps/generic/inttypes.h: Likewise. | |
923 | * sysdeps/i386/fpu/bits/mathinline.h: Likewise. | |
924 | * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. | |
925 | * sysdeps/s390/fpu/bits/mathinline.h: Likewise. | |
926 | * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. | |
927 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
928 | * sysdeps/unix/sysv/linux/bits/sys/sysmacros.h: Likewise. | |
929 | * wcsmbs/wchar.h: Likewise. | |
930 | ||
931 | * sysdeps/generic/glob.c: Use __PMT isntead of __P where appropriate. | |
932 | ||
933 | * resolv/gethnamaddr.c (getanswer): Remove __P use in variable | |
934 | definition. | |
935 | ||
936 | * io/sys/poll.h: Remove __THROW from poll prototype, it's a | |
937 | cancellation point. | |
938 | ||
f863a5a5 UD |
939 | * io/fts.c (fts_open): Remove uses of __P. |
940 | ||
3655715b UD |
941 | * include/stdlib.h: No need to use __THROW in this header. |
942 | ||
f2b85a9f RM |
943 | 2004-09-06 Roland McGrath <roland@frob.com> |
944 | ||
945 | * sysdeps/mach/hurd/dl-sysdep.c (__writev): Does use assert on FD | |
946 | validity, since __assert_fail gets to here anyway. Just fail. | |
947 | ||
415b043d UD |
948 | 2004-09-06 Ulrich Drepper <drepper@redhat.com> |
949 | ||
950 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix problem with | |
951 | AF_UNSPEC lookup with AI_CANONNAME of name which has only IPv6 | |
952 | addresses. | |
953 | ||
6029b952 RH |
954 | 2004-09-05 Richard Henderson <rth@redhat.com> |
955 | ||
956 | * sysdeps/alpha/fpu/fraiseexcpt.c: Remove file. | |
957 | * sysdeps/unix/sysv/linux/kernel-features.h | |
958 | (__ASSUME_IEEE_RAISE_EXCEPTION): New. | |
959 | * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file. | |
960 | * sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file. | |
961 | * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it. | |
962 | * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise. | |
963 | ||
febcd836 RH |
964 | 2004-09-05 Richard Henderson <rth@redhat.com> |
965 | ||
966 | * sysdeps/alpha/div.S: Save and restore FPCR around fp operations. | |
967 | * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S, | |
968 | sysdeps/alpha/ldiv.S, sysdeps/alpha/reml.S, sysdeps/alpha/remq.S, | |
969 | sysdeps/alpha/remqu.S: Likewise. | |
970 | * sysdeps/alpha/div_libc.h (FRAME): Increase to 64. | |
971 | ||
418dfb12 UD |
972 | 2004-09-05 Ulrich Drepper <drepper@redhat.com> |
973 | ||
974 | * nscd/cache.c (cache_add): Correctly log GETHOSTBYADDR and | |
975 | GETHOSTBYADDRv6 requests. | |
976 | ||
03e157d8 UD |
977 | 2004-09-04 Ulrich Drepper <drepper@redhat.com> |
978 | ||
979 | * nscd/pwdcache.c (cache_addpw): Use correct key length in | |
980 | cache_add calls. | |
981 | * nscd/grpcache.c (cache_addgr): Likewise. | |
982 | ||
2a254592 RM |
983 | 2004-09-03 Alfred M. Szmidt <ams@kemisten.nu> |
984 | ||
985 | * sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV | |
986 | to `dtv_t *'. | |
987 | ||
ead07d01 UD |
988 | 2004-09-03 Ulrich Drepper <drepper@redhat.com> |
989 | ||
990 | * nscd/nscd.c (parse_opt): Use writev instead of two write for | |
991 | invalidate command. | |
992 | ||
1da484d9 UD |
993 | 2004-09-02 Ulrich Drepper <drepper@redhat.com> |
994 | ||
995 | * nscd/connections.c (nscd_run): Check early for invalid request types. | |
996 | ||
58c64754 RM |
997 | 2004-09-02 Roland McGrath <roland@frob.com> |
998 | ||
999 | * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): New macro. | |
1000 | (INSTALL_NEW_DTV, THREAD_DTV): Rewritten to fetch the right word. | |
1001 | (THREAD_SELF): New macro. | |
1002 | ||
73f7c32c UD |
1003 | 2004-09-02 Steven Munroe <sjmunroe@us.ibm.com> |
1004 | ||
1005 | [BZ #357] | |
1006 | * stdlib/tst-setcontext.c (test_stack): Added test for stack clobber. | |
1007 | (main): Call test_stack. | |
1008 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S | |
1009 | (__getcontext): Push stack frame then save parms in local frame. | |
1010 | Improve instruction scheduling. | |
1011 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S | |
1012 | (__swapcontext): Likewise. | |
1013 | ||
86aca5ac UD |
1014 | 2004-09-01 Andreas Schwab <schwab@suse.de> |
1015 | ||
1016 | * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h [g++ >= 3.5]: Use | |
1017 | __builtin_offsetof. | |
1018 | ||
aae95a1b UD |
1019 | 2004-09-01 Jakub Jelinek <jakub@redhat.com> |
1020 | ||
1021 | [BZ #361] | |
1022 | * posix/fnmatch_loop.c (FCT): For backslash between brackets, branch | |
1023 | to normal_bracket after fetching the next character. | |
1024 | * posix/tst-fnmatch.input: Add 25 new tests. | |
1025 | Reported by Markus Oberhumer <markus@oberhumer.com>. | |
1026 | ||
49563939 UD |
1027 | 2004-09-01 Ulrich Drepper <drepper@redhat.com> |
1028 | ||
1029 | * elf/rtld.c (dl_main): First check existence of ld.so.preload | |
1030 | with access. | |
1031 | ||
6698501f RM |
1032 | 2004-09-01 Roland McGrath <roland@redhat.com> |
1033 | ||
1034 | * sysdeps/unix/sysv/linux/bits/waitflags.h | |
1035 | (WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros. | |
1036 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL): | |
1037 | New macro. | |
1038 | * sysdeps/unix/sysv/linux/waitid.c: New file. Use new syscall when | |
1039 | available, or fall back to the waitpid-based generic code. | |
1040 | ||
66cc59de RM |
1041 | 2004-08-14 Alfred M. Szmidt <ams@kemisten.nu> |
1042 | ||
1043 | * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Let gcc | |
1044 | clobber the `ebp' register. | |
1045 | * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Removed. | |
1046 | Reverts change from 2004-05-07 by Jeroen Dekkers. | |
1047 | ||
1048 | * sysdeps/mach/hurd/i386/init-first.c (init): Changed the type of | |
1049 | NEWSP from `void *' to `int *'. Changed all casts accordingly. | |
1050 | ||
c4bb5cd8 RM |
1051 | 2004-08-31 Jakub Jelinek <jakub@redhat.com> |
1052 | ||
1053 | * wcsmbs/wcsmbsload.c (__wcsmbs_getfct): Move attribute_hidden | |
1054 | before return type. | |
1055 | * locale/localename.c (__current_locale_name): Likewise. | |
1056 | ||
d2e75f65 RM |
1057 | 2004-08-30 Roland McGrath <roland@frob.com> |
1058 | ||
1059 | * scripts/extract-abilist.awk: If `lastversion' variable defined, omit | |
1060 | later sets from output. | |
1061 | * Makerules (check-abi): Pass option to set that with value of | |
1062 | LIB-abi-frozen variable if one is set. | |
1063 | ||
1064 | * abilist/libcidn.abilist: New file (empty). | |
1065 | ||
409f7493 UD |
1066 | 2004-08-30 Jakub Jelinek <jakub@redhat.com> |
1067 | ||
1068 | * posix/bits/posix1_lim.h (_POSIX_CHILD_MAX, _POSIX_OPEN_MAX): If | |
1069 | not __USE_XOPEN2K, use the Unix98 mandated values. | |
1070 | ||
619f9448 RM |
1071 | 2004-08-27 Roland McGrath <roland@redhat.com> |
1072 | ||
1073 | * configure.in (usetls): Default to yes. | |
1074 | * configure: Regenerated. | |
1075 | ||
c80e931a RM |
1076 | 2004-08-26 Roland McGrath <roland@redhat.com> |
1077 | ||
1078 | * configure.in (add_ons_automatic): New variable, set to yes or no | |
1079 | indicating --enable-add-ons with no explicit list. | |
1080 | (running add-on fragments): Allow a fragment to modify $libc_add_on | |
1081 | and have that affect its place in the list of add-ons to use. | |
1082 | * configure: Regenerated. | |
1083 | ||
a95a08b4 UD |
1084 | 2004-08-26 Ulrich Drepper <drepper@redhat.com> |
1085 | ||
1086 | * nscd/cache.c: Major rewrite. The data is now optionally kept in | |
1087 | a mmaped memory region which is automatically mirrored on disk. | |
1088 | This implements persistent data storage. The Memory handled | |
1089 | needed to be completely revamped, it now uses a garbage collection | |
1090 | mechanism instead of malloc. | |
1091 | * nscd/connections.c: Likewise. | |
1092 | * nscd/nscd.c: Likewise. | |
1093 | * nscd/nscd.h: Likewise. | |
1094 | * nscd/nscd_conf.c: Likewise. | |
1095 | * nscd/nscd_stat.c: Likewise. | |
1096 | * nscd/grpcache.c: Likewise. | |
1097 | * nscd/hstcache.c:: Likewise. | |
1098 | * nscd/pwdcache.c:: Likewise. | |
1099 | * nscd/Makefile: Add rules to build mem.c. | |
1100 | * nscd/mem.c: New file. | |
1101 | * nscd/nscd.conf: Describe new configuration options. | |
1102 | ||
1114ffff UD |
1103 | 2004-08-26 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1104 | ||
1105 | * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if | |
1106 | NO_SGIDEFS_H isn't defined. | |
1107 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. | |
1108 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
1109 | ||
1110 | * sysdeps/unix/sysv/linux/sh/pread.c: Define NO_SGIDEFS_H and | |
1111 | _MIPS_SIM. | |
1112 | * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise. | |
1113 | * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. | |
1114 | * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. | |
1115 | ||
86b2fd6e UD |
1116 | 2004-08-26 Ulrich Drepper <drepper@redhat.com> |
1117 | ||
1114ffff UD |
1118 | * nscd/connections.c (nscd_run): atomic_increment was not missing. |
1119 | ||
86b2fd6e UD |
1120 | * sysdeps/gnu/Makefile (libdl-sysdep_routines): Don't add eval. |
1121 | Patch by Greg Schafer. | |
1122 | ||
effeb660 RH |
1123 | 2004-08-25 Richard Henderson <rth@redhat.com> |
1124 | ||
1125 | * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind | |
1126 | instead of $31. Zero $15. | |
1127 | * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise. | |
1128 | ||
d6db0975 UD |
1129 | 2004-08-25 Ulrich Drepper <drepper@redhat.com> |
1130 | ||
afb24a10 UD |
1131 | * sysdeps/powerpc/powerpc64/bits/atomic.h |
1132 | (__arch_compare_and_exchange_bool_32_acq): Fix case where oldval | |
1133 | is negative. | |
1134 | (__arch_compare_and_exchange_bool_32_rel): Likewise. | |
1135 | ||
d6db0975 UD |
1136 | * nscd/connections.c: Make socket nonblocking so that threads |
1137 | don't get stuck on accept. Fix locking. | |
1138 | ||
87329997 | 1139 | * nscd/grpcache.c (cache_addgr): Use copy of original key in hash |
d6db0975 UD |
1140 | entry with alternative key. |
1141 | * nscd/pwdcache.c (cache_addpw): Likewise. | |
1142 | ||
25325c85 AJ |
1143 | 2004-08-25 Richard Sandiford <rsandifo@redhat.com> |
1144 | ||
1145 | * sysdeps/mips/dl-machine.h (_dl_start_user): Don't set | |
1146 | __libc_stack_end. | |
1147 | ||
80af9a48 UD |
1148 | 2004-08-23 Ulrich Drepper <drepper@redhat.com> |
1149 | ||
1150 | * sysdeps/gnu/netinet/udp.h: Cosmetic changes. Remove unnecessary | |
1151 | __BEGIN_DECLS/__END_DECLS. | |
1152 | ||
a5590b3a AJ |
1153 | 2004-08-23 Andreas Jaeger <aj@suse.de> |
1154 | ||
1155 | [BZ #341] | |
1156 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOATIME): Define. | |
1157 | * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_NOATIME): Likewise. | |
1158 | * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (O_NOATIME): Likewise. | |
1159 | * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (O_NOATIME): Likewise. | |
1160 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (O_NOATIME): Likewise. | |
1161 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_NOATIME): Likewise. | |
1162 | * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (O_NOATIME): Likewise. | |
1163 | * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOATIME): Likewise. | |
1164 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_NOATIME): Likewise. | |
1165 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_NOATIME): Likewise. | |
1166 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (O_NOATIME): Likewise. | |
1167 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_NOATIME): Likewise. | |
1168 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (O_NOATIME): Likewise. | |
1169 | ||
51ea6fc0 UD |
1170 | 2004-08-21 Ulrich Drepper <drepper@redhat.com> |
1171 | ||
3e030bd5 UD |
1172 | * malloc/hooks.c (DEFAULT_CHECK_ACTION): Moved to malloc.c. |
1173 | (check_action): Likewise. | |
1174 | When printing error messages, use malloc_printf_nc now instead of | |
1175 | fiddling with the streams cancellation flag in every place. | |
1176 | * malloc/malloc.c (DEFAULT_CHECK_ACTION): New definition. Change | |
1177 | default to 3. | |
1178 | (check_action): New variable. | |
1179 | (unlink): Print error message and eventually terminate in case list | |
1180 | is corrupted. | |
1181 | (malloc_printf_nc): New function. Use it in _int_free. | |
1182 | Change proposed by Arjan van de Ven. | |
1183 | ||
51ea6fc0 UD |
1184 | * dlfcn/Makefile: Don't build eval.c anymore. |
1185 | ||
f523496b RM |
1186 | 2004-08-20 Roland McGrath <roland@frob.com> |
1187 | ||
1188 | * csu/Makefile ($(objpfx)version-info.h): Use printf in place | |
1189 | of echo -e for POSIX.2 portability. | |
1190 | Reported by Paul Jarc <prj@po.cwru.edu>. | |
1191 | ||
8583671d UD |
1192 | 2004-08-19 Ulrich Drepper <drepper@redhat.com> |
1193 | ||
a24c5ac4 UD |
1194 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Minor optimizations in |
1195 | list generation. | |
1196 | ||
afd7b703 UD |
1197 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use |
1198 | getcanonname_r function if AI_CANONNAME flag is not set in | |
1199 | request. | |
1200 | ||
8583671d UD |
1201 | * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): |
1202 | Initialize mysize with limits only if latter is >= 0. Use mysize | |
1203 | in malloc call. | |
1204 | ||
10b71c3d UD |
1205 | 2004-08-19 Jakub Jelinek <jakub@redhat.com> |
1206 | ||
1207 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Cast canon to (char *) | |
1208 | to avoid warning. | |
1209 | ||
1210 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Initialize | |
1211 | status to NSS_STATUS_UNAVAIL. | |
1212 | ||
1213 | 2004-08-19 Ulrich Drepper <drepper@redhat.com> | |
1214 | ||
1215 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Use h->h_name in the | |
1216 | cannoname lookup since it has the FQDN even if the original NAME | |
1217 | value has not. | |
1218 | ||
b6c0f679 UD |
1219 | 2004-08-18 Ulrich Drepper <drepper@redhat.com> |
1220 | ||
1221 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Store NAME parameter | |
51ea6fc0 | 1222 | pointer in new variable ORIG_NAME and use this pointer when |
b6c0f679 UD |
1223 | determination of canonical name failed, not the possibly IDN |
1224 | translated value of NAME. | |
1225 | ||
b9343764 UD |
1226 | 2004-08-17 Ulrich Drepper <drepper@redhat.com> |
1227 | ||
0acb7b83 UD |
1228 | * resolv/resolv.h (RES_DEFAULT): Add RES_NOIP6DOTINT. |
1229 | * resolv/res_init.c (res_setoptions): Recognize ip6-dotint option. | |
1230 | Reset RES_NOIP6DOTINT flag in this case.. | |
1231 | ||
b9343764 UD |
1232 | * sysdeps/posix/getaddrinfo.c: Fix memory handling of |
1233 | ai_canonname. | |
1234 | ||
9b63bd4d UD |
1235 | 2004-08-16 Ulrich Drepper <drepper@redhat.com> |
1236 | ||
1237 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Don't use | |
1238 | CNAME records, we better follow the chain of CNAME records which | |
1239 | can be accomplished with A/AAAA lookups. | |
1240 | ||
a29db458 RM |
1241 | 2004-08-15 Roland McGrath <roland@redhat.com> |
1242 | ||
1243 | * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): | |
1244 | Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro. | |
1245 | * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. | |
1246 | * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. | |
1247 | * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. | |
1248 | ||
92c6ccd1 RM |
1249 | 2004-08-15 Roland McGrath <roland@frob.com> |
1250 | ||
813d9c0d RM |
1251 | * sysdeps/i386/i686/Makefile (elide-routines.os): Append hp-timing to |
1252 | this, not ... | |
1253 | (static-only-routines): ... this. | |
1254 | * sysdeps/ia64/Makefile: Likewise. | |
1255 | * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. | |
1256 | * sysdeps/sparc/sparc64/Makefile: Likewise. | |
1257 | * sysdeps/x86_64/Makefile: Likewise. | |
1258 | * sysdeps/i386/i686/hp-timing.c: Revert copyright terms change. | |
1259 | * sysdeps/ia64/hp-timing.c: Likewise. | |
1260 | * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. | |
1261 | * sysdeps/sparc/sparc64/hp-timing.c: Likewise. | |
1262 | ||
92c6ccd1 RM |
1263 | * csu/elf-init.c: Update copyright terms including special exception |
1264 | for these trivial files, which are statically linked into executables | |
1265 | that use dynamic linking for the significant library code. | |
1266 | * io/fstat.c: Likewise. | |
1267 | * io/fstat64.c: Likewise. | |
1268 | * io/lstat.c: Likewise. | |
1269 | * io/lstat64.c: Likewise. | |
1270 | * io/stat.c: Likewise. | |
1271 | * io/stat64.c: Likewise. | |
1272 | * stdlib/atexit.c: Likewise. | |
1273 | * sysdeps/alpha/elf/initfini.c: Likewise. | |
1274 | * sysdeps/alpha/elf/start.S: Likewise. | |
1275 | * sysdeps/arm/elf/start.S: Likewise. | |
1276 | * sysdeps/cris/elf/start.S: Likewise. | |
1277 | * sysdeps/generic/initfini.c: Likewise. | |
1278 | * sysdeps/generic/mknod.c: Likewise. | |
1279 | * sysdeps/hppa/elf/initfini.c: Likewise. | |
1280 | * sysdeps/hppa/elf/start.S: Likewise. | |
1281 | * sysdeps/i386/elf/start.S: Likewise. | |
1282 | * sysdeps/i386/i686/hp-timing.c: Likewise. | |
1283 | * sysdeps/ia64/elf/initfini.c: Likewise. | |
1284 | * sysdeps/ia64/elf/start.S: Likewise. | |
1285 | * sysdeps/ia64/hp-timing.c: Likewise. | |
1286 | * sysdeps/m68k/elf/start.S: Likewise. | |
1287 | * sysdeps/mach/start.c: Likewise. | |
1288 | * sysdeps/mips/elf/start.S: Likewise. | |
1289 | * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. | |
1290 | * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. | |
1291 | * sysdeps/s390/s390-32/elf/start.S: Likewise. | |
1292 | * sysdeps/s390/s390-32/initfini.c: Likewise. | |
1293 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
1294 | * sysdeps/s390/s390-64/initfini.c: Likewise. | |
1295 | * sysdeps/sh/elf/initfini.c: Likewise. | |
1296 | * sysdeps/sh/elf/start.S: Likewise. | |
1297 | * sysdeps/sparc/sparc32/elf/start.S: Likewise. | |
1298 | * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. | |
1299 | * sysdeps/sparc/sparc64/elf/start.S: Likewise. | |
1300 | * sysdeps/sparc/sparc64/hp-timing.c: Likewise. | |
1301 | * sysdeps/standalone/i386/start.S: Likewise. | |
1302 | * sysdeps/standalone/i960/start.S: Likewise. | |
1303 | * sysdeps/standalone/m68k/m68020/start.S: Likewise. | |
1304 | * sysdeps/unix/arm/start.c: Likewise. | |
1305 | * sysdeps/unix/bsd/osf/alpha/start.S: Likewise. | |
1306 | * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise. | |
1307 | * sysdeps/unix/sparc/start.c: Likewise. | |
1308 | * sysdeps/unix/start.c: Likewise. | |
1309 | * sysdeps/unix/sysv/aix/start.s: Likewise. | |
1310 | * sysdeps/unix/sysv/irix4/start.c: Likewise. | |
1311 | * sysdeps/x86_64/elf/initfini.c: Likewise. | |
1312 | * sysdeps/x86_64/elf/start.S: Likewise. | |
1313 | ||
7a4b34c9 RM |
1314 | 2004-08-15 Roland McGrath <roland@redhat.com> |
1315 | ||
1316 | [BZ #227] | |
1317 | * sysdeps/unix/sysv/linux/kernel-features.h | |
1318 | (__ASSUME_BRK_PAGE_ROUNDED): New macro. | |
1319 | * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk) | |
1320 | [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within | |
1321 | the partial page after the dynamic linker's own data segment. | |
1322 | ||
a7d24833 UD |
1323 | 2004-08-15 Ulrich Drepper <drepper@redhat.com> |
1324 | ||
2d26a717 UD |
1325 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Optimize generation of |
1326 | v4-mapped addresses a bit. | |
1327 | (gethosts): Move alloca out of macro, so that it is done only once. | |
1328 | ||
28977c2c UD |
1329 | * sysdeps/posix/getaddrinfo.c (gaih_addrtuple): Change type of |
1330 | addr to avoid casts. | |
1331 | (gethosts): Removed. | |
1332 | (gethosts2): Renamed to gethosts. Make it usable for family != | |
1333 | AF_UNSPEC. Fix AI_V4MAPPED. | |
1334 | (gaih_inet): Remove use of old gethosts. Always use what used to be | |
1335 | gethosts2. If entry is found, try to use the same NSS module's | |
1336 | getcanonname_r function. Use gethostbyaddr for AI_CANONNAME only | |
1337 | if getcanonname_r was not available. Fix filtering of AI_V4MAPPED | |
1338 | addresses. Numerous cleanups. | |
1339 | * resolv/nss_dns/dns-canon.c: New file. | |
1340 | * resolv/Makefile (libnss_dns-routines): Add dns-canon. | |
1341 | * resolv/Versions (libnss_dns): Add _nss_dns_getcanonname_r. | |
1342 | ||
1343 | * elf/Makefile: Add rules to build and run tst-dlopenrpath. | |
1344 | * elf/tst-dlopenrpath.c: New file. | |
1345 | * elf/tst-dlopenrpathmod.c: New file. | |
1346 | ||
1347 | * intl/tst-gettext.sh: Adjust for change of de.po file to UTF-8. | |
1e6d2101 UD |
1348 | * intl/tst-gettext.c: Likewise. |
1349 | ||
a691b217 UD |
1350 | * nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses. |
1351 | ||
a7d24833 UD |
1352 | * nss/getent.c: Allow queries for getaddrinfo with AF_INET and |
1353 | AF_INET6. | |
1354 | ||
06ee3df6 UD |
1355 | 2004-08-14 Ulrich Drepper <drepper@redhat.com> |
1356 | ||
1357 | * po/de.po: Update from translation team. | |
1358 | ||
e786b793 RM |
1359 | 2004-08-14 Roland McGrath <roland@frob.com> |
1360 | ||
1361 | * sysdeps/mach/configure: Regenerated. | |
1362 | * sysdeps/mach/hurd/configure: Regenerated. | |
1363 | ||
97306b0b UD |
1364 | 2004-08-14 Ulrich Drepper <drepper@redhat.com> |
1365 | ||
e786b793 RM |
1366 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): If RFC3484 sorting is |
1367 | performed, make sure it is still the first entry after sorting | |
1368 | that has the ai_canonname information. | |
c7fa647a | 1369 | |
97306b0b UD |
1370 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Really set ai_canonname |
1371 | only in one entry. | |
1372 | ||
913e79f5 RM |
1373 | 2004-08-13 Daniel Jacobowitz <dan@debian.org> |
1374 | ||
1375 | * scripts/output-format.sed: Handle default case of three-argument | |
1376 | OUTPUT_FORMAT. | |
1377 | ||
1378 | * sysdeps/arm/machine-gmon.h (mcount_internal): Mark as | |
1379 | __attribute_used__. | |
1380 | ||
eba19d2b UD |
1381 | 2004-08-13 Ulrich Drepper <drepper@redhat.com> |
1382 | ||
5c81b3e1 UD |
1383 | * nss/getent.c (ahosts_keys): ai_canonname is NULL for all but the |
1384 | first returned entry. Print name only if not NULL. | |
1385 | ||
8500b0ca UD |
1386 | * nis/nss_nis/nis-netgrp.c: Remove locking by using data in struct |
1387 | __netgrent object passed in instead of global variables. | |
1388 | Optimize. | |
1389 | * nis/nss_nisplus/nisplus-netgrp.c: Remove locking by using data | |
1390 | in struct __netgrent object passed in instead of global variables. | |
1391 | * inet/netgroup.h (struct __netgrent): Add service_user field. | |
1392 | Move cursor in anonymous union, add new field location to that | |
1393 | union. | |
1394 | * inet/getnetgrent_r.c: Extensive rewrite to really enable | |
1395 | concurrent uset of set/get/endnetgrent and innetgr. | |
a5753206 UD |
1396 | Reported by Chuck Simmons. |
1397 | ||
2486480e UD |
1398 | * inet/netgroup.h (struct name_list): Replace name pointer with |
1399 | zero-sized array. | |
1400 | * inet/getnetgrent_r.c: Adjust code for change in name_list | |
1401 | layout. Numerous strdup and free calls removed. | |
1402 | ||
eba19d2b | 1403 | * elf/sprof.c (read_symbols): When comparing aliases, prefer |
b8b9340e UD |
1404 | non-hidden over hidden symbols and strong over weak symbols |
1405 | if both don't start with '_'. | |
eba19d2b UD |
1406 | |
1407 | * malloc/malloc.c: Use strong_alias instead of weak_alias wherever | |
1408 | possible. | |
1409 | ||
4d004cfb UD |
1410 | 2004-08-12 Jakub Jelinek <jakub@redhat.com> |
1411 | ||
1412 | * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard | |
1413 | RUSAGE_ enums as __RUSAGE_ and adjust macros accordingly. | |
1414 | * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. | |
1415 | * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. | |
1416 | * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise. | |
1417 | Define non-standard RLIMIT_ enums as __RLIMIT_ and adjust macros | |
1418 | accordingly. | |
1419 | ||
770d9b39 UD |
1420 | 2004-08-11 Andreas Schwab <schwab@suse.de> |
1421 | ||
1422 | * resolv/res_libc.c: Move definition of __res_initstamp ... | |
1423 | * resolv/res_init.c: ... here. | |
1424 | ||
644eff0c UD |
1425 | 2004-08-10 GOTO Masanori <gotom@debian.or.jp> |
1426 | ||
1427 | * locale/C-time.c: Change default ERA value from NULL to "". | |
1428 | * locale/tst-C-locale.c: Add test case for ERA keywords. | |
1429 | ||
30c06335 UD |
1430 | 2004-08-12 Ulrich Drepper <drepper@redhat.com> |
1431 | ||
1432 | * sysdeps/unix/sysv/linux/bits/resource.h: Define non-standard | |
1433 | RLIMIT__ enums as __RLIMIT_ and adjust macros accordingly. | |
1434 | * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. | |
1435 | * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. | |
1436 | ||
1437 | 2004-08-12 Jakub Jelinek <jakub@redhat.com> | |
1438 | ||
1439 | * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_SIGPENDING, | |
1440 | RLIMIT_MSGQUEUE): Add. | |
1441 | (RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust. | |
1442 | * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_SIGPENDING, | |
1443 | RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. | |
1444 | (RLIM_NLIMITS): Adjust. | |
1445 | * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_SIGPENDING, | |
1446 | RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. | |
1447 | (RLIM_NLIMITS): Adjust. | |
1448 | * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_SIGPENDING, | |
1449 | RLIMIT_MSGQUEUE, RLIMIT_NLIMITS): Add. | |
1450 | (RLIM_NLIMITS): Adjust. | |
1451 | ||
2566e5f3 UD |
1452 | 2004-08-12 Jakub Jelinek <jakub@redhat.com> |
1453 | ||
1454 | * resolv/res_query.c (__libc_res_nsearch): Protect the debugging | |
1455 | printf with #ifdef DEBUG and RES_DEBUG check. | |
1456 | ||
1457 | * sysdeps/unix/sysv/linux/bits/shm.h: Move __END_DECLS after | |
1458 | __USE_MISC #endif. | |
1459 | * sysdeps/generic/bits/shm.h: Add __BEGIN_DECLS for __getpagesize | |
1460 | declaration. | |
1461 | * sysdeps/gnu/bits/shm.h: Likewise. | |
1462 | * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. | |
1463 | * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. | |
1464 | * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. | |
1465 | * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. | |
1466 | * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. | |
1467 | ||
693aa149 UD |
1468 | 2004-08-12 Ulrich Drepper <drepper@redhat.com> |
1469 | ||
1470 | * po/ca.po: Update from translation team. | |
1471 | ||
2e79a6bf UD |
1472 | 2004-08-11 Ulrich Drepper <drepper@redhat.com> |
1473 | ||
1474 | * sysdeps/unix/sysv/linux/bits/shm.h: Add __BEGIN_DECLS for | |
1475 | __getpagesize declaration. | |
1476 | ||
90595fb6 RM |
1477 | 2004-08-11 Roland McGrath <roland@redhat.com> |
1478 | ||
6e9a9da6 RM |
1479 | * configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around |
1480 | commands inside &&. | |
1481 | Reported by Andreas Schwab <schwab@suse.de>. | |
1482 | * configure: Regenerated. | |
1483 | ||
90595fb6 RM |
1484 | * posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL. |
1485 | ||
640b76b7 UD |
1486 | 2004-08-11 Ulrich Drepper <drepper@redhat.com> |
1487 | ||
1488 | * time/tzset.c (tzset_internal): Add new parameter which is | |
1489 | nonzero if called through tzset. Use TZDEFAULT name including | |
1490 | name comparison if the new parameter is zero. This means implicit | |
1491 | tzset calls will not cause files to be opened and read by tzfile.c | |
1492 | all the time. | |
1493 | ||
1494 | 2004-08-11 Jakub Jelinek <jakub@redhat.com> | |
1495 | ||
0569cbbc RM |
1496 | * rt/tst-timer2.c (do_test): If timer_create fails, just continue. |
1497 | * rt/tst-timer4.c (do_test): If one of the timer_create calls fails, | |
1498 | return 1 immediately. | |
1499 | ||
640b76b7 UD |
1500 | * time/tzfile.c (__tzfile_read): Free transitions only if it will |
1501 | not be reused. | |
1502 | ||
cc6502dd RM |
1503 | * sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>. |
1504 | * sysdeps/ieee754/dbl-64/mpa.h (MAX, MIN): Macros removed. | |
1505 | ||
1506 | * stdio-common/tst-popen.c: Include <string.h>. | |
1507 | ||
1508 | * resolv/res_send.c (__libc_res_nsend): Only define TMPBUF #if DEBUG. | |
1509 | ||
3cabdafa RM |
1510 | * sysdeps/pthread/aio_misc.c (handle_fildes_io): Remove noreturn |
1511 | attribute. Return NULL instead of calling pthread_exit at the end. | |
1512 | ||
304815c6 RM |
1513 | 2004-08-11 Roland McGrath <roland@redhat.com> |
1514 | ||
1515 | * iconvdata/testdata/ISO-2022-JP-3: Regenerated. | |
1516 | ||
b6cef5b1 RM |
1517 | 2004-08-10 Alfred M. Szmidt <ams@kemisten.nu> |
1518 | ||
1519 | * sysdeps/generic/bits/in.h (struct ip_mreq): Remove definition. | |
1520 | ||
f98ca075 RM |
1521 | 2004-08-10 Jakub Jelinek <jakub@redhat.com> |
1522 | ||
1523 | * libio/bits/stdio.h (fread_unlocked): Cast 0 to (size_t). | |
1524 | (fwrite_unlocked): When checking if size * n is <= 8, cast each | |
1525 | argument to size_t individually. Cast n to (void) instead of | |
1526 | (size_t), surround with (), return (size_t) 0 if one of n or size | |
1527 | is 0. [BZ #316] | |
1528 | * stdio-common/Makefile (tests): Add tst-unlockedio. | |
1529 | * stdio-common/tst-unlockedio.c: New test. | |
1530 | ||
c0e81b36 RM |
1531 | 2004-08-09 Roland McGrath <roland@frob.com> |
1532 | ||
1533 | * manual/install.texi (Supported Configurations): Replace bug-glibc | |
1534 | mention with web URL. | |
1535 | * INSTALL: Regenerated. | |
1536 | * locale/iso-3166.def: Likewise, in comment. | |
1537 | * locale/iso-4217.def: Likewise. | |
1538 | * locale/iso-639.def: Likewise. | |
1539 | * posix/cpio.h: Remove bug reporting comment. | |
1540 | ||
28f9ebd7 UD |
1541 | 2004-08-09 Ulrich Drepper <drepper@redhat.com> |
1542 | ||
8799d935 UD |
1543 | * libio/bits/stdio.h (fread_unlocked): Add a couple of (size_t) |
1544 | casts to handle funny calls with floating point argument values | |
1545 | and signed values correctly and without warning. | |
1546 | (fwrite_unlocked): Likewise. [BZ #309] | |
1547 | ||
19c589d9 UD |
1548 | * malloc/memusage.c (me): Use creat64, not creat. |
1549 | * malloc/memusagestat.c: Fix handling of very large sizes. [BZ #285] | |
1550 | Patch by Guy Maor <guymaor@yahoo.com>. | |
1551 | ||
61c6385d UD |
1552 | * elf/ldconfig.c (options): Mark parameter option names as |
1553 | translatable. [BZ #253] Patch by Jakub Bogusz <qboosh@pld-linux.org>. | |
1554 | ||
28f9ebd7 UD |
1555 | * iconv/gconv_charset.h (strip): Also allow comma which is what is |
1556 | used to separate options. [BZ #194] | |
1557 | ||
d09ca7fa RM |
1558 | 2004-08-09 Roland McGrath <roland@redhat.com> |
1559 | ||
5ce59aa6 | 1560 | * FAQ.in: Refer to web pages instead of bug-glibc. |
65903cc5 | 1561 | * FAQ: Regenerated. |
5ce59aa6 | 1562 | |
d09ca7fa RM |
1563 | * time/strptime_l.c: #include <stdbool.h>, `bool' used in last change. |
1564 | ||
fe6cc2ae UD |
1565 | 2004-08-09 Ulrich Drepper <drepper@redhat.com> |
1566 | ||
1567 | * time/tzset.c (tzset_internal): If TZ is not set do not compare | |
1568 | old and new tz value since it might be /etc/localtime in both | |
1569 | cases although the file changed. [BZ #154] | |
1570 | Patch by Christian Franke <franke@computer.org>. | |
1571 | ||
1572 | * time/tzfile.c (__tzfile_read): Determine dev/ino of file. | |
1573 | Compare with values of previously opened file. Don't do anything | |
1574 | is they match. | |
1575 | ||
0a1be815 UD |
1576 | 2004-08-08 Ulrich Drepper <drepper@redhat.com> |
1577 | ||
c14e9135 UD |
1578 | * elf/dl-load.c (_dl_map_object): If __RTLD_CALLMAP flag is set, |
1579 | reset loader before the actual loading. | |
1580 | * elf/dl-open.c (dl_open_worker): If file name contains no path | |
1581 | element determine map of caller. Pass caller map in this case to | |
1582 | _dl_map_object. Set __RTLD_CALLMAP in mode. | |
1583 | * include/dlfcn.h (__RTLD_CALLMAP): Define. [BZ #116] | |
1584 | Patch by Greg Wolodkin <greg@mathworks.com>. | |
1585 | ||
807645d7 UD |
1586 | * misc/syslog.c (openlog_internal): Always try both UDP and TCP. |
1587 | [BZ #108] Patch mainly by Bjorn Andersson <bjorn@iki.fi>. | |
1588 | ||
0b755dc4 UD |
1589 | * configure.in: Also recognize i786. [BZ #106] |
1590 | Patch by <pluto@pld-linux.org>. | |
1591 | ||
78512c00 UD |
1592 | * resolv/res_query.c (__libc_res_nsearch): Correctly test whether |
1593 | name contains any dots. [BZ #95] | |
1594 | ||
020a9a23 UD |
1595 | * resolv/res_send.c: Compiling with DEBUG defined works again. |
1596 | * resolv/gethnamaddr.c (dprintf): Renamed to Dprintf. Adjust all | |
1597 | callers. | |
1598 | ||
0b3cce31 UD |
1599 | * resolv/tst-leaks.c (TIMEOUT): Define so that if no server is |
1600 | available the process is not killed. [BZ #41] | |
1601 | ||
f58dc022 UD |
1602 | * intl/tst-gettext.c (main): Improve some messages. [BZ #33] |
1603 | ||
1750bc8d UD |
1604 | * time/strptime_l.c (__strptime_internal): Fix handling of %Ey. |
1605 | [BZ #28] | |
1606 | ||
0a1be815 UD |
1607 | * po/sv.po: Update from translation team. |
1608 | ||
65e70412 UD |
1609 | 2004-08-07 Ulrich Drepper <drepper@redhat.com> |
1610 | ||
d3c99ad1 UD |
1611 | * inet/netinet/in.h: Add more const to the setipv4soucefilter, |
1612 | getsourcefilter, and setsourcefilter parameter list. | |
1613 | * sysdeps/generic/setipv4sourcefilter.c: Likewise. | |
1614 | * sysdeps/generic/getsourcefilter.c: Likewise. | |
1615 | * sysdeps/generic/setsourcefilter.c: Likewise. | |
1616 | * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise. | |
1617 | * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise. | |
1618 | * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise. | |
1619 | ||
65e70412 UD |
1620 | * po/tr.po: Update from translation team. |
1621 | ||
9e365fe7 UD |
1622 | 2004-08-06 Ulrich Drepper <drepper@redhat.com> |
1623 | ||
1624 | * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): Fix typo. | |
1625 | Reported by Paolo Bonzini. | |
1626 | ||
1627 | 2004-08-06 Jakub Jelinek <jakub@redhat.com> | |
1628 | ||
1629 | * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add | |
1630 | always_inline. | |
1631 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_runtime_setup, | |
1632 | elf_machine_fixup_plt, elf_machine_plt_conflict): Likewise. | |
1633 | ||
1634 | * sysdeps/unix/sysv/linux/netatalk/at.h: Include bits/sockaddr.h | |
1635 | before including linux/atalk.h. | |
1636 | ||
1637 | * resolv/res_libc.c: Include atomic.h. | |
1638 | ||
1639 | * intl/finddomain.c (free_mem): Rename to... | |
1640 | (_nl_finddomain_subfreeres): ... this. Add | |
1641 | __libc_freeres_fn_section. | |
1642 | * intl/loadmsgcat.c (_nl_unload_domain): Add | |
1643 | __libc_freeres_fn_section. | |
1644 | * intl/gettextP.h (_nl_unload_domain): Move into #ifdef _LIBC. | |
1645 | Add attribute_hidden. | |
1646 | (_nl_findomain_subfreeres): New prototype. | |
1647 | * iconv/gconv_db.c (free_mem): Call _nl_findomain_subfreeres. | |
1648 | ||
9030e7c4 UD |
1649 | 2004-07-30 Guido Guenther <agx@sigxcpu.org> |
1650 | ||
1651 | * nss/getent.c (passwd_keys): Use strtoul instead of isdigit to | |
1652 | test if the key is numeric or not. | |
1653 | (group_keys): Likewise. | |
1654 | ||
a3c7fcf0 UD |
1655 | 2004-08-05 Ulrich Drepper <drepper@redhat.com> |
1656 | ||
489aa29d UD |
1657 | * inet/netinet/in.h: Define struct ip_msfilter, IP_MSFILTER_SIZE, |
1658 | struct group_filter, and GROUP_FILTER_SIZE. | |
1659 | * include/sys/socket.h: Declare __getsockopt. | |
1660 | * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: New file. | |
1661 | * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: New file. | |
1662 | * sysdeps/unix/sysv/linux/setsourcefilter.c: New file. | |
a55bda85 | 1663 | * sysdeps/unix/sysv/linux/getsourcefilter.c: New file. [BZ #211] |
489aa29d | 1664 | |
a3c7fcf0 UD |
1665 | * po/ko.po: Update from translation team. |
1666 | ||
87bb6b6c UD |
1667 | 2004-08-04 Jakub Jelinek <jakub@redhat.com> |
1668 | ||
1669 | * hesiod/hesiod.c (__hesiod_res_get): Use calloc instead of malloc + | |
1670 | memset. | |
1671 | (__hesiod_res_set): Free nsaddrs. | |
1672 | ||
1673 | * include/resolv.h (__res_maybe_init): Add prototype. | |
1674 | * resolv/resolv.h (struct __res_state): Add _u._ext.initstamp field. | |
1675 | * resolv/Versions (libc): Add __res_maybe_init@@GLIBC_PRIVATE. | |
1676 | * resolv/res_libc.c (__res_initstamp, lock): New variables. | |
1677 | (res_init): Increase __res_initstamp. | |
1678 | (__res_maybe_init): New function. | |
1679 | * resolv/res_init.c (__res_vinit): Initialize _u._ext.initstamp. | |
1680 | * hesiod/hesiod.c (__hesiod_res_get): Use __res_maybe_init instead | |
1681 | of RES_INIT check and {res_ninit,__res_ninit,res_init} call. | |
1682 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise. | |
1683 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r, | |
1684 | _nss_dns_gethostbyaddr_r): Likewise. | |
1685 | * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r, | |
1686 | _nss_dns_getnetbyaddr_r): Likewise. | |
1687 | * resolv/gethnamaddr.c (gethostbyname, gethostbyname2, | |
1688 | gethostbyaddr): Likewise. | |
1689 | * resolv/res_data.c (fp_nquery, res_mkquery, res_mkupdate, | |
1690 | res_isourserver, res_sendsigned, res_update, res_search, | |
1691 | res_querydomain): Likewise. | |
1692 | * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Likewise. | |
1693 | * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise. | |
1694 | * nss/getnssent_r.c (__nss_setent, __nss_endent, __nss_getent_r): | |
1695 | Likewise. | |
1696 | ||
269e6e07 UD |
1697 | 2004-08-05 Ulrich Drepper <drepper@redhat.com> |
1698 | ||
87bb6b6c UD |
1699 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Set ai_family for |
1700 | V4-mapped IPv6 addresses and req->ai_family==AF_INET. | |
1701 | Reported by A. Guru <a.guru@sympatico.ca>. | |
1702 | ||
269e6e07 | 1703 | * po/sv.po: Update from translation team. |
a79d752f | 1704 | * po/sk.po: Likewise. |
87bb6b6c | 1705 | * po/pl.po: Likewise. |
269e6e07 | 1706 | |
d012b7df UD |
1707 | 2004-08-04 Jakub Jelinek <jakub@redhat.com> |
1708 | Ulrich Drepper <drepper@redhat.com> | |
1709 | ||
1710 | * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Don't read more input | |
87bb6b6c | 1711 | characters than necessary. |
d012b7df UD |
1712 | |
1713 | 2004-08-05 Ulrich Drepper <drepper@redhat.com> | |
1714 | ||
1715 | * wcsmbs/Makefile (tests): Add tst-mbsrtowcs. | |
1716 | * wcsmbs/tst-mbsrtowcs.c: New file. | |
1717 | ||
1718 | * po/fr.po: Update from translation team. | |
1719 | ||
08bcfb59 UD |
1720 | 2004-08-04 Jakub Jelinek <jakub@redhat.com> |
1721 | ||
1722 | * resolv/inet_pton.c (inet_pton4): Disallow octal numbers. Reported | |
1723 | by A. Guru <a.guru@sympatico.ca>. [BZ #295] | |
1724 | ||
c1d98085 UD |
1725 | 2004-08-05 Ulrich Drepper <drepper@redhat.com> |
1726 | ||
2f0cdd2b UD |
1727 | * po/nl.po: Update from translation team. |
1728 | ||
c1d98085 UD |
1729 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Recognize all the IPv4 |
1730 | numeric address formats inet_addr knows. | |
1731 | (getaddrinfo): Allow AI_NUMERICSERV flag. | |
d012b7df | 1732 | If neither IPv4 nor IPv6 interface is present we cannot make any |
c1d98085 UD |
1733 | decision for AI_ADDRCONFIG. Fail if AI_NUMERICSERV is set and the |
1734 | string is not just a number. Remove useless freeaddrinfo call. | |
1735 | * resolv/netdb.h (AI_NUMERICSERV): Define. | |
1736 | Based on a patch by a.guru@sympatico.ca. | |
1737 | ||
1738 | 2004-08-04 Jakub Jelinek <jakub@redhat.com> | |
1739 | ||
1740 | * stdlib/strfmon_l.c (__vstrfmon_l): Memset whole info structure | |
1741 | instead of trying to initialize some, but not all, fields one by | |
1742 | one. | |
1743 | * stdio-common/printf_size.c (printf_size): Initialize fb_info | |
1744 | structure with *info instead of trying to initialize some, but not | |
1745 | all, fields from it. | |
1746 | ||
1747 | * nscd/connections.c (handle_request): Check if req->type is in | |
1748 | LASTDBREQ .. LASTREQ range instead of req. | |
1749 | ||
1750 | * locale/programs/linereader.c (lr_create): Initialize | |
1751 | lr->return_widestr to 0. | |
1752 | ||
1753 | * elf/dl-close.c (free_slotinfo): Add __libc_freeres_fn_section. | |
1754 | (free_mem): Call free_slotinfo just once. | |
1755 | ||
1756 | * stdio-common/tst-fmemopen.c (main): Check for MAP_FAILED instead | |
1757 | of NULL. | |
1758 | ||
1759 | * locale/localeinfo.h (_nl_locale_subfreeres): New prototype. | |
1760 | * locale/setlocale.c (free_category): Add __libc_freeres_fn_section. | |
1761 | (free_mem): Rename to _nl_locale_subfreeres. | |
1762 | * iconv/gconv_db.c: Include locale/localeinfo.h. | |
1763 | (free_derivation, free_modules_db): Add __libc_freeres_fn_section. | |
1764 | (free_mem): Call _nl_locale_subfreeres. | |
1765 | * iconv/gconv_dl.c (do_release_all): Add __libc_freeres_fn_section. | |
1766 | ||
9382fcee RM |
1767 | 2004-08-04 Roland McGrath <roland@frob.com> |
1768 | ||
1769 | * Makeconfig ($(common-objpfx)config.status): | |
1770 | Fix typo: $(add_ons) -> $(add-ons). | |
1771 | (Makeconfig-add-on): New variable. When doing $(sysdep-makeconfigs) | |
1772 | include, use black magic to get it set to an add-on's name during the | |
1773 | include of the add-on's Makeconfig. | |
1774 | ||
1775 | * configure.in: Use variable name `libc_add_on' when sourcing add-on | |
1776 | configure fragments, so they can refer to this. | |
1777 | * configure: Regenerated. | |
1778 | ||
0964f852 RM |
1779 | 2004-08-04 Roland McGrath <roland@redhat.com> |
1780 | ||
8cc5920e RM |
1781 | * posix/tst-waitid.c (test_child): Sleep a second before stopping. |
1782 | (do_test): Bump sleep to three seconds. | |
1783 | (sigchld, check_sigchld): New functions. | |
1784 | (do_test): Handle SIGCHLD and check for getting the right details. | |
1785 | ||
0964f852 RM |
1786 | * posix/tst-waitid.c (do_test): Kill the child process when bailing |
1787 | out early on some failure. | |
b3e46788 | 1788 | [WCONTINUED]: Test WCONTINUED functionality. |
0964f852 | 1789 | |
0532e21b UD |
1790 | 2004-08-03 Ulrich Drepper <drepper@redhat.com> |
1791 | ||
1792 | * nscd/connections.c (handle_request): Print more descriptive | |
1793 | message for invalid request types. | |
1794 | ||
5d32be9a UD |
1795 | 2004-08-02 Jakub Jelinek <jakub@redhat.com> |
1796 | ||
1797 | * iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff. | |
1798 | Always treat high as highest number in range + 1. | |
1799 | * iconvdata/ibm943.c (BODY): Likewise. | |
1800 | ||
1801 | 2004-07-31 Bruno Haible <bruno@clisp.org> | |
1802 | ||
1803 | * iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004. | |
1804 | * iconvdata/jisx0213.c (__jisx0213_to_ucs_main, | |
1805 | __jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1, | |
1806 | __jisx0213_from_ucs_level2): Regenerated. | |
1807 | * iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function. | |
1808 | * iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from | |
1809 | JISX0213_1_set. | |
1810 | (JISX0213_1_2004_set): New enum value. | |
1811 | (BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O. | |
1812 | (BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O | |
1813 | when possible, ESC $ ( Q when needed. | |
1814 | * iconvdata/testdata/EUC-JISX0213: Add the 10 new characters. | |
1815 | * iconvdata/testdata/EUC-JISX0213..UTF8: Update. | |
1816 | * iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters. | |
1817 | * iconvdata/testdata/SHIFT_JISX0213..UTF8: Update. | |
1818 | * iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters. | |
1819 | * iconvdata/testdata/ISO-2022-JP-3..UTF8: Update. | |
1820 | ||
1821 | 2004-07-22 Bruno Haible <bruno@clisp.org> | |
1822 | ||
1823 | * iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003. | |
1824 | ||
9fccfe8c UD |
1825 | 2004-07-29 David S. Miller <davem@redhat.com> |
1826 | ||
1827 | * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize | |
1828 | better for smaller than 256 byte copies. Also, use only one | |
1829 | unrolled loop instead of two for the large copy case. | |
1830 | ||
80574c92 RH |
1831 | 2004-07-30 Richard Henderson <rth@redhat.com> |
1832 | ||
1833 | * sysdeps/alpha/divq.S: Save t3 before it gets clobbered. | |
1834 | * sysdeps/alpha/remq.S: Likewise. | |
1835 | * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the | |
1836 | new division algorithms in divl.S and divq.S respectively. | |
1837 | ||
d1091a21 UD |
1838 | 2004-07-28 GOTO Masanori <gotom@debian.or.jp> |
1839 | ||
1840 | * timezone/asia: Update from tzdata2004b. | |
1841 | * timezone/backward: Likewise. | |
1842 | * timezone/europe: Likewise. | |
1843 | * timezone/iso3166.tab: Likewise. | |
1844 | * timezone/leapseconds: Likewise. | |
1845 | * timezone/northamerica: Likewise. | |
1846 | * timezone/southamerica: Likewise. | |
1847 | * timezone/zone.tab: Likewise. | |
1848 | ||
1849 | * timezone/private.h: Update from tzcode2004b. | |
1850 | * timezone/zic.c: Likewise. | |
1851 | ||
dc630ccc UD |
1852 | 2004-07-27 Ulrich Drepper <drepper@redhat.com> |
1853 | ||
1854 | * nscd/grpcache.c (cache_addgr): If necessary, add entry also | |
1855 | under the name the user provided. | |
1856 | * nscd/pwdcache.c (cache_addpw): Likewise. | |
1857 | ||
468352fe RM |
1858 | 2004-07-26 Roland McGrath <roland@redhat.com> |
1859 | ||
1860 | * sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for | |
1861 | call to __waitpid. | |
1862 | ||
f3285f86 UD |
1863 | 2004-07-26 Ulrich Drepper <drepper@redhat.com> |
1864 | ||
490998a5 UD |
1865 | * nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to |
1866 | memory leaks. | |
1867 | ||
f3285f86 UD |
1868 | * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for |
1869 | new buffer at the right time. | |
1870 | Reported by Jakub Bogusz <qboosh@pld-linux.org>. | |
1871 | ||
f89d6892 UD |
1872 | 2004-07-25 Ulrich Drepper <drepper@redhat.com> |
1873 | ||
1874 | * inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter, | |
1875 | getsourcefilter, setipv4sourcefilter, and setsourcefilter. | |
1876 | * inet/Makefile (routines): Likewise. | |
1877 | * inet/netinet/in.h: Add prototypes for getipv4sourcefilter, | |
1878 | getsourcefilter, setipv4sourcefilter, and setsourcefilter. | |
1879 | * sysdeps/generic/getipv4sourcefilter.c: New file. | |
1880 | * sysdeps/generic/setipv4sourcefilter.c: New file. | |
1881 | * sysdeps/generic/getsourcefilter.c: New file. | |
1882 | * sysdeps/generic/setsourcefilter.c: New file. | |
1883 | ||
a8870a61 UD |
1884 | 2004-07-17 Steven Munroe <sjmunroe@us.ibm.com> |
1885 | ||
1886 | * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling | |
1887 | for POWER4 machines. | |
1888 | ||
deddf809 UD |
1889 | 2004-07-21 Jakub Jelinek <jakub@redhat.com> |
1890 | ||
1891 | [BZ #274] | |
1892 | * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >= | |
1893 | BITS_PER_MP_LIMB shifting up. | |
1894 | * stdlib/tst-strtod.c (main): Add new tests. | |
1895 | ||
06bfee07 UD |
1896 | 2004-07-23 Jakub Jelinek <jakub@redhat.com> |
1897 | ||
1898 | [BZ #282] | |
1899 | * libio/iopopen.c (_IO_new_popen): Use _IO_init instead of | |
1900 | _IO_no_init. Remove wd from struct locked_FILE. | |
1901 | (_IO_wproc_jumps): Remove. | |
1902 | Reported by Andrew Josey <a.josey@opengroup.org>. | |
1903 | * stdio-common/Makefile (tests): Add tst-popen. | |
1904 | * stdio-common/tst-popen.c: New test. | |
1905 | ||
7a80496f UD |
1906 | 2004-07-23 Ulrich Drepper <drepper@redhat.com> |
1907 | ||
1908 | * posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and | |
1909 | _POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX, | |
1910 | _POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX. | |
1911 | Reported by Andrew Josey. | |
1912 | ||
1913 | * include/features.h: Document _POSIX_C_SOURCE == 200112L. | |
1914 | ||
1915 | * grp/grp.h: Define gid_t if __USE_XOPEN2K is defined. | |
1916 | * pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined. | |
1917 | * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, | |
1918 | off_t, time_t, and uid_t if __USE_XOPEN2K is defined. | |
1919 | * signal/signal.h: Define pid_t if __USE_XOPEN2K is defined. | |
1920 | * posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and | |
1921 | useconds_t if __USE_XOPEN2K is defined. | |
1922 | * io/utime.h: Define time_t if __USE_XOPEN2K is defined. | |
1923 | * libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined. | |
1924 | ||
3426e770 UD |
1925 | 2004-07-19 Thorsten Kukuk <kukuk@suse.de> |
1926 | ||
1927 | * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't | |
1928 | allocate memory for large temporary variables with alloca. | |
1929 | ||
54c36b13 UD |
1930 | 2004-07-22 Ulrich Drepper <drepper@redhat.com> |
1931 | ||
3426e770 UD |
1932 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility |
1933 | code must have version GLIBC_2.0. Patch by Dwayne McConnell. | |
1934 | ||
54c36b13 UD |
1935 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL |
1936 | pointer and zero length. | |
1937 | ||
f87475f7 UD |
1938 | 2004-07-21 Ulrich Drepper <drepper@redhat.com> |
1939 | ||
1940 | * nscd/cache.c (prune_cache): Print correct list when debugging. | |
1941 | ||
2ed2dc18 UD |
1942 | 2004-07-21 Jakub Jelinek <jakub@redhat.com> |
1943 | ||
1944 | * resolv/res_libc.c (res_init): If RES_INIT is set and | |
1945 | _res.nscount > 0, call __res_nclose and free nsaddrs. | |
1946 | * resolv/Makefile: Add rules to build and run tst-leaks2. | |
1947 | * resolv/tst-leaks2.c: New test. | |
1948 | ||
84b5ba7e UD |
1949 | 2004-07-21 Ulrich Drepper <drepper@redhat.com> |
1950 | ||
1951 | * intl/libintl.h: Don't define macros for C++. | |
1952 | Patch by Goto Masanori. | |
1953 | ||
1954 | 2004-07-22 GOTO Masanori <gotom@debian.or.jp> | |
1955 | ||
1956 | [BZ #276] | |
1957 | * include/arpa/inet.h: Change inet_aton type from in_addr_t to int. | |
1958 | * inet/arpa/inet.h: Likewise. | |
1959 | * resolv/inet_addr.c: Likewise. | |
1960 | ||
0767a652 AJ |
1961 | 2004-07-21 Alexandre Oliva <aoliva@redhat.com> |
1962 | ||
84b5ba7e | 1963 | * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop. |
0767a652 | 1964 | |
8f73811b RM |
1965 | 2004-07-20 Roland McGrath <roland@redhat.com> |
1966 | ||
1967 | * configure.in (add_ons): Substitute this. Move $add_ons handling | |
1968 | after AC_CANONICAL_HOST and default setting of $machine et al. | |
1969 | Don't set $subdirs from $add_ons. | |
1970 | Instead, source add-on/configure fragments early on. | |
1971 | (base_machine): If it's already set, don't set it based on $machine. | |
1972 | (libc_config_ok): New variable, set to no. If an add-on fragment sets | |
1973 | it to yes, skip the tuple sanity check as if --enable-hacker-mode. | |
1974 | (sysnames): Try appending add-on names after machine as well. | |
8f73811b RM |
1975 | * config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@. |
1976 | * Makeconfig ($(common-objpfx)config.status): Also depend on configure | |
1977 | files in $(add_ons) dirs. | |
1978 | ||
1979 | * sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove | |
1980 | definition, now in netinet/in.h proper. | |
1981 | ||
1346854b AJ |
1982 | 2004-07-20 Alexandre Oliva <aoliva@redhat.com> |
1983 | ||
918f187f AJ |
1984 | * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): |
1985 | Sort by syscalls. Make sure we get headers such as sgidefs.h from | |
1986 | the build tree before just-installed ones. | |
1987 | ||
16e6e834 AJ |
1988 | * sysdeps/mips/atomicity.h: Use standard names for ABI macros, |
1989 | include sgidefs.h where appropriate. | |
1990 | * sysdeps/mips/dl-machine.h: Likewise. | |
1991 | * sysdeps/mips/machine-gmon.h: Likewise. | |
1992 | * sysdeps/mips/bits/setjmp.h: Likewise. | |
1993 | * sysdeps/mips/fpu/bits/mathdef.h: Likewise. | |
1994 | * sysdeps/mips/mips64/__longjmp.c: Likewise. | |
1995 | * sysdeps/mips/mips64/setjmp_aux.c: Likewise. | |
1996 | * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. | |
1997 | * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. | |
1998 | * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. | |
1999 | * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. | |
2000 | * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. | |
2001 | * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. | |
2002 | * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. | |
2003 | * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. | |
2004 | * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. | |
2005 | * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise. | |
2006 | * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. | |
2007 | * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. | |
2008 | * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise. | |
2009 | * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. | |
2010 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. | |
a12161c8 | 2011 | * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise. |
16e6e834 | 2012 | * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): |
918f187f | 2013 | Likewise. |
16e6e834 | 2014 | * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): |
918f187f | 2015 | Likewise. |
918f187f | 2016 | |
1346854b AJ |
2017 | * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use |
2018 | _dl_lookup_symbol_x. | |
2019 | (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error. | |
2020 | ||
3a9537a1 UD |
2021 | 2004-07-20 Ulrich Drepper <drepper@redhat.com> |
2022 | ||
70682735 UD |
2023 | * inet/netinet/in.h: Define struct ip_mreq and struct |
2024 | ip_mreq_source. | |
b82276d1 | 2025 | Define struct group_req and struct group_source_req. |
70682735 UD |
2026 | * sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE, |
2027 | IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP, | |
2028 | IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP, | |
2029 | MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP, | |
2030 | MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and | |
2031 | MCAST_MSFILTER. | |
d8433bd0 | 2032 | Define MCAST_INCLUDE and MCAST_EXCLUDE. |
70682735 | 2033 | |
3a9537a1 UD |
2034 | * iconvdata/gconv-modules: Add alias for IBM874 [BZ #244]. |
2035 | ||
164f863e UD |
2036 | 2004-07-19 Jakub Jelinek <jakub@redhat.com> |
2037 | ||
2038 | [BZ #258] | |
2039 | * math/libm-test.inc (max_value, min_value): New variables. | |
2040 | (initialize): Initialize them. | |
2041 | (pow_test): Add a couple of new tests. | |
2042 | * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid | |
2043 | exception if |y| >= 1U<<31. | |
2044 | * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid | |
2045 | exception if |y| >= 1L<<63. | |
2046 | * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. | |
2047 | If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN. | |
2048 | * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. | |
2049 | ||
99bb9f42 UD |
2050 | 2004-07-18 Ulrich Drepper <drepper@redhat.com> |
2051 | ||
2052 | * nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful | |
2053 | lookup a bit. | |
2054 | * nscd/grpcache.c (cache_addgr): Likewise. | |
2055 | * nscd/hstcache.c (cache_addhst): Likewise. | |
2056 | ||
6f53de74 UD |
2057 | 2004-07-10 GOTO Masanori <gotom@debian.or.jp> |
2058 | ||
2059 | * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw. | |
2060 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
2061 | ||
f96b2e4e UD |
2062 | 2004-04-16 Andreas Schwab <schwab@suse.de> |
2063 | ||
2064 | * sysdeps/ia64/bits/atomic.h: Cast first argument of | |
2065 | __sync_bool_compare_and_swap_si correct to void*. | |
2066 | ||
1b6840e5 UD |
2067 | 2004-07-17 Ulrich Drepper <drepper@redhat.com> |
2068 | ||
2069 | * iconv/iconv_prog.c (print_known_names): Make machine-readable | |
2070 | output even less cluttered. | |
2071 | ||
77d60040 UD |
2072 | 2004-07-16 Steven Munroe <sjmunroe@us.ibm.com> |
2073 | ||
2074 | [BZ #269] | |
f523496b | 2075 | * setjmp/Makefile (tests): Add bug269-setjmp. |
77d60040 UD |
2076 | * setjmp/bug269-setjmp.c: New file. |
2077 | * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]: | |
2078 | Store R2 from jmpbuf in callers TOC save area. | |
2079 | * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]: | |
2080 | Store R2 in TOC save area. | |
2081 | * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]: | |
2082 | Copy TOC save area from previous frame as R2 (TOC) in jmpbuf. | |
2083 | ||
531b71dd UD |
2084 | 2004-07-16 Jakub Jelinek <jakub@redhat.com> |
2085 | ||
2086 | * locale/newlocale.c: Include bits/libc-lock.h. | |
2087 | (__libc_setlocale_lock): Extern decl. | |
2088 | (__newlocale): Use it. | |
2089 | Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>. | |
2090 | ||
f17ed1a9 UD |
2091 | 2004-07-15 Jakub Jelinek <jakub@redhat.com> |
2092 | ||
06eee9f5 UD |
2093 | * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove |
2094 | static inline __attribute ((always_inline)). Don't define if | |
2095 | NO_CANCELLATION. | |
2096 | (__libc_fcntl): Use INLINE_SYSCALL directly instead of | |
2097 | __fcntl_nocancel. | |
2098 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel): | |
2099 | Remove static inline __attribute ((always_inline)). Don't define | |
2100 | if NO_CANCELLATION. | |
2101 | (__libc_fcntl): Use INLINE_SYSCALL directly instead of | |
2102 | __fcntl_nocancel. | |
2103 | * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to | |
2104 | __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0. | |
2105 | Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0. | |
2106 | (__libc_fcntl): Don't define if __fcntl_nocancel is a macro. | |
2107 | ||
f17ed1a9 UD |
2108 | [BZ #262] |
2109 | * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF | |
2110 | for main. | |
2111 | * elf/Makefile: Add rules to build and run tst-pie1. | |
2112 | * elf/tst-pie1.c: New test. | |
2113 | * elf/tst-piemod1.c: New file. | |
2114 | ||
290639c3 UD |
2115 | 2004-07-14 Jakub Jelinek <jakub@redhat.com> |
2116 | ||
2117 | [BZ #266] | |
2118 | * manual/string.texi (l64a): Note that the static buffer is 7 bytes | |
8f73811b | 2119 | long. Rewrite example code so that it takes into account l64a output |
290639c3 UD |
2120 | shorter than 6 characters. |
2121 | Reported by Julian Graham <julian.graham@aya.yale.edu>. | |
2122 | ||
6c1232e2 UD |
2123 | 2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
2124 | ||
2125 | * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here. | |
2126 | (elf_machine_rela_relative): Remove unused valiable. | |
2127 | ||
69a64e9b RM |
2128 | 2004-07-12 Paul Eggert <eggert@cs.ucla.edu> |
2129 | ||
2130 | [BZ #263] | |
2131 | * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store | |
2132 | outside the buffer if the read returns 0. __strtod_l can't set | |
2133 | endp to NULL, so remove a test for that case. | |
2134 | ||
85fdc62b RM |
2135 | 2004-07-12 Roland McGrath <roland@redhat.com> |
2136 | ||
2137 | * manual/signal.texi (Interrupted Primitives): Make clear that | |
2138 | TEMP_FAILURE_RETRY evaluates its expression as long int and compares | |
2139 | it to -1 to define "failure". | |
2140 | ||
ee600e3f UD |
2141 | 2004-07-10 Ulrich Drepper <drepper@redhat.com> |
2142 | ||
2143 | * elf/ldconfig.c: Define PROCINFO_CLASS as static before including | |
2144 | ldsodefs.h. | |
2145 | * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not | |
2146 | already defined. | |
2147 | * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not | |
2148 | already defined. | |
2149 | ||
2150 | * elf/rtld.c (print_statistics): Mark with noinline attribute. | |
2151 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline | |
2152 | attribute. | |
2153 | (elf_machine_rel_relative): Likewise. | |
2154 | ||
2155 | * include/string.h: Add libc_hidden_proto for __strtok_r and | |
2156 | __strsep_g. | |
2157 | * sysdeps/generic/strsep.c: Add libc_hidden_def. | |
2158 | * sysdeps/generic/strtok_r.c: Likewise. | |
2159 | * sysdeps/i386/strtok_r.S: Add alias for internal symbol. | |
2160 | * sysdeps/i386/i686/strtok_r.S: Likewise. | |
2161 | * sysdeps/x86_64/strtok_r.S: Likewise. | |
2162 | ||
2163 | 2004-07-09 Alexandre Oliva <aoliva@redhat.com> | |
2164 | ||
2165 | * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden | |
2166 | instead of internal-linkage, such that we can alias to it. | |
2167 | (internal_endnetgrent, internal_getnetgrent_r): Likewise. | |
2168 | ||
d199bfb2 UD |
2169 | 2004-07-09 Ulrich Drepper <drepper@redhat.com> |
2170 | ||
2171 | * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute | |
2172 | to the front for gcc 3.5+. | |
2173 | * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. | |
2174 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise. | |
2175 | * include/fcntl.h: Don't declare __fcntl_nocancel here if | |
2176 | NO_CANCELLATION is defined. | |
2177 | ||
259fc9c5 UD |
2178 | 2004-07-07 Jakub Jelinek <jakub@redhat.com> |
2179 | ||
2180 | * elf/dl-fini.c (_dl_fini): Add nloaded variable, load | |
2181 | GL(dl_nloaded) into it while still in critical section. | |
2182 | ||
c61a8bb4 RM |
2183 | 2004-07-06 Thorsten Kukuk <kukuk@suse.de> |
2184 | ||
2185 | * nss/getent.c (print_group, print_passwd): Use %lu format for | |
2186 | `unsigned long int' values. | |
2187 | ||
2188 | * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax | |
2189 | error typos in goto statements. | |
2190 | ||
ec5a15a3 RM |
2191 | 2004-07-07 Roland McGrath <roland@frob.com> |
2192 | ||
2193 | * Makefile (dist-separate): New variable. | |
2194 | (glibc-%.tar rule): Make separate tar files for add-ons listed there. | |
2195 | Depend on their configure files. | |
2196 | (dist-do-separate-dirs): New canned sequence to do that. | |
2197 | (dist-separate-libidn, dist-separate-linuxthreads): New variables. | |
2198 | (dist): Depend on add-on tar files based on $(dist-separate). | |
2199 | (dist-version): New variable, default to $(version). | |
2200 | (tag-for-dist, dist): Use that in place of $(version) in deps. | |
2201 | ||
8e5aaad9 UD |
2202 | 2004-07-07 Ulrich Drepper <drepper@redhat.com> |
2203 | ||
2204 | * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock | |
2205 | before the loop running the destructors. | |
2206 | ||
4183d2a7 RM |
2207 | 2004-05-18 Andreas Schwab <schwab@suse.de> |
2208 | ||
2209 | * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of | |
2210 | the first segment for mprotect, not l_text_end. | |
2211 | ||
ce6e047f UD |
2212 | 2004-07-05 Ulrich Drepper <drepper@redhat.com> |
2213 | ||
321e8782 UD |
2214 | * elf/dl-profile.c (_dl_start_profile): Compact error handling. |
2215 | Remove hashfraction variable. Make kcount and kcountsize local | |
2216 | variables. | |
2217 | ||
ce6e047f UD |
2218 | * elf/dl-init.c: Don't define and use _dl_starting_up if |
2219 | HAVE_INLINED_SYSCALLS is defined and the variable is not used. | |
2220 | * elf/dl-support.c: Likewise. | |
2221 | * elf/rtld.c: Likewise. | |
2222 | * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly | |
2223 | if HAVE_INLINED_SYSCALLS is defined. | |
0b439171 | 2224 | * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up |
ce6e047f UD |
2225 | here. |
2226 | * sysdeps/powerpc/powerpc32/dl-start.S: Likewise. | |
2227 | * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS. | |
2228 | * config.h.in: Add entry for HAVE_INLINED_SYSCALLS. | |
2229 | ||
2230 | * sysdeps/posix/profil.c: If compiled for ld.so, omit code which | |
2231 | is needed to stop profiling. | |
2232 | * elf/dl-open.c (dl_open_worker): If a newly opened object is to be | |
2233 | profile make sure it cannot be unloaded. | |
2234 | ||
2235 | * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall. | |
2236 | ||
2237 | * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation | |
2238 | support, make sure the helper function is inlined. | |
2239 | * sysdeps/unix/sysv/linux/pread.c: Likewise. | |
2240 | * sysdeps/unix/sysv/linux/pwrite.c: Likewise. | |
2241 | * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise. | |
2242 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise. | |
2243 | ||
9b9ef823 UD |
2244 | 2004-07-05 Jakub Jelinek <jakub@redhat.com> |
2245 | ||
2dd18ce2 UD |
2246 | * include/string.h (ffs): Add libc_hidden_builtin_proto. |
2247 | * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def. | |
2248 | * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise. | |
2249 | * sysdeps/alpha/ffs.S (ffs): Likewise. | |
2250 | * sysdeps/s390/ffs.c (ffs): Likewise. | |
2251 | * sysdeps/powerpc/ffs.c (ffs): Likewise. | |
2252 | * sysdeps/i386/ffs.c (ffs): Likewise. | |
2253 | * sysdeps/i386/i686/ffs.c (ffs): Likewise. | |
2254 | * sysdeps/m68k/ffs.c (ffs): Likewise. | |
2255 | * sysdeps/generic/ffs.c (ffs): Likewise. | |
2256 | * sysdeps/m88k/ffs.c (ffs): Likewise. | |
2257 | * sysdeps/am29k/ffs.c (ffs): Likewise. | |
2258 | * sysdeps/i960/ffs.c (ffs): Likewise. | |
2259 | * sysdeps/x86_64/ffs.c (ffs): Likewise. | |
2260 | ||
2261 | * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0. | |
2262 | ||
9b9ef823 UD |
2263 | * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp, |
2264 | __libc_siglongjmp): Remove symbol_version. | |
2265 | * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp): | |
2266 | Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4. | |
2267 | * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias | |
2268 | unconditionally. | |
2269 | * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove. | |
2270 | * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use | |
2271 | strong_alias instead of default_symbol_version, remove | |
2272 | symbol_version. | |
2273 | * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise. | |
2274 | * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change | |
2275 | into strong_alias to __novmxsetjmp. | |
2276 | (__vmx__setjmp): Similarly with __vmxsetjmp. | |
2277 | (__setjmp): Make it strong_alias to __vmx__setjmp, remove | |
2278 | default_symbol_version and symbol_version. | |
2279 | * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change | |
2280 | into strong_alias to __novmxsetjmp. | |
2281 | (__vmx__setjmp): Similarly with __vmxsetjmp. | |
2282 | (__setjmp): Make it strong_alias to __vmx__setjmp, remove | |
2283 | default_symbol_version and symbol_version. | |
2284 | ||
2285 | * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h. | |
2286 | ||
c7acde59 UD |
2287 | 2004-07-05 Ulrich Drepper <drepper@redhat.com> |
2288 | ||
2289 | * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro. | |
2290 | ||
38205402 UD |
2291 | 2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk> |
2292 | ||
2293 | * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver | |
2294 | instead of libc_hidden_def. | |
2295 | ||
9632aaee RM |
2296 | 2004-07-01 Roland McGrath <roland@redhat.com> |
2297 | ||
2298 | * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT. | |
2299 | ||
2300 | * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level | |
2301 | $(..)shlib-versions file to last in deps list. This lets add-ons give | |
2302 | more-specific matches that override defaults in the top-level file. | |
2303 | ||
2304 | * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was | |
2305 | already set, don't set it or libc_cv_gcc_unwind_find_fde. | |
2306 | * sysdeps/unix/sysv/linux/configure: Regenerated. | |
2307 | ||
f8ea3acb UD |
2308 | 2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2309 | ||
2310 | * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES] | |
2311 | (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction. | |
2312 | (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction. | |
2313 | * sysdeps/s390/fpu/e_sqrt.c: New file. | |
2314 | * sysdeps/s390/fpu/e_sqrtf.c: New file. | |
2315 | * sysdeps/s390/Implies: New file. | |
2316 | * sysdeps/s390/s390-32/Implies: Remove ieee754, move | |
2317 | ieee754/dbl-64 and ieee754/flt-32 to s390/Implies. | |
2318 | * sysdeps/s390/s390-64/Implies: Likewise. | |
2319 | ||
2320 | 2004-06-30 Jakub Jelinek <jakub@redhat.com> | |
2321 | ||
2322 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h. | |
2323 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. | |
2324 | ||
2325 | * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start): | |
2326 | DO_CALL (exit, 1) instead of branching to _exit. | |
2327 | * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start): | |
2328 | Likewise. | |
2329 | ||
2330 | * sysdeps/s390/fpu/bits/mathinline.h: New file. | |
2331 | ||
2332 | * include/glob.h (glob64): Add libc_hidden_proto. | |
2333 | * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def. | |
2334 | * sysdeps/gnu/glob64.c (glob64): Likewise. | |
2335 | * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise. | |
2336 | ||
9f5d26e2 UD |
2337 | 2004-06-11 Jakub Jelinek <jakub@redhat.com> |
2338 | ||
2339 | * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4. | |
2340 | * sysdeps/s390/fpu/libm-test-ulps: Likewise. | |
2341 | ||
f9f70e68 UD |
2342 | 2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com> |
2343 | ||
2344 | * sysdeps/powerpc/fpu/s_lround.c: Removed. | |
2345 | * sysdeps/powerpc/fpu/s_lroundf.c: Removed. | |
2346 | * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file. | |
2347 | * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file. | |
2348 | * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file. | |
2349 | * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file. | |
2350 | * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed. | |
2351 | * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file. | |
2352 | * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file. | |
2353 | * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file. | |
2354 | * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file. | |
2355 | * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file. | |
2356 | * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file. | |
2357 | * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file. | |
2358 | * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file. | |
2359 | * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file. | |
2360 | ||
f5164429 UD |
2361 | 2004-06-30 Ulrich Drepper <drepper@redhat.com> |
2362 | ||
2363 | * include/net/if.h: Handle if_nameindex and if_freenameindex with | |
2364 | libc_proto_hidden. | |
2365 | * sysdeps/unix/sysv/linux/netlinkaccess.h: New file. | |
2366 | * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions. | |
2367 | * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using | |
2368 | netlink if possible. Fall back on ioctl method if necessary. | |
442c29ab | 2369 | * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h. |
f5164429 UD |
2370 | |
2371 | * include/unistd.h: Declare __truncate. | |
2372 | * sysdeps/generic/truncate.c: Also define __truncate. | |
2373 | * sysdeps/mach/hurd/truncate.c: Likewise. | |
2374 | * sysdeps/unix/common/syscalls.list: Likewise. | |
2375 | * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate. | |
2376 | ||
0b8d1390 UD |
2377 | 2004-06-29 Ulrich Drepper <drepper@redhat.com> |
2378 | ||
2379 | * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize | |
2380 | info.extra. Patch by Marcus Meissner. | |
2381 | ||
d3d35527 UD |
2382 | 2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
2383 | ||
2384 | * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER): | |
2385 | Fix branch offset for a PLT entry. | |
2386 | ||
5fa2f83c UD |
2387 | 2004-06-20 Jim Meyering <jim@meyering.net> |
2388 | ||
2389 | * malloc/obstack.h (obstack_base): Cast to `void *', to align with | |
2390 | documentation. | |
2391 | ||
414650c5 UD |
2392 | 2004-06-28 Ulrich Drepper <drepper@redhat.com> |
2393 | ||
16ac7d45 | 2394 | * inet/bug-if1.c (do_test): Simply use 0 as invalid index. |
e2fd959d | 2395 | Workaround for [BZ #232]. |
16ac7d45 | 2396 | |
414650c5 UD |
2397 | * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca. |
2398 | ||
2399 | 2004-06-28 GOTO Masanori <gotom@debian.or.jp> | |
2400 | ||
2401 | * iconv/gconv_simple.c: Use get16/put16 for user given buffer | |
2402 | in ucs2/ucs2reverse when unaligned memory access is attempted. | |
2403 | * iconv/tst-iconv5.c: New file. | |
2404 | * iconv/Makefile (tests): Add tst-iconv5. | |
2405 | ||
e1be0bc5 RM |
2406 | 2004-06-28 Jakub Jelinek <jakub@redhat.com> |
2407 | ||
2408 | * inet/bug-if1.c: Include <string.h>. | |
2409 | ||
2410 | 2004-06-19 Roland McGrath <roland@redhat.com> | |
2411 | ||
2412 | * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function | |
2413 | under this macro name instead. | |
2414 | [NO_DO_WAITID]: Don't define it at all. | |
2415 | (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are | |
2416 | defined, then return ENOTSUP for combinations of selection bits other | |
2417 | than WEXITED and WEXITED|WSTOPPED, which this version cannot support. | |
2418 | ||
2419 | * posix/tst-waitid.c: New file. | |
2420 | * posix/Makefile (tests): Add it. | |
2421 | ||
346f18ae UD |
2422 | 2004-06-28 Jakub Jelinek <jakub@redhat.com> |
2423 | ||
2424 | * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo. | |
2425 | ||
2426 | [BZ #231] | |
2427 | * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp | |
2428 | relocation in librt.so. | |
2429 | ||
2430 | [BZ #230] | |
2431 | * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load | |
2432 | _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>. | |
2433 | ||
340ef046 UD |
2434 | 2004-06-27 Ulrich Drepper <drepper@redhat.com> |
2435 | ||
539842a4 UD |
2436 | * elf/ldconfig.c (add_dir): Take chroot into account. |
2437 | Based on changes by HJ Lu and Hideki Iwamoto. | |
2438 | ||
482bbeb9 UD |
2439 | * nscd/connections.c (invalidate_cache): If the host cache has to |
2440 | be invalidated, re-read resolv.conf. | |
2441 | ||
340ef046 UD |
2442 | * resolv/resolv.h (RES_NOIP6DOTINT): Define. |
2443 | * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option. | |
2444 | * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int | |
2445 | if RES_NOIP6DOTINT flag is set. | |
2446 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. | |
2447 | ||
f2481c31 UD |
2448 | 2004-06-25 Jakub Jelinek <jakub@redhat.com> |
2449 | ||
2450 | * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to... | |
2451 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here. | |
2452 | * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to... | |
2453 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here. | |
2454 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file. | |
2455 | ||
2456 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK, | |
2457 | F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64. | |
2458 | ||
17fb9c53 UD |
2459 | 2004-06-21 Jakub Jelinek <jakub@redhat.com> |
2460 | ||
2461 | [BZ #231] | |
2462 | * sysdeps/unix/alpha/Makefile: New file. | |
2463 | * sysdeps/unix/alpha/rt-sysdep.S: New file. | |
2464 | Reported by Jakub Bogusz <qboosh@pld-linux.org>. | |
2465 | ||
5a6ae8da UD |
2466 | 2004-06-18 Ulrich Drepper <drepper@redhat.com> |
2467 | ||
163288fe UD |
2468 | * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME, |
2469 | determine the canonical name only for the first returned entry. | |
2470 | ||
5a6ae8da UD |
2471 | * inet/bug-if1.c: New file. |
2472 | * inet/Makefile (tests): Add bug-if1. | |
2473 | ||
262788c3 RM |
2474 | 2004-06-18 Roland McGrath <roland@frob.com> |
2475 | ||
62780824 RM |
2476 | * Makerules (compile-mkdep-flags): Add -MT $@. |
2477 | ||
2478 | * Makefile (dist, tag-for-dist): New targets. | |
2479 | (files-for-dist, tag-of-stem): New variables. | |
2480 | (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule. | |
2481 | Make tar files using cvs export. | |
2482 | (%.bz2, %.gz, tag-%): New pattern rules. | |
2483 | (distribute): Variable removed. | |
2484 | (+subdir_targets): Remove distinfo targets. | |
2485 | (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed. | |
2486 | (rpm/%): Pattern rule removed. | |
2487 | * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed. | |
2488 | * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist): | |
2489 | Targets removed. | |
2490 | * Makerules (dist, subdir_distinfo): Targets removed. | |
2491 | ($(objpfx)distinfo): Depend on $(distribute). | |
2492 | * Make-dist: File removed. | |
2493 | ||
262788c3 RM |
2494 | * NEWS: Fix a typo. Update bug-reporting instructions. |
2495 | ||
edc1aa3d UD |
2496 | 2004-06-17 Thorsten Kukuk <kukuk@suse.de> |
2497 | ||
2498 | * sysdeps/unix/sysv/linux/sched_setaffinity.c | |
2499 | (__sched_setaffinity_new): Set errno to EINVAL and return -1 if | |
2500 | cpuset is wrongly set. | |
2501 | ||
2502 | 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com> | |
2503 | ||
2504 | * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling | |
2505 | for POWER4 machines. | |
2506 | ||
2507 | 2004-06-14 Jakub Jelinek <jakub@redhat.com> | |
2508 | ||
2509 | [BZ #218] | |
2510 | * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next | |
2511 | in a local variable, point rp to that local variable afterwards. | |
2512 | ||
2513 | 2004-06-11 Jakub Jelinek <jakub@redhat.com> | |
2514 | ||
2515 | * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special | |
2516 | cases properly. | |
2517 | ||
2518 | 2004-06-17 Ulrich Drepper <drepper@redhat.com> | |
2519 | ||
2520 | * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct | |
2521 | error value for unknown interface. [BZ #198] | |
2522 | ||
5b2892d5 RM |
2523 | 2004-06-13 Jakub Jelinek <jakub@redhat.com> |
2524 | ||
2525 | * sysdeps/i386/bits/string.h (memcpy): Add () around arguments. | |
2526 | (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c, | |
2527 | __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory | |
2528 | the asm uses as its input, either of size __n where __n is known or | |
2529 | 0xfffffff. | |
2530 | (strstr): Add "memory" clobber. | |
2531 | ||
0ab7f77e RM |
2532 | 2004-06-14 Jakub Jelinek <jakub@redhat.com> |
2533 | ||
2534 | [BZ #219] | |
2535 | * nss/nsswitch.c (free_mem): Don't try to close a library handle | |
2536 | if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>. | |
2537 | ||
2538 | 2004-06-11 Dmitry V. Levin <ldv@altlinux.org> | |
2539 | ||
2540 | [BZ #217] | |
2541 | * debug/xtrace.sh: Fix typo in error diagnostics. | |
2542 | ||
6d00189e RM |
2543 | 2004-06-14 Andreas Schwab <schwab@suse.de> |
2544 | ||
2545 | * stdio-common/psignal.c (psignal): Don't use BUF when asprintf | |
2546 | failed. | |
2547 | ||
e1ad4c53 RM |
2548 | 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com> |
2549 | ||
2550 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto | |
2551 | that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve. | |
2552 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto | |
2553 | that clobbers r19. | |
2554 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto | |
2555 | that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve. | |
2556 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: | |
2557 | Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19. | |
2558 | Fix pasto that overflowed sigcontext.v_reserve. | |
2559 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: | |
2560 | Fix pasto that clobbers r19. | |
2561 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting | |
2562 | of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that | |
2563 | overflowed sigcontext.v_reserve. | |
2564 | ||
a3b85eba RM |
2565 | 2004-05-04 H.J. Lu <hongjiu.lu@intel.com> |
2566 | ||
77526fd2 | 2567 | [BZ #150] |
a3b85eba RM |
2568 | * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r." |
2569 | instead of ".gnu.linkonce.ro." as the prefix for linkonce | |
2570 | read-only section name. | |
2571 | ||
dd340846 RH |
2572 | 2004-06-14 Richard Henderson <rth@redhat.com> |
2573 | ||
2574 | * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp". | |
2575 | (_ITOFT, _FTOIT, _ITOFT2): Likewise. | |
2576 | ||
a9e526e7 RM |
2577 | 2004-06-08 Jakub Jelinek <jakub@redhat.com> |
2578 | ||
2579 | * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED. | |
2580 | (unwind_backtrace, unwind_getip): Define #ifndef SHARED. | |
2581 | (__backtrace): Don't call init #ifndef SHARED. | |
2582 | * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED. | |
2583 | (unwind_backtrace, unwind_getip): Define #ifndef SHARED. | |
2584 | (__backtrace): Don't call init #ifndef SHARED. | |
2585 | * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED. | |
2586 | (unwind_backtrace, unwind_getip): Define #ifndef SHARED. | |
2587 | (__backtrace): Don't call init #ifndef SHARED. | |
2588 | ||
f1847a84 RM |
2589 | 2004-06-11 Roland McGrath <roland@redhat.com> |
2590 | ||
2591 | * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian. | |
2592 | From Krzysztof Halasa <khc@pm.waw.pl>. | |
2593 | ||
b80af23a RM |
2594 | 2004-06-10 Jakub Jelinek <jakub@redhat.com> |
2595 | ||
2596 | * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14. | |
2597 | ||
f05a089d RM |
2598 | 2004-06-08 Jakub Jelinek <jakub@redhat.com> |
2599 | ||
2600 | [BZ #199] | |
2601 | * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc | |
2602 | succeeds. Reported by Miles Ohlrich <miles@cray.com>. | |
2603 | ||
2604 | * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc | |
2605 | fails. Avoid memory leak if realloc fails. | |
2606 | ||
e17f8b61 RM |
2607 | 2004-06-09 Jakub Jelinek <jakub@redhat.com> |
2608 | ||
2609 | * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is | |
2610 | NULL, "" or contains '=' character in it. Reported by | |
2611 | Michael T Kerrisk <mtk-lists@gmx.net>. | |
2612 | * stdlib/tst-environ.c: Include errno.h. | |
2613 | (main): Add tests for these arguments to setenv/unsetenv. | |
2614 | ||
616340ca RM |
2615 | 2004-06-07 Roland McGrath <roland@frob.com> |
2616 | ||
2617 | * NEWS: Update bug reporting instructions. Fix some typos. | |
2618 | ||
40c38b6c UD |
2619 | 2004-06-05 Ulrich Drepper <drepper@redhat.com> |
2620 | ||
2621 | * stdio-common/_itoa.h: Don't expand _itoa inline for libc. | |
2622 | * stdio-common/_itoa.c: Add _itoa implementation. | |
2623 | ||
2624 | * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation | |
2625 | to also send request. Add parameter to allow this. | |
2626 | Change callers. | |
2627 | * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller. | |
2628 | * nscd/nscd_getpw_r.c: Likewise. | |
2629 | * nscd/nscd-client.h: Change __nscd_open_socket prototype. | |
2630 | ||
41cbdf2a AJ |
2631 | 2004-06-05 Andreas Jaeger <aj@suse.de> |
2632 | ||
2633 | * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): | |
2634 | Handle more than 6 args correctly. Based on a patch by Masahide | |
c889f2cd | 2635 | Washizawa <washi@jp.ibm.com>. |
41cbdf2a | 2636 | |
29762ba6 UD |
2637 | 2004-06-04 Ulrich Drepper <drepper@redhat.com> |
2638 | ||
2639 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts | |
2640 | in all places, not __nss_not_use_nscd_group. | |
2641 | Reported by Philippe Gregoire. | |
2642 | ||
75fccede UD |
2643 | 2004-06-03 Ulrich Drepper <drepper@redhat.com> |
2644 | ||
2645 | * sysdeps/i386/i486/bits/atomic.h: Optimize a bit. | |
2646 | ||
322861e8 UD |
2647 | 2004-05-07 Dmitry V. Levin <ldv@altlinux.org> |
2648 | ||
2649 | * argp/argp-help.c (__argp_error, __argp_failure): Check result | |
2650 | of __asprintf call and don't use string if it failed. | |
2651 | * stdio-common/psignal.c (psignal): Likewise. | |
2652 | * locale/programs/localedef.c (more_help): Likewise. | |
2653 | * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list, | |
2654 | arg_bool, parse_line): Check result of __asprintf calls and | |
2655 | don't use string if they failed. | |
2656 | * sunrpc/svc_simple.c (registerrpc, universal): Likewise. | |
2657 | * elf/ldconfig.c (parse_conf_include): Check result of __asprintf | |
2658 | call and exit if it failed. | |
2659 | ||
fbf86dda UD |
2660 | 2004-05-10 Jakub Jelinek <jakub@redhat.com> |
2661 | ||
2662 | * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS, | |
2663 | _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, | |
2664 | _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, | |
2665 | _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, | |
2666 | _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, | |
2667 | _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR, | |
2668 | _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, | |
2669 | _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, | |
2670 | _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1. | |
2671 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) | |
2672 | <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1. | |
2673 | ||
2674 | 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx> | |
2675 | ||
2676 | * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add | |
2677 | -momit-leaf-frame-pointer. | |
2678 | ||
2679 | * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with | |
2680 | #ifdef AF_PACKET. | |
2681 | ||
2682 | * sysdeps/mach/hurd/getcwd.c | |
2683 | (_hurd_canonicalize_directory_name_intern): Only realloc when | |
2684 | size is <= 0. | |
2685 | ||
2686 | * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset | |
2687 | isn't page aligned. | |
2688 | ||
2689 | * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to | |
2690 | new size. | |
2691 | ||
2692 | * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read, | |
2693 | __libc_write and __libc_lseek64. | |
2694 | ||
f9b23e88 RM |
2695 | 2004-05-29 Roland McGrath <roland@redhat.com> |
2696 | ||
2697 | * elf/Makefile (shared-only-routines): Add dl-caller. | |
2698 | ||
0ac55e68 UD |
2699 | 2004-05-28 Ulrich Drepper <drepper@redhat.com> |
2700 | ||
2701 | * sysdeps/powerpc/configure.in: New file. | |
2702 | ||
f2bfeadf UD |
2703 | 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com> |
2704 | ||
2705 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine | |
2706 | "altivec" to enable VMX instructions. | |
2707 | * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. | |
2708 | * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. | |
2709 | * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. | |
2710 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. | |
2711 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. | |
2712 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. | |
2713 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. | |
2714 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. | |
2715 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. | |
2716 | ||
3dbfd811 UD |
2717 | 2004-05-27 Jakub Jelinek <jakub@redhat.com> |
2718 | ||
2719 | * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using | |
2720 | __builtin_expm1l for GCC 3.5+. | |
2721 | (__expl): Define using __builtin_expl for GCC 3.4+. | |
2722 | (exp, expf, expl): Don't define for GCC 3.4+. | |
2723 | (tan, tanf, tanl): Don't define for GCC 3.5+. | |
2724 | (__atan2l): Define using __builtin_atan2l for GCC 3.4+. | |
2725 | (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__. | |
2726 | (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__. | |
2727 | (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99. | |
2728 | (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define | |
2729 | for GCC 3.4+. | |
2730 | (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl): | |
2731 | Don't define for GCC 3.5+. | |
2732 | (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__. | |
2733 | (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't | |
2734 | define for GCC 3.5+. | |
2735 | (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__. | |
2736 | * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't | |
2737 | define for GCC 3.2+. | |
2738 | ||
2739 | 2004-05-27 Jakub Jelinek <jakub@redhat.com> | |
2740 | ||
2741 | * string/bits/string2.h (__bzero): Define even for GCC 3.0+. | |
2742 | * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def. | |
2743 | * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise. | |
2744 | * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise. | |
2745 | * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise. | |
2746 | * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise. | |
2747 | * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise. | |
2748 | * sysdeps/i386/stpcpy.S (stpcpy): Likewise. | |
2749 | * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise. | |
2750 | * sysdeps/generic/stpcpy.c (stpcpy): Likewise. | |
2751 | * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise. | |
2752 | * sysdeps/i386/i586/memcpy.S (memcpy): Remove | |
2753 | libc_hidden_builtin_def if MEMPCPY_P. | |
2754 | * sysdeps/x86_64/memcpy.S (memcpy): Likewise. | |
2755 | * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def. | |
2756 | * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise. | |
2757 | * sysdeps/generic/mempcpy.c (mempcpy): Likewise. | |
2758 | * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise. | |
2759 | ||
dfdef02f RM |
2760 | 2004-05-26 Roland McGrath <roland@frob.com> |
2761 | ||
2762 | * sysdeps/generic/bits/in.h | |
2763 | (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed. | |
2764 | These are long obsolete in BSD systems where they originated. | |
2765 | * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*' | |
2766 | ||
4a691b06 UD |
2767 | 2004-05-26 Jakub Jelinek <jakub@redhat.com> |
2768 | ||
2769 | * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto. | |
2770 | * string/bits/string2.h (memset): Disable macro for GCC 3.0+. | |
2771 | (__mempcpy): Use __builtin_mempcpy for GCC 3.4+. | |
2772 | (strchr): For GCC 3.2+, only use __rawmemchr if second argument is | |
2773 | constant '\0' and first argument is not constant. | |
2774 | (__stpcpy): Use __builtin_stpcpy for GCC 3.4+. | |
2775 | (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant. | |
2776 | For GCC 3.2+ use __builtin_strncpy. | |
2777 | (strncat): For GCC 3.2+ use __builtin_strncat. | |
2778 | (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are | |
2779 | constant. | |
2780 | (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function | |
2781 | if both arguments are constant. | |
2782 | ||
2783 | 2004-05-26 Ulrich Drepper <drepper@redhat.com> | |
2784 | ||
2785 | * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4 | |
2786 | mapped addresses in gethostbyaddr. | |
2787 | ||
1773d1ba UD |
2788 | 2004-05-25 Ulrich Drepper <drepper@redhat.com> |
2789 | ||
2790 | * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and | |
2791 | flags parameter, convert afp to simple int parameter. Adjust code. | |
2792 | typep was never != NULL and flags therefore also unused. *afp is | |
2793 | never modified. | |
2794 | * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype. | |
2795 | * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter | |
2796 | handling for __nss_hostname_digits_dots calls. | |
2797 | * nss/getXXbyYY_r.c: Likewise. | |
2798 | ||
2799 | * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE. | |
2800 | ||
ffdd5e50 UD |
2801 | 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com> |
2802 | ||
2803 | * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so. | |
2804 | * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES] | |
2805 | (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction. | |
2806 | (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction. | |
2807 | * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved | |
2808 | implementation from w_sqrt.c. | |
2809 | * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved | |
2810 | implementation from w_sqrtf.c. | |
2811 | * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation | |
2812 | using inline __ieee754_sqrt(). | |
2813 | * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation | |
2814 | using inline __ieee754_sqrtf(). | |
2815 | * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include | |
2816 | <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__. | |
2817 | * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define | |
2818 | PPC_FEATURE_* independent of __ASSEMBLER__. | |
2819 | ||
2820 | 2004-05-25 Jakub Jelinek <jakub@redhat.com> | |
2821 | ||
2822 | * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h | |
2823 | include. | |
2824 | (aio_start_notify_thread): Define if not defined. | |
2825 | (notify_func_wrapper): Use it. | |
2826 | * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h | |
2827 | include. | |
2828 | (aio_create_helper_thread): Define if not defined. | |
2829 | (__aio_create_helper_thread): New function. | |
2830 | (__aio_enqueue_request): Use aio_create_helper_thread. | |
2831 | ||
2832 | * nis/ypclnt.c (ypall_data, ypall_foreach): Remove. | |
2833 | (struct ypresp_all_data): New type. | |
2834 | (__xdr_ypresp_all): Change second argument to | |
2835 | struct ypresp_all_data *. Replace ypall_foreach and | |
2836 | ypall_data with objp->foreach and objp->data. | |
2837 | (yp_all): Remove status variable, add data. Replace | |
2838 | all uses of status with data.status. Initialize data.foreach | |
2839 | and data.data instead of ypall_foreach and ypall_data. | |
2840 | ||
2841 | 2004-05-24 Jakub Jelinek <jakub@redhat.com> | |
2842 | ||
2843 | * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit | |
2844 | in l_flags_1, not in l_flags. | |
2845 | ||
b84515a1 RM |
2846 | 2004-04-10 Robert Millan <robertmh@gnu.org> |
2847 | ||
2848 | * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync | |
2849 | with sysdeps/generic/bits/in.h. | |
2850 | ||
47cc0570 RM |
2851 | 2004-05-25 Roland McGrath <roland@frob.com> |
2852 | ||
2853 | * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from | |
2854 | GCC GPL to standard glibc LGPL. | |
2855 | ||
623281e0 UD |
2856 | 2004-05-24 Ulrich Drepper <drepper@redhat.com> |
2857 | ||
2858 | * manual/string.texi (Copying and Concatenation): Fixed second | |
2859 | concat example. | |
2860 | Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>. | |
2861 | ||
75c827b5 UD |
2862 | 2004-05-23 Ulrich Drepper <drepper@redhat.com> |
2863 | ||
2864 | * malloc/obstack.c: Don't allow linking with _obstack. | |
2865 | ||
9c8b466e AS |
2866 | 2004-05-23 Andreas Schwab <schwab@suse.de> |
2867 | ||
2868 | * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead | |
2869 | of separate "m" constraints. | |
2870 | ||
48db0d69 RM |
2871 | 2004-05-15 Chris Demetriou <cgd@broadcom.com> |
2872 | ||
2873 | * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE) | |
2874 | (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32 | |
2875 | and 64 ABIs, save and restore regs $10 and $11 (a6 and a7). | |
2876 | ||
558c2954 UD |
2877 | 2004-05-20 Paul Eggert <eggert@cs.ucla.edu> |
2878 | ||
2879 | * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used. | |
2880 | Add comment explaining why libc still defines it. | |
2881 | ||
afe01786 UD |
2882 | 2004-05-19 Paul Eggert <eggert@cs.ucla.edu> |
2883 | ||
2884 | * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast, | |
2885 | obstack_alignment_mask, obstack_alloc, obstack_base, | |
2886 | obstack_blank, obstack_blank_fast, obstack_chunk_size, | |
2887 | obstack_copy, obstack_copy0, obstack_finish, obstack_grow, | |
2888 | obstack_grow0, obstack_init, obstack_int_grow, | |
2889 | obstack_int_grow_fast, obstack_make_room, obstack_memory_used, | |
2890 | obstack_next_free, obstack_object_size, obstack_ptr_grow, | |
2891 | obstack_ptr_grow_fast, obstack_room): Remove declarations of | |
2892 | nonexistent functions. | |
2893 | ||
2894 | 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com> | |
2895 | ||
2896 | * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include | |
2897 | <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__. | |
2898 | [PIC]: Redundent for powerpc64, removed. | |
2899 | (ENTRY): Generate size and alignment for opd entry. | |
2900 | (EALIGN): Generate size and alignment for opd entry. | |
2901 | (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE. | |
2902 | (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE. | |
2903 | ||
b3b71a3b UD |
2904 | 2004-05-19 Ulrich Drepper <drepper@redhat.com> |
2905 | ||
d4b60383 UD |
2906 | * misc/regexp.h: Say the functions have been withdrawn. |
2907 | ||
b3b71a3b UD |
2908 | * wcsmbs/tst-wcpncpy.c: Add more tests. |
2909 | ||
48982f93 RM |
2910 | 2004-05-18 Roland McGrath <roland@frob.com> |
2911 | ||
2912 | * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to | |
2913 | standard glibc LGPL. | |
2914 | * sysdeps/generic/unwind-dw2.c: Likewise. | |
2915 | * sysdeps/generic/unwind-dw2-fde.c: Likewise. | |
2916 | * sysdeps/generic/unwind-dw2-fde.h: Likewise. | |
2917 | * sysdeps/generic/unwind-pe.h: Likewise. | |
2918 | ||
d40eb37a UD |
2919 | 2004-05-15 Petter Reinholdtsen <pere@hungry.com> |
2920 | ||
2921 | * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND | |
2922 | MONTENEGRO" which have taken over the code 819. Patch from | |
2923 | Danilo Segan. [BZ #40] | |
2924 | ||
2925 | 2004-05-15 Jakub Jelinek <jakub@redhat.com> | |
2926 | ||
2927 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h | |
2928 | (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to | |
2929 | __sparc_get_pic_l7. | |
2930 | ||
2931 | 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk> | |
2932 | ||
2933 | * catgets/gencat.c: Update bug reporting instructions. | |
2934 | * csu/version.c: Likewise. | |
2935 | * debug/catchsegv.sh: Likewise. | |
2936 | * debug/pcprofiledump.c: Likewise. | |
2937 | * debug/xtrace.sh: Likewise. | |
2938 | * elf/ldd.bash.in: Likewise. | |
2939 | * iconv/iconv_prog.c: Likewise. | |
2940 | * iconv/iconvconfig.c: Likewise. | |
2941 | * locale/programs/locale.c: Likewise. | |
2942 | * locale/programs/localedef.c: Likewise. | |
2943 | * login/programs/pt_chown.c: Likewise. | |
2944 | * malloc/memusage.sh: Likewise. | |
2945 | * malloc/memusagestat.c: Likewise. | |
2946 | * malloc/mtrace.pl: Likewise. | |
2947 | * manual/crypt.texi: Likewise. | |
2948 | * manual/install.texi: Likewise. | |
2949 | * nss/makedb.c: Likewise. | |
2950 | ||
2951 | 2004-05-14 Jakub Jelinek <jakub@redhat.com> | |
2952 | ||
2953 | * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only | |
2954 | CHECK_STATIC_TLS if sym != NULL. | |
2955 | * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise. | |
2956 | * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. | |
2957 | ||
2958 | 2004-05-12 Andreas Schwab <schwab@suse.de> | |
2959 | ||
2960 | * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs | |
2961 | when translating. | |
2962 | ||
2963 | 2004-05-13 H.J. Lu <hongjiu.lu@intel.com> | |
2964 | ||
2965 | * Rules (xtests): Depend on tests. | |
2966 | ||
f7803f51 UD |
2967 | 2004-05-13 Jakub Jelinek <jakub@redhat.com> |
2968 | ||
2969 | * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if | |
2970 | count is negative, yet write_ptr < write_end. | |
2971 | (_IO_default_xsgetn): Avoid one underflow per char if count is | |
2972 | negative, yet read_ptr < read_end. | |
2973 | ||
7f4311e8 UD |
2974 | 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com> |
2975 | ||
2976 | * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS | |
2977 | equal to TAB3. | |
2978 | ||
99444c14 UD |
2979 | 2004-05-12 Ulrich Drepper <drepper@redhat.com> |
2980 | ||
2981 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror | |
2982 | call. | |
2983 | ||
afcdc998 RM |
2984 | 2004-05-10 Roland McGrath <roland@frob.com> |
2985 | ||
2986 | * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "". | |
2987 | (__hurd_directory_name_split): Likewise. | |
2988 | ||
dcf147a5 UD |
2989 | 2004-05-10 Ulrich Drepper <drepper@redhat.com> |
2990 | ||
2991 | * po/fr.po: Update from translation team. | |
2992 | ||
d56a461b AJ |
2993 | 2004-05-10 Andreas Jaeger <aj@suse.de> |
2994 | ||
2995 | * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): | |
2996 | Correctly compute alignment. | |
2997 | Patch by Michael Matz <matz@suse.de>. | |
2998 | ||
66b3d198 UD |
2999 | 2004-05-09 Ulrich Drepper <drepper@redhat.com> |
3000 | ||
3001 | * sysdeps/generic/sigpause.c: Prevent sigpause prototype. | |
3002 | * sysdeps/posix/sigpause.c: Likewise. | |
3003 | * signal/signal.h: Don't define sigpause macro unless needed. | |
3004 | ||
cdbf48be UD |
3005 | 2004-05-08 Jakub Jelinek <jakub@redhat.com> |
3006 | ||
3007 | * configure.in (libc_cv_libgcc_s_suffix): New check. | |
3008 | (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix. | |
3009 | * config.make.in (libgcc_s_suffix): Set. | |
3010 | * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix). | |
3011 | ||
f32d2b81 UD |
3012 | 2004-05-08 Ulrich Drepper <drepper@redhat.com> |
3013 | ||
3014 | * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred. | |
3015 | ||
c67a469f UD |
3016 | 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com> |
3017 | ||
3018 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1, | |
3019 | LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6): | |
3020 | Load argument values into temporary variables. | |
3021 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1, | |
3022 | LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6): | |
3023 | Likewise. | |
3024 | ||
1fe42a2b UD |
3025 | 2004-05-07 Ulrich Drepper <drepper@redhat.com> |
3026 | ||
3027 | * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c | |
3028 | need to be compiled with exceptions. | |
3029 | ||
f1debaf6 UD |
3030 | 2004-05-06 Ulrich Drepper <drepper@redhat.com> |
3031 | ||
9be31a51 UD |
3032 | * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling. |
3033 | * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling. | |
3034 | ||
3035 | * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that | |
3036 | realloc cannot fail. | |
3037 | ||
3038 | * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot | |
3039 | be expanded. | |
3040 | ||
3041 | * nis/nis_table.c: Clean up memory handling. | |
3042 | * nis/nis_subr.c (nis_getnames): Clean up memory handling. | |
3043 | * nis/nis_removemember.c (nis_removemember): Add comment | |
3044 | explaining use of realloc. | |
3045 | ||
f1debaf6 UD |
3046 | * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL. |
3047 | (carg): Likewise. | |
3048 | Patch by Lev S Bishop <lev.bishop@yale.edu>. | |
3049 | ||
3050 | * math/bug-tgmath1.c (main): Test fabs and carg as well. | |
3051 | ||
3052 | 2004-05-06 Richard Henderson <rth@redhat.com> | |
3053 | ||
3054 | * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, | |
3055 | AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New. | |
3056 | * sysdeps/unix/sysv/linux/alpha/Versions: Export | |
3057 | __libc_alpha_cache_shape as a private symbol. | |
3058 | * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file. | |
3059 | * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file. | |
3060 | ||
165634aa RH |
3061 | 2004-05-06 Richard Henderson <rth@redhat.com> |
3062 | ||
3063 | * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New. | |
f1debaf6 UD |
3064 | * sysdeps/alpha/divl.S: Use them. |
3065 | * sysdeps/alpha/divq.S: Likewise. | |
3066 | * sysdeps/alpha/divqu.S: Likewise. | |
3067 | * sysdeps/alpha/reml.S: Likewise. | |
3068 | * sysdeps/alpha/remq.S: Likewise. | |
3069 | * sysdeps/alpha/remqu.S: Likewise. | |
165634aa | 3070 | |
58d87ee1 UD |
3071 | 2004-05-06 Ulrich Drepper <drepper@redhat.com> |
3072 | ||
3073 | * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define. | |
3074 | (cimag): Use it. | |
3075 | (creal): Likewise. | |
3076 | * math/Makefile (tests): Add bug-tgmath1. | |
3077 | * math/bug-tgmath1.c: New file. | |
3078 | ||
495961c0 UD |
3079 | 2004-05-05 Jakub Jelinek <jakub@redhat.com> |
3080 | ||
3081 | * sysdeps/alpha/atomicity.h: Remove. | |
3082 | * sysdeps/generic/atomicity.h: Remove. | |
3083 | ||
3084 | 2004-05-05 H.J. Lu <hongjiu.lu@intel.com> | |
3085 | ||
3086 | * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to | |
3087 | char *. | |
3088 | ||
ce118ec6 UD |
3089 | 2004-04-22 David Mosberger <davidm@hpl.hp.com> |
3090 | ||
2d7ae210 UD |
3091 | * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention |
3092 | rt-sysdep. | |
3093 | * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file. | |
3094 | ||
ce118ec6 UD |
3095 | * sysdeps/ia64/strcat.c: New file. |
3096 | * sysdeps/ia64/strcat.S: Delete. | |
3097 | ||
50c2b6d7 UD |
3098 | 2004-05-04 Jakub Jelinek <jakub@redhat.com> |
3099 | ||
3100 | * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove | |
3101 | defined. | |
3102 | ||
27b02589 UD |
3103 | 2004-04-23 Jakub Jelinek <jakub@redhat.com> |
3104 | ||
3105 | * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add | |
3106 | libc_hidden_proto. Define to __GI___libm_error_support for | |
3107 | assembly going into libc.so. | |
3108 | * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add | |
3109 | libc_hidden_def. | |
3110 | ||
3111 | * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define. | |
3112 | * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove. | |
3113 | ||
3114 | * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access | |
3115 | gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno | |
3116 | if USE___THREAD. | |
3117 | ||
5ce98c3f UD |
3118 | 2004-05-03 Jakub Jelinek <jakub@redhat.com> |
3119 | ||
3120 | * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if | |
3121 | __USE_BSD or __USE_UNIX98. | |
3122 | * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. | |
3123 | * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. | |
3124 | * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3125 | Likewise. | |
3126 | * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. | |
3127 | * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. | |
3128 | * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. | |
3129 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3130 | Likewise. | |
3131 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3132 | Likewise. | |
3133 | * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3134 | Likewise. | |
4bb8fc33 | 3135 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN): |
5ce98c3f UD |
3136 | Likewise. |
3137 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3138 | Likewise. | |
3139 | * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3140 | Likewise. | |
3141 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3142 | Likewise. | |
3143 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3144 | Likewise. | |
3145 | * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3146 | Likewise. | |
3147 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3148 | Likewise. | |
3149 | * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3150 | Likewise. | |
3151 | * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3152 | Likewise. | |
3153 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN): | |
3154 | Likewise. | |
3155 | * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. | |
3156 | * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise. | |
3157 | * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise. | |
3158 | ||
3159 | 2004-05-01 Jakub Jelinek <jakub@redhat.com> | |
3160 | ||
3161 | * posix/Versions (libc): Remove __libc_wait, __libc_waitpid, | |
3162 | __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64, | |
3163 | __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE. | |
3164 | * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE. | |
3165 | * sysdeps/unix/sysv/linux/Versions (libc): Remove | |
3166 | __libc_sigaction@@GLIBC_PRIVATE. | |
3167 | * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove | |
3168 | __modify_ldt@@GLIBC_PRIVATE. | |
3169 | * socket/Versions (libc): Remove __libc_accept, __libc_send, | |
3170 | __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv, | |
3171 | __libc_sendto and __libc_connect @@GLIBC_PRIVATE. | |
3172 | * stdio-common/Versions (libc): Remove | |
3173 | _itoa_upper_digits@@GLIBC_PRIVATE. | |
3174 | * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE. | |
3175 | * misc/Versions (libc): Remove __libc_fsync, __libc_msync, | |
3176 | __libc_readv and __libc_writev @@GLIBC_PRIVATE. | |
3177 | * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE. | |
3178 | * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read, | |
3179 | __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and | |
3180 | __libc_lseek64 @@GLIBC_PRIVATE. | |
3181 | ||
3182 | 2004-04-30 Jakub Jelinek <jakub@redhat.com> | |
3183 | ||
3184 | * elf/dl-load.c (open_verify): Move e_phentsize check after e_type | |
3185 | check. | |
3186 | ||
3187 | 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com> | |
3188 | ||
3189 | * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file. | |
3190 | * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file. | |
3191 | * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file. | |
3192 | * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file. | |
3193 | * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed. | |
3194 | * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file. | |
3195 | * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed. | |
3196 | * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file. | |
3197 | * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file. | |
3198 | * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file. | |
3199 | * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file. | |
3200 | * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file. | |
3201 | * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file. | |
3202 | * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file. | |
3203 | * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file. | |
3204 | * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file. | |
3205 | * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file. | |
3206 | * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file. | |
3207 | ||
3208 | * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX | |
3209 | mantissa for AIX long double format. | |
3210 | * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX | |
3211 | long double format. | |
3212 | * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise. | |
3213 | * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024] | |
3214 | (_fpioconst_pow10): AIX long double format has same exponent range as | |
3215 | double. | |
3216 | * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024] | |
3217 | (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range | |
3218 | as double. | |
3219 | ||
3220 | 2004-04-23 Art Haas <ahaas@airmail.net> | |
3221 | ||
3222 | * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'. | |
3223 | ||
6f0b2e1f RM |
3224 | 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca> |
3225 | ||
3226 | * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>. | |
3227 | * sysdeps/unix/sysv/linux/mq_notify.c: Likewise. | |
3228 | * sysdeps/unix/sysv/linux/mq_open.c: Likewise. | |
3229 | * sysdeps/unix/sysv/linux/mq_receive.c: Likewise. | |
3230 | * sysdeps/unix/sysv/linux/mq_send.c: Likewise. | |
3231 | ||
420a2f8b RM |
3232 | 2004-04-29 Philip Blundell <pb@nexus.co.uk> |
3233 | ||
3234 | * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT | |
3235 | entries. | |
3236 | ||
0c178dce RM |
3237 | 2004-04-29 Jakub Jelinek <jakub@redhat.com> |
3238 | ||
6f0b2e1f RM |
3239 | * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix |
3240 | prototypes and description [BZ #131]. | |
3241 | ||
3242 | * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130]. | |
3243 | Patch by Ed Catmur <ed@catmur.co.uk>. | |
3244 | * string/tst-inlcall.c (main): Add test for strpbrk. | |
3245 | ||
420a2f8b RM |
3246 | [BZ #140] |
3247 | * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h | |
3248 | include. | |
3249 | (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not | |
3250 | yet defined, #undef back after including linux/sysctl.h if defined | |
3251 | here. | |
3252 | (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef | |
3253 | back after including linux/sysctl.h if defined here. | |
3254 | ||
0c178dce RM |
3255 | * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31 |
3256 | for single precision register, add it to __asm clobbers [BZ #139]. | |
3257 | * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31 | |
3258 | for single precision register, add it to __asm clobbers. | |
3259 | * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox | |
3260 | instead of fqtoi in QP_HANDLE_EXCEPTIONS. | |
3261 | * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise. | |
3262 | Reported by M. H. VanLeeuwen <vanl@megsinet.net>. | |
3263 | ||
8c70d1c4 AS |
3264 | 2004-04-23 Andreas Schwab <schwab@suse.de> |
3265 | ||
3266 | * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use | |
3267 | __attribute_used__. | |
3268 | ||
091e1f6a UD |
3269 | 2004-04-22 Philip Blundell <philb@gnu.org> |
3270 | ||
3271 | * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE | |
3272 | when calling _dl_signal_error. | |
3273 | (elf_machine_rel): Likewise. | |
3274 | ||
ab8dc78f UD |
3275 | 2004-04-21 Ulrich Drepper <drepper@redhat.com> |
3276 | ||
3277 | * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp | |
3278 | and use it internally instead of __sigsetjmp. | |
3279 | * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f. | |
3280 | * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l. | |
3281 | * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4. | |
3282 | * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f. | |
3283 | * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l. | |
3284 | * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4. | |
3285 | * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4, | |
3286 | _GI___libm_frexp_4f, _GI___libm_frexp_4l. | |
3287 | * sysdeps/ia64/fpu/bits/mathinline.h: New file. | |
3288 | * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use | |
3289 | HIDDEN_JUMPTARGET for exit call. | |
3290 | * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for | |
3291 | _exit call. | |
3292 | * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call. | |
3293 | * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and | |
3294 | strcpy calls. | |
3295 | ||
b33ed432 UD |
3296 | 2004-04-21 Jakub Jelinek <jakub@redhat.com> |
3297 | ||
3298 | * posix/tst-chmod.c (do_test): Fix a typo. | |
f22c9168 | 3299 | |
b33ed432 UD |
3300 | * elf/lateglobal.c (main): Fix error checks. |
3301 | Patch by Stephen Clarke <stephen.clarke@st.com>. | |
3302 | ||
3303 | * manual/ctype.texi (isblank, iswblank): Mark as ISO functions, | |
3304 | mention they have been added in ISO C99. | |
3305 | Reported by Ben Pfaff <blp@cs.stanford.edu>. | |
3306 | ||
3307 | 2004-03-31 H.J. Lu <hongjiu.lu@intel.com> | |
3308 | ||
3309 | * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo. | |
3310 | ||
f9a06dc1 UD |
3311 | 2004-04-20 Jakub Jelinek <jakub@redhat.com> |
3312 | ||
3313 | * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into | |
3314 | EACCES. | |
3315 | ||
3316 | 2004-04-20 Jakub Jelinek <jakub@redhat.com> | |
3317 | ||
3318 | * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace | |
3319 | handling change. | |
3320 | * stdio-common/tst-sscanf.c (int_tests): Adjust. | |
3321 | ||
3322 | * nis/nss-nis.c: Include stdlib.h. | |
3323 | ||
3324 | * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a | |
3325 | warning. | |
3326 | * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from | |
3327 | libc_hidden_builtin_def. | |
3328 | ||
3329 | 2004-04-20 Jim Meyering <jim@meyering.net> | |
3330 | ||
3331 | * misc/error.c (error_tail): Don't leak upon realloc failure. | |
3332 | ||
3333 | 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
3334 | ||
3335 | * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): | |
3336 | Use RETURN_ADDRESS instead of __builtin_return_address. | |
3337 | ||
bfa26122 UD |
3338 | 2004-04-19 Ulrich Drepper <drepper@redhat.com> |
3339 | ||
3340 | * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more | |
3341 | compact code. | |
3342 | ||
d3b52028 | 3343 | 2004-04-20 Jakub Jelinek <jakub@redhat.com> |
22823085 | 3344 | |
d3b52028 UD |
3345 | * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace, |
3346 | do input_error () instead of conv_error () and don't look at errno. | |
3347 | Don't eat any whitespace before %% if skip_space == 0. | |
3348 | * stdio-common/tst-sscanf.c (int_tests): New array. | |
3349 | (main): Run int_tests. | |
22823085 | 3350 | |
0a901ba4 | 3351 | |
d3b52028 | 3352 | See ChangeLog.14 for earlier changes. |