]>
Commit | Line | Data |
---|---|---|
f6bf9e59 JJ |
1 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of | |
4 | gettimeofday. | |
5 | ||
4a44ce79 UD |
6 | 2007-02-01 Ulrich Drepper <drepper@redhat.com> |
7 | ||
8 | * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before | |
9 | returning. | |
10 | (PTR_DEMANGLE): Real definition now that it's not the same as | |
11 | PRT_MANGLE anymore. | |
12 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
13 | ||
14 | * string/strerror_l.c: New file. | |
15 | * string/Makefile (routines): Add strerror_l. | |
16 | * string/string.h: Declare strerror_l. | |
17 | * string/Versions: Export strerror_l for GLIBC_2.6. | |
18 | ||
58a2d52e UD |
19 | 2007-01-31 Ulrich Drepper <drepper@redhat.com> |
20 | ||
21 | * nscd/nscd_helper.c (open_socket): Now takes request type and key | |
22 | as parameter. Construct request record. Try sending request | |
23 | before the first poll use, it usually succeeds. Adjust all | |
24 | callers. | |
25 | * nscd/nscd-client.h: Define MAXKEYLEN. | |
4a44ce79 | 26 | * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here. |
58a2d52e | 27 | |
1a77d37f JJ |
28 | 2007-01-31 Jakub Jelinek <jakub@redhat.com> |
29 | ||
30 | * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier | |
31 | from return value. | |
32 | * nscd/nscd_helper.c: Include string.h. | |
33 | (__nscd_cache_search): Remove const qualifier from return value. | |
34 | On strict alignment architectures check hash entry and data head | |
35 | alignment. | |
36 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because | |
37 | mmapped data during GC cycle contains garbage. If | |
38 | __nscd_drop_map_ref fails, decrement mapped->counter when returning | |
39 | error or if retrying with NO_MAPPING, only __nscd_unmap if counter | |
40 | dropped to 0. | |
41 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
42 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
43 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
44 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
45 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
46 | ||
ee314200 UD |
47 | 2007-01-30 Ulrich Drepper <drepper@redhat.com> |
48 | ||
49 | * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. | |
50 | ||
14c8bf3b UD |
51 | 2007-01-26 Ulrich Drepper <drepper@redhat.com> |
52 | ||
53 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register | |
54 | names not numbers in cfi_*. | |
55 | ||
d2708e67 AJ |
56 | 2007-01-26 Andreas Jaeger <aj@suse.de> |
57 | ||
58 | * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, | |
14c8bf3b | 59 | ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add. |
d2708e67 AJ |
60 | Correct values of PER_HPUX and PER_OSF4. |
61 | ||
7fbc8784 UD |
62 | 2007-01-24 Ulrich Drepper <drepper@redhat.com> |
63 | ||
8aaf53ee | 64 | * elf/dl-minimal.c: Undefine _itoa first. |
7fbc8784 UD |
65 | * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. |
66 | * malloc/mtrace.c: Revert last change. | |
67 | * posix/wordexp.c: Likewise. | |
68 | ||
9d6cde3d UD |
69 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
70 | ||
71 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ | |
72 | and __geode__ to the list of i486+ CPUs. | |
73 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
74 | ||
c1f0486a UD |
75 | 2007-01-23 Ulrich Drepper <drepper@redhat.com> |
76 | ||
77 | * stdio-common/_itoa.c: Include <limits.h>. | |
78 | * stdio-common/_itowa.c: Likewise. | |
79 | ||
6cae3957 UD |
80 | 2007-01-22 Ulrich Drepper <drepper@redhat.com> |
81 | ||
765bbb24 UD |
82 | * stdio-common/_itowa.c: Don't compile _itowa for 64-bit |
83 | platforms. | |
84 | * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for | |
85 | 64-bit platforms. | |
86 | * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if | |
87 | possible. | |
88 | * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa | |
89 | if possible. | |
90 | ||
6cae3957 UD |
91 | [BZ #3902] |
92 | * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. | |
93 | * stdio-common/Makefile (tests): Add bug17. | |
94 | * stdio-common/bug17.c: New file. | |
95 | ||
ddaafd04 UD |
96 | 2007-01-19 Ulrich Drepper <drepper@redhat.com> |
97 | ||
98 | * iconvdata/brf.c: New file. | |
439201de UD |
99 | * iconvdata/testdata/BRF: New file. |
100 | * iconvdata/testdata/BRF..UTF8: New file. | |
101 | Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
ddaafd04 UD |
102 | * iconvdata/Makefile: Add rules to build BRF. |
103 | * iconvdata/TESTS: Add BRF entry. | |
104 | * iconvdata/gconv-modules: Likewise. | |
105 | * iconvdata/tst-tables.sh: Likewise. | |
ddaafd04 | 106 | |
9e6e344e UD |
107 | 2007-01-18 Anton Nikishaev <anton.nik@gmail.com> |
108 | ||
109 | * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of | |
110 | type `long long int', not `long int'. | |
111 | (wcstoq): Likewise. | |
112 | ||
299f7b0f UD |
113 | 2007-01-18 Ulrich Drepper <drepper@redhat.com> |
114 | ||
115 | * scripts/gen-as-const.awk: Add cast to long to avoid int promotion | |
116 | of values on 64-bit platforms which are too large. | |
117 | ||
cd8127cc JJ |
118 | 2007-01-12 Steven Munroe <sjmunroe@us.ibm.com> |
119 | Joe Kerian <jkerian@us.us.ibm.com> | |
120 | ||
121 | [BZ #2749] | |
122 | * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include | |
123 | <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro. | |
124 | (__copysignl): Use signbit() for comparison. | |
125 | * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for | |
126 | SET_LDOUBLE_WORDS64. | |
127 | ||
128 | [BZ #2423, #2749] | |
129 | * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>. | |
130 | (__ceill): Remove calls to fegetround(), fesetround(). | |
131 | * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. | |
132 | * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. | |
133 | * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. | |
134 | ||
b3acfdf7 JJ |
135 | 2007-01-17 Jakub Jelinek <jakub@redhat.com> |
136 | ||
4a2e03c6 JJ |
137 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos. |
138 | ||
b3acfdf7 JJ |
139 | * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. |
140 | ||
1476bce6 UD |
141 | 2007-01-17 Ulrich Drepper <drepper@redhat.com> |
142 | ||
143 | * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to | |
144 | demangle pointer. | |
145 | * csu/libc-start.c: Likewise. | |
146 | ||
d78bce1c UD |
147 | 2007-01-16 Ulrich Drepper <drepper@redhat.com> |
148 | ||
149 | * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot | |
150 | really work anyway. | |
151 | ||
1bd79025 UD |
152 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
153 | ||
000b027e UD |
154 | * nscd/connections.c (servinfo): Renamed to reqinfo. Change all |
155 | users. | |
156 | (handle_request): Remove unnecessary tests. | |
157 | ||
1bd79025 UD |
158 | * nscd/cache.c (cache_add): Record the failure to add to the cache. |
159 | ||
d68f5d2c JJ |
160 | 2007-01-15 Jakub Jelinek <jakub@redhat.com> |
161 | ||
162 | * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear | |
163 | workbits in semi-raw fraction. | |
164 | ||
165 | * math/test-misc.c: Add new tests. | |
166 | ||
167 | 2007-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
168 | ||
169 | * math/basic-test.c: Include test-skeleton.c. | |
170 | (TEST_TRUNC): Define. | |
171 | (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. | |
172 | (main): Rename to ... | |
173 | (do_test): ...this. Run new tests. | |
174 | (TEST_FUNCTION): Define. | |
175 | ||
176 | 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com> | |
177 | Joe Kerian <jkerian@us.us.ibm.com> | |
178 | ||
179 | [BZ #2749] | |
180 | * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow | |
181 | handling for high words. | |
182 | * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact | |
183 | and overflow for infinity. | |
184 | ||
4e35ef2c UD |
185 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
186 | ||
2a1dea97 UD |
187 | * nscd/connections.c (handle_request): Add a __builtin_expect. |
188 | ||
9691d83c UD |
189 | * nscd/connections.c (serv2db): Change type into structure which |
190 | also says whether this is a request for data. Renamed to | |
191 | servinfo. All users changed. | |
192 | (handle_request): Much simpler test whether we should search the cache. | |
193 | ||
49ee6d79 UD |
194 | * nscd/connections.c (handle_request): Fix thinko in selinux test |
195 | invocation. | |
196 | ||
4e35ef2c UD |
197 | * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. |
198 | * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock | |
199 | it before getting dl_load_lock and then relock. | |
200 | (_dl_lookup_symbol_x): Pass flags to add_dependency. | |
201 | When rerunning _dl_lookup_symbol_x, compute symbol_scope again in | |
202 | case we unlocked the scope. | |
203 | * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to | |
204 | _dl_lookup_symbol_x in case we locked the scope. | |
205 | (_dl_profile_fixup): Likewise. | |
206 | * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also | |
207 | set DL_LOOKUP_SCOPE_LOCK. | |
208 | ||
23691ab2 UD |
209 | 2007-01-13 Ulrich Drepper <drepper@redhat.com> |
210 | ||
fb453d08 UD |
211 | * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and |
212 | CFLAGS-getsrvbynpt_r.c. | |
213 | * nscd/getsrvbynm_r.c: New file. | |
214 | * nscd/getsrvbypt_r.c: New file. | |
215 | * nscd/nscd_getserv_r.c: New file. | |
216 | * nscd/servicescache.c: New file. | |
217 | * nscd/Makefile (routines): Add nscd_getserv_r. | |
218 | (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache. | |
219 | Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and | |
220 | CFLAGS-getsrvbypt_r.c. | |
221 | * nscd/cache.c (prune_cache): Rewrite to get re-add function from | |
222 | table. Add entries for services database. | |
223 | * nscd/connections.c (serv2str): Mark as const. Add entries for | |
224 | services database. | |
225 | (dbs): Add .reset_res and servdb initialization. | |
226 | (serv2db): Add entries for services database. | |
227 | (verify_persistent_db): Accept dbnr == servdb. | |
228 | (invalidate_cache): Rewrite database name recognition to use a table. | |
229 | Call res_init() if .reset_res is set for database. | |
230 | (handle_request): Add code to handle services database. | |
231 | * nscd/gai.c: Don't define __getservbyname_r. | |
232 | * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add | |
233 | GETSERVBYNAME, GETSERVBYPORT, GETFDSERV. | |
234 | (serv_response_header): Define. | |
235 | (struct datahead): Add serv_response_header member. | |
236 | * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value | |
237 | using table. | |
238 | * nscd/nscd.conf: Add entries for services database. | |
239 | * nscd/nscd.h: Adjust declaration of dbnames and serv2str. | |
240 | Declare serv_iov_disabled. | |
241 | Declare addservbyname, readdservbyname, addservbyport, and | |
242 | readdservbyport. | |
243 | * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry. | |
244 | (find_db): Fix error message. | |
245 | * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services, | |
246 | __nscd_getservbyname_r, and __nscd_getservbyport_r. | |
247 | * nscd/selinux.c (perms): Add entries for services database. | |
248 | * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE. | |
249 | * nss/nsswitch.c (__nss_disable_nscd): Also disable services database. | |
250 | ||
251 | * nscd/grpcache.c: Remove obsolete code. Cleanups. | |
252 | * nscd/hstcache.c: Likewise. | |
253 | * nscd/pwdcache.c: Likewise. | |
254 | ||
b21fa963 UD |
255 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct |
256 | computation of keylen. | |
257 | ||
23691ab2 UD |
258 | * include/string.h: Only redefine strndupa if this is really for |
259 | libc code. | |
260 | ||
8980796b UD |
261 | 2007-01-12 Ulrich Drepper <drepper@redhat.com> |
262 | ||
4a4a65f2 UD |
263 | * nscd/nscd_gethst_r.c: Minor cleanups. |
264 | ||
43397eaf UD |
265 | * nscd/connections.c (handle_request): Check selinux permissions |
266 | for all non-admin commands. | |
267 | ||
038a1a9f UD |
268 | * sysdeps/i386/i486/bits/atomic.h: Define |
269 | atomic_compare_and_exchange_val_acq, | |
270 | atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add | |
271 | using __sync_* built-ins for gcc >= 4.1. | |
272 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
273 | ||
8980796b UD |
274 | [BZ #3840] |
275 | * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d, | |
276 | and .oS.d files. | |
277 | ||
32c075e1 JJ |
278 | 2007-01-05 Steven Munroe <sjmunroe@us.ibm.com> |
279 | ||
280 | * stdlib/tst-makecontext.c: Include errno.h. Change main() | |
281 | to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. | |
282 | (do_test): Check errno and exit(0) if ENOSYS. | |
283 | ||
284 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> | |
285 | ||
286 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte | |
287 | thousands separators. | |
288 | * stdlib/Makefile: Add rules to build and run tst-strtod4. | |
289 | * stdlib/tst-strtod4.c: New test. | |
290 | ||
291 | [BZ #3855] | |
292 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by | |
293 | hexadecimal digit should accept just the initial 0. | |
294 | * stdlib/tst-strtod2.c (tests): New variable. | |
295 | (do_test): Run several tests rather than just one. | |
296 | ||
11bf311e | 297 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> |
df859a0c | 298 | |
11bf311e UD |
299 | * sysdeps/i386/soft-fp/sfp-machine.h: Remove. |
300 | * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. | |
df859a0c | 301 | |
11bf311e | 302 | 2007-01-10 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 303 | |
11bf311e UD |
304 | * io/fts.c: Make sure fts_cur is always valid after return from |
305 | fts_read. | |
306 | Patch by Miloslav Trmac <mitr@redhat.com>. | |
64a0aa0f | 307 | |
11bf311e | 308 | 2006-10-27 Richard Sandiford <richard@codesourcery.com> |
32c075e1 | 309 | |
11bf311e UD |
310 | * elf/elf.h (R_MIPS_GLOB_DAT): Define. |
311 | (R_MIPS_NUM): Bump by 1. | |
32c075e1 | 312 | |
11bf311e | 313 | 2007-01-03 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 314 | |
11bf311e UD |
315 | * posix/execvp.c: Include alloca.h. |
316 | (allocate_scripts_argv): Renamed to... | |
317 | (scripts_argv): ... this. Don't allocate buffer here nor count | |
318 | arguments. | |
319 | (execvp): Use alloca if possible. | |
320 | * posix/Makefile: Add rules to build and run tst-vfork3 test. | |
321 | * posix/tst-vfork3.c: New test. | |
32c075e1 JJ |
322 | |
323 | 2007-01-03 Ulrich Drepper <drepper@redhat.com> | |
324 | ||
325 | * string/Makefile (tst-strxfrm2-ENV): Define. | |
11bf311e | 326 | * stdlib/Makefile (tst-strtod3-ENV): Define. |
32c075e1 | 327 | |
11bf311e | 328 | 2007-01-02 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 329 | |
11bf311e UD |
330 | * posix/getconf.c: Update copyright year. |
331 | * nss/getent.c: Likewise. | |
332 | * iconv/iconvconfig.c: Likewise. | |
333 | * iconv/iconv_prog.c: Likewise. | |
334 | * elf/ldconfig.c: Likewise. | |
335 | * catgets/gencat.c: Likewise. | |
336 | * csu/version.c: Likewise. | |
337 | * elf/ldd.bash.in: Likewise. | |
338 | * elf/sprof.c (print_version): Likewise. | |
339 | * locale/programs/locale.c: Likewise. | |
340 | * locale/programs/localedef.c: Likewise. | |
341 | * nscd/nscd.c (print_version): Likewise. | |
342 | * debug/xtrace.sh: Likewise. | |
343 | * malloc/memusage.sh: Likewise. | |
344 | * malloc/mtrace.pl: Likewise. | |
345 | * debug/catchsegv.sh: Likewise. | |
64a0aa0f | 346 | |
11bf311e | 347 | 2006-12-24 Ulrich Drepper <drepper@redhat.com> |
48576885 | 348 | |
11bf311e UD |
349 | * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment |
350 | attempts. | |
48576885 | 351 | |
11bf311e | 352 | 2006-12-23 Ulrich Drepper <drepper@redhat.com> |
3b6667a4 | 353 | |
11bf311e | 354 | * posix/wordexp.c: Remove some unnecessary tests. |
3b6667a4 | 355 | |
33c6de58 UD |
356 | 2006-12-22 Gavin Romig-Koch <gavin@redhat.com> |
357 | ||
358 | * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't | |
359 | blacklist the group till after we look it up. | |
360 | ||
fc242bef UD |
361 | 2006-12-21 Ulrich Drepper <drepper@redhat.com> |
362 | ||
363 | * include/atomic.h (atomic_forced_read): New macro. | |
364 | ||
11bf311e UD |
365 | 2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
366 | ||
367 | * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file. | |
368 | ||
a12dcecc UD |
369 | 2006-12-19 Jakub Jelinek <jakub@redhat.com> |
370 | ||
11bf311e UD |
371 | * nss/getXXbyYY_r.c: Include atomic.h. |
372 | (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, | |
373 | add atomic_write_barrier () in between. | |
374 | ||
a12dcecc UD |
375 | * stdlib/Makefile (tests): Add tst-makecontext. |
376 | * stdlib/tst-makecontext.c: New test. | |
377 | ||
378 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S | |
379 | (__makecontext): Don't realign uc_mcontext.uc_regs. | |
380 | ||
11bf311e | 381 | 2006-11-28 Jakub Jelinek <jakub@redhat.com> |
594d423a | 382 | |
11bf311e UD |
383 | * elf/dl-support.c: Include dl-procinfo.h. |
384 | * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, | |
385 | PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, | |
386 | PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): | |
387 | Define. | |
388 | (_dl_string_platform): Use PPC_PLATFORM_* macros instead of | |
389 | hardcoded constants. | |
390 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use | |
391 | PPC_PLATFORM_* macros for array designators. | |
594d423a | 392 | |
11bf311e | 393 | 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com> |
594d423a | 394 | |
11bf311e UD |
395 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap |
396 | names to the beginning. | |
397 | (_dl_powerpc_platforms): Add "power6x". | |
398 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
399 | (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. | |
400 | (_DL_PLATFORMS_COUNT): Increase. | |
401 | (_dl_string_platform): Handle power6x case. | |
402 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, | |
403 | PPC_FEATURE_POWER6_EXT): Define. | |
404 | (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. | |
594d423a | 405 | |
5bcba0ed UD |
406 | 2006-12-18 Jakub Jelinek <jakub@redhat.com> |
407 | ||
408 | [BZ #3747] | |
409 | * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the | |
11bf311e | 410 | [-2^31 .. 2^31) range. |
5bcba0ed UD |
411 | * stdlib/tst-rand48.c (main): Fix expected values for 64-bit |
412 | targets. | |
413 | * stdlib/tst-rand48-2.c: New test. | |
414 | * stdlib/Makefile (tests): Add tst-rand48-2. | |
415 | ||
9e1444fc UD |
416 | 2006-12-14 Jakub Jelinek <jakub@redhat.com> |
417 | ||
418 | * misc/tst-pselect.c (do_test): Fix sigblock argument. | |
419 | ||
36775704 UD |
420 | 2006-12-14 Ulrich Drepper <drepper@redhat.com> |
421 | ||
422 | * misc/tst-pselect.c (do_test): Make sure the helper process is | |
423 | terminating when the test is aborted. | |
424 | ||
1e88bd0f UD |
425 | 2006-12-13 Ulrich Drepper <drepper@redhat.com> |
426 | ||
11bf311e UD |
427 | * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. |
428 | * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): | |
429 | Handle relatime mount option. | |
430 | ||
1e88bd0f UD |
431 | [BZ #2337] |
432 | * libio/Makefile (tests): Add tst-setvbuf1. | |
433 | * libio/tst-setvbuf1.c: New file. | |
434 | ||
435 | 2006-12-08 Jakub Jelinek <jakub@redhat.com> | |
436 | ||
437 | [BZ #2337] | |
438 | * libio/genops.c (__uflow): Fix a typo. | |
439 | * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat | |
440 | nor set _IO_LINE_BUF bit here. Size the wide buffer based on | |
441 | the narrow buffer size. | |
442 | ||
443 | 2006-11-24 Jakub Jelinek <jakub@redhat.com> | |
444 | ||
445 | [BZ #2337] | |
446 | * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. | |
447 | * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set | |
448 | _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit | |
449 | in _flags. | |
450 | * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, | |
451 | _IO_wstr_finish): Likewise. | |
452 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
453 | * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] | |
454 | even for wide streams. | |
455 | ||
11bf311e | 456 | 2006-12-13 Jakub Jelinek <jakub@redhat.com> |
1f55ce48 | 457 | |
11bf311e UD |
458 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include |
459 | kernel-features.h. | |
460 | ||
461 | 2006-12-11 Ulrich Drepper <drepper@redhat.com> | |
462 | ||
463 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand | |
464 | separators also if no non-zero digits found. | |
465 | * stdlib/Makefile (tests): Add tst-strtod3. | |
1f55ce48 | 466 | |
d117c1ce UD |
467 | 2006-12-09 Ulrich Drepper <drepper@redhat.com> |
468 | ||
f85fb97b UD |
469 | [BZ #3632] |
470 | * include/features.h: Fix comment about default value for | |
471 | _POSIX_C_SOURCE. | |
472 | ||
11bf311e UD |
473 | [BZ #3664] |
474 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize | |
475 | empty parsed strings. | |
476 | * stdlib/Makefile (tests): Add tst-strtod2. | |
477 | * stdlib/tst-strtod2.c: New file. | |
478 | ||
479 | [BZ #3673] | |
480 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit | |
481 | computation. | |
482 | * stdlib/Makefile (tests): Add tst-atof2. | |
483 | * stdlib/tst-atof2.c: New file. | |
484 | ||
485 | [BZ #3674] | |
486 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value | |
487 | correctly if removing trailing zero of hex-float. | |
488 | * stdlib/Makefile (tests): Add tst-atof1. | |
489 | * stdlib/tst-atof1.c: New file. | |
490 | ||
a822d9f4 UD |
491 | 2006-12-09 Jakub Jelinek <jakub@redhat.com> |
492 | ||
11bf311e UD |
493 | * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. |
494 | Start searching for next comma at p rather than rest. | |
495 | * misc/Makefile (tests): Add tst-mntent2. | |
496 | * misc/tst-mntent2.c: New test. | |
497 | ||
a822d9f4 UD |
498 | * misc/getusershell.c (initshells): Check for integer overflows. |
499 | Make strings buffer one bigger as fgets always succeeds when second | |
500 | argument is 1. Don't use calloc for shells array. Disallow | |
11bf311e | 501 | / as shell. |
f0d5e1f6 | 502 | |
11bf311e | 503 | 2006-12-08 Ulrich Drepper <drepper@redhat.com> |
f0d5e1f6 | 504 | |
11bf311e UD |
505 | * malloc/memusage.c: Handle realloc with new size of zero and |
506 | non-NULL pointer correctly. | |
507 | (me): Really write first record twice. | |
508 | (struct entry): Make format bi-arch safe. | |
509 | (dest): Write out more realloc statistics. | |
510 | * malloc/memusagestat.c (struct entry): Make format bi-arch safe. | |
32c075e1 | 511 | |
11bf311e | 512 | 2006-12-05 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 513 | |
11bf311e | 514 | * nis/nis_subr.c (nis_getnames): Revert last change. |
32c075e1 | 515 | |
f0d5e1f6 UD |
516 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
517 | ||
518 | * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. | |
519 | (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. | |
520 | * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. | |
521 | (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to | |
522 | ENOTTY. | |
523 | * io/Makefile: Add rules to build and run tst-ttyname_r test. | |
524 | * io/tst-ttyname_r.c: New test. | |
525 | ||
11bf311e | 526 | 2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
5df4fe08 | 527 | |
11bf311e | 528 | * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed. |
5df4fe08 | 529 | |
11bf311e | 530 | 2006-11-30 H.J. Lu <hongjiu.lu@intel.com> |
ee50871d | 531 | |
11bf311e UD |
532 | * sysdeps/i386/i686/memcmp.S: Use jump table as the base of |
533 | jump table entries. | |
534 | ||
535 | 2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> | |
536 | ||
537 | * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost | |
538 | `clone' function to ensure proper unwinding stop of gdb. | |
539 | * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. | |
540 | ||
541 | 2006-12-01 Ulrich Drepper <drepper@redhat.com> | |
542 | ||
543 | * nscd/nscd.init: Remove obsolete and commented-out -S option | |
544 | handling. | |
545 | ||
546 | 2006-11-23 Jakub Jelinek <jakub@redhat.com> | |
547 | ||
548 | [BZ #3514] | |
549 | * manual/string.texi (strncmp): Fix pastos from wcscmp description. | |
550 | ||
551 | [BZ #3515] | |
552 | * manual/string.texi (strtok): Remove duplicate paragraph. | |
553 | ||
554 | 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com> | |
555 | ||
556 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with | |
557 | libgcc not supporting `rflags' unwinding (register # >= 17). | |
558 | ||
559 | 2006-11-30 Jakub Jelinek <jakub@redhat.com> | |
560 | ||
561 | * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc | |
562 | succeeded. | |
563 | ||
564 | 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com> | |
565 | Jakub Jelinek <jakub@redhat.com> | |
566 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
567 | ||
568 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct | |
569 | unwind information. | |
570 | * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for | |
571 | 'restore_rt' even in the 'signal' directory. | |
572 | * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list. | |
ee50871d | 573 | |
b1a758f3 UD |
574 | 2006-11-27 Jakub Jelinek <jakub@redhat.com> |
575 | ||
576 | [BZ #3559] | |
577 | * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if | |
11bf311e UD |
578 | malloc crashed. Don't allocate memory unnecessarily in each |
579 | loop. | |
b1a758f3 | 580 | |
11bf311e | 581 | 2006-10-21 Jakub Jelinek <jakub@redhat.com> |
854d1124 | 582 | |
11bf311e | 583 | * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. |
dfc99a56 | 584 | |
11bf311e | 585 | 2006-11-20 Ulrich Drepper <drepper@redhat.com> |
dfc99a56 | 586 | |
11bf311e | 587 | * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. |
852d657c | 588 | |
11bf311e | 589 | 2006-11-18 Bruno Haible <bruno@clisp.org> |
852d657c | 590 | |
11bf311e UD |
591 | * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke |
592 | __sysconf only after having tried to call getgroups32. | |
36c0a636 | 593 | |
11bf311e | 594 | 2006-11-19 Ulrich Drepper <drepper@redhat.com> |
36c0a636 | 595 | |
11bf311e UD |
596 | * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style |
597 | addresses for IPv4 queries if they can be mapped. | |
b1f0c2a6 | 598 | |
11bf311e | 599 | 2006-11-16 Jakub Jelinek <jakub@redhat.com> |
b1f0c2a6 | 600 | |
11bf311e UD |
601 | * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text. |
602 | * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise. | |
603 | (signmask): Add .size directive. | |
604 | (othermask): Add .type directive. | |
bef8927a | 605 | |
11bf311e | 606 | 2006-11-14 Ulrich Drepper <drepper@redhat.com> |
2c53fa20 | 607 | |
11bf311e | 608 | * po/nl.po: Update from translation team. |
854d1124 | 609 | |
11bf311e | 610 | * timezone/zdump.c: Redo fix for BZ #3137. |
3f1e9205 | 611 | |
11bf311e | 612 | 2006-11-14 Jakub Jelinek <jakub@redhat.com> |
bef8927a | 613 | |
11bf311e UD |
614 | * nss/nss_files/files-alias.c (get_next_alias): Set line back |
615 | to first_unused after parsing :include: file. | |
5c2af134 | 616 | |
32c075e1 | 617 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> |
e1b37083 | 618 | |
11bf311e UD |
619 | * timezone/africa: Update from tzdata2006o. |
620 | * timezone/antarctica: Likewise. | |
621 | * timezone/asia: Likewise. | |
622 | * timezone/australasia: Likewise. | |
623 | * timezone/backward: Likewise. | |
624 | * timezone/europe: Likewise. | |
625 | * timezone/iso3166.tab: Likewise. | |
626 | * timezone/northamerica: Likewise. | |
627 | * timezone/southamerica: Likewise. | |
628 | * timezone/zone.tab: Likewise. | |
629 | ||
630 | * time/tzfile.c (__tzfile_read): Extend to handle new file format | |
631 | on machines with 64-bit time_t. | |
632 | ||
633 | * timezone/checktab.awk: Update from tzcode2006o. | |
634 | * timezone/ialloc.c: Likewise. | |
635 | * timezone/private.h: Likewise. | |
636 | * timezone/scheck.c: Likewise. | |
637 | * timezone/tzfile.h: Likewise. | |
638 | * timezone/tzselect.ksh: Likewise. | |
639 | * timezone/zdump.c: Likewise. | |
640 | * timezone/zic.c: Likewise. | |
641 | ||
642 | [BZ #3483] | |
643 | * elf/ldconfig.c (main): Call setlocale and textdomain. | |
644 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
645 | ||
646 | [BZ #3480] | |
647 | * manual/argp.texi: Fix typos. | |
648 | * manual/charset.texi: Likewise. | |
649 | * manual/errno.texi: Likewise. | |
650 | * manual/filesys.texi: Likewise. | |
651 | * manual/lang.texi: Likewise. | |
652 | * manual/maint.texi: Likewise. | |
653 | * manual/memory.texi: Likewise. | |
654 | * manual/message.texi: Likewise. | |
655 | * manual/resource.texi: Likewise. | |
656 | * manual/search.texi: Likewise. | |
657 | * manual/signal.texi: Likewise. | |
658 | * manual/startup.texi: Likewise. | |
659 | * manual/stdio.texi: Likewise. | |
660 | * manual/sysinfo.texi: Likewise. | |
661 | * manual/syslog.texi: Likewise. | |
662 | * manual/time.texi: Likewise. | |
663 | Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. | |
664 | ||
665 | [BZ #3465] | |
666 | * sunrpc/clnt_raw.c: Minimal message improvements. | |
667 | * sunrpc/pm_getmaps.c: Likewise. | |
668 | * nis/nss_nisplus/nisplus-publickey.c: Likewise. | |
669 | * nis/nis_print_group_entry.c: Likewise. | |
670 | * locale/programs/repertoire.c: Likewise. | |
671 | * locale/programs/charmap.c: Likewise. | |
672 | * malloc/memusage.sh: Likewise. | |
673 | * elf/dl-deps.c: Likewise. | |
674 | * locale/programs/ld-collate.c: Likewise. | |
675 | * libio/vswprintf.c: Likewise. | |
676 | * malloc/memusagestat.c: Likewise. | |
677 | * sunrpc/auth_unix.c: Likewise. | |
678 | * sunrpc/rpc_main.c: Likewise. | |
679 | * nscd/cache.c: Likewise. | |
680 | * locale/programs/repertoire.c: Unify output messages. | |
681 | * locale/programs/charmap.c: Likewise. | |
682 | * locale/programs/ld-ctype.c: Likewise. | |
683 | * locale/programs/ld-monetary.c: Likewise. | |
684 | * locale/programs/ld-numeric.c: Likewise. | |
685 | * locale/programs/ld-time.c: Likewise. | |
686 | * elf/ldconfig.c: Likewise. | |
687 | * nscd/selinux.c: Likewise. | |
688 | * elf/cache.c: Likewise. | |
689 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
690 | ||
5c2af134 UD |
691 | [BZ #3451] |
692 | * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode | |
693 | change atomic. | |
694 | (ceil): Likewise. | |
695 | ||
11bf311e UD |
696 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> |
697 | ||
698 | * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization | |
699 | if N is one bigger than return value. | |
700 | * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 | |
701 | and l1 last arguments, if buf is defined, verify the return value | |
702 | equals to strlen (buf) and verify no byte beyond passed length | |
703 | is modified. | |
704 | ||
705 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> | |
706 | ||
707 | * po/sv.po: Update from translation team. | |
708 | ||
37afcf79 UD |
709 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
710 | ||
711 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add | |
712 | noinline attribute. | |
713 | ||
714 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> | |
715 | ||
716 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add | |
717 | noinline attribute. | |
718 | ||
11bf311e UD |
719 | * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): |
720 | Use __new_sys_siglist instead of _sys_siglist_internal as | |
721 | second macro argument. | |
722 | (_old_sys_siglist): Use declare_symbol_alias macro instead of | |
723 | strong_alias. | |
2692deea | 724 | |
11bf311e UD |
725 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
726 | ||
727 | [BZ #3493] | |
728 | * posix/unistd.h (sysconf): Remove const attribute. | |
729 | ||
730 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for | |
731 | temporary or deprecated addresses. | |
732 | Patch by Sridhar Samudrala <sri@us.ibm.com>. | |
733 | ||
734 | * string/Makefile (tests): Add tst-strxfrm2. | |
735 | * string/tst-strxfrm2.c: New file. | |
736 | ||
737 | 2006-10-09 Jakub Jelinek <jakub@redhat.com> | |
738 | ||
739 | * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 | |
740 | rather than r->r_brk. | |
2692deea UD |
741 | |
742 | 2006-11-08 Jakub Jelinek <jakub@redhat.com> | |
743 | ||
11bf311e UD |
744 | * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal |
745 | optimization even if needed > n. | |
746 | ||
2692deea UD |
747 | * elf/dl-load.c (decompose_rpath): Return bool rather than void. |
748 | If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and | |
749 | return false, otherwise return true. | |
750 | (cache_rpath): Return decompose_rpath return value. | |
751 | ||
11bf311e UD |
752 | 2006-11-07 Jakub Jelinek <jakub@redhat.com> |
753 | ||
754 | * include/libc-symbols.h (declare_symbol): Rename to... | |
755 | (declare_symbol_alias): ... this. Add ORIGINAL argument, imply | |
756 | strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes | |
757 | .size directive. | |
758 | * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias | |
759 | changes. | |
760 | * sysdeps/gnu/siglist.c: Likewise. | |
761 | ||
762 | 2006-11-03 Steven Munroe <sjmunroe@us.ibm.com> | |
763 | ||
764 | * sysdeps/powerpc/fpu/bits/mathinline.h | |
765 | [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... | |
766 | * sysdeps/powerpc/fpu/math_private.h: ...here. New file. | |
767 | ||
768 | 2006-11-05 Ulrich Drepper <drepper@redhat.com> | |
769 | ||
770 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): | |
771 | Update handling of cache descriptor 0x49 for new models. | |
772 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): | |
773 | Likewise. | |
774 | ||
9666e36c UD |
775 | 2006-11-02 Jakub Jelinek <jakub@redhat.com> |
776 | ||
777 | * malloc/memusage.c (dest): Reset not_me back to false after | |
778 | printing statistics. | |
779 | ||
11bf311e UD |
780 | 2006-11-02 Ulrich Drepper <drepper@redhat.com> |
781 | ||
782 | * configure.in: Work around ld --help change and avoid -z relro | |
783 | test completely if the architecture doesn't care about security. | |
784 | ||
785 | 2006-11-01 Ulrich Drepper <drepper@redhat.com> | |
786 | ||
787 | * po/sv.po: Update from translation team. | |
788 | ||
789 | 2006-10-31 Ulrich Drepper <drepper@redhat.com> | |
790 | ||
791 | * stdlib/atexit.c (atexit): Don't mark as hidden when used to | |
792 | generate compatibility version. | |
793 | ||
794 | 2006-10-29 Ulrich Drepper <drepper@redhat.com> | |
795 | ||
796 | * configure.in: Relax -z relro requirement a bit. | |
797 | ||
798 | * po/sv.po: Update from translation team. | |
799 | ||
800 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> | |
801 | ||
802 | * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. | |
803 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. | |
804 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
805 | * elf/dl-open.c (_dl_open_worker): Likewise. | |
806 | * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. | |
807 | ||
b2369ca3 UD |
808 | 2006-10-27 Ulrich Drepper <drepper@redhat.com> |
809 | ||
11bf311e UD |
810 | * configure.in: Require assembler support for visibility, compiler |
811 | support for visibility and aliases, linker support for various -z | |
812 | options. | |
813 | * Makeconfig: Remove conditional code which now is unnecessary. | |
814 | * config.h.in: Likewise. | |
815 | * config.make.in: Likewise. | |
816 | * dlfcn/Makefile: Likewise. | |
817 | * elf/Makefile: Likewise. | |
818 | * elf/dl-load.c: Likewise. | |
819 | * elf/rtld.c: Likewise. | |
820 | * include/libc-symbols.h: Likewise. | |
821 | * include/stdio.h: Likewise. | |
822 | * io/Makefile: Likewise. | |
823 | * io/fstat.c: Likewise. | |
824 | * io/fstat64.c: Likewise. | |
825 | * io/fstatat.c: Likewise. | |
826 | * io/fstatat64.c: Likewise. | |
827 | * io/lstat.c: Likewise. | |
828 | * io/lstat64.c: Likewise. | |
829 | * io/mknod.c: Likewise. | |
830 | * io/mknodat.c: Likewise. | |
831 | * io/stat.c: Likewise. | |
832 | * io/stat64.c: Likewise. | |
833 | * libio/stdio.c: Likewise. | |
834 | * nscd/Makefile: Likewise. | |
835 | * stdlib/Makefile: Likewise. | |
836 | * stdlib/atexit.c: Likewise. | |
837 | * sysdeps/generic/ldsodefs.h: Likewise. | |
838 | * sysdeps/i386/dl-machine.h: Likewise. | |
839 | * sysdeps/i386/sysdep.h: Likewise. | |
840 | * sysdeps/i386/i686/memcmp.S: Likewise. | |
841 | * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. | |
842 | * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. | |
843 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. | |
844 | ||
845 | * Makerules: USE_TLS support is now default. | |
846 | * tls.make.c: Likewise. | |
847 | * csu/Versions: Likewise. | |
848 | * csu/libc-start.c: Likewise. | |
849 | * csu/libc-tls.c: Likewise. | |
850 | * csu/version.c: Likewise. | |
851 | * dlfcn/dlinfo.c: Likewise. | |
852 | * elf/dl-addr.c: Likewise. | |
853 | * elf/dl-cache.c: Likewise. | |
854 | * elf/dl-close.c: Likewise. | |
855 | * elf/dl-iteratephdr.c: Likewise. | |
856 | * elf/dl-load.c: Likewise. | |
857 | * elf/dl-lookup.c: Likewise. | |
858 | * elf/dl-object.c: Likewise. | |
859 | * elf/dl-open.c: Likewise. | |
860 | * elf/dl-reloc.c: Likewise. | |
861 | * elf/dl-support.c: Likewise. | |
862 | * elf/dl-sym.c: Likewise. | |
863 | * elf/dl-sysdep.c: Likewise. | |
864 | * elf/dl-tls.c: Likewise. | |
865 | * elf/ldconfig.c: Likewise. | |
866 | * elf/rtld.c: Likewise. | |
867 | * elf/tst-tls-dlinfo.c: Likewise. | |
868 | * elf/tst-tls1.c: Likewise. | |
869 | * elf/tst-tls10.h: Likewise. | |
870 | * elf/tst-tls14.c: Likewise. | |
871 | * elf/tst-tls2.c: Likewise. | |
872 | * elf/tst-tls3.c: Likewise. | |
873 | * elf/tst-tls4.c: Likewise. | |
874 | * elf/tst-tls5.c: Likewise. | |
875 | * elf/tst-tls6.c: Likewise. | |
876 | * elf/tst-tls7.c: Likewise. | |
877 | * elf/tst-tls8.c: Likewise. | |
878 | * elf/tst-tls9.c: Likewise. | |
879 | * elf/tst-tlsmod1.c: Likewise. | |
880 | * elf/tst-tlsmod13.c: Likewise. | |
881 | * elf/tst-tlsmod13a.c: Likewise. | |
882 | * elf/tst-tlsmod14a.c: Likewise. | |
883 | * elf/tst-tlsmod2.c: Likewise. | |
884 | * elf/tst-tlsmod3.c: Likewise. | |
885 | * elf/tst-tlsmod4.c: Likewise. | |
886 | * elf/tst-tlsmod5.c: Likewise. | |
887 | * elf/tst-tlsmod6.c: Likewise. | |
888 | * include/errno.h: Likewise. | |
889 | * include/link.h: Likewise. | |
890 | * include/tls.h: Likewise. | |
891 | * locale/global-locale.c: Likewise. | |
892 | * locale/localeinfo.h: Likewise. | |
893 | * malloc/arena.c: Likewise. | |
894 | * malloc/hooks.c: Likewise. | |
895 | * malloc/malloc.c: Likewise. | |
896 | * resolv/Versions: Likewise. | |
897 | * sysdeps/alpha/dl-machine.h: Likewise. | |
898 | * sysdeps/alpha/libc-tls.c: Likewise. | |
899 | * sysdeps/generic/ldsodefs.h: Likewise. | |
900 | * sysdeps/generic/tls.h: Likewise. | |
901 | * sysdeps/i386/dl-machine.h: Likewise. | |
902 | * sysdeps/ia64/dl-machine.h: Likewise. | |
903 | * sysdeps/ia64/libc-tls.c: Likewise. | |
904 | * sysdeps/mach/hurd/fork.c: Likewise. | |
905 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
906 | * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. | |
907 | * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. | |
908 | * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. | |
909 | * sysdeps/s390/libc-tls.c: Likewise. | |
910 | * sysdeps/s390/s390-32/dl-machine.h: Likewise. | |
911 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
912 | * sysdeps/sh/dl-machine.h: Likewise. | |
913 | * sysdeps/sparc/sparc32/dl-machine.h: Likewise. | |
914 | * sysdeps/sparc/sparc64/dl-machine.h: Likewise. | |
915 | * sysdeps/x86_64/dl-machine.h: Likewise. | |
916 | ||
131c4428 UD |
917 | * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and |
918 | split out locking and parameter checking. | |
919 | (_dl_close): Call _dl_close_worker after locking and checking. | |
920 | * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of | |
921 | _dl_close. | |
ffd0e1b7 UD |
922 | * elf/Makefile: Add rules to build and run tst-thrlock. |
923 | * elf/tst-thrlock.c: New file. | |
131c4428 | 924 | |
11bf311e UD |
925 | [BZ #3426] |
926 | * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to | |
927 | reality. | |
928 | ||
b2369ca3 UD |
929 | [BZ #3429] |
930 | * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until | |
131c4428 | 931 | we are sure we do not need it anymore for _dl_close. Also move |
b2369ca3 UD |
932 | the asserts inside the lock region. |
933 | Patch mostly by Suzuki <suzuki@in.ibm.com>. | |
934 | ||
11bf311e UD |
935 | 2006-10-27 Jakub Jelinek <jakub@redhat.com> |
936 | ||
937 | * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope | |
938 | argument. | |
939 | (_dl_lookup_symbol_x): Adjust caller. | |
940 | ||
941 | * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove | |
942 | _ns_global_scope. | |
943 | * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. | |
944 | ||
945 | * elf/dl-libc.c: Revert l_scope name changes. | |
946 | * elf/dl-load.c: Likewise. | |
947 | * elf/dl-object.c: Likewise. | |
948 | * elf/rtld.c: Likewise. | |
949 | * elf/dl-close.c (_dl_close): Likewise. | |
950 | * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, | |
951 | always use __rtld_mrlock_{change,done}. Always free old scope list | |
952 | here if not l_scope_mem. | |
953 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name | |
954 | change. Never free scope list here. Just __rtld_mrlock_lock before | |
955 | the lookup and __rtld_mrlock_unlock it after the lookup. | |
956 | * elf/dl-sym.c: Likewise. | |
957 | * include/link.h (struct r_scoperec): Remove. | |
958 | (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem | |
959 | with l_scope_mem and l_scoperec_lock with l_scope_lock. | |
960 | ||
961 | 2006-10-25 Ulrich Drepper <drepper@redhat.com> | |
962 | ||
963 | * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION. | |
964 | ||
965 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
966 | ||
967 | * configure.in: Disable building profile libraries by default. | |
968 | ||
609cf614 UD |
969 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> |
970 | ||
971 | * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses | |
972 | as signed longs, check for x_base + pos overflow. | |
973 | * sunrpc/Makefile (tests): Add tst-xdrmem2. | |
974 | * sunrpc/tst-xdrmem2.c: New test. | |
975 | ||
11bf311e UD |
976 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> |
977 | ||
978 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to | |
979 | _dl_lookup_symbol_x code. | |
980 | ||
981 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
982 | ||
983 | * elf/dl-runtime.c: Include sysdep-cancel.h. | |
984 | (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and | |
985 | scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* | |
986 | instead of catomic_* macros. | |
987 | * elf/dl-sym.c: Include sysdep-cancel.h. | |
988 | (do_sym): Use __rtld_mrlock_* and scoperec->nusers only | |
989 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
990 | * elf/dl-close.c: Include sysdep-cancel.h. | |
991 | (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only | |
992 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
993 | * elf/dl-open.c: Include sysdep-cancel.h. | |
994 | (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only | |
995 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
996 | ||
997 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
998 | ||
999 | [BZ #3313] | |
1000 | * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last | |
1001 | fastbin rather than end of fastbin array. | |
1002 | ||
1003 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
1004 | ||
1005 | * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct | |
1006 | body macro. | |
1007 | * sysdeps/x86_64/bits/atomic.h | |
1008 | (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. | |
1009 | (catomic_decrement): Use correct body macro. | |
1010 | ||
1011 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
1012 | ||
1013 | * include/atomic.h: Add a unique prefix to all local variables | |
1014 | in macros. | |
1015 | * csu/tst-atomic.c (do_test): Test also catomic_* macros. | |
1016 | ||
4a85a8ee UD |
1017 | 2006-10-16 Ulrich Drepper <drepper@redhat.com> |
1018 | ||
1019 | [BZ #3369] | |
1020 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 | |
1021 | and 7. | |
1022 | ||
11bf311e UD |
1023 | 2006-10-14 Ulrich Drepper <drepper@redhat.com> |
1024 | ||
1025 | * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated. | |
1026 | ||
ff8d96be UD |
1027 | 2006-10-13 Ulrich Drepper <drepper@redhat.com> |
1028 | ||
11bf311e UD |
1029 | [BZ #3313] |
1030 | * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to | |
1031 | determine highest fast bin to consolidate, always look into all of | |
1032 | them. | |
1033 | (do_check_malloc_state): Only require for empty bins for large | |
1034 | sizes in main arena. | |
1035 | ||
1036 | * libio/stdio.h: Add more __wur attributes. | |
1037 | ||
ff8d96be UD |
1038 | * elf/dl-minimal.c (realloc): Optimize last patch. |
1039 | ||
90a0991a UD |
1040 | 2006-10-12 Richard Sandiford <richard@codesourcery.com> |
1041 | ||
1042 | [BZ #3352] | |
1043 | * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, | |
1044 | and use memcpy() if it does. | |
ff8d96be | 1045 | |
11bf311e UD |
1046 | 2006-11-12 Andreas Jaeger <aj@suse.de> |
1047 | ||
1048 | [BZ #2510] | |
1049 | * manual/search.texi (Hash Search Function): Clarify. | |
1050 | (Array Search Function): Clarify. | |
1051 | ||
1052 | 2006-11-12 Joseph Myers <joseph@codesourcery.com> | |
1053 | ||
1054 | [BZ #2830] | |
1055 | * math/atest-exp.c (main): Cast hex value to mp_limb_t before | |
1056 | shifting. | |
1057 | * math/atest-exp2.c (read_mpn_hex): Likewise. | |
1058 | * math/atest-sincos.c (main): Likewise. | |
1059 | ||
37fb7595 UD |
1060 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> |
1061 | ||
11bf311e UD |
1062 | * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait. |
1063 | * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. | |
1064 | * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for | |
1065 | version GLIBC_2.6. | |
1066 | * Versions.def: Add GLIBC_2.6 for libc. | |
1067 | ||
46c38bd7 UD |
1068 | * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. |
1069 | ||
11bf311e UD |
1070 | * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support. |
1071 | ||
1072 | 2006-10-11 Jakub Jelinek <jakub@redhat.com> | |
1073 | ||
1074 | * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. | |
1075 | ||
1076 | * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. | |
1077 | ||
1078 | * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. | |
1079 | * sysdeps/generic/unsecvars.h: Add NIS_PATH. | |
1080 | ||
1081 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> | |
1082 | ||
1083 | * include/atomic.c: Define catomic_* operations. | |
1084 | * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. | |
1085 | * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. | |
1086 | * malloc/memusage.c: Likewise. | |
1087 | * gmon/mcount.c: Likewise. | |
1088 | * elf/dl-close.c: Likewise. | |
1089 | * elf/dl-open.c: Likewise. | |
1090 | * elf/dl-profile.c: Likewise. | |
1091 | * elf/dl-sym.c: Likewise. | |
1092 | * elf/dl-runtime.c: Likewise. | |
1093 | * elf/dl-fptr.c: Likewise. | |
1094 | * resolv/res_libc.c: Likewise. | |
1095 | ||
2a6ee549 UD |
1096 | 2006-10-10 Ulrich Drepper <drepper@redhat.com> |
1097 | ||
1098 | * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH | |
1099 | components which lack them. | |
1100 | ||
1101 | * nis/nis_subr.c (nis_getnames): Make sure that we always return | |
1102 | at least one entry consisting of the parameter concatenated with | |
1103 | the domain. | |
1104 | ||
11bf311e | 1105 | 2006-10-10 Roland McGrath <roland@frob.com> |
c4f9fc3a | 1106 | |
11bf311e UD |
1107 | * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. |
1108 | * sysdeps/mach/hurd/futimes.c: Likewise. | |
1109 | * sysdeps/mach/hurd/lutimes.c: Likewise. | |
1110 | ||
1111 | 2006-10-09 Ulrich Drepper <drepper@redhat.com> | |
1112 | Jakub Jelinek <jakub@redhat.com> | |
1113 | ||
1114 | Implement reference counting of scope records. | |
1115 | * elf/dl-close.c (_dl_close): Remove all scopes from removed objects | |
1116 | from the list in objects which remain. Always allocate new scope | |
1117 | record. | |
1118 | * elf/dl-open.c (dl_open_worker): When growing array for scopes, | |
1119 | don't resize, allocate a new one. | |
1120 | * elf/dl-runtime.c: Update reference counters before using a scope | |
1121 | array. | |
1122 | * elf/dl-sym.c: Likewise. | |
1123 | * elf/dl-libc.c: Adjust for l_scope name change. | |
1124 | * elf/dl-load.c: Likewise. | |
1125 | * elf/dl-object.c: Likewise. | |
1126 | * elf/rtld.c: Likewise. | |
1127 | * include/link.h: Include <rtld-lowlevel.h>. Define struct | |
1128 | r_scoperec. Replace r_scope with pointer to r_scoperec structure. | |
1129 | Add l_scoperec_lock. | |
1130 | * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. | |
1131 | * sysdeps/generic/rtld-lowlevel.h: New file. | |
1132 | ||
1133 | * include/atomic.h: Rename atomic_and to atomic_and_val and | |
1134 | atomic_or to atomic_or_val. Define new macros atomic_and and | |
1135 | atomic_or which do not return values. | |
1136 | * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. | |
1137 | Various cleanups. | |
1138 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
1139 | ||
1140 | * po/sv.po: Update from translation team. | |
1141 | ||
1142 | 2006-10-07 Ulrich Drepper <drepper@redhat.com> | |
1143 | ||
1144 | * Versions.def: Add GLIBC_2.6 to libpthread. | |
1145 | ||
1146 | * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. | |
1147 | (versioned_symbol): Likewise. | |
1148 | (compat_symbol): Likewise. | |
1149 | ||
1150 | * po/tr.po: Update from translation team. | |
feb87ad1 | 1151 | |
4df92d57 UD |
1152 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
1153 | ||
11bf311e UD |
1154 | * nis/Banner: Removed. It's been integral part forever and the |
1155 | author info is incomplete anyway. | |
1156 | * libio/Banner: Likewise. | |
1157 | ||
4df92d57 UD |
1158 | * nis/nis_table.c (nis_list): If __follow_path fails in the new |
1159 | code, make sure the nis_freeresult call doesn't crash and that the | |
1160 | result is reported correctly. | |
1161 | ||
68361572 UD |
1162 | 2006-09-27 Jakub Jelinek <jakub@redhat.com> |
1163 | ||
1164 | * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS | |
1165 | when callback is NULL. | |
1166 | ||
1167 | * nis/Versions (libnss_nisplus): Add | |
1168 | _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. | |
1169 | * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. | |
1170 | * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, | |
1171 | _nss_create_tablename): Rename to... | |
1172 | (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): | |
1173 | ... these. No longer static. | |
1174 | (internal_setgrent): Adjust users. | |
1175 | (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. | |
1176 | Don't use locking around _nss_grp_create_tablename call. | |
1177 | * nis/nss_nisplus/nisplus-initgroups.c: New file. | |
1178 | ||
11bf311e UD |
1179 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
1180 | ||
1181 | * version.h (VERSION): Bump to 2.5.90 for new development tree. | |
1182 | ||
3a4e0609 UD |
1183 | 2006-10-06 Andreas Jaeger <aj@suse.de> |
1184 | ||
1185 | * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. | |
1186 | ||
1187 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> | |
1188 | ||
1189 | * po/pl.po: Update from translation team. | |
1190 | ||
1191 | * nscd/nscd.c (main): Fix typo in message. | |
1192 | Patch by Jakub Bogsz <qboosh@pld-linux.org>. | |
1193 | ||
97e57dee UD |
1194 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
1195 | ||
1196 | [BZ #3291] | |
1197 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
1198 | errno.h, signal.h, unistd.h and sysdep-cancel.h. | |
1199 | (__sigprocmask): Define. | |
1200 | ||
768027a4 UD |
1201 | 2006-10-02 Ulrich Drepper <drepper@redhat.com> |
1202 | ||
1203 | * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is | |
1204 | used. | |
1205 | ||
0b25a49a UD |
1206 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
1207 | ||
1208 | * nscd/mem.c (mempool_alloc): Round array size to 16 bytes | |
1209 | in oldtotal and newtotal calculation. | |
1210 | * nscd/nscd-client.h (struct mapped_database): Add datasize | |
1211 | field. | |
1212 | * nscd/nscd_helper.c (get_mapping): Initialize datasize field. | |
1213 | (__nscd_get_map_ref): Get a new mapping even if mapping's data_size | |
1214 | increased. | |
1215 | (__nscd_cache_search): Add checks to make sure we never reference | |
1216 | data beyond the current mapping. | |
1217 | ||
a1286745 UD |
1218 | 2006-10-02 Dmitry V. Levin <ldv@altlinux.org> |
1219 | ||
d4ed7561 UD |
1220 | * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val |
1221 | variables const to avoid compiler warnings. | |
1222 | ||
a1286745 UD |
1223 | * io/fts.c (fts_close): Remove redundant checks. |
1224 | (fts_build): Likewise. | |
1225 | (fts_palloc): Likewise. | |
1226 | ||
1227 | * manual/message.texi (Advanced gettext functions, | |
1228 | Using gettextized software): Fix typos. | |
1229 | ||
f01e4069 UD |
1230 | 2006-09-30 Ulrich Drepper <drepper@redhat.com> |
1231 | ||
1232 | * posix/glob.c (glob_in_dir): Add some comments and asserts to | |
1233 | explain why there are no leaks. | |
1234 | ||
154619b5 UD |
1235 | 2006-09-29 Ulrich Drepper <drepper@redhat.com> |
1236 | ||
690c3947 UD |
1237 | * libio/wmemstream.c: Include <wchar.h>. |
1238 | * libio/bug-wmemstream1.c: Likewise. | |
1239 | * libio/tst-wmemstream1.c: Likewise. | |
1240 | * libio/tst-wmemstream2.c: Likewise. | |
1241 | ||
88cc61e8 UD |
1242 | * version.h (RELEASE): Bump to 2.5. |
1243 | * README: Regenerated. | |
1244 | ||
a70c18b0 UD |
1245 | * locale/iso-3166.def: Add Aaland Islands and Montenegro. |
1246 | ||
154619b5 UD |
1247 | [BZ #3273] |
1248 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have | |
1249 | found no group members. | |
1250 | Patch by Petr Baudis. | |
1251 | ||
1252 | 2006-09-29 Jakub Jelinek <jakub@redhat.com> | |
1253 | ||
1254 | * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't | |
1255 | assert bootstrap_map.l_tls_modid is zero. | |
1256 | (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 | |
1257 | if USE___THREAD. | |
1258 | ||
1c31aa79 UD |
1259 | 2006-09-27 Ulrich Drepper <drepper@redhat.com> |
1260 | ||
1261 | * libio/stdio.h: Move open_wmemstream prototype to ... | |
1262 | * wcsmbs/wchar.h: ... here. | |
1263 | ||
f1122ec3 UD |
1264 | 2006-09-25 Jakub Jelinek <jakub@redhat.com> |
1265 | ||
1266 | [BZ #3252] | |
1267 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only | |
1268 | fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call | |
1269 | __{,l}chown to handle the rest. | |
1270 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only | |
1271 | fchownat syscall and __ASSUME_32BITUIDS case inline, call | |
1272 | __{,l}chown to handle the rest. | |
1273 | * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include | |
1274 | i386/fchownat.c. | |
1275 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. | |
1276 | * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. | |
1277 | ||
1278 | [BZ #3253] | |
1279 | * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a | |
1280 | time, rather allocate increasingly bigger arrays of pointers, if | |
1281 | possible with alloca, if too large with malloc. | |
1282 | ||
1283 | 2006-09-24 Jakub Jelinek <jakub@redhat.com> | |
1284 | ||
1285 | * sysdeps/powerpc/fpu/libm-test-ulps: Updated. | |
1286 | ||
1287 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. | |
1288 | ||
457b559e UD |
1289 | 2006-09-24 Ulrich Drepper <drepper@redhat.com> |
1290 | ||
1291 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, | |
1292 | home addresses. | |
1293 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize | |
1294 | IFA_F_HOMEADDRESS flag for interfaces. | |
1295 | * include/ifaddrs.h (struct in6addrinfo): Define | |
1296 | in6ai_homeaddress. | |
1297 | ||
4a132246 UD |
1298 | 2006-09-21 Jakub Jelinek <jakub@redhat.com> |
1299 | ||
1300 | [BZ #3225] | |
1301 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, | |
1302 | PTR_DEMANGLE3): Define. | |
1303 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, | |
1304 | PTR_DEMANGLE3): Likewise. | |
1305 | * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. | |
1306 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): | |
1307 | Likewise. | |
1308 | * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. | |
1309 | ||
c69136ae UD |
1310 | 2006-09-20 Jakub Jelinek <jakub@redhat.com> |
1311 | ||
1312 | * po/libc.pot: Regenerated. | |
1313 | * po/be.po: Updated. | |
1314 | * po/ca.po: Likewise. | |
1315 | * po/cs.po: Likewise. | |
1316 | * po/da.po: Likewise. | |
1317 | * po/de.po: Likewise. | |
1318 | * po/el.po: Likewise. | |
1319 | * po/en_GB.po: Likewise. | |
1320 | * po/es.po: Likewise. | |
1321 | * po/fi.po: Likewise. | |
1322 | * po/fr.po: Likewise. | |
1323 | * po/gl.po: Likewise. | |
1324 | * po/hr.po: Likewise. | |
1325 | * po/hu.po: Likewise. | |
1326 | * po/ja.po: Likewise. | |
1327 | * po/ko.po: Likewise. | |
1328 | * po/nb.po: Likewise. | |
1329 | * po/nl.po: Likewise. | |
1330 | * po/pl.po: Likewise. | |
1331 | * po/pt_BR.po: Likewise. | |
1332 | * po/ru.po: Likewise. | |
1333 | * po/rw.po: Likewise. | |
1334 | * po/sk.po: Likewise. | |
1335 | * po/sv.po: Likewise. | |
1336 | * po/tr.po: Likewise. | |
1337 | * po/zh_CN.po: Likewise. | |
1338 | * po/zh_TW.po: Likewise. | |
1339 | ||
1340 | [BZ #3137] | |
1341 | * iconv/iconv_prog.c (main): Fix spelling in error message. | |
1342 | * iconv/iconvconfig.c (main): Likewise. | |
1343 | * locale/programs/ld-collate.c (handle_ellipsis): Likewise. | |
1344 | * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. | |
1345 | * locale/programs/localedef.c (main): Likewise. | |
1346 | * locale/programs/repertoire.c (repertoire_read): Likewise. | |
1347 | * timezone/zdump.c (main): Likewise. | |
1348 | * nscd/connections.c (handle_request): Fix spelling in log message. | |
1349 | Patch by Malcolm Parsons <malcolm.parsons@gmail.com>. | |
1350 | ||
83b3108c UD |
1351 | 2006-09-20 Ulrich Drepper <drepper@redhat.com> |
1352 | ||
1353 | * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 | |
1354 | interfaces. | |
1355 | ||
89210b4c AJ |
1356 | 2006-09-20 Andreas Jaeger <aj@suse.de> |
1357 | ||
1358 | * math/libm-test.inc (lrint_test_upward): Fix typo. | |
1359 | ||
6624dbc0 UD |
1360 | 2006-06-17 Joseph S. Myers <joseph@codesourcery.com> |
1361 | ||
1362 | [BZ #2592] | |
1363 | * math/libm-test.inc (lrint_test_tonearest): New function. | |
1364 | (lrint_test_towardzero): New function. | |
1365 | (lrint_test_downward): New function. | |
1366 | (lrint_test_upward): New function. | |
1367 | (main): Run these new tests. | |
1368 | * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding | |
1369 | of values near to 0. | |
1370 | (two52): Use double not long double. | |
1371 | * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. | |
1372 | * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. | |
1373 | (two23): Use float not double. | |
1374 | * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. | |
1375 | (two23): Use float not double. | |
1376 | * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. | |
1377 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. | |
1378 | * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. | |
1379 | * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. | |
1380 | ||
60cb50c7 UD |
1381 | 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1382 | ||
1383 | * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): | |
1384 | Cast sp to unsigned long to avoid compiler warning. | |
1385 | Use __makecontext_ret function instead of a trampoline on the stack. | |
1386 | (__makecontext_ret): New function. | |
1387 | * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. | |
1388 | ||
33315ced UD |
1389 | 2006-09-19 Jakub Jelinek <jakub@redhat.com> |
1390 | ||
1391 | * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but | |
1392 | platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM | |
1393 | bits. | |
1394 | ||
1ee2ff20 UD |
1395 | 2006-09-19 Ulrich Drepper <drepper@redhat.com> |
1396 | ||
1397 | * elf/dl-close.c (_dl_close): If dependency is not unloaded make | |
1398 | sure no reference to the unloaded map's search list remains in the | |
1399 | dependency's scope. | |
1400 | ||
1401 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
1402 | ||
1403 | * elf/Makefile: Add rules to build and run unload7 test. | |
1404 | * elf/unload7.c: New test. | |
1405 | * elf/unload7mod1.c: New file. | |
1406 | * elf/unload7mod2.c: New file. | |
1407 | ||
0466106e UD |
1408 | 2006-09-18 Jakub Jelinek <jakub@redhat.com> |
1409 | ||
1410 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. | |
1411 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, | |
1412 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
1413 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
1414 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
1415 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
1416 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
1417 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, | |
1418 | PTRACE_GETEVENTMSG): Likewise. | |
1419 | (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent | |
1420 | values. | |
1421 | ||
9c316a45 UD |
1422 | 2006-09-17 Mike Frysinger <vapier@gentoo.org> |
1423 | ||
0466106e UD |
1424 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, |
1425 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
1426 | * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, | |
1427 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. | |
9c316a45 UD |
1428 | |
1429 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
1430 | ||
1431 | * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't | |
1432 | write '\0' to the fd. | |
1433 | * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. | |
1434 | * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. | |
1435 | Change regs to unsigned long pointer from unsigned int, fix fscr | |
1436 | offset. | |
1437 | ||
fb146a76 UD |
1438 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
1439 | ||
1440 | * io/Makefile (CFLAGS-fstatat.c): Set. | |
1441 | (CFLAGS-fstatat64.c): Likewise. | |
1442 | (CFLAGS-mknodat.c): Likewise. | |
1443 | ||
1444 | * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. | |
1445 | * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. | |
1446 | * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. | |
1447 | * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. | |
1448 | ||
4cd3633d UD |
1449 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
1450 | Steven Munroe <sjmunroe@us.ibm.com> | |
fb146a76 | 1451 | |
4cd3633d UD |
1452 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap |
1453 | names to the beginning. Rename "cell" to "cellbe". | |
1454 | (_dl_powerpc_platforms): New. | |
1455 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
1456 | (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. | |
1457 | (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. | |
1458 | (_DL_HWCAP_PLATFORM): Define to new mask. | |
1459 | (_dl_platform_string, _dl_string_platform): New functions. | |
1460 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, | |
1461 | PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. | |
1462 | ||
30aa5785 UD |
1463 | 2006-09-12 Jakub Jelinek <jakub@redhat.com> |
1464 | ||
1465 | [BZ #2526] | |
1466 | * README.libm: Fix a thinko in sqrt algorithm description. | |
1467 | ||
1468 | [BZ #3143] | |
1469 | * manual/string.texi (argz_delete): Fix prototype. | |
1470 | Patch by <alpt@freaknet.org>. | |
1471 | ||
1472 | 2006-08-26 Joseph Myers <joseph@codesourcery.com> | |
1473 | ||
1474 | [BZ #3138] | |
1475 | * io/test-lfs.c (do_prepare): Give name_len type size_t. | |
1476 | * io/tst-fcntl.c (do_prepare): Likewise. | |
1477 | * posix/tst-exec.c (do_prepare): Likewise. | |
1478 | * posix/tst-preadwrite.c (do_prepare): Likewise. | |
1479 | * posix/tst-spawn.c (do_prepare): Likewise. | |
1480 | * posix/tst-truncate.c (do_prepare): Likewise. | |
1481 | * rt/tst-aio.c (do_prepare): Likewise. | |
1482 | * rt/tst-aio64.c (do_prepare): Likewise. | |
1483 | * stdlib/test-canon2.c (do_prepare): Give test_dir_len type | |
1484 | size_t. | |
1485 | ||
d26d01d1 UD |
1486 | 2006-09-09 Ulrich Drepper <drepper@redhat.com> |
1487 | ||
41aba3d7 UD |
1488 | [BZ #2821] |
1489 | * time/mktime.c (guess_time_tm): Fix overflow detection. | |
1490 | * time/Makefile (tests): Add bug-mktime1. | |
1491 | * time/bug-mktime1.c: New file. | |
1492 | ||
eaa51b47 | 1493 | [BZ #3189, #3188] |
d26d01d1 | 1494 | * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. |
eaa51b47 | 1495 | (mremap): Likewise. |
d26d01d1 | 1496 | |
ba40cc15 UD |
1497 | 2006-09-07 Jakub Jelinek <jakub@redhat.com> |
1498 | ||
2b6a801e UD |
1499 | [BZ #1006] |
1500 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): | |
1501 | Ensure relocation doesn't clobber any bits outside of the | |
1502 | immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, | |
1503 | R_SPARC_HI22 and R_SPARC_H44. | |
1504 | ||
469615bd UD |
1505 | [BZ #2775] |
1506 | * malloc/malloc.c (sYSMALLOc): Only call grow_heap if | |
1507 | (long) (MINSIZE + nb - old_size) is positive. | |
1508 | ||
1509 | * malloc/arena.c (grow_heap): When growing bail even if new_size | |
1510 | is negative. | |
1511 | ||
ba40cc15 UD |
1512 | [BZ #3155] |
1513 | * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access | |
1514 | stack below r1. | |
1515 | ||
243b9ac1 UD |
1516 | 2006-09-06 Jakub Jelinek <jakub@redhat.com> |
1517 | ||
ba40cc15 UD |
1518 | * posix/regex_internal.c (re_string_reconstruct): Handle |
1519 | offset < pstr->valid_raw_len && pstr->offsets_needed case. | |
1520 | Ensure no bytes read before raw_mbs array. Pass a saved copy of | |
1521 | pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to | |
1522 | re_string_context_at. | |
1523 | * posix/Makefile: Add rules to build and run bug-regex26 test. | |
1524 | * posix/bug-regex26.c: New test. | |
1525 | ||
243b9ac1 UD |
1526 | * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free |
1527 | rather than col_sym_free. Move seqp declaration earlier. | |
1528 | ||
1529 | * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. | |
1530 | ||
d052233c UD |
1531 | 2006-09-05 Jakub Jelinek <jakub@redhat.com> |
1532 | ||
1533 | * nscd/initgrcache.c (addinitgroupsX): Move any_success | |
1534 | decl before first goto out. | |
1535 | ||
71213dc2 UD |
1536 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
1537 | ||
1538 | * Makerules (shlib.lds): If have-hash-style, put .hash section | |
1539 | at the end of the RO segment. | |
1540 | ||
1541 | 2006-09-04 Ulrich Drepper <drepper@redhat.com> | |
1542 | ||
1543 | * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new | |
1544 | style hash table format is used. | |
1545 | ||
03eeff83 UD |
1546 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
1547 | ||
1548 | * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after | |
1549 | randomization rather than before. | |
1550 | * resolv/res_init.c (res_randomid): Don't call gettimeofday here. | |
1551 | ||
b80770b2 UD |
1552 | 2006-08-31 Jakub Jelinek <jakub@redhat.com> |
1553 | ||
ba40cc15 | 1554 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. |
b80770b2 UD |
1555 | |
1556 | * malloc/malloc.c (_int_malloc): Use full list insert and not | |
1557 | shortcut which assumes the list is empty for large requests | |
1558 | too. | |
1559 | ||
1560 | * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". | |
1561 | ||
99ea5991 UD |
1562 | 2006-08-30 Jakub Jelinek <jakub@redhat.com> |
1563 | ||
1564 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin | |
1565 | and offout arguments to the prototype. | |
1566 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. | |
1567 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. | |
1568 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. | |
1569 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. | |
1570 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. | |
1571 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. | |
1572 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. | |
1573 | * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. | |
1574 | ||
4004a0a5 UD |
1575 | 2006-08-28 Ulrich Drepper <drepper@redhat.com> |
1576 | ||
950398e1 UD |
1577 | * elf/dl-load.c (_dl_init_paths): Expand DSTs. |
1578 | ||
4004a0a5 UD |
1579 | * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in |
1580 | dlopen parameters. | |
1581 | ||
6e310111 UD |
1582 | 2006-08-28 Jakub Jelinek <jakub@redhat.com> |
1583 | ||
1584 | * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno | |
1585 | only if herrno is NETDB_INTERNAL. Handle errors other than | |
1586 | ERANGE outside of the loops, handle TRY_AGAIN. | |
1587 | ||
1588 | * locale/programs/ld-ctype.c (translit_flatten): Issue error | |
1589 | if other's ctype category was missing. | |
1590 | * locale/programs/ld-collate.c (collate_read): Return if | |
1591 | copy_locale's collate category is missing. | |
1592 | ||
07014fca UD |
1593 | 2006-08-27 Ulrich Drepper <drepper@redhat.com> |
1594 | ||
1595 | [BZ #2684] | |
1596 | * malloc/malloc.c (public_rEALLOc): Try harder by using other | |
1597 | arenas if allocation failed. | |
1598 | Patch mostly by Jan Edler <jan.edler@indexengines.com>. | |
1599 | ||
71663747 UD |
1600 | 2006-08-26 Ulrich Drepper <drepper@redhat.com> |
1601 | ||
41999a1a UD |
1602 | * malloc/malloc.c (bin_at): Rewrite to be more clear and to not |
1603 | waste bins[0..1]. | |
1604 | (malloc_state): Reduce bins size by 2. | |
1605 | (_int_malloc): Fix test for large enough buffer for early termination. | |
1606 | When no unsorted block matches perfectly and an exiting block has | |
1607 | to be split, use full list insert and not shortcut which assumes | |
1608 | the list is empty. | |
1609 | ||
71663747 UD |
1610 | * locale/programs/ld-ctype.c (ctype_read): Better patch for read |
1611 | failure. | |
1612 | ||
93b53ca2 UD |
1613 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
1614 | ||
f5a82772 UD |
1615 | * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't |
1616 | do anything. | |
1617 | ||
2ac9ca73 UD |
1618 | * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined |
1619 | symbol require exact match (these are PLTs). | |
1620 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h | |
1621 | (_dl_ppc64_addr_sym_match): Likewise. | |
1622 | ||
93b53ca2 UD |
1623 | [BZ #2683] |
1624 | * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. | |
1625 | If symbol has a value use it. | |
1626 | * elf/tst-dladdr1.c: New file. | |
1627 | * elf/Makefile: Add rules to build and run tst-addr1. | |
1628 | ||
7463d5cb UD |
1629 | 2006-08-24 Jakub Jelinek <jakub@redhat.com> |
1630 | ||
1631 | * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP | |
1632 | keeps failing and heap growth or new heap creation isn't | |
1633 | successful either. | |
1634 | * malloc/tst-malloc.c (main): Add new tests. | |
1635 | ||
542a6f62 UD |
1636 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
1637 | ||
1638 | [BZ #2734] | |
1639 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions | |
1640 | as in the x86-64 code to use bswap. | |
1641 | ||
aa2c6b6d UD |
1642 | 2006-05-21 Joseph S. Myers <joseph@codesourcery.com> |
1643 | ||
24982798 | 1644 | [BZ #2680] |
aa2c6b6d UD |
1645 | * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not |
1646 | __USE_UNIX98. | |
1647 | * posix/bits/unistd.h: Likewise. | |
1648 | ||
59776aef UD |
1649 | 2006-05-15 Mike Frysinger <vapier@gentoo.org> |
1650 | ||
1651 | [BZ #2751] | |
1652 | * string/strchr.c: Add cast to avoid warning. | |
1653 | ||
e404fb16 UD |
1654 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
1655 | ||
1656 | * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit | |
bd2c2341 | 1657 | platforms define as 512K. For 64-bit platforms as 32MB. The lower |
e404fb16 UD |
1658 | limit is needed to avoid the exploding of the address space |
1659 | requirement for secondary heaps. | |
1660 | * malloc/arena.c (HEAP_MAX_SIZE): Define using | |
1661 | DEFAULT_MMAP_THRESHOLD_MAX if it is defined. | |
1662 | ||
376e973a UD |
1663 | 2006-07-30 Joseph S. Myers <joseph@codesourcery.com> |
1664 | ||
1665 | [BZ #3018] | |
1666 | * Makerules (depfiles): Handle extra-test-objs the same as | |
1667 | extra-objs. | |
1668 | (common-mostlyclean): Likewise. | |
1669 | * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs | |
1670 | instead. | |
1671 | * elf/Makefile (extra-objs): Likewise. | |
1672 | * stdlib/Makefile (extra-objs): Likewise. | |
1673 | ||
240c62a7 UD |
1674 | 2006-08-14 Eric Blake <ebb9@byu.net> |
1675 | ||
1676 | [BZ #3044] | |
1677 | * misc/error.h: Assume C89 or better. | |
1678 | * misc/error.c: Likewise. | |
1679 | ||
3997b7c4 UD |
1680 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
1681 | ||
1682 | [BZ #3040] | |
1683 | * sysdeps/unix/sysv/linux/openat.c: Fix compilation if | |
1684 | __ASSUME_ATFCTS is defined. | |
1685 | ||
8a6537b0 UD |
1686 | 2006-08-19 Ulrich Drepper <drepper@redhat.com> |
1687 | ||
72320021 UD |
1688 | * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks |
1689 | to sort in each call. | |
1690 | ||
ed3691ba UD |
1691 | * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map |
1692 | is empty simply return and use next service. | |
1693 | * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. | |
1694 | ||
8a6537b0 UD |
1695 | * locale/programs/charmap.c (charmap_read): Add new parameter. It |
1696 | tells us when not finding a charmap file is an error. | |
1697 | * locale/programs/charmap.h: Adjust charmap_read prototype. | |
1698 | * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we | |
1699 | cannot find a charmap. | |
1700 | * locale/programs/localedef.c (main): Adjust charmap_read call. | |
1701 | ||
ad2a3c07 UD |
1702 | 2006-08-15 Jakub Jelinek <jakub@redhat.com> |
1703 | ||
1704 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use | |
1705 | sysdeps/posix/pause.c implementation instead. | |
1706 | ||
1707 | 2006-08-09 Jakub Jelinek <jakub@redhat.com> | |
1708 | ||
1709 | * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority | |
1710 | to EPERM. | |
1711 | ||
f17efcb4 UD |
1712 | 2006-08-13 Andreas Schwab <schwab@suse.de> |
1713 | ||
1714 | * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): | |
1715 | Don't clobber caller's LRSAVE. | |
1716 | (_dl_prof_resolve): Likewise. | |
1717 | ||
107b8a92 UD |
1718 | 2006-08-14 Ulrich Drepper <drepper@redhat.com> |
1719 | ||
1720 | [BZ #1996] | |
1721 | * libio/memstream.c (open_memstream): Allocate initial buffer with | |
1722 | calloc. | |
1723 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
1724 | * libio/strops.c: Pretty printing. | |
1725 | (_IO_str_overflow): Clear uninitialized part of the new buffer. | |
1726 | (enlarge_userbuf): New function. | |
1727 | (_IO_str_seekoff): Call it if seek position is larger than current | |
1728 | buffer. | |
1729 | * libio/wstrops.c: Likewise. | |
1730 | * libio/vasprintf.c: Add comment as to why we do not have to use | |
1731 | calloc instead of malloc to allocate initial buffer. | |
1732 | * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. | |
1733 | * libio/bug-memstream1.c: New file. | |
1734 | * libio/bug-wmemstream1.c: New file. | |
1735 | ||
fa3ac53f UD |
1736 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> |
1737 | ||
89993734 UD |
1738 | * libio/wstrops.c: Remove dead macro definitions and comments. |
1739 | * libio/strops.c: Likewise. | |
1740 | ||
fa3ac53f UD |
1741 | [BZ #2764] |
1742 | * login/utmpname.c (__utmpname): Remove unnecessary test. | |
1743 | ||
f99ed760 UD |
1744 | 2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> |
1745 | ||
1746 | [BZ #2832] | |
1747 | * math/gen-libm-test.pl (clean_up_number): Do not remove trailing | |
1748 | 0s from integers. | |
1749 | ||
1750 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> | |
1751 | ||
1752 | [BZ #2987] | |
1753 | * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall | |
1754 | for CPU clocks. | |
1755 | * sysdeps/unix/clock_settime.c: Add support for platform-specific | |
1756 | setting of CPU clocks. | |
1757 | ||
4c3f81d0 UD |
1758 | 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> |
1759 | ||
1760 | [BZ #2841] | |
1761 | * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', | |
1762 | since C99 requires the result to promote to 'int' when uint_least8_t | |
1763 | and uint_least16_t promote to 'int'. | |
1764 | ||
cd8e60ce UD |
1765 | 2006-08-12 Ulrich Drepper <drepper@redhat.com> |
1766 | ||
9a5c46e8 UD |
1767 | [BZ #3013] |
1768 | * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix | |
1769 | lenght of one output field, correct bitmask creation. | |
1770 | * locale/programs/ld-time.c: Add alignment. | |
1771 | ||
cd8e60ce UD |
1772 | [BZ #2997] |
1773 | * misc/error.c: Add space between program name and message if file | |
1774 | name is missing. | |
1775 | ||
9a528884 UD |
1776 | 2006-08-03 Eric Blake <ebb9@byu.net> |
1777 | ||
1778 | [BZ #2998] | |
1779 | * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. | |
1780 | ||
1d05c2fb UD |
1781 | 2006-08-09 Ulrich Drepper <drepper@redhat.com> |
1782 | ||
0c1c6c6c UD |
1783 | * malloc/memusagestat.c: Silence warnings. |
1784 | ||
1d05c2fb UD |
1785 | * malloc/malloc.c: Dynamically size mmap treshold if the program |
1786 | frees mmaped blocks. | |
1787 | Patch by Valerie Henson and Arjan van de Ven. | |
1788 | ||
2d1e6277 UD |
1789 | 2006-08-08 Jakub Jelinek <jakub@redhat.com> |
1790 | ||
be7ffd91 UD |
1791 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with |
1792 | __USE_GNU. | |
1793 | ||
2d1e6277 UD |
1794 | * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, |
1795 | __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. | |
1796 | (DEF): Don't put the var into .gnu.linkonce.r.* section. | |
1797 | Only provide var definitions in strtol_l (or for *ull* | |
1798 | in strtoll_l). | |
1799 | ||
1800 | * stdio-common/bug16.c (tests): New array. | |
1801 | (do_tests): Allow the first hexadecimal digit | |
1802 | to be 1, 2, 4 or 8. Do 3 additional tests. | |
1803 | ||
1804 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
1805 | ||
1806 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use | |
1807 | fchownat syscall if available. | |
1808 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. | |
1809 | * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. | |
1810 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. | |
1811 | ||
d0ccde25 UD |
1812 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
1813 | ||
1814 | * nis/nis_xdr.c: Avoid some function calls. | |
1815 | ||
13a0293d | 1816 | 2006-08-07 Jakub Jelinek <jakub@redhat.com> |
3f7a21a9 | 1817 | Ulrich Drepper <drepper@redhat.com> |
13a0293d UD |
1818 | |
1819 | * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take | |
1820 | short cut if only one name component is stripped away. | |
1821 | ||
bd1ebae0 UD |
1822 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
1823 | ||
1824 | * nis/nis_call.c: Minor cleanups throughout. | |
2d1e6277 | 1825 | (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. |
bd1ebae0 UD |
1826 | (first_shoot): Add search_parent_first parameter. Only if it is set |
1827 | search parent server first. | |
1828 | If directory for table found through cold start cache is not the same | |
1829 | as referenced in the cache, don't use it. | |
1830 | (__nisfind_server): Take additional parameter. Pass it on to | |
1831 | first_shoot. | |
1832 | (__prepare_niscall): Adjust __nisfind_server call. | |
1833 | * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. | |
1834 | * nis/nis_table.c: Adjust __nisfind_server call. | |
1835 | * nis/nis_lookup.c: Likewise. | |
1836 | (nis_lookup): Don't loop endlessly if name is reduced to ".". | |
1837 | ||
f1762c0c UD |
1838 | 2006-08-03 Ulrich Drepper <drepper@redhat.com> |
1839 | ||
fe710250 UD |
1840 | [BZ #2182] |
1841 | * math/s_cacosh.c: Return values from positive branch. | |
1842 | * math/s_cacoshf.c: Likewise. | |
1843 | * math/s_cacoshl.c: Likewise. | |
1844 | ||
a5852807 UD |
1845 | [BZ #2883] |
1846 | * sysvipc/sys/msg.h: Change return value to ssize_t. | |
1847 | * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. | |
fe710250 UD |
1848 | * sysvipc/msgrcv.c: Likewise. |
1849 | * include/sys/msg.h: Likewise. | |
39571a13 | 1850 | |
6c215a8d UD |
1851 | * grp/initgroups.c (internal_getgrouplist): Remove unnecessary |
1852 | test introduced in patch for bz #661. | |
39571a13 | 1853 | (getgrouplist): Simplify code a bit. Don't allocate one additional |
f13bfdd0 | 1854 | element for NEWGROUPS. |
6c215a8d | 1855 | |
9c06eb66 UD |
1856 | [BZ #2908] |
1857 | * stdio-common/printf_fphex.c (__printf_fphex): When rounding up | |
1858 | 'f', use '1' as leading digit not '\1'. | |
1859 | * stdio-common/Makefile (tests): Add bug16. | |
1860 | * stdio-common/bug16.c: New file. | |
1861 | ||
1862 | [BZ #2914] | |
1863 | * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE | |
1864 | and don't try to open it. The patch introducing the macro | |
1865 | contained a bug and used the same file name as the new file | |
1866 | instead of using /var/adm/hostid. Nobody complaint so I'm taking | |
1867 | this out completely. | |
1868 | ||
1869 | [BZ #2926] | |
1870 | * assert/assert.h: Move cast to void inside ?: to quiet gcc. | |
1871 | Patch by Jerry James <Jerry.James@usu.edu>. | |
1872 | ||
f1762c0c UD |
1873 | * rt/Makefile (tests): Add tst-clock2. |
1874 | * rt/tst-clock2.c: New file. | |
1875 | ||
1876 | [BZ #2978] | |
1877 | * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread | |
1878 | function and its parameters and pass it to new thread. | |
1879 | (__gai_notify): Add support for alternative waiting for completion. | |
1880 | * resolv/gai_suspend.c (gai_suspend): Add support for alternative | |
1881 | waiting for completion. | |
1882 | * resolv/getaddrinfo_a.c: Likewise. | |
1883 | * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative | |
1884 | waiting for completion is used. | |
1885 | * resolv/gai_misc.c: Allow overwriting code to start helper thread. | |
1886 | * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h". | |
1887 | * resolv/gai_error.c: Likewise. | |
1888 | * resolv/gai_sigqueue.c: Likewise. | |
1889 | ||
83ae6b40 RM |
1890 | 2006-08-02 Thomas Schwinge <tschwinge@gnu.org> |
1891 | ||
0e4e62fe | 1892 | * hurd/getdport.c (__getdport): Don't return EBADF; instead set |
f1762c0c | 1893 | errno to EBADF and return MACH_PORT_NULL. |
83ae6b40 | 1894 | |
82ee37c5 UD |
1895 | 2006-06-23 Joseph Myers <joseph@codesourcery.com> |
1896 | ||
1897 | [BZ #2980] | |
f1762c0c | 1898 | * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. |
82ee37c5 UD |
1899 | |
1900 | 2006-08-02 Ulrich Drepper <drepper@redhat.com> | |
1901 | ||
1902 | * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, | |
1903 | walk them instead of the symbol table. | |
1904 | ||
7bb1b2c9 UD |
1905 | 2006-08-01 Ulrich Drepper <drepper@redhat.com> |
1906 | ||
f13bfdd0 | 1907 | [BZ #2098] |
fbbc73b3 UD |
1908 | * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by |
1909 | status of NSS calls, not the number of returned entries. | |
1910 | ||
a4518922 UD |
1911 | * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, |
1912 | request_key, keyctl. | |
7bb1b2c9 | 1913 | |
b06e7e9a UD |
1914 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
1915 | ||
1916 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. | |
1917 | ||
f1227969 UD |
1918 | 2006-07-16 Jeff Bailey <jbailey@ubuntu.com> |
1919 | ||
1920 | * elf/tst-auditmod1.c: Fix typo in #error. | |
1921 | ||
82ae2712 UD |
1922 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
1923 | ||
f1227969 UD |
1924 | * elf/tst-auditmod1.c: Remove code for unsupported architectures. |
1925 | ||
82ae2712 UD |
1926 | * iconvdata/run-iconv-test.sh: Run cmp in C locale. |
1927 | ||
a1260d92 UD |
1928 | 2006-07-20 Adam Nemet <anemet@caviumnetworks.com> |
1929 | ||
1930 | * stdlib/test-canon.c (do_test): Close fd before unlinking file so | |
b06e7e9a | 1931 | that the directory is empty even on non-POSIX filesystems. |
a1260d92 | 1932 | |
d2de41fe UD |
1933 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
1934 | ||
13669f2c UD |
1935 | * elf/dl-open.c (dl_open_worker): Add branch prediction. |
1936 | ||
d2de41fe UD |
1937 | * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into |
1938 | the backend NSS module. If backend setgrent call failed, don't have | |
1939 | internal_setgrent fail. Just remember this until it is needed. | |
1940 | * nis/nss_compat/compat-pwd.c: Likewise. | |
1941 | * nis/nss_compat/compat-spwd.c: Likewise. | |
1942 | ||
b894c2ea RM |
1943 | 2006-07-30 Roland McGrath <roland@redhat.com> |
1944 | ||
1945 | * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. | |
1946 | * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. | |
1947 | * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. | |
1948 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. | |
1949 | ||
1950 | * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. | |
1951 | (nanosleep_not_cancel): New macro. | |
1952 | (sigsuspend_not_cancel): new macro. | |
1953 | * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] | |
1954 | (do_sigsuspend): Define as inline. | |
1955 | (__sigsuspend): Always use do_sigsuspend. | |
1956 | [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. | |
1957 | * include/signal.h: Declare __sigsuspend_nocancel. | |
1958 | * sysdeps/posix/pause.c | |
1959 | [! NO_CANCELLATION] (__pause_nocancel): New function. | |
1960 | ||
1961 | * include/unistd.h (__pause_nocancel): Add attribute_hidden. | |
1962 | * include/time.h (__nanosleep_nocancel): Likewise. | |
1963 | ||
c10d32c8 UD |
1964 | 2006-07-30 Ulrich Drepper <drepper@redhat.com> |
1965 | ||
1966 | * locale/programs/localedef.c (add_to_readlist): Rename local | |
1967 | variables to avoid confusion. | |
1968 | ||
1969 | * locale/programs/charmap.c (charmap_read): Emit error message if | |
1970 | charmap couldn't be found or read. | |
1971 | ||
6822f056 UD |
1972 | 2006-07-28 Ulrich Drepper <drepper@redhat.com> |
1973 | ||
d5ba53f9 UD |
1974 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
1975 | __ASSUME_FUTEX_LOCK_PI. | |
1976 | * include/time.h: Declare __nanosleep_nocancel. | |
1977 | * include/unistd.h: Declare __pause_nocancel. | |
1978 | ||
6822f056 UD |
1979 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of |
1980 | LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we | |
1981 | get the __stack_chk_fail_local definition when it's needed. | |
1982 | ||
3a975ff5 UD |
1983 | 2006-07-26 Ulrich Drepper <drepper@redhat.com> |
1984 | ||
6de1f625 UD |
1985 | * dlfcn/Makefile: Add rules to build and run bug-atexit3. |
1986 | * dlfcn/bug-atexit3.c: New file. | |
1987 | * dlfcn/bug-atexit3-lib.cc: New file. | |
1988 | ||
3a975ff5 UD |
1989 | * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be |
1990 | used when the namespace is not the base namespace. | |
1991 | ||
a92b1166 UD |
1992 | 2006-07-26 Gavin Romig-Koch <gavin@redhat.com> |
1993 | ||
1994 | * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. | |
1995 | (__new_exitfn): Bump it in every successful call. | |
1996 | * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered | |
1997 | more exit handlers, call them right away. | |
1998 | * stdlib/exit.h: Declare __new_exitfn_called. | |
1999 | ||
a08336fb UD |
2000 | 2006-07-25 Ulrich Drepper <drepper@redhat.com> |
2001 | ||
bd3754dc UD |
2002 | * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when |
2003 | calling registered handler. | |
2004 | ||
a08336fb UD |
2005 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. |
2006 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
2007 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
2008 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
2009 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
2010 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
2011 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
2012 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
2013 | ||
871b9158 UD |
2014 | 2006-07-10 Ulrich Drepper <drepper@redhat.com> |
2015 | ||
2016 | * elf/dl-lookup.c (dl_new_hash): New functions. | |
2017 | (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute | |
2018 | value here. Compute new-style hash value. Pass new hash value | |
2019 | and reference to variable with the old value to do_lookup_x. | |
2020 | (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not | |
2021 | old-style hash table. | |
2022 | (_dl_debug_bindings): Pass new hash value and reference to variable | |
2023 | with the old value to do_lookup_x. | |
2024 | * elf/do-lookup.h (do_lookup_x): Accept additional parameter with | |
2025 | new-style hash value and change old-style hash value parameter to | |
2026 | be a reference. Reoganize functions to determine whether | |
2027 | new-style hash table is available. Only fall back on old-style | |
2028 | table. If old-style hash value is needed, compute it here. | |
2029 | * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH | |
2030 | entry. | |
2031 | * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, | |
2032 | DT_TLSDEC_GOT. Adjust DT_ADDRNUM. | |
2033 | * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, | |
2034 | l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. | |
2035 | * Makeconfig: If linker supports --hash-style option add it to all | |
2036 | linker command lines to build DSOs. | |
2037 | * config.make.in: Define have-hash-style. | |
2038 | * configure.in: Test whether linker supports --hash-style option. | |
2039 | ||
2040 | * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. | |
2041 | * sysdeps/generic/ldsodefs.h: Adjust prototype. | |
2042 | ||
a1f0de82 UD |
2043 | 2006-06-27 Ulrich Drepper <drepper@redhat.com> |
2044 | ||
361a3706 UD |
2045 | * elf/dl-load.c (open_path): Fix test to determine whether DSO is |
2046 | auditing. | |
2047 | ||
a1f0de82 UD |
2048 | * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at |
2049 | RPATH of main map twice. | |
2050 | ||
4259230f UD |
2051 | 2006-06-22 Ulrich Drepper <drepper@redhat.com> |
2052 | ||
2053 | * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't | |
2054 | look further, return original strings. | |
2055 | (_nl_find_msg): Do not return found translation if the conversion | |
2056 | failed. Either signal the string is unusable or that something went | |
2057 | wrong and the original should be used. | |
2058 | ||
2059 | 2006-06-21 Ulrich Drepper <drepper@redhat.com> | |
2060 | ||
2061 | * string/_strerror.c (__strerror_r): Add __builtin_expect. | |
2062 | ||
f9b7a98b UD |
2063 | 2006-06-14 Jakub Jelinek <jakub@redhat.com> |
2064 | ||
2065 | [BZ #2766] | |
2066 | * misc/insremque.c (insque): Handle prev == NULL. | |
2067 | * misc/Makefile (tests): Add tst-insremque. | |
2068 | * misc/tst-insremque.c: New test. | |
2069 | ||
ac55a25b UD |
2070 | 2006-06-17 Ulrich Drepper <drepper@redhat.com> |
2071 | ||
2072 | [BZ #2792] | |
2073 | * elf/dl-deps.c (expand_dst): Rename __cnt variable to not | |
2074 | conflict with DL_DST_REQUIRED. | |
2075 | ||
02f366b3 UD |
2076 | 2006-06-16 Ulrich Drepper <drepper@redhat.com> |
2077 | ||
2078 | * nis/nis_subr.c (nis_getnames): Fix the implementation to better | |
2079 | match what Solaris does. | |
2080 | ||
9009e8f8 UD |
2081 | 2006-06-04 Ulrich Drepper <drepper@redhat.com> |
2082 | ||
1b8373f4 UD |
2083 | * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and |
2084 | local_setegid instead of seteuid and setegid. | |
2085 | * sysdeps/generic/local-setxid.h: New file. | |
2086 | * sysdeps/unix/sysv/linux/local-setxid.h: New file. | |
2087 | ||
7231452e UD |
2088 | * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. |
2089 | ||
9009e8f8 | 2090 | * string/Makefile (tests): Add bug-envz1. |
02f366b3 | 2091 | * string/bug-envz1.c: New file. |
9009e8f8 | 2092 | |
33e63e79 UD |
2093 | 2006-06-02 Jakub Jelinek <jakub@redhat.com> |
2094 | ||
2095 | * posix/regex_internal.c (re_string_skip_chars): If no character has | |
2096 | been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc | |
2097 | to the byte which couldn't be converted. | |
2098 | (re_string_reconstruct): Don't clear valid_raw_len before calling | |
2099 | re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set | |
2100 | tip_context using re_string_context_at. | |
2101 | * posix/Makefile: Add rules to build and run bug-regex25 test. | |
2102 | * posix/bug-regex25.c: New test. | |
2103 | ||
fdc02996 UD |
2104 | 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com> |
2105 | ||
2106 | [BZ #2703] | |
2107 | * string/envz.c (envz_strip): Correct erroneously reversed src | |
2108 | and dest parameters to memmove() invocation. | |
2109 | ||
902c4291 UD |
2110 | 2006-05-30 Jakub Jelinek <jakub@redhat.com> |
2111 | ||
2112 | * nscd/nscd.h (prune_cache): Add fd argument to prototype. | |
2113 | * nscd/nscd.c (parse_opt): Read response from INVALIDATE request | |
2114 | to make sure the database has been already invalidated. | |
2115 | * nscd/cache.c (prune_cache): Add fd argument. Write response to fd | |
2116 | after the cache has been invalidated. Use pthread_mutex_lock rather | |
2117 | than pthread_mutex_trylock if fd != -1. | |
2118 | * nscd/connections.c (invalidate_cache): Add fd argument, write | |
2119 | response to fd if not calling prune_cache, pass fd to prune_cache. | |
2120 | (handle_request): Adjust invalidate_cache caller. | |
2121 | (nscd_run): Pass -1 as fd to prune_cache. | |
2122 | ||
ecc68568 UD |
2123 | 2006-05-30 Ulrich Drepper <drepper@redhat.com> |
2124 | ||
2125 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in | |
2126 | the correct place. | |
2127 | ||
9636a217 UD |
2128 | 2006-05-29 Ulrich Drepper <drepper@redhat.com> |
2129 | ||
2130 | * nscd/nscd.h (struct database_dyn): Add prunelock field. | |
2131 | * nscd/cache.c (prune_cache): Take prunelock before starting the | |
2132 | work. Just return in case it is already taken. | |
cabfcde1 | 2133 | * nscd/connections.c (dbs): Initialize .prunelock. |
9636a217 | 2134 | |
6bcb494a UD |
2135 | 2006-05-25 Ulrich Drepper <drepper@redhat.com> |
2136 | ||
672d5a63 | 2137 | * nis/nis_removemember.c (nis_removemember): Avoid unnecessary |
ecc68568 | 2138 | copying. No need to allocate new array for group members. Just |
672d5a63 UD |
2139 | move the pointers and update the size. |
2140 | ||
1663b44f UD |
2141 | * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. |
2142 | Avoid memory leak in case realloc fails. Simplification for | |
2143 | better code generation. | |
2144 | ||
2145 | Avoid deprecation warning because of libc_hidden_proto for | |
2146 | inet6_option_alloc. | |
2147 | * inet/inet6_option.c (option_alloc): Renamed from | |
2148 | inet6_option_alloc. Made static. | |
9636a217 | 2149 | (inet6_option_alloc): Now a simple wrapper around option_alloc. |
1663b44f UD |
2150 | (inet6_option_append): Call option_alloc. |
2151 | * include/netinet/in.h: Remove libc_hidden_proto for | |
2152 | inet6_option_alloc. | |
2153 | ||
6bcb494a UD |
2154 | * nis/nis_callback.c (__nis_create_callback): Always call xdr_free |
2155 | for cleanup when cb!=NULL [Coverity CID 233]. | |
2156 | ||
aec6b246 UD |
2157 | 2006-05-24 Ulrich Drepper <drepper@redhat.com> |
2158 | ||
07bfff20 UD |
2159 | [BZ #2693] |
2160 | * inet/Makefile (routines): Add inet6_opt and inet6_rth. | |
2161 | * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, | |
2162 | inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, | |
2163 | inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, | |
2164 | inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, | |
2165 | and inet6_rth_getaddr. | |
2166 | * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible | |
2167 | array. | |
2168 | * inet/netinet/in.h (struct ip6_mtuinfo): Define. | |
2169 | Mark inet6_option_* interfaces as deprecated. | |
2170 | Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, | |
2171 | inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, | |
2172 | inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, | |
2173 | inet6_rth_segments, and inet6_rth_getaddr. | |
2174 | * inet/inet6_opt.c: New file. | |
2175 | * inet/inet6_rth.c: New file. | |
2176 | ||
2177 | * inet/netinet/icmp6.h: Pretty printing. | |
2178 | ||
aec6b246 UD |
2179 | [BZ #2683] |
2180 | * elf/dl-addr.c (_dl_addr): Don't match undefined references. | |
2181 | ||
2d571cd1 UD |
2182 | 2006-05-23 Ulrich Drepper <drepper@redhat.com> |
2183 | ||
062e719b UD |
2184 | * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of |
2185 | doing it all here. When server does not know the answer do not | |
2186 | fail immediate, try parent first. | |
2187 | ||
2d571cd1 UD |
2188 | * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer |
2189 | overflow test. | |
2190 | ||
a17fa610 UD |
2191 | 2006-05-20 Ulrich Drepper <drepper@redhat.com> |
2192 | ||
2193 | * nis/nis_call.c (__prepare_niscall): New function. Split out | |
2194 | from __do_niscall. | |
2195 | * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request | |
2196 | and exported. | |
2197 | (__follow_path): New function. Split out from nis_list. | |
2198 | * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and | |
2199 | _xdr_nis_result. | |
2200 | * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and | |
2201 | _xdr_nis_result. | |
2202 | * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, | |
2203 | and __follow_path. | |
2204 | * nis/Versions: Export __prepare_niscall, __create_ib_request, | |
2205 | __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result | |
2206 | from libnsl for version GLIBC_PRIVATE. | |
2207 | * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. | |
2208 | Remove entry parameter from _nss_nisplus_parse_pwent and | |
2209 | _nss_nisplus_parse_grent. | |
2210 | * nis/nss_nisplus/nisplus-parser.c: Likewise. | |
2211 | * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ | |
2212 | again. Rewrite getpwent handling to not use nis_first_entry and | |
2213 | nis_next_entry. Roll out own niscall handling. | |
2214 | * nis/nss_nisplus/nisplus-grp.c: Likewise. | |
2215 | ||
2216 | * sunrpc/xdr_rec.c: Fix typo in comment. | |
2217 | ||
429bb183 UD |
2218 | 2006-05-19 Ulrich Drepper <drepper@redhat.com> |
2219 | ||
1d4f062a UD |
2220 | * nis/nis_call.c (__do_niscall3): Avoid code duplication in error |
2221 | handling. | |
2222 | ||
101cc598 UD |
2223 | * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc |
2224 | to allocate memory for my_pollfd. Better initialization of | |
2225 | cb_is_running. Use TEMP_FAILURE_RETRY. | |
2226 | ||
f50fa10c UD |
2227 | * malloc/memusage.sh (memusageso): Add quotes. |
2228 | (memusagestat): Likewise. | |
2229 | * debug/xtrace.sh (pcprofileso): Likewise. | |
2230 | (pcprofiledump): Likewise. | |
2231 | * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR | |
2232 | replacement. | |
2233 | * malloc/Makefile ($(objpfx)memusage): Likewise. | |
2234 | ||
882bfe73 UD |
2235 | * nis/nis_callback.c (__nis_create_callback): Calls to |
2236 | svcudp_bufcreate and svctcp_create can fail. Free ->xprt if | |
2237 | asprintf call fails. | |
2238 | ||
429bb183 UD |
2239 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure |
2240 | no uninitialized memory is passed to sendto. | |
2241 | ||
f90de831 UD |
2242 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> |
2243 | ||
2244 | * nis/nis_callback.c (__nis_create_callback): Use asprinf instead | |
2245 | of snprintf+strdup. Handle OOM. | |
2246 | * nis/nis_callback.c (__nis_create_callback): Allocate cb and | |
2247 | cb->serv together. Remove now obsolete free calls. | |
2248 | (__nis_destroy_callback): Remove now obsolete free call. | |
2249 | ||
a17fa610 | 2250 | 2006-05-18 David Woodhouse <dwmw2@redhat.com> |
6e2a7825 UD |
2251 | |
2252 | * sysdeps/posix/getaddrinfo.c: Add unique labels to the default | |
2253 | RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local | |
2254 | and ULA respectively). Set precedence for IPv4 address to 10 as | |
2255 | defined in RFC3484 for preferring IPv6. | |
2256 | * posix/gai.conf: Update to match the new default tables. | |
2257 | ||
758b9d7e UD |
2258 | 2006-05-18 Jakub Jelinek <jakub@redhat.com> |
2259 | ||
2260 | * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent | |
2261 | returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. | |
2262 | * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. | |
2263 | * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. | |
2264 | ||
2265 | * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): | |
2266 | Removed. | |
2267 | (init_nss_interface): Remove initialization of these variables. | |
2268 | ||
2269 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> | |
2270 | ||
2271 | * nis/nis_call.c (rec_dirsearch): Little optimization: pull | |
2272 | nis_free_directory forward to avoid duplication. | |
2273 | ||
388c779e UD |
2274 | 2006-05-17 Ulrich Drepper <drepper@redhat.com> |
2275 | ||
5f1724bf UD |
2276 | * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and |
2277 | rec_dirsearch returning NULL. | |
2278 | (first_shoot): Handle __nis_finddirectory returning NULL. | |
2279 | (__nisfind_server): Fix leak when rec_dirsearch returns NULL. | |
2280 | ||
388c779e UD |
2281 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, |
2282 | IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. | |
2283 | ||
360d5cf4 UD |
2284 | 2006-05-17 Jakub Jelinek <jakub@redhat.com> |
2285 | ||
2286 | * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if | |
2287 | pid changed. | |
2288 | ||
88dbff8c UD |
2289 | 2006-05-15 Ulrich Drepper <drepper@redhat.com> |
2290 | ||
6f8a7dff UD |
2291 | * include/rpc/pmap_prot.h: Mark all functions as hidden. |
2292 | ||
2293 | * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. | |
2294 | * nscd/nscd_getgr_r.c: Likewise. | |
2295 | ||
2296 | * include/rpc/pmap_rmt.h: Mark all functions as hidden. | |
2297 | ||
2298 | * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. | |
2299 | * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. | |
2300 | ||
2301 | * stdlib/longlong.h (__clz_tab): Mark as hidden. | |
2302 | ||
2303 | * iconv/gconv_int.h: Mark __gconv_lock as hidden. | |
2304 | ||
360d5cf4 | 2305 | * include/rpc/key_prot.h: Mark all _internal functions as hidden. |
8263ed62 UD |
2306 | |
2307 | * include/rpc/auth.h: Mark xdr_des_block_internal and | |
2308 | xdr_opaque_auth_internal as hidden. | |
2309 | ||
2310 | * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as | |
2311 | hidden. | |
2312 | ||
360d5cf4 | 2313 | * include/rpc/xdr.h: Mark all _internal functions as hidden. |
8263ed62 | 2314 | |
02264020 UD |
2315 | * misc/getusershell.c (okshells): Don't use static initializers, |
2316 | do it dynamically. | |
2317 | ||
fd5ea238 UD |
2318 | * stdlib/fmtmsg.c (keywords): Change type of len element to |
2319 | uint32_t to not waste space on 64bit machines. | |
2320 | ||
9446614c UD |
2321 | * locale/setlocale.c: Change _nl_category_names into a string. |
2322 | Add new _nl_category_name_idxs. Change all users. | |
2323 | * locale/localeinfo.h: Adjust declaration of _nl_category_names. | |
2324 | Declare _nl_category_name_idxs. | |
2325 | * locale/findlocale.c: Adjust for _nl_category_names change. | |
2326 | * locale/loadlocale.c: Likewise. | |
2327 | * locale/newlocale.c: Likewise. | |
2328 | * intl/dcigettext.c: Likewise. | |
2329 | ||
88dbff8c UD |
2330 | * iconv/gconv_conf.c (add_alias): Move actual alias handling to... |
2331 | (add_alias2): ...here. New function. | |
2332 | (__gconv_read_conf): Simplify builtin alias handling. | |
2333 | (builtin_aliases): Convert to string to avoid relocations. | |
2334 | * iconv/gconv_builtin.h: Add comment about correct formatting. | |
2335 | ||
4442d58f UD |
2336 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
2337 | ||
2338 | * resolv/res_debug.c (loc_ntoa): Make error const. | |
2339 | ||
2340 | 2006-05-14 Andreas Schwab <schwab@suse.de> | |
2341 | ||
2342 | * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. | |
2343 | ||
2344 | 2006-05-12 Jakub Jelinek <jakub@redhat.com> | |
2345 | ||
2346 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. | |
2347 | (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than | |
2348 | sizeof (cpu_set_t). | |
2349 | ||
a51752b6 UD |
2350 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
2351 | ||
5d3fd1f6 UD |
2352 | * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. |
2353 | ||
08cfb839 UD |
2354 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
2355 | ||
4b481a15 UD |
2356 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
2357 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
2358 | ||
2359 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. | |
2360 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
2361 | ||
2362 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. | |
2363 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
2364 | xdr_cback_data. | |
2365 | ||
2366 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. | |
2367 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
2368 | xdr_ypupdate_args. | |
2369 | ||
2370 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. | |
2371 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
2372 | ||
2373 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. | |
2374 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
2375 | ||
2376 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. | |
2377 | * include/rpcsvc/nis_callback.h: New file. | |
2378 | ||
2379 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. | |
2380 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
2381 | ||
2382 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
2383 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
2384 | ||
2385 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. | |
2386 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
2387 | ||
2388 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
2389 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
2390 | ||
b1ad49c6 UD |
2391 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
2392 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
2393 | xdr_ypdelete_args. | |
2394 | ||
cd5f7829 UD |
2395 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
2396 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
2397 | ||
a51752b6 UD |
2398 | * nis/nis_error.c: Remove table of strings. Use position |
2399 | independent mechanism. | |
2400 | * nis/nis_error.h: New file. | |
2401 | ||
3d237e42 UD |
2402 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
2403 | ||
2404 | * locale/programs/ld-time.c (time_finish): If wide era name or | |
2405 | format aren't provided, set both wname and wformat to L"". | |
2406 | ||
d6c159fe UD |
2407 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
2408 | ||
0088b04e UD |
2409 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
2410 | results if the call was succesful. | |
2411 | ||
d6c159fe UD |
2412 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
2413 | ||
2414 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count | |
2415 | as hidden. | |
2416 | ||
5c5acdf0 UD |
2417 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
2418 | ||
2419 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. | |
2420 | ||
16d620db UD |
2421 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
2422 | ||
2423 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the | |
2424 | caller makes sure this is not the case. | |
2425 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
2426 | ||
e7c8359e UD |
2427 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
2428 | ||
ecf359c6 UD |
2429 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
2430 | calls. | |
2431 | ||
400cc70a UD |
2432 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
2433 | [Coverity CID 229, 230] | |
2434 | ||
2435 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and | |
2436 | DGETTEXT calls. | |
2437 | (hol_help): Likewise. [Coverity CID 226, 227] | |
2438 | ||
2439 | * string/argz-replace.c (__argz_replace): Unconditionally call | |
2440 | free on SRC. [Coverity CID 225] | |
2441 | ||
2442 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate | |
2443 | the return value of __nis_default_owner and __nis_default_group, | |
2444 | it has been especially allocated. [Coverity CID 224] | |
2445 | ||
51e59260 UD |
2446 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
2447 | searchgroup and searchowner. Significantly simplified. | |
2448 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
2449 | string before duplicating it. | |
2450 | (__nis_default_group): Likewise. | |
2451 | ||
2452 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, | |
2453 | we must clear the variable before calling __nisfind_server. | |
2454 | ||
2455 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with | |
2456 | nis_getnames. [Coverity CID 223] | |
2457 | ||
2458 | * locale/programs/locfile.c (locfile_read): Use alloca instead of | |
2459 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
2460 | ||
2461 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically | |
2462 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
2463 | ||
e7c8359e | 2464 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
51e59260 | 2465 | was allocated here. [Coverity CID 219, 220] |
e7c8359e UD |
2466 | |
2467 | * posix/getconf.c (print_all): Free confstr data after printing. | |
2468 | [Coverity CID 218] | |
2469 | ||
2470 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if | |
2471 | list allocation fails. [Coverity CID 215] | |
2472 | ||
2473 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. | |
2474 | [Coverity CID 213] | |
2475 | ||
2476 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if | |
2477 | string is NULL. [Coverity CID 212] | |
2478 | * argp/Makefile: Add rules to build and run bug-argp1. | |
2479 | * argp/bug-argp1.c: New file. | |
2480 | ||
2481 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find | |
2482 | end of string. | |
2483 | * stdlib/canonicalize.c (__realpath): Likewise. | |
2484 | ||
2485 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL | |
2486 | pointer. [Coverity CID 206] | |
2487 | ||
2488 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map | |
2489 | in statically linked code. | |
2490 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
2491 | statically built code, be prepared to have no link map. | |
2492 | [Coverity CID 205] | |
2493 | ||
2494 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in | |
2495 | dgettext calls. [Coverity CID 204] | |
2496 | ||
2497 | * argp/argp-help.c (struct uparams): Remove valid member. Change | |
2498 | the one user. | |
2499 | (uparam_names): Reduce size. Avoid relative relocations. | |
2500 | Moved to read-only segment. | |
2501 | (fill_in_uparams): Update for new layout. | |
2502 | ||
2503 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be | |
2504 | assumed to always be != NULL. [Coverity CID 202] | |
2505 | ||
2506 | * argp/argp-help.c (hol_entry_help): Remove some dead code | |
2507 | [Coverity CID 200]. | |
2508 | ||
2509 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize | |
2510 | away a few more unconditional yperr2nss calls. | |
2511 | (_nss_nis_getservbyname_r): Likewise. | |
2512 | ||
acf82eaf UD |
2513 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
2514 | ||
4461cf48 UD |
2515 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
2516 | architectures. | |
2517 | ||
b74a8c7f UD |
2518 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
2519 | that unused memory passed to sendto is nevertheless initialized. | |
2520 | ||
acb98cb5 UD |
2521 | [BZ #2499] |
2522 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
2523 | possibly unaligned memory accesses. | |
2524 | ||
bce16467 UD |
2525 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
2526 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
2527 | and __putlong respectively. Correct buffer overflow check for | |
2528 | NS_NOTIFY_OP. | |
2529 | ||
2530 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. | |
2531 | ||
8e45b1ac UD |
2532 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
2533 | (send_dg): Rewrite error handling to be more compact and avoid | |
2534 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
2535 | ||
697e1628 UD |
2536 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
2537 | ||
2538 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly | |
2539 | instead of ns_get16. | |
2540 | (res_queriesmatch): Likewise. Minor optimization. | |
2541 | ||
acf82eaf UD |
2542 | [BZ #2499] |
2543 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
2544 | __libc_res_nsend might reallocate the buffer for the answer. In | |
2545 | this case we have to reload the HP pointer. | |
2546 | ||
7bfee654 UD |
2547 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
2548 | ||
694b49ca UD |
2549 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
2550 | some branch prediction hints. | |
2551 | ||
7bfee654 UD |
2552 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
2553 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
2554 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
2555 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
2556 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
2557 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
2558 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
2559 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
2560 | ||
308bb2d5 UD |
2561 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2562 | ||
2563 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation | |
2564 | by a GOT relocation to make Scrt1.o position independent. | |
2565 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
2566 | ||
2567 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for | |
2568 | six system call parameters. | |
2569 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
2570 | ||
cdb9c321 UD |
2571 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
2572 | ||
2573 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of | |
2574 | malloc&bzero. | |
2575 | ||
2576 | * sunrpc/svc_udp.c (BZERO): Remove definition. | |
2577 | (CALLOC): Define. | |
2578 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
2579 | ||
2580 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. | |
2581 | (des_SPtrans): Use uint32_t type. | |
2582 | (des_skb): Likewise. | |
2583 | ||
2584 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. | |
2585 | ||
fff04b32 UD |
2586 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
2587 | ||
2588 | [BZ #2509] | |
2589 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
2590 | on 32-bit arches. | |
2591 | ||
2592 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> | |
2593 | ||
2594 | * locale/programs/ld-address.c (address_finish): Fix one more | |
cdb9c321 | 2595 | place where the iso639 array might be accessed beyond the limits. |
fff04b32 | 2596 | |
077a30bc | 2597 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
77dd4c3b | 2598 | |
f2d5cf50 UD |
2599 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
2600 | filling it for the first time. | |
2601 | ||
3e4370cf UD |
2602 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
2603 | Adjust all callers. | |
2604 | Free res object content before returning. | |
2605 | ||
5e65a53d UD |
2606 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
2607 | ||
48be3114 UD |
2608 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
2609 | client->cl_auth. | |
2610 | ||
ca4fce0e UD |
2611 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
2612 | cleanup for initial thread, just the free call on TVP. | |
2613 | ||
077a30bc | 2614 | * nscd/gai.c (__getline): Define. |
3b7a95fb | 2615 | |
5d37289a | 2616 | |
3f87d901 | 2617 | See ChangeLog.16 for earlier changes. |