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