1 2000-08-31 Bruno Haible <haible@clisp.cons.org>
3 * wctype/wcfuncs.c (iswblank): New function.
4 * wctype/wcfuncs_l.c (__iswblank_l): New function.
5 * wctype/wcextra.c: Remove file.
6 * wctype/wcextra_l.c: Remove file.
7 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
9 2000-08-31 Bruno Haible <haible@clisp.cons.org>
11 * locale/programs/ld-collate.c (collate_output): Remove redundant
13 * string/strcoll.c: Likewise.
14 * string/strxfrm.c: Include assert.h. Add assert calls like in
17 2000-08-31 Bruno Haible <haible@clisp.cons.org>
19 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
20 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
21 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
22 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
23 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
24 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
25 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
26 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
27 _NL_CTYPE_GAP5/6 respectively.
29 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
30 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
31 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
32 Don't initialize __ctype_names and __ctype_width.
33 * wctype/cname-lookup.h: Remove file.
34 * wctype/Makefile (distribute): Remove cname-lookup.h.
35 * wctype/wchar-lookup.h: Include stdint.h.
36 * wctype/wctype.c (__wctype): Assume new locale format.
37 * wctype/wctype_l.c (__wctype_l): Likewise.
38 * wctype/iswctype.c: Don't include cname-lookup.h.
39 (__iswctype): Assume new locale format.
40 * wctype/iswctype_l.c: Don't include cname-lookup.h.
41 (__iswctype_l): Assume new locale format.
42 * wctype/wctrans.c: Don't include ctype.h.
43 (wctrans): Assume new locale format.
44 * wctype/wctrans_l.c (__wctrans_l): Likewise.
45 * wctype/towctrans.c: Don't include cname-lookup.h.
46 (__towctrans): Assume new locale format.
47 * wctype/towctrans_l.c: Don't include cname-lookup.h.
48 (__towctrans_l): Assume new locale format.
49 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
51 (__NO_WCTYPE): Remove unused macro.
52 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
54 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
55 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
56 (towlower, towupper): Likewise.
57 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
59 (__NO_WCTYPE): Remove unused macro.
60 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
61 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
62 __iswxdigit_l): Assume new locale format.
63 (__towlower_l, __towupper_l): Likewise.
64 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
65 (__ctype32_b): Remove declaration.
66 (internal_wcwidth): Assume new locale format.
67 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
68 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
69 to map32_b, rename width_3level to width.
70 (ctype_output): Always create new locale format. Don't emit
71 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
72 (allocate_arrays): Always create new locale format.
74 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
75 * locale/weightwc.h (findidx): Assume new locale format.
76 * string/strcoll.c (wcscoll): Remove local variables size, layers,
78 * string/strxfrm.c (wcsxfrm): Likewise.
79 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
80 local variable collseq to 'const char *'.
81 (SUFFIX): Don't use, don't undefine.
82 * posix/fnmatch.c: Remove SUFFIX definition.
83 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
84 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
85 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
86 (collate_finish): Always create new locale format. Remove local
87 variables min_total, act_size.
88 (collate_output): Always create new locale format. Remove local
89 variables table_size, names, tablewc. Rename tablewc_3level to
92 2000-08-31 Bruno Haible <haible@clisp.cons.org>
94 * locale/programs/ld-collate.c (obstack_int32_grow,
95 obstack_int32_grow_fast): New inline functions.
96 (output_weightwc, collate_output): Use them where possible.
98 2000-09-01 Ulrich Drepper <drepper@redhat.com>
100 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
101 patch (_mode -> _flags).
103 * libio/Makefile (headers): Add stdio_ext.h.
104 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
105 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
106 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
107 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
108 __fsetlocking, and _flushlbf.
109 * libio/__fbufsize.c: New file.
110 * libio/__flbf.c: New file.
111 * libio/__fpending.c: New file.
112 * libio/__fpurge.c: New file.
113 * libio/__freadable.c: New file.
114 * libio/__freading.c: New file.
115 * libio/__fsetlocking.c: New file.
116 * libio/__fwritable.c: New file.
117 * libio/__fwriting.c: New file.
118 * libio/stdio_ext.h: New file.
119 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
120 * libio/libio.h (_IO_USER_LOCK): Define.
121 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
122 test _IO_USER_LOCK flag first.
124 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
127 2000-09-01 Andreas Jaeger <aj@suse.de>
129 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
131 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
133 2000-08-31 Ulrich Drepper <drepper@redhat.com>
135 * math/Makefile (tests): Add tst-defintions.
136 * math/tst-definitions.c: New file.
138 * stdlib/Makefile (headers): Add bits/wchar.h.
139 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
140 * sysdeps/generic/bits/wchar.h: New file.
141 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
142 file to define WCHAR_MIN and WCHAR_MAX.
143 Change UINT*8_MAX and UIN*16_MAX value to type int.
144 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
145 file to define WCHAR_MIN and WCHAR_MAX.
146 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
148 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
149 * sysdeps/generic/bits/mathdef.h: Likewise.
150 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
151 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
152 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
153 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
154 * locale/locale.h (struct lconv): Add __ prefix to the new members
156 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
157 imaxdiv optimizations.
158 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
159 * sysdeps/wordsize-64/ldiv.c: Likewise.
160 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
162 * sysdeps/generic/bits/fenv.h: Likewise.
163 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
164 * sysdeps/ia64/bits/fenv.h: Likewise.
165 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
166 * sysdeps/mips/bits/fenv.h: Likewise.
167 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
168 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
169 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
171 * inet/rcmd.c: Use *stat64 instead of *stat internally.
172 * inet/ruserpass.c: Likewise.
173 * catgets/open_catalog.c: Likewise.
174 * intl/loadmsgcat.c: Likewise.
175 * io/getdirname.c: Likewise.
176 * locale/loadlocale.c: Likewise.
177 * misc/getusershell.c: Likewise.
178 * stdlib/canonicalize.c: Likewise.
179 * sysdeps/posix/euidaccess.c: Likewise.
180 * sysdeps/posix/isfdtype.c: Likewise.
181 * sysdeps/posix/posix_fallocate.c: Likewise.
182 * sysdeps/posix/tempname.c: Likewise.
183 * sysdeps/unix/grantpt.c: Likewise.
184 * sysdeps/unix/opendir.c: Likewise.
185 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
186 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
187 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
188 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
189 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
190 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
191 * sysvipc/ftok.c: Likewise.
192 * time/getdate.c: Likewise.
194 * time/getdate.c: Add extra access test.
196 2000-08-31 Ulrich Drepper <drepper@redhat.com>
198 * version.h (VERSION): Bump to 2.1.93.
200 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
201 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
203 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
204 Make this a new rule depending on tst-gettext.out and run mtrace.
205 * intl/tst-gettext.c: Call mtrace.
206 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
208 * elf/dl-reloc.c: Add a few more __builtin_expect.
210 * configure.in: Remove --with-gettext option.
212 * intl/dcigettext.c (free_mem): Correct freeing of
213 _nl_domain_bindings list.
215 * sysdeps/generic/setenv.c (free_mem): New function. Free all
218 * intl/locale.alias: Add aliases for bokmal and nynorsk.
220 * locale/iso-639.def: Fix 639-1 code for Bokmal.
222 * stdio-common/itoa-digits.c: Move upper digits to...
223 * stdio-common/itoa-udigits.c: ...here. New file.
224 * stdio-common/Makefile (routines): Add itoa-udigits.
226 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
227 relocate ld.so don't add supprt for relocations which should not
230 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
231 __secure_getenv. Instead test __libc_enable_secure once.
233 * io/pwd.c (main): Provide a good example, use *_unlocked function.
235 2000-08-30 Ulrich Drepper <drepper@redhat.com>
237 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
238 whether the new record should be freed if it's a duplicate.
239 (add_module): Adjust insert_module call.
240 (__gconv_read_conf): Likewise.
241 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
243 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
245 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
247 * include/link.h (struct r_search_path_struct): New.
248 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
249 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
251 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
252 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
253 added at startup time.
254 * elf/dl-load.c: Fix memory handling. r_search_path_struct
255 contains element to remember fact that we can free memory.
256 (all_dirs): Renamed to _dl_all_dirs. Made global.
257 (_dl_init_all_dirs): New variable.
258 (fillin_rpath): Save one malloc call.
259 (decompose_rpath): Change interface. New first parameter points to
260 r_search_path_struct.
261 (_dl_init_paths): Adjust for changes. Mark all memory as not
262 deletable. Set _dl_init_all_paths value.
263 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
264 parameter replaced with r_search_path_struct *. Information about
265 freeing now contained in r_search_path_struct.
266 (_dl_map_object): Adjust for above changes.
268 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
270 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
271 when adding new entries.
273 * elf/dl-load.c (fillin_rpath): Make local copy of where string
274 since the object being loaded can be unloaded.
276 * iconvdata/Makefile (tests): Add tst-loading.
277 * iconvdata/tst-loading.c: New file.
279 2000-08-29 Bruno Haible <haible@clisp.cons.org>
281 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
282 When comparing a char with an int, always cast the char to
283 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
284 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
286 2000-08-30 Ulrich Drepper <drepper@redhat.com>
288 * time/strftime.c (my_strftime): Add compatibility code for use
289 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
291 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
292 return 0 for success but always < 0 on failure.
294 * nss/getXXbyYY_r.c: Define result to *result before including
297 2000-08-30 Andreas Jaeger <aj@suse.de>
299 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
301 2000-08-29 Ulrich Drepper <drepper@redhat.com>
303 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
305 * iconvdata/TESTS: Add BIG5HKSCS entry.
306 * iconvdata/testdata/BIG5HKSCS: New file.
307 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
309 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
312 * libio/iogetline.c: Set mode before the loop in case n==0.
313 * libio/iogetwline.c: Likewise.
315 2000-08-29 H.J. Lu <hjl@gnu.org>
317 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
319 (_IO_new_file_overflow): Likewise.
320 * libio/genops.c (_IO_flush_all): Likewise.
321 * libio/ioftell.c (_IO_ftell): Likewise.
323 2000-08-29 Akira Higuchi <a@kondara.org>
325 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
326 and __end_fct fields of struct __gconv_step.
327 * iconv/Makefile (tests): Add iconv-bug2.
328 * iconv/iconv-bug2.c: New file.
330 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
331 instead of 'inptr - inend' to ksc5601_to_ucs4.
333 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
335 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
336 character or shift sequence is found at the end of the input
337 string, return__GCONV_INCOMPLETE_INPUT instead of
339 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
340 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
342 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
343 __GCONV_ILLEGAL_INPUT for 8bit characters.
345 2000-08-29 Ulrich Drepper <drepper@redhat.com>
347 * signal/signal.h (sigpause): Move __THROW before __asm__.
349 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
350 names don't match don't return.
351 Patch by Olaf Kirch <okir@flash.lst.de>.
353 2000-08-28 Ulrich Drepper <drepper@redhat.com>
355 * time/strftime.c (my_strftime): Handle # flag for %b as well.
357 2000-08-27 H.J. Lu <hjl@gnu.org>
359 * posix/Makefile (otherlibs): Add for building with static-nss
362 2000-08-28 Ulrich Drepper <drepper@redhat.com>
364 * libio/stdio.h: Add fmemopen prototype.
366 2000-08-25 Andreas Jaeger <aj@suse.de>
368 * libio/Makefile (routines): Add fmemopen.
369 (tests): Add test-fmemopen.
370 * libio/Versions: Add fmemopen with version GLIBC_2.2.
371 * libio/test-fmemopen.c: New file.
372 * libio/fmemopen.c: New file.
373 Patches by Hanno Mueller <kontakt@hanno.de>.
375 2000-08-28 Ulrich Drepper <drepper@redhat.com>
377 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
378 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
380 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
381 to avoid crashing statically linked applications.
383 2000-08-27 Bruno Haible <haible@clisp.cons.org>
385 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
386 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
388 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
389 If the result is fits in the buffer, copy only as many bytes as needed.
391 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
392 buffer after copying numbuf into it.
393 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
395 2000-08-27 Bruno Haible <haible@clisp.cons.org>
397 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
398 the result. When string_len < len, don't clear the rest of the buffer.
400 2000-08-27 Bruno Haible <haible@clisp.cons.org>
402 Support for new LC_COLLATE format.
403 * locale/coll-lookup.h: New file.
404 * locale/weightwc.h (findidx): When size == 0, call
405 collidx_table_lookup.
406 * wcsmbs/wcscoll.c: Include coll-lookup.h.
407 * wcsmbs/wcsxfrm.c: Likewise.
408 * posix/fnmatch.c: Likewise.
409 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
410 collseq_table_lookup.
411 * locale/programs/3level.h: New file.
412 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
413 by including "3level.h".
414 * locale/programs/ld-collate.c (wchead_table, collidx_table,
415 collseq_table): New types, defined by including "3level.h".
416 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
417 (encoding_mask, encoding_byte): Remove.
418 (utf8_encode): Use simple shifts instead.
419 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
420 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
421 (collate_output): New local variable tablewc_3level. When
422 !oldstyle_tables, set table_size to 0 and names to NULL and fill
423 tablewc_3level instead of tablewc. Change format of TABLEWC and
424 COLLSEQWC entries written to the file.
425 * locale/C-collate.c (collseqwc): Change format.
426 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
428 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
430 2000-08-27 Bruno Haible <haible@clisp.cons.org>
432 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
433 (locale_ctype_t): New charnames_idx field.
434 (ctype_startup): Initialize charnames_idx field.
435 (find_idx): Speed up dramatically by using charnames_idx inverse table.
437 2000-08-27 Bruno Haible <haible@clisp.cons.org>
439 * locale/C-ctype.c: Switch to new locale format.
440 (_nl_C_LC_CTYPE_names): Remove array.
441 (STRUCT_CTYPE_CLASS): New macro.
442 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
443 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
444 New three-level tables.
445 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
446 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
447 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
448 12 class tables and 2 map tables at the end.
449 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
450 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
451 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
453 (b): Remove trailing semicolon.
454 (__ctype_names, __ctype_width): Don't initialize.
455 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
457 2000-08-27 Bruno Haible <haible@clisp.cons.org>
459 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
460 is guaranteed to be allocated with the same malloc() and may be
462 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
463 been set to empty by an earlier open_path call, don't pass it again.
465 2000-08-28 Ulrich Drepper <drepper@redhat.com>
467 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
468 we are not optimizing.
470 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
473 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
475 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
477 2000-08-28 Andreas Jaeger <aj@suse.de>
479 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
481 2000-08-28 Mark Kettenis <kettenis@gnu.org>
483 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
484 getpeername. Use ISO C style function definition.
485 (getpeername): Provide weak alias.
486 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
487 setrlimit. Use ISO C style function definition.
488 (setrlimit): Provide weak alias.
490 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
492 * shlib-versions: Add a rule for S/390 to the libm version list.
493 * sysdeps/s390/Versions: New file.
494 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
495 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
496 * sysdeps/unix/sysv/linux/s390/Versions: New file.
497 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
498 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
499 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
500 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
501 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
502 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
503 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
504 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
505 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
506 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
507 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
508 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
509 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
510 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
511 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
513 2000-08-28 Ulrich Drepper <drepper@redhat.com>
515 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
516 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
518 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
519 * elf/dl-close.c (_dl_close): Print debug message if object is not
521 * elf/dl-open.c (dl_open_worked): Print message about opencount before
524 * po/zh.po: Renamed to...
525 * po/zh_TW.po: ...this.
527 2000-08-27 Geoff Keating <geoffk@cygnus.com>
529 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
531 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
532 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
533 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
534 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
536 2000-08-27 Ulrich Drepper <drepper@redhat.com>
538 * locale/programs/ld-collate.c (insert_weights): Also update
539 backpointer of next element.
540 (collate_read): Allow definition of new collation symbols in stage 2.
541 Symbol after reorder-after can be UCS4 value.
542 Allow reordering of collation symbols and elements.
543 Do not only move reorder entry in new position. Instead call
544 insert_weight to do this and read the weights.
546 * locale/findlocale.c (free_mem): Add cast to avoid warning.
548 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
549 to determine invalid locale name.
550 * locale/findlocale.c (_nl_find_locale): Likewise.
552 * posix/annexc.c: Correct test for unavailable feature.
554 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
557 2000-08-26 Ulrich Drepper <drepper@redhat.com>
559 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
562 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
563 (sysdep_routines): Add oldgetrlimit64.
565 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
566 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
567 (tests): Add unload, reldep, reldep2, and reldep3.
568 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
570 Add rules to build and run unload, reldep, reldep2, and reldep3.
571 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
572 Don't create relocation dependency if it is nonzero.
573 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
574 can never happen here.
575 (_dl_lookup_versioned_symbol): Add new parameter explicit.
576 Don't create relocation dependency if it is nonzero.
577 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
578 stuff. This can never happen here.
579 * sysdeps/generic/ldsodefs.h: Change prototypes.
580 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
581 _dl_lookup_up and _dl_lookup_versioned_symbol.
583 * elf/dl-runtime.c (fixup): Likewise.
584 (profile_fixup): Likewise.
585 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
587 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
588 * elf/rtld.c (dl_main): Likewise.
589 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
590 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
591 and pass down the caller map.
592 (_dl_vsym): Likewise.
593 * elf/reldep.c: New file.
594 * elf/reldep2.c: New file.
595 * elf/reldep3.c: New file.
596 * elf/reldepmod1.c: New file.
597 * elf/reldepmod2.c: New file.
598 * elf/reldepmod3.c: New file.
599 * elf/reldepmod4.c: New file.
600 * elf/unload.c: New file.
601 * elf/unloadmod.c: New file.
603 * elf/do-lookup.h: Remove unused undef_name parameter.
604 * elf/dl-lookup.c: Adjust callers.
606 2000-08-25 Ulrich Drepper <drepper@redhat.com>
608 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
609 irreversible in recursive call of conversion function to signal that
610 no error handling is wanted.
611 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
612 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
613 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
614 recursive error handling call, otherwise to &lirreversible. Use it
615 for calls to conversion functions.
616 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
618 (ucs4_internal_loop_unaligned): Likewise.
619 (ucs4le_internal_loop): Likewise.
620 (ucs4le_internal_loop_unaligned): Likewise.
622 2000-08-25 Greg McGary <greg@mcgary.org>
624 * sysdeps/i386/memchr.S: Check high bound against chars
626 * sysdeps/i386/memcmp.S: Likewise.
627 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
628 account for pointers that lie one beyond end-of-buffer.
630 2000-08-25 Ulrich Drepper <drepper@redhat.com>
632 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
633 * elf/nodelete.c (fini_ran): New global variable.
634 (do_test): Before every dlclose call clear fini_ran and test
635 afterwards that it is not set by the destructors.
636 * elf/nodelmod1.c: Add destructor which sets fini_ran.
637 * elf/nodelmod2.c: Likewise.
638 * elf/nodelmod4.c: Likewise.
640 2000-08-21 Jes Sorensen <jes@linuxcare.com>
642 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
643 getrlimit to the list.
645 2000-08-18 Jes Sorensen <jes@linuxcare.com>
647 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
648 long double format so use ldbl-96 instead of ldbl-128.
650 2000-08-25 Ulrich Drepper <drepper@redhat.com>
652 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
653 even if bits 10 a 11 are non-zero.
654 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
656 * Makeconfig: Ensures the soversions.mk part of Makefile gets
657 included before building gnu/lib-names.h
658 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
660 * elf/dl-close.c (_dl_close): Don't run destructors of objects
661 marked DF_1_NODELETE.
663 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
664 since we call sigaction in the child.
666 2000-08-25 Andreas Jaeger <aj@suse.de>
668 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
671 2000-08-25 Andreas Jaeger <aj@suse.de>
673 * manual/arith.texi (Control Functions): Clarify possible
674 arguments. Closes PR libc/1856.
676 2000-08-24 H.J. Lu <hjl@gnu.org>
678 * stdio-common/Makefile (tests): Don't do it for cross compiling.
679 * malloc/Makefile (tests): Likewise.
681 2000-08-24 Ulrich Drepper <drepper@redhat.com>
683 * iconvdata/unicode.c (gconv_init): Correct test for direction.
685 2000-08-24 Andreas Jaeger <aj@suse.de>
687 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
688 only if LIBGD is available.
690 2000-08-24 Ulrich Drepper <drepper@redhat.com>
692 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
693 problems with now restrict parameter types.
694 (convaddr4to6): Likewise.
696 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
698 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
699 * sysdeps/s390/fpu/feenablxcpt.c: New file.
700 * sysdeps/s390/fpu/fegetexcept.c: New file.
701 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
704 2000-08-24 Andreas Jaeger <aj@suse.de>
706 * malloc/Makefile (extra-objs): Add memusagestat.o.
707 (generated): Added memusage and memusagestat for make clean.
709 * libio/tst_putwc.c (do_test): Delete temporary file.
710 Move inclusion of test-skeleton to front to have prototype for
713 * posix/Makefile (generated): Add wordexp-tst.out.
715 2000-08-24 Ulrich Drepper <drepper@redhat.com>
717 * resolv/res_hconf.c (free_mem): Remove not needed if.
719 * time/tzset.c (free_mem): New function.
720 * string/strsignal.c (free_mem): New function.
721 * inet/inet_ntoa.c (free_mem): New function.
722 * sunrpc/clnt_perr.c (free_mem): New function.
724 2000-08-24 Andreas Jaeger <aj@suse.de>
726 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
727 * sysdeps/unix/sysv/syscalls.list: Likewise.
729 * posix/unistd.h: Move internal prototypes from here ...
730 * include/unistd.h: ... to here.
732 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
734 2000-08-24 Ulrich Drepper <drepper@redhat.com>
736 * grp/initgroups.c (initgroups): Deallocate groups array.
737 Reported by jani.raiha@sonera.com [PR libc/1868].
739 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
740 * sysdeps/alpha/Dist: Likewise.
742 2000-08-23 Ulrich Drepper <drepper@redhat.com>
744 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
745 destructor). Reported by Solar Designer <solar@false.com>.
747 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
748 avoid adding double slashes.
750 2000-08-23 Jakub Jelinek <jakub@redhat.com>
752 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
753 out of the __REDIRECT macro.
755 2000-08-23 Ulrich Drepper <drepper@redhat.com>
757 * stdio-common/vfscanf.c: Add %F format support.
759 * locale/programs/ld-ctype.c (ctype_output): Make sure
760 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
761 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
762 (ctype_read): Enable returning of wide character strings for reading
763 transliteration information.
765 2000-08-23 Andreas Jaeger <aj@suse.de>
767 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
768 Use static __inline instead of _EXTERN_INLINE.
770 * misc/sys/select.h: Move prototypes of __select from here ...
771 * include/sys/select.h: ... to here.
773 * socket/sys/socket.h: Move prototypes of __send and __connect
775 * include/sys/socket.h: ... to here.
777 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
780 2000-08-23 Jakub Jelinek <jakub@redhat.com>
782 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
783 __setrlimit as strong name. Takes only 2 arguments.
785 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
786 takes only 2 arguments.
788 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
790 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
792 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
794 2000-08-23 Ulrich Drepper <drepper@redhat.com>
796 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
797 default_missing character being specified, pick the first
800 2000-08-23 Andreas Jaeger <aj@suse.de>
802 * include/wchar.h: Add some pure attributes.
804 * time/time.h: Add const attribute for dysize.
806 * include/stdlib.h: Add malloc attribute to __posix memalign.
808 * stdlib/stdlib.h: Add some pure and malloc attributes.
809 * wcsmbs/wchar.h: Likewise.
811 * dirent/dirent.h: Add some pure attributes.
812 * include/dirent.h: Likewise.
814 2000-08-23 Jakub Jelinek <jakub@redhat.com>
816 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
819 2000-08-22 Ulrich Drepper <drepper@redhat.com>
821 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
822 missing buffer size checks.
824 2000-08-23 Andreas Jaeger <aj@suse.de>
826 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
828 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
830 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
831 otherwise __LINUX_KERNEL_VERSION might not be defined.
832 (MIN): Define if not already defined.
834 2000-08-22 Ulrich Drepper <drepper@redhat.com>
836 * stdio-common/vfprintf.c: Handle %F format.
837 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
838 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
840 * stdio-common/tstdiomisc.c: Add test for %F printf format.
842 * po/zh.po: New file.
844 * iconvdata/sjis.c: In conversion from UCS4, correct test for
845 enough room in target buffer.
846 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
847 * iconvdata/bug-iconv1.c: New file.
848 * iconvdata/Makefile (tests): Add bug-iconv1.
850 * locale/iso-4217.def: Update entry for Nicaragua.
852 2000-08-22 Mark Kettenis <kettenis@gnu.org>
854 * hurd/hurdsig.c: Rearrange headers a bit.
855 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
856 when cthreads is being used.
858 2000-08-22 Ulrich Drepper <drepper@redhat.com>
860 * elf/Makefile (distribute): Add dl-osinfo.h.
861 * sysdeps/generic/dl-osinfo.h: New file.
862 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
863 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
865 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
866 only for !SHARED case. Get the code from dl-osinfo.h.
868 * stdlib/random_r.c: Cleanups.
869 * stdlib/tst-random.c: New file.
870 * stdlib/Makefile (tests): Add tst-random.
871 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
873 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
875 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
876 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
877 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
878 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
880 2000-08-22 Jakub Jelinek <jakub@redhat.com>
882 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
883 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
884 (__syscall__sysctl): Add.
886 2000-08-21 Andreas Jaeger <aj@suse.de>
888 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
890 * stdlib/tst-strtoll.c: Likewise.
892 2000-08-21 Ulrich Drepper <drepper@redhat.com>
894 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
896 (__initstate_r): Set errno on error.
897 (__random_r): Likewise.
898 (__setstate_r): Correct offset when computing
899 new rptr and fptr. Test for arg_state being NULL.
900 Reported by Michael Fischer <fischer@cs.yale.edu>.
902 * posix/regex.h: Add macro definitions to allow compiling outside
905 * sysdeps/i370/Implies: Removed.
906 * sysdeps/mvs/Implies: Removed.
908 * catgets/catgets.c (catopen): Filter out env_var values with / if
911 * locale/findlocale.c (_nl_find_locale): Move test for unusable
912 locale name after all getenvs.
914 * configure.in: Allow sed versions like 3.02.8.
915 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
917 2000-08-21 Marko Myllynen <myllynen@lut.fi>
919 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
921 2000-08-21 Ulrich Drepper <drepper@redhat.com>
923 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
924 of gethostbyname2_r call.
926 * intl/locale.alias: Add aliases for Korean.
928 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
930 * sysdeps/s390/__longjmp.c: Remove unused variable result.
931 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
932 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
933 * sysdeps/s390/fpu/fegetenv.c: New file.
934 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
935 * sysdeps/s390/fpu/feholdexcpt.c: New file.
936 * sysdeps/s390/fpu/fenv_libc.h: New file.
937 * sysdeps/s390/fpu/fesetenv.c: New file.
938 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
939 * sysdeps/s390/fpu/feupdateenv.c: New file.
940 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
941 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
942 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
943 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
944 * sysdeps/s390/fpu/ftestexcept.c: New file.
945 * sysdeps/s390/fpu/libm-test-ulps: New file.
946 * sysdeps/s390/gmp-mparam.h: Add end of comment.
947 * sysdeps/s390/initfini.c: New file.
948 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
949 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
950 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
951 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
952 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
953 sys/procfs.h as proposed by Mark Kettenis.
954 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
956 2000-08-21 Andreas Jaeger <aj@suse.de>
958 * include/poll.h: Include include/sys/poll.h to get __poll
961 * io/sys/poll.h: Move __poll declaration from here...
962 * include/sys/poll.h: ...to here.
964 * include/sys/socket.h (__getpeername): Add declaration.
966 * include/wchar.h (__vswprintf): Add declaration.
968 * include/stdio.h (__flockfile): Add declaration.
969 (__funlockfile): Likewise.
971 2000-08-20 Ulrich Drepper <drepper@redhat.com>
973 * misc/sys/cdefs.h: Define __restrict_arr.
974 * include/sys/time.h: Add restrict where required by AGd4.
975 * inet/arpa/inet.h: Likewise.
976 * io/sys/stat.h: Likewise.
977 * io/sys/statvfs.h: Likewise.
978 * misc/search.h: Likewise.
979 * misc/sys/select.h: Likewise.
980 * posix/glob.h: Likewise.
981 * posix/regex.h: Likewise.
982 * posix/spawn.h: Likewise.
983 * posix/unistd.h: Likewise.
984 * rt/aio.h: Likewise.
985 * signal/signal.h: Likewise.
986 * socket/sys/socket.h: Likewise.
987 * stdlib/ucontext.h: Likewise.
988 * streams/stropts.h: Likewise.
989 * string/string.h: Likewise.
990 * time/time.h: Likewise.
991 * time/sys/time.h: Likewise.
993 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
994 and posix_spawnattr_setscheparam.
996 * libio/stdio.h: Make cuserid prototype again available for all
999 * argp/argp-help.c: Unify use of function aliases to make more compact
1001 * include/libintl.h: Likewise.
1002 * inet/rcmd.c: Likewise.
1003 * intl/dcigettext.c: Likewise.
1004 * libio/iofputws.c: Likewise.
1005 * libio/iofputws_u.c: Likewise.
1006 * libio/iogetwline.c: Likewise.
1007 * libio/swprintf.c: Likewise.
1008 * malloc/malloc.c: Likewise.
1009 * nss/digits_dots.c: Likewise.
1010 * posix/fnmatch.c: Likewise.
1011 * posix/spawn_faction_addclose.c: Likewise.
1012 * posix/spawn_faction_adddup2.c: Likewise.
1013 * posix/spawn_faction_addopen.c: Likewise.
1014 * posix/spawni.c: Likewise.
1015 * posix/wordexp.c: Likewise.
1016 * posix/spawni.c: Likewise.
1017 * resolv/res_hconf.c: Likewise.
1018 * resolv/res_init.c: Likewise.
1019 * shadow/lckpwdf.c: Likewise.
1020 * signal/sighold.c: Likewise.
1021 * signal/sigrelse.c: Likewise.
1022 * stdio-common/printf-parse.h: Likewise.
1023 * stdio-common/printf-prs.c: Likewise.
1024 * stdio-common/printf_fp.c: Likewise.
1025 * stdio-common/vfprintf.c: Likewise.
1026 * stdio-common/vfscanf.c: Likewise.
1027 * stdlib/rpmatch.c: Likewise.
1028 * sunrpc/create_xid.c: Likewise.
1029 * sunrpc/key_call.c: Likewise.
1030 * sysdeps/generic/setrlimit64.c: Likewise.
1031 * sysdeps/generic/utmp_file.c: Likewise.
1032 * sysdeps/generic/vlimit.c: Likewise.
1033 * sysdeps/posix/posix_fallocate.c: Likewise.
1034 * sysdeps/posix/posix_fallocate64.c: Likewise.
1035 * sysdeps/posix/sigpause.c: Likewise.
1036 * sysdeps/posix/sigset.c: Likewise.
1037 * sysdeps/unix/grantpt.c: Likewise.
1038 * sysdeps/unix/bsd/ualarm.c: Likewise.
1039 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1040 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
1041 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1042 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1043 * time/strftime.c: Likewise.
1044 * wcsmbs/wcscoll.c: Likewise.
1045 * wcsmbs/wcsxfrm.c: Likewise.
1047 * time/tst-getdate.c (main): Make error messages more human readable.
1049 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
1050 postinc/predec instruction.
1051 (_FPU_SETCW): Likewise.
1052 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1054 2000-08-20 Andreas Jaeger <aj@suse.de>
1056 * time/tst-getdate.c (main): Increase error in case of wrong
1058 Fix typo in test case.
1060 2000-08-20 Ulrich Drepper <drepper@redhat.com>
1062 * ctype/ctype.h (isblank): Make available if ISO C99.
1063 * wctype/wctype.h (iswblank): Make available if ISO C99.
1064 * math/math.h (signgam): Don't make available if ISO C99.
1065 * math/tgmath.h (tgamma): Renamed from gamma.
1066 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1068 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
1070 * intl/plural.y (new_exp): Take number of optional parameters in
1071 second parameter. Test for correct number of parameters and free
1072 correctly in case of failure. Adjust all callers.
1073 (yylex): Allow ';' as terminator character.
1075 2000-08-19 Ulrich Drepper <drepper@redhat.com>
1077 * locale/lc-time.c (free_mem): New function. Free alt_digits and
1080 * locale/findlocale.c (free_mem): Also free here->filename.
1082 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
1084 * math/test-fenv.c (feenv_tests): Clear all exceptions before
1086 (feexcp_nomask_test): Correct printf args.
1087 (feexcp_mask_test): Likewise.
1089 2000-08-19 Andreas Jaeger <aj@suse.de>
1091 * inet/tst-gethnm.c: Include string.h to provide prototype for
1094 * malloc/mtrace.pl (usage): Inform about --help.
1096 2000-08-19 Wolfram Gloger <wg@malloc.de>
1098 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
1101 2000-08-19 Andreas Jaeger <aj@suse.de>
1103 * shlib-versions: Remove libnss_db, libdb and libdb1.
1105 2000-08-19 Jakub Jelinek <jakub@redhat.com>
1107 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
1108 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
1109 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
1110 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
1111 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
1112 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
1113 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
1114 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
1115 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
1116 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
1118 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
1119 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1121 2000-08-18 Jakub Jelinek <jakub@redhat.com>
1123 * include/glob.h (__glob64): Add prototype.
1124 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
1125 define glob and glob_in_dir.
1126 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
1127 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
1128 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
1129 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
1130 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
1131 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
1132 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
1133 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
1135 2000-08-18 Jakub Jelinek <jakub@redhat.com>
1137 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
1139 2000-08-17 Andreas Jaeger <aj@suse.de>
1141 * math/test-fenv.c (fe_single_test): New function.
1142 (fe_env_tests): Use fe_single_test.
1143 (feenable_test): New tests for feenable/fedisable and
1145 (feexcp_mask_test): New function.
1146 (feexcp_nomask_test): New function.
1148 2000-08-19 Richard Henderson <rth@cygnus.com>
1150 * sysdeps/alpha/fpu/fenv_libc.h: New file.
1151 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
1152 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1153 * sysdeps/alpha/fpu/fesetround.c: Likewise.
1154 * sysdeps/alpha/fpu/fegetround.c: Likewise.
1155 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1156 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1157 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
1158 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
1159 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
1160 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
1161 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
1162 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1163 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1164 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1165 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
1166 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
1168 2000-08-19 Andreas Jaeger <aj@suse.de>
1170 * elf/constload1.c: Include <stdio.h> for puts prototype.
1172 2000-08-19 Ulrich Drepper <drepper@redhat.com>
1174 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
1175 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
1176 a dynamically loaded object remove old l_initfini list.
1177 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
1178 remove some dynamically allocated memory blocks in the dynamic
1179 loading data structures.
1180 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
1181 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
1182 Instead call _dl_check_map_versions only for the dependencies.
1183 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
1184 information of initial objects as not free-able.
1185 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
1188 * elf/filter.c: Call mtrace.
1189 * elf/restest1.c: Likewise. Close the objects.
1190 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
1193 * elf/constload1.c: Add comment explaining not freed memory.
1195 2000-08-18 Andreas Jaeger <aj@suse.de>
1197 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
1198 alignment for structs stat and stat64.
1199 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1201 2000-08-17 Ulrich Drepper <drepper@redhat.com>
1203 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
1204 handling. Patch by Richard Henderson <rth@twiddle.net>.
1206 * nss/Versions: Remove libnss_db information.
1208 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1210 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
1211 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
1212 * sysdeps/sparc/fpu/fegetexcept.c: New file.
1213 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
1215 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
1218 2000-08-17 Ulrich Drepper <drepper@redhat.com>
1220 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
1221 (_FPU_SETCW): Likewise.
1222 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1224 * stdio-common/printf_fp.c: Fix chars_needed computation.
1225 Patch by Greg McGary <greg@mcgary.org>.
1227 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1229 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
1230 _dl_loaded are NULL.
1232 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1234 * manual/arith.texi (feholdexcept): Returns 0 on success.
1236 2000-08-17 Andreas Jaeger <aj@suse.de>
1238 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
1240 Reported by Andi Kleen <ak@suse.de>.
1242 2000-08-17 Jakub Jelinek <jakub@redhat.com>
1244 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
1245 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
1246 * sysdeps/alpha/fpu/fegetexcept.c: New file.
1248 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1250 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
1251 of buf->st_ino and kbuf->st_ino, not __st_ino.
1252 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
1253 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
1254 directive so that only linux/getdents.c is used, not some
1255 architecture specific one.
1257 2000-08-16 Jakub Jelinek <jakub@redhat.com>
1259 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
1260 enabled, not disabled exceptions.
1261 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1262 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1264 2000-08-17 Greg McGary <greg@mcgary.org>
1266 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
1267 from test program name when constructing suffix for $(LDLIBS-*).
1268 (bounded-thread-library): New variable.
1270 [build-shared, build-static] (libcrypt-dep): Remove variable.
1271 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1272 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1273 * linuxthreads/Makefile (libpthread, librt): Remove variables.
1274 (librt-tests): Add variable. (tests): Use it.
1275 [build-shared, build-static]
1276 ($(addprefix $(objpfx),$(tests)),
1277 $(addprefix $(objpfx),$(librt-tests))):
1278 Consolidate individual dependencies.
1280 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
1282 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
1283 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1285 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
1287 [build-shared, build-static]
1288 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1289 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1291 2000-08-17 Greg McGary <greg@mcgary.org>
1293 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
1294 * sysdeps/unix/make-syscalls.sh: Likewise.
1295 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1296 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1297 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1298 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1301 2000-08-17 Greg McGary <greg@mcgary.org>
1303 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
1304 Wrap extern symbols in BP_SYM ().
1305 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1306 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1307 * sysdeps/i386/fpu/s_remquo.S: Likewise.
1308 * sysdeps/i386/fpu/s_remquof.S: Likewise.
1309 * sysdeps/i386/fpu/s_remquol.S: Likewise.
1310 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1311 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1312 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1313 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1314 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1316 2000-08-16 Andreas Schwab <schwab@suse.de>
1318 * sysdeps/m68k/fpu/fegetexcept.c: New file.
1319 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
1320 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
1322 2000-08-15 Ulrich Drepper <drepper@redhat.com>
1324 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
1325 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
1326 * elf/dl-support.c: Define _nl_nloaded.
1327 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
1328 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
1329 object to global list.
1330 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
1331 from _dl_loaded list.
1332 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1333 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
1336 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
1338 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
1340 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
1342 2000-08-16 Andreas Jaeger <aj@suse.de>
1344 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
1346 2000-08-15 Marko Myllynen <myllynen@lut.fi>
1348 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
1350 2000-08-15 Ulrich Drepper <drepper@redhat.com>
1352 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
1353 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
1354 (sysdep_routines): Add oldgetrlimit64.
1355 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
1356 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1358 * include/link.h: Undo last patches. Hurd now has stat64.
1359 * elf/Makefile: Likewise.
1360 * elf/dl-load.c: Likewise.
1361 * elf/dl-misc.c: Likewise.
1362 * elf/dl-profile.c: Likewise.
1363 * sysdeps/generic/sysd-link.h: Removed.
1364 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
1366 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
1367 thread event callback function.
1368 (__aio_notify_only): Use function above.
1369 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
1371 2000-08-16 Mark Kettenis <kettenis@gnu.org>
1373 * sysdeps/mach/hurd/lseek64.c: New file.
1375 2000-08-15 Mark Kettenis <kettenis@gnu.org>
1377 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
1379 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
1381 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
1383 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
1385 2000-08-15 Mark Kettenis <kettenis@gnu.org>
1387 * sysdeps/mach/hurd/xstatconv.c: New file.
1388 * sysdeps/mach/hurd/fxstat64.c: New file.
1389 * sysdeps/mach/hurd/lxstat64.c: New file.
1390 * sysdeps/mach/hurd/xstat64.c: New file.
1391 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
1393 2000-08-15 Mark Kettenis <kettenis@gnu.org>
1395 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
1396 Initialize, needed for change in common symbol handling in newer
1397 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
1399 2000-08-15 Ulrich Drepper <drepper@redhat.com>
1401 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
1402 * elf/constload2.c: Add destructor to unload constload3.
1404 * include/link.h: Include sysd-link.h.
1405 * sysdeps/generic/sysd-link.h: New file.
1406 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
1407 * elf/Makefile (distribute): Add sysd-link.h.
1408 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
1409 types and functions directly.
1410 * elf/dl-misc.c: Likewise.
1411 * elf/dl-profile.c: Likewise.
1413 * elf/loadfail.c (main): Close all successfully loaded objects.
1415 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
1417 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
1418 there is already one.
1420 * elf/dl-close.c: Pretty print.
1422 2000-08-14 Ulrich Drepper <drepper@redhat.com>
1424 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
1425 global (with file scope). Add __libc_subfreeres function to free the
1427 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
1428 in ttyname function.
1430 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
1432 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
1434 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
1435 mapping them to /x5c and /x7e respectively.
1437 * locale/programs/ld-ctype.c: Add support for more definitions after
1440 2000-08-14 Jakub Jelinek <jakub@redhat.com>
1442 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
1443 * sysdeps/unix/sysv/linux/kernel-features.h
1444 (__ASSUME_GETDENTS64_SYSCALL): Define.
1445 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
1446 syscall if available to get d_type fields.
1447 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
1448 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
1449 __lxstat64): Export at GLIBC_2.2.
1450 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
1452 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
1453 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
1454 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
1455 getdirentries64, versionsort64): Remove.
1456 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
1457 getdirentries64, versionsort64): Remove.
1459 2000-08-13 Ulrich Drepper <drepper@redhat.com>
1461 * posix/Makefile: Remove rules to generate glob package.
1463 * posix/Makefile (tests): Add tst-regexloc.
1464 (tst-regexloc-ENV): Add LOCPATH.
1465 * posix/tst-regexloc.c: New file.
1467 2000-08-12 Andreas Jaeger <aj@suse.de>
1469 * include/features.h (__STDC_ISO_10646__): Define.
1470 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
1472 2000-08-13 Ulrich Drepper <drepper@redhat.com>
1474 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
1476 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
1477 for revision 6 and up).
1479 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
1481 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
1482 to get definitions of just these types.
1484 * signal/signal.h: Define thread signal handling functions also for
1487 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
1489 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1490 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
1491 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1492 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1494 * sysvipc/sys/shm.h: Define pid_t for XPG.
1496 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
1497 they are not anymore required here.
1499 * wcsmbs/wchar.h: Make the various wide char string and stream
1500 functions available for the respective XPG versions.
1502 * nss/Makefile: Remove rules to build and distribute nss_db.
1504 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
1505 * sysdeps/generic/scandir64.c: Likewise.
1506 * sysdeps/generic/versionsort64.c: Likewise.
1508 2000-08-13 Ulrich Drepper <drepper@redhat.com>
1509 Benjamin Koznik <bkoz@redhat.com>
1511 * libio/fileops.c: Merge with libstdc++-v3.
1512 * libio/genops.c: Likewise.
1513 * libio/iofclose.c: Likewise.
1514 * libio/iofopen.c: Likewise.
1515 * libio/iofwide.c: Likewise.
1516 * libio/libio.h: Likewise.
1517 * libio/libioP.h: Likewise.
1518 * libio/stdfiles.c: Likewise.
1519 * libio/stdio.c: Likewise.
1520 * libio/wfileops.c: Likewise.
1521 * libio/wgenops.c: Likewise.
1523 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
1525 2000-08-12 Ulrich Drepper <drepper@redhat.com>
1527 * locale/programs/localedef.c: Implement --prefix option to allow
1528 writing in standard places of alternative install directories.
1530 * posix/regex.c (compile_range): Implement collation sequence
1531 handling for glibc. Use simple character ordering otherwise and
1534 2000-08-12 Mark Kettenis <kettenis@gnu.org>
1536 * sysdeps/generic/scandir64.c: Include <dirent.h>.
1538 2000-08-12 Andreas Jaeger <aj@suse.de>
1540 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
1541 __USE_FILE_OFFSET64 correctly for locking.
1542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1544 2000-08-12 Jakub Jelinek <jakub@redhat.com>
1546 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1547 Define for 2.4.1 on sparc as well.
1548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
1549 for F_GETLK64, F_SETLK64, and F_SETLKW64.
1550 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
1551 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
1553 2000-08-12 Ulrich Drepper <drepper@redhat.com>
1555 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
1558 2000-08-12 Andreas Jaeger <aj@suse.de>
1560 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
1561 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
1563 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
1564 mips2 for assembler.
1566 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
1567 if fnctl64 is not available for F_*LK*64.
1569 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
1571 2000-08-12 Ulrich Drepper <drepper@redhat.com>
1573 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1574 Define for 2.4.1 on x86.
1575 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
1576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
1577 for F_GETLK64, F_SETLK64, and F_SETLKW64.
1579 * dirent/dirent.h: Define DT_WHT.
1581 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
1582 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
1583 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
1584 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
1585 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
1586 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
1588 2000-08-11 Ulrich Drepper <drepper@redhat.com>
1590 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
1591 lookup, pass pointer to array with NULL pointer [PR libc/1858].
1592 * inet/Makefile (tests): Add tst-gethnm.
1593 * inet/tst-gethnm.c: New file.
1595 * rt/aio_cancel.c: If canceling a specific request which is running
1596 *really* do nothing.
1597 * rt/aio_misc.h: Add `done' to states of a request.
1598 * rt/aio_misc.c: Add several tests for the correct state.
1599 Simplify request table memory handling.
1601 2000-08-10 Jakub Jelinek <jakub@redhat.com>
1603 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
1604 * dirent/scandir64.c: Move...
1605 * sysdeps/generic/scandir64.c: ...here.
1606 * dirent/alphasort64.c: Move...
1607 * sysdeps/generic/alphasort64.c: ...here.
1608 * dirent/versionsort64.c: Move...
1609 * sysdeps/generic/versionsort64.c: ...here.
1610 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
1611 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
1612 Export symbols at GLIBC_2.2.
1613 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
1614 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
1615 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
1616 __versionsort64): Add prototypes.
1617 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
1618 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
1620 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
1622 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
1623 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
1624 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
1625 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
1627 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
1628 Adjust for kernel-2.4.0-test6 layout.
1629 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
1630 GLIBC_2.1 and GLIBC_2.2.
1631 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
1632 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
1633 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
1634 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
1635 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
1636 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
1637 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
1638 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
1639 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
1640 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
1641 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
1642 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
1643 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
1644 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
1646 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
1647 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
1648 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
1649 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
1650 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
1651 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
1652 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
1654 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
1655 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
1657 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
1658 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
1659 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
1660 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
1661 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
1663 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
1665 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
1667 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
1668 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
1669 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
1670 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
1671 st_ino from __st_ino.
1672 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1673 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1674 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
1675 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
1676 set __st_ino in addition to st_ino.
1677 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
1678 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
1679 __old_getdents64 as well.
1680 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
1681 getdirentries64 and old_getdirentries64 as well.
1682 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
1683 __GETDENTS): Define.
1684 (GETDENTS64): Remove.
1685 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
1687 (GETDENTS64): Remove.
1688 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
1689 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
1690 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
1692 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
1693 __old_readdir64_r as well.
1694 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1695 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
1697 2000-08-08 Jes Sorensen <jes@linuxcare.com>
1699 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
1700 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
1701 define of the kernel.
1702 Add missing __SEG_PSTKOVF definition.
1703 Adjust the padding of struct siginfo and struct sigevent to
1704 match the fact that sigval_t is 64 bit.
1706 2000-08-10 Ulrich Drepper <drepper@redhat.com>
1708 * timezone/zic.c: Update from tzcode2000f.
1709 * timezone/australasia: Update from tzdata2000f.
1710 * timezone/europe: Likewise.
1711 * timezone/southamerica: Likewise.
1712 * timezone/yearistype: Likewise.
1714 2000-08-10 Andreas Jaeger <aj@suse.de>
1716 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
1717 stat with current MIPS kernel.
1719 2000-08-01 Mark Kettenis <kettenis@gnu.org>
1721 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
1722 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
1723 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
1724 Remove the junk that's only relevant in the Linux kernel itself.
1725 Add a warning saying that this file is now obsolete, and include
1727 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
1728 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
1729 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
1730 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
1731 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
1732 and add the notice that the file is primarily there for GDB.
1733 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
1735 2000-08-09 Jakub Jelinek <jakub@redhat.com>
1737 * time/tzfile.c (__tzfile_compute): __tzstring zones
1740 2000-08-09 Jakub Jelinek <jakub@redhat.com>
1742 * resolv/resolv.h (__res_state): Surround prototype with
1743 __BEGIN_DECLS/__END_DECLS.
1744 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
1746 2000-08-04 Jes Sorensen <jes@linuxcare.com>
1748 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
1749 Make independant of asm/resource.h from the Linux kernel.
1751 2000-08-06 Bruno Haible <haible@clisp.cons.org>
1753 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
1755 2000-08-06 Bruno Haible <haible@clisp.cons.org>
1757 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
1758 * locale/Makefile (locale-CPPFLAGS): Likewise.
1760 2000-08-09 Ulrich Drepper <drepper@redhat.com>
1762 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
1765 2000-08-03 Jakub Jelinek <jakub@redhat.com>
1767 * misc/Versions (mincore): Export at GLIBC_2.2.
1769 2000-08-03 Bruno Haible <haible@clisp.cons.org>
1771 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
1773 2000-08-02 Mark Kettenis <kettenis@gnu.org>
1775 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
1776 socketpair. Made socketpair a weak alias.
1777 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
1778 __socketpair. Use S_IFIFO protocol to make pipes POSIX
1779 conforming, but fall back on the old protocol if the socket server
1781 * include/sys/socket.h: Add prototype for __socketpair.
1783 2000-08-09 Andreas Schwab <schwab@suse.de>
1785 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
1786 long long modifier is seen.
1788 * elf/nodelete.c (do_test): Remove reference to undefined member
1790 * rt/tst-aio4.c (do_test): Likewise.
1792 * configure.in: Add `-lm' when checking for libgd.
1793 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
1796 2000-08-09 Andreas Jaeger <aj@suse.de>
1798 * configure.in: Change required make versions.
1800 * manual/install.texi (Tools for Compilation): Document required
1802 (Supported Configurations): Update list of supported
1805 2000-08-08 Ulrich Drepper <drepper@redhat.com>
1807 * locale/linereader.c (get_string): Don't print an error is a string
1808 contains an unknown character.
1810 2000-08-06 Ulrich Drepper <drepper@redhat.com>
1812 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
1813 (new_symbol): Take new parameters with name of the symbol.
1815 (handle_ellipsis): Don't only allow character symbols.
1816 (collate_read): Allow string of collating elements contain invalid
1817 characters; ignore entry in this case.
1818 Handle ellipsis of collating symbols before first order_start.
1819 Allow ellipsis in state 0.
1821 2000-08-04 Ulrich Drepper <drepper@redhat.com>
1823 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
1825 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1827 2000-08-04 Greg McGary <greg@mcgary.org>
1829 * posix/regex.c (SET_HIGH_BOUND): New macro.
1830 (MOVE_BUFFER_POINTER): Use it.
1831 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
1832 (EXTEND_BUFFER): Use it.
1834 2000-08-03 Ulrich Drepper <drepper@redhat.com>
1836 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
1837 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
1838 _wide_data but from _IO_FILE directly.
1839 * libio/iofclose.c: Likewise.
1840 * libio/wfileops.c: Likewise.
1842 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
1843 * libio/libioP.h: Change prototypes.
1845 2000-08-03 Greg McGary <greg@mcgary.org>
1847 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
1848 frame pointer early so that we save caller's frame pointer.
1849 * sysdeps/i386/elf/setjmp.S: Likewise.
1851 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
1852 * io/test-utime.c: Test passing NULL as utimbuf* arg.
1854 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
1855 (MOVE_BUFFER_POINTER): Handle high_bound properly.
1856 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
1858 2000-08-03 Ulrich Drepper <drepper@redhat.com>
1860 * iconvdata/big5.c: Updated.
1861 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1863 2000-08-02 Ulrich Drepper <drepper@redhat.com>
1865 * Makeconfig (all-subdirs): Add conform.
1866 * conform/Makefile: Include ../Rules.
1868 * Makefile (README): Add rules to generate here as well.
1870 2000-08-02 Ulrich Drepper <drepper@redhat.com>
1872 * version.h (VERSION): Bump to 2.1.92.
1874 * sysdeps/ia64/Dist: Add _mcount.S.
1876 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
1878 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
1880 * elf/Makefile (distribute): Add missing modules.
1882 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
1884 * posix/regex.c (compile_range): Translate range start and end
1885 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
1887 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
1890 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
1892 2000-08-02 Andreas Jaeger <aj@suse.de>
1894 * elf/elf.h (EM_S390): Added.
1895 (R_390_*): New relocs for S390.
1897 * sysdeps/unix/sysv/linux/s390/Dist: New file.
1898 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
1899 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
1900 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
1901 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
1902 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1903 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
1904 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
1905 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
1906 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
1907 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
1908 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
1909 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
1910 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
1911 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
1912 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
1913 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
1914 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
1915 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
1916 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
1917 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
1918 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
1919 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
1920 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
1921 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
1922 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
1923 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
1924 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
1925 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
1926 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
1927 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
1928 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
1929 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
1930 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
1931 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
1932 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
1933 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
1934 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
1935 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
1936 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
1937 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
1938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
1939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
1940 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
1941 * sysdeps/s390/sysdep.h: New file.
1942 * sysdeps/s390/sys/ucontext.h: New file.
1943 * sysdeps/s390/sub_n.S: New file.
1944 * sysdeps/s390/strncpy.S: New file.
1945 * sysdeps/s390/strcpy.S: New file.
1946 * sysdeps/s390/stackinfo.h: New file.
1947 * sysdeps/s390/setjmp.S: New file.
1948 * sysdeps/s390/s390-mcount.S: New file.
1949 * sysdeps/s390/mul_1.S: New file.
1950 * sysdeps/s390/memusage.h: New file.
1951 * sysdeps/s390/memset.S: New file.
1952 * sysdeps/s390/memcpy.S: New file.
1953 * sysdeps/s390/memchr.S: New file.
1954 * sysdeps/s390/machine-gmon.h: New file.
1955 * sysdeps/s390/ldbl2mpn.c: New file.
1956 * sysdeps/s390/gmp-mparam.h: New file.
1957 * sysdeps/s390/fpu/fpu_control.h: New file.
1958 * sysdeps/s390/fpu/fesetround.c: New file.
1959 * sysdeps/s390/fpu/fegetround.c: New file.
1960 * sysdeps/s390/fpu/fclrexcpt.c: New file.
1961 * sysdeps/s390/fpu/bits/fenv.h: New file.
1962 * sysdeps/s390/ffs.c: New file.
1963 * sysdeps/s390/elf/start.S: New file.
1964 * sysdeps/s390/elf/setjmp.S: New file.
1965 * sysdeps/s390/elf/bsd-setjmp.S: New file.
1966 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
1967 * sysdeps/s390/dl-machine.h: New file.
1968 * sysdeps/s390/bzero.S: New file.
1969 * sysdeps/s390/bsd-setjmp.S: New file.
1970 * sysdeps/s390/bsd-_setjmp.S: New file.
1971 * sysdeps/s390/bits/string.h: New file.
1972 * sysdeps/s390/bits/setjmp.h: New file.
1973 * sysdeps/s390/bits/huge_val.h: New file.
1974 * sysdeps/s390/bits/endian.h: New file.
1975 * sysdeps/s390/bits/byteswap.h: New file.
1976 * sysdeps/s390/bcopy.S: New file.
1977 * sysdeps/s390/backtrace.c: New file.
1978 * sysdeps/s390/atomicity.h: New file.
1979 * sysdeps/s390/asm-syntax.h: New file.
1980 * sysdeps/s390/addmul_1.S: New file.
1981 * sysdeps/s390/add_n.S: New file.
1982 * sysdeps/s390/abort-instr.h: New file.
1983 * sysdeps/s390/__longjmp.c: New file.
1984 * sysdeps/s390/Makefile: New file.
1985 * sysdeps/s390/Implies: New file.
1986 * sysdeps/s390/Dist: New file.
1987 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1989 2000-08-01 Ulrich Drepper <drepper@redhat.com>
1991 Remove incompatible IPv6 extension of RPC.
1992 * sunrpc/Makefile: Undo changes.
1993 * sunrpc/rpc_main.c: Likewise.
1994 * sunrpc/rpc/clnt.h: Likewise.
1995 * sunrpc/rpc/svc.h: Likewise.
1996 * sunrpc/bindrsvprt6.c: Removed.
1997 * sunrpc/clnt_tcp6.c: Removed.
1998 * sunrpc/clnt_udp6.c: Removed.
1999 * sunrpc/svc_tcp6.c: Removed.
2000 * sunrpc/svc_udp6.c: Removed.
2002 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
2003 dgettext, and dcgettetxt.
2005 * intl/locale.alias: Update japanese aliases.
2007 * sysdeps/ia64/bits/byteswap.h: New file.
2008 Patch by Dan Pop <Dan.Pop@cern.ch>.
2010 * misc/sys/cdefs.h: Define __attribute_format_arg__.
2011 * intl/libintl.h: Use it here instead of using __attribute__ directly.
2013 2000-07-13 H.J. Lu <hjl@gnu.org>
2015 * posix/regex.c (re_max_failures): Set to 4000.
2017 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2019 * gnulib/Makefile (tests): Add tst-gcc.
2020 * gnulib/tst-gcc.c: New file.
2022 * assert/Makefile (routines): Add __assert.
2023 * assert/Versions: Export __assert for glibc 2.2.
2024 * assert/__assert.c: New file.
2025 * assert/assert.h: Declare __assert.
2027 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2029 * locale/localeinfo.h (_ISCTYPE): New macro.
2030 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
2031 LC_CTYPE locale format.
2032 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
2033 (ctype_output): Output class_b[nr] right before class_3level[nr].
2034 (allocate_arrays): Fill class_b, similarly to class_3level.
2036 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2037 Joseph S. Myers <jsm28@cam.ac.uk>
2039 * math/tgmath.h: Make standard compliant. Don't ask how.
2041 2000-07-04 H.J. Lu <hjl@gnu.org>
2043 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
2044 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
2045 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
2047 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2049 * include/features.h (_XOPEN_SOURCE): Update the explanation.
2050 (__USE_LARGEFILE): Add an explanation.
2051 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
2052 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
2054 2000-08-01 Ulrich Drepper <drepper@redhat.com>
2056 * libio/Makefile: Enable exception handling for genops, wgenops,
2057 fileops, and wfileops.
2059 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2061 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
2062 acount that elf/rtld's main program might remove some varibales
2063 from the environment if we're trying to be secure. Move the Hurd
2064 startup data if necessary, or, if we there is no startup data,
2065 make sure the magical convention that ARGV[0] is stored just after
2066 the environment list.
2068 2000-08-01 Philip Blundell <philb@gnu.org>
2070 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
2071 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
2072 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
2073 oldsetrlimit for GLIBC_2.0.
2075 2000-08-01 Andreas Jaeger <aj@suse.de>
2077 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
2078 (LINE_PARSER): Allow any number of spaces between ip address and
2079 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
2081 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
2083 * include/netdb.h: Remove getipnodebyaddr and friends, leave
2086 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
2087 _nss_nisplus_getipnodebyname_r.
2089 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
2090 now, getipnodebyname is deprecated.
2091 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
2094 * inet/Makefile (routines): Don't build getipnodebyaddr and
2097 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
2099 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
2101 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
2103 * wctype/Makefile (distribute): Add wchar-lookup.h.
2105 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
2107 * iconvdata/Makefile (distribute): Add isiri-3342.h.
2109 2000-08-01 Andreas Schwab <schwab@suse.de>
2111 * Make-dist (dist): Resolve `..' in file names.
2113 2000-08-01 Andreas Jaeger <aj@suse.de>
2115 * stdio-common/Makefile (distribute): Remove removed files, add
2118 * Makefile (distribute): Remove include/db_185.h and db.h.
2120 * include/db_185.h: Remove, it's not needed anymore.
2121 * include/db.h: Likewise.
2123 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2125 * inet/Makefile (tests): Remove tst-ipnode.
2126 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
2129 2000-07-31 Jes Sorensen <jes@linuxcare.com>
2131 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
2132 endp statements have already been added.
2134 2000-04-18 David Mosberger <davidm@hpl.hp.com>
2136 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
2137 <sysdeps/ia64/sysdep.h>.
2139 * sysdeps/ia64/_mcount.S: New file.
2141 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
2142 __gmon_start__. Fix up extraneous whitespace.
2144 2000-01-12 H.J. Lu <hjl@gnu.org>
2146 * sysdeps/ia64/elf/initfini.c: New file.
2148 2000-07-31 Jes Sorensen <jes@linuxcare.com>
2150 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
2151 dependency between branch and ar.pfs write.
2153 2000-07-31 H.J. Lu <hjl@gnu.org>
2155 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
2156 handle the wchar_t array.
2158 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2160 * iconvdata/gb18030.c: Don't map to and from positions in ISO
2161 10646 which are not yet assigned.
2162 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
2164 2000-07-31 Andreas Jaeger <aj@suse.de>
2166 * inet/Versions: Remove getipnodebyaddr and friends from
2169 * resolv/netdb.h: Remove getipnodebyaddr and friends.
2171 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2173 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
2174 ch >= 0x81 && ch2 < 0x40 as invalid.
2176 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2178 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
2179 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
2181 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2183 * iconvdata/johab.c (BODY for TO_LOOP): After calling
2184 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
2186 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2188 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
2190 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
2192 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2194 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
2196 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2198 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
2199 (from_ucs4): Change values of U+00A4 and U+00ED.
2200 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
2202 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2204 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
2205 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
2207 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2209 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
2210 * iconvdata/isiri-3342.h: New file.
2211 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
2212 treat 0x80 as a gap.
2214 2000-07-30 Bruno Haible <haible@clisp.cons.org>
2216 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
2217 (utf8_encode): Use simple shifts instead. Fix return value.
2219 2000-07-31 Ulrich Drepper <drepper@redhat.com>
2221 * timezone/private.h: Update from tzcode2000e.
2222 * timezone/asia: Update from tzdata2000e.
2223 * timezone/australasia: Likewise.
2224 * timezone/europe: Likewise.
2225 * timezone/northamerica: Likewise.
2226 * timezone/zone-tab: Likewise.
2228 2000-07-30 Ralf Baechle <ralf@gnu.org>
2230 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
2231 the order of struct sigaltstack members is different.
2233 2000-07-26 Philip Blundell <philb@gnu.org>
2235 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
2237 2000-07-29 Ulrich Drepper <drepper@redhat.com>
2239 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
2240 * locale/programs/ld-ctype.c: Adjust for this.
2242 * locale/programs/ld-collate.c: Add more alignment checks.
2243 * locale/string/strcoll.c: Likewise.
2245 2000-07-30 Mark Kettenis <kettenis@gnu.org>
2247 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
2248 outside USE_IN_LIBIO block.
2250 2000-07-26 Philip Blundell <philb@gnu.org>
2252 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
2253 (elf_machine_rel): Use it for out-of-range PC24 relocs.
2255 2000-07-28 Philip Blundell <philb@gnu.org>
2257 * math/test-fpucw.c: Ignore reserved bits in control word.
2259 2000-07-28 Philip Blundell <philb@gnu.org>
2261 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
2262 (ret): Redefine to PSEUDO_RET.
2263 (PSEUDO): Remove jump to syscall_error.
2265 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2267 * resolv/README: Add some information about using the resolver in
2268 multi-threaded code and with C++. Spelling fixes.
2270 2000-07-29 Mark Kettenis <kettenis@gnu.org>
2272 * resolv/resolv.h (struct __sockaddr_in): Remove.
2273 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
2275 2000-07-29 Greg McGary <greg@mcgary.org>
2277 * Rules (test-bp-inputs, make-test-out): New variables.
2278 ($(objpfx)%-bp.out): New rule.
2279 ($(objpfx)%.out): Rewrite in terms of new variables.
2281 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
2282 internal function that uses vtable.
2283 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2284 * libio/vswprintf.c (_IO_vswprintf): Likewise.
2286 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
2287 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
2288 (chunk_align): Likewise.
2290 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
2291 in a way that conforms to decl, and avoids spurious bounds violation.
2293 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
2294 * sysdeps/generic/frame.h: Likewise.
2295 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
2296 around return value.
2297 (__backtrace): Qualify frame-pointer chain and return address
2298 pointers as __unbounded. Wrap bounds around variable `current'.
2299 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
2300 around return value.
2301 (catch_segfault): Qualify frame-pointer chain and return address
2302 pointers as __unbounded. Wrap bounds around variable `current'.
2303 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
2304 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
2305 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
2307 (__backtrace): Qualify frame-pointer chain and return address
2308 pointers as __unbounded. Wrap bounds around variable `current'.
2310 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
2311 * sysdeps/i386/mul_1.S: Likewise.
2312 * sysdeps/i386/submul_1.S: Likewise.
2313 * sysdeps/i386/i586/addmul_1.S: Likewise.
2314 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
2315 * sysdeps/i386/i586/submul_1.S: Likewise.
2317 2000-07-27 Andreas Jaeger <aj@suse.de>
2319 * libio/Depend: New file, libio needs localedata for tests.
2320 * posix/Depend: Likewise.
2322 2000-07-28 Ulrich Drepper <drepper@redhat.com>
2324 * stdio-common/_i18n_itoa.c: Removed.
2325 * stdio-common/_i18n_itoa.h: Removed.
2326 * stdio-common/_i18n_itowa.c: Removed.
2327 * stdio-common/_i18n_itowa.h: Removed.
2328 * stdio-common/_i18n_number.h: New file.
2329 * stdio-common/Depend: New file.
2330 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
2331 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
2332 printing. Change printing of numbers with locale specific digits to
2333 use new code in _i18n_number.h.
2334 * stdio-common/Makefile (routines): Remove _i18n_itoa and
2337 * stdio-common/bug13.c: Improve messages.
2339 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
2340 (set_class_defaults): Always search also for Uxxxx names.
2341 Detect insufficient number of outdigits.
2343 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
2345 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2347 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
2348 _NL_CTYPE_MAP_NAMES.
2349 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
2350 * wctype/wcfuncs.c (towlower, towupper): Use them.
2351 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
2352 * wctype/wctrans.c (wctrans): Likewise.
2353 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2355 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2357 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
2358 Use the optimized version of this function outside glibc as well.
2360 2000-07-27 Jakub Jelinek <jakub@redhat.com>
2362 * locale/indigits.h (indigit_value): Correct.
2363 * locale/indigitswc.h (indigitwc_value): Correct.
2364 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
2365 conversion, add GROUP checking for it, fix GROUP number
2366 conversion with strlen(thousands) > 1.
2367 Honour width correctly in the presence of floating
2368 decimal points and thousands separators.
2369 * stdio-common/tst-sscanf.c: New test.
2370 * stdio-common/Makefile: Add it to tests.
2371 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
2372 thousands separators and group argument is non-zero.
2374 2000-07-25 Bruno Haible <haible@clisp.cons.org>
2376 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
2377 starts at GLIBC_2.2.
2379 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2381 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
2382 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
2384 (headers): Add sys/tas.h.
2385 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
2386 GLIBC_2.2 from libc.
2387 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
2388 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
2391 2000-07-28 Andreas Jaeger <aj@suse.de>
2393 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
2395 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
2396 ($(objpfx)tst-dladdr.out): new.
2397 (tests): Add tst-dladdr.
2398 ($(objpfx)glrefmain): Use libdl.
2400 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
2403 2000-07-27 Jes Sorensen <jes@linuxcare.com>
2405 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
2406 ftruncate(64) calls.
2408 2000-07-27 Jes Sorensen <jes@linuxcare.com>
2410 * intl/tst-translit.c: Include string.h to get prototype for
2413 2000-07-27 Jes Sorensen <jes@linuxcare.com>
2415 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
2416 name and add weak alias for __fork.
2418 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
2419 & pwrite to use __libc_<name> as strong names instead of
2422 * include/sched.h: Add clone2 prototype.
2424 2000-07-26 Jes Sorensen <jes@linuxcare.com>
2426 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
2427 procedure name twice.
2429 2000-07-27 Philip Blundell <philb@gnu.org>
2431 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
2433 2000-07-27 Andreas Jaeger <aj@suse.de>
2435 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
2436 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
2437 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2438 Reported by Andi Kleen <ak@suse.de>.
2440 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
2441 (do_wait): Test requests with aio_return64.
2442 (do_test): Change callers of do_wait.
2444 2000-07-26 Andreas Jaeger <aj@suse.de>
2446 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
2447 (do_wait): Test requests with aio_return.
2448 (do_test): Change callers of do_wait.
2450 2000-07-27 Ulrich Drepper <drepper@redhat.com>
2452 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
2453 from request list. Don't do the list handling here, call
2454 __aio_remove_request.
2455 * rt/aio_misc.h: Add prototype for __aio_remove_request.
2456 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
2457 request might already be processed. Don't do the list handling
2458 here, call __aio_remove_request.
2460 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
2463 * rt/aio_misc.c: Add comment explaining why writer memory barriers
2466 2000-07-27 Greg McGary <greg@mcgary.org>
2468 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
2469 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
2470 in union init. Pass zero for ignored semnum arg to semctl.
2471 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
2473 2000-07-26 Greg McGary <greg@mcgary.org>
2475 * sysdeps/gnu/bits/msq.h: Qualify kernel's
2476 data structure pointers as __unbounded.
2477 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2478 * sysdeps/generic/bp-semctl.h: New file.
2479 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
2480 pointers as __unbounded. Check bounds of syscall args.
2481 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2482 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
2483 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2484 * sysdeps/unix/sysv/linux/semop.c: Likewise.
2485 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
2486 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2487 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2488 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
2489 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
2490 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
2491 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
2492 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
2493 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
2494 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
2495 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
2496 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
2498 2000-07-26 Ulrich Drepper <drepper@redhat.com>
2500 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
2502 * locale/C-ctype.c: Likewise.
2503 * wcsmbs/wcsmbsload.c: Likewise.
2505 2000-07-26 Greg McGary <greg@mcgary.org>
2507 * Makeconfig (+link-bounded, link-libc-bounded,
2508 link-extra-libs-bounded): New variables.
2509 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
2510 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
2511 * Rules (tests-bp.out): New variable.
2512 (tests): Conditionally add BP tests.
2513 (binaries-bounded): Add variable and associated rule.
2514 * csu/Makefile [build-bounded] (extra-objs, install-lib):
2515 Move conditional stuff after place where condition is defined.
2517 * malloc/malloc.c (bp-checks.h): Add #include.
2518 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
2519 (_bin_at): Add unbounded version of bin_at.
2520 (IAV, chunk_alloc): Use unbounded _bin_at.
2521 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
2522 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
2523 Wrap BOUNDED_N around return value.
2524 (chunk_realloc): Adjust oldsize once.
2526 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
2527 (__ubp_memchr): Add correct decl.
2528 (_CHECK_STRING): Use __ubp_memchr.
2529 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2530 New alias for unbounded-pointer __memchr.
2531 * sysdeps/i386/memchr.S: Likewise.
2532 * sysdeps/ia64/memchr.S: Likewise.
2533 * sysdeps/m68k/memchr.S: Likewise.
2534 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2535 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2536 * sysdeps/vax/memchr.s: Likewise.
2538 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
2539 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
2540 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
2541 * sysdeps/i386/i686/strtok.S: Likewise.
2542 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
2543 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
2545 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
2546 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
2548 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
2549 bounds of copy_result to mount_proc.
2551 2000-07-25 Bruno Haible <haible@clisp.cons.org>
2553 * wctype/wctype.h (__wctrans_l): New declaration.
2554 * wctype/wctrans_l.c: New file.
2555 * wctype/Makefile (routines): Add wctrans_l.
2557 2000-07-26 Ulrich Drepper <drepper@redhat.com>
2559 * posix/fnmatch_loop.c: Fixes for use outside glibc.
2560 Patch by MacGyver <macgyver@tos.net>.
2562 2000-07-26 Andreas Jaeger <aj@suse.de>
2564 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
2565 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
2566 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
2568 * rt/tst-aio.c (test_file): Fix typo.
2569 * rt/tst-aio64.c (test_file): Likewise.
2571 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
2572 * rt/Makefile: Add rules to build and run tst-aio3.
2574 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
2575 it's not needed and confuses only.
2577 2000-07-26 Ulrich Drepper <drepper@redhat.com>
2579 * resolv/res_init.c: Add support for nameserver communication with
2581 * resolv/res_send.c: Likewise.
2582 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
2584 Patch by <venaas@nvg.ntnu.no>.
2586 2000-07-25 Bruno Haible <haible@clisp.cons.org>
2588 * locale/programs/ld-ctype.c (wctype_table_get): New function.
2589 (wcwidth_table_get): New function.
2590 (wcwidth_table_add): Call it.
2591 (wctrans_table_get): New function.
2592 (wctrans_table_add): Call it.
2594 2000-07-25 Ulrich Drepper <drepper@redhat.com>
2596 * rt/lio_listio.c (lio_listio): Always disable individual
2598 * rt/Makefile: Add rules to build and run tst-aio2.
2599 * rt/tst-aio2.c: New file.
2601 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
2602 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
2604 2000-07-25 Mark Kettenis <kettenis@gnu.org>
2606 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
2607 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
2608 leading and trailing spaces from host, user and domain name.
2610 2000-07-25 Jes Sorensen <jes@linuxcare.com>
2612 * csu/defs.awk: Add support for need_endp.
2614 2000-07-25 Mark Kettenis <kettenis@gnu.org>
2616 * resolv/resolv.h: Remove __P from res_send_qhook and
2617 res_send_rhook typedefs.
2619 2000-07-25 Bruno Haible <haible@clisp.cons.org>
2621 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
2623 2000-07-25 Ulrich Drepper <drepper@redhat.com>
2625 * iconv/gconv_builtin.h: Add WCHAR_T alias.
2627 2000-07-25 Mark Kettenis <kettenis@gnu.org>
2629 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
2630 calling thread, set the cancellation flag and return success
2633 2000-07-25 Ulrich Drepper <drepper@redhat.com>
2635 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
2636 * libio/tst-widetext.c: New file.
2637 * libio/tst-widetext.input: New file.
2639 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
2641 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
2642 empty external buffer correctly.
2644 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2646 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
2647 __STRING(entry) and not #entry.
2648 (_RTLD_EPILOGUE): Likewise.
2649 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2651 2000-07-25 Andreas Jaeger <aj@suse.de>
2653 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
2654 according to changes in test program, run also with static only
2656 ($(objpfx)tst-printf.out): Likewise.
2658 * stdio-common/tst-unbputc.sh: Likewise.
2659 * stdio-common/tst-printf.sh: Likewise.
2661 2000-07-25 Ulrich Drepper <drepper@redhat.com>
2663 * libio/wfileops.c (_IO_wdo_write): Correct return value.
2665 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
2668 * libio/fileops.c: Pretty print.
2670 2000-07-23 Bruno Haible <haible@clisp.cons.org>
2672 * wctype/wchar-lookup.h: New file.
2673 * wctype/iswctype.c: Include "wchar-lookup.h".
2674 (__iswctype): Support alternate locale format with 3-level tables.
2675 * wctype/iswctype_l.c (__iswctype_l): Likewise.
2676 * wctype/towctrans.c (__towctrans): Likewise.
2677 * wctype/towctrans_l.c (__towctrans_l): Likewise.
2678 * wctype/wcfuncs.c: Include "wchar-lookup.h".
2679 (__ctype32_wctype, __ctype32_wctrans): Declare external.
2680 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
2681 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
2682 __iswxdigit, towlower, towupper): Support alternate locale format
2683 with 3-level tables.
2684 * wctype/wcextra.c (iswblank): Likewise.
2685 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
2686 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2687 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2688 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
2689 format with 3-level tables.
2690 * wctype/wcextra_l.c (__iswblank_l): Likewise.
2691 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
2692 format, return a 3-level table pointer.
2693 * wctype/wctype_l.c (__wctype_l): Likewise.
2694 * wctype/wctrans.c (wctrans): Likewise.
2695 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
2696 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
2697 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
2698 (iswctype): Remove macro definition.
2699 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
2700 (internal_wcwidth): Support alternate locale format with 3-level
2702 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
2704 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
2705 Define them as being type "word".
2706 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
2707 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
2708 __ctype32_width): New exported variables.
2709 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
2710 alternate locale format. Don't initialize __ctype_names and
2711 __ctype_width in the alternate locale format.
2712 * locale/programs/localedef.h (oldstyle_tables): New declaration.
2713 * locale/programs/localedef.c (oldstyle_tables): New variable.
2714 (OPT_OLDSTYLE): New macro.
2715 (options): Add --old-style option.
2716 (parse_opt): Handle --old-style option.
2717 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
2718 map_offset, class_3level, map_3level, width_3level members.
2719 (ctype_output): Support for alternate locale format: Computation of
2720 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
2721 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
2722 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
2723 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
2724 now contain both class and map tables.
2725 (struct wctype_table): New type.
2726 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
2728 (struct wcwidth_table): New type.
2729 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
2731 (struct wctrans_table): New type.
2732 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
2734 (allocate_arrays): Support for alternate locale format: Set
2735 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
2736 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
2737 to the first 256 characters. Compute ctype->map_3level. Set
2738 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
2739 instead of ctype->width.
2741 2000-07-24 Ulrich Drepper <drepper@redhat.com>
2743 * libio/iogetwline.c (_IO_getwline_info): Use wide character
2746 2000-07-24 Jakub Jelinek <jakub@redhat.com>
2748 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
2749 in wide characters, not bytes.
2750 * libio/tst_putwc.c (do_test): Add test for writing lots of data
2753 2000-07-22 Bruno Haible <haible@clisp.cons.org>
2755 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
2756 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
2757 LC_MEASUREMENT, LC_IDENTIFICATION.
2759 * locale/xlocale.h (struct __locale_struct): Increase size of
2761 * locale/duplocale.c (__duplocale): Copy newly added categories as
2763 * locale/freelocale.c (__freelocale): Free newly added categories.
2764 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
2765 If a base is given, use it, don't simply return it.
2767 2000-07-22 Bruno Haible <haible@clisp.cons.org>
2769 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
2770 variables, copied_key and copied_salt, instead of boolean variables.
2772 2000-07-24 Andreas Jaeger <aj@suse.de>
2774 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
2777 * grp/initgroups.c (initgroups_dyn_function): Renamed from
2778 initgroups_function, adopted prototype for change from 2000-07-23.
2779 (initgroups): Follow type change.
2781 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
2782 & PAGE_MASK case, reformat.
2784 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
2785 from stdin and setup environment.
2787 2000-07-24 Andreas Schwab <schwab@suse.de>
2789 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
2791 2000-07-23 Ulrich Drepper <drepper@redhat.com>
2793 * string/endian.h: Explain the _*_ENDIAN constant values a bit
2794 more. Patch by scarlet@mit.edu [PR libc/1799].
2796 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
2799 * argp/argp-parse.c (parser_finalize): Reverse order in which
2800 parsers are run for ARGP_KEY_END. [PR libc/1755].
2802 * grp/initgroups.c (initgroups): Don't limit the possible number
2803 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
2804 the setgroups call while the call fails and descrease the number
2805 of groups each round.
2806 The name of the initgroups function in the NSS modules changed.
2807 (compat_call): Adapt for dynamic resizing.
2808 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2809 Implement dynamic resizing.
2810 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2812 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
2813 * hesiod/Versions: Change exported interface name.
2814 * nis/Versions: Change exported interface name.
2816 2000-07-23 Ulrich Drepper <drepper@redhat.com>
2818 * locale/iso-639.def: Some errors corrected.
2819 Patch by Keld Simonsen.
2821 * include/limits.h: Update non-gcc portion.
2822 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2824 2000-07-22 Mark Kettenis <kettenis@gnu.org>
2826 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
2827 program's data space, reallocate only the space that was just
2828 deallocated to release its backing space.
2830 2000-07-23 Ulrich Drepper <drepper@redhat.com>
2832 * stdio-common/vfprintf.c (process_string_arg): For wide character
2833 version, handle precision also correctly.
2835 * nss/nss_files/files-hosts.c: Correct problem with three or more
2836 entries with the same name.
2838 * nss/nss_files/files-hosts.c: Implement multi handling.
2839 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
2841 2000-07-22 Ulrich Drepper <drepper@redhat.com>
2843 * nss/nss_files/files-parse.c: Don't pollute namespace by using
2846 * grp/Makefile: Change Makefiles and tests to run only when necessary.
2847 * malloc/Makefile: Likewise.
2848 * malloc/tst-mtrace.sh: Likewise.
2849 * posix/Makefile: Likewise.
2850 * posix/globtest.sh: Likewise.
2851 * posix/wordexp-tst.sh: Likewise.
2852 * string/Makefile: Likewise.
2854 2000-07-22 Mark Kettenis <kettenis@gnu.org>
2856 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
2857 size instead of LC_ALL to take into account the new locale
2860 2000-07-22 Ulrich Drepper <drepper@redhat.com>
2862 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
2863 remainders of hash table.
2864 * locale/categories.def: Remove remainders of transliteration
2866 * locale/langinfo.h: Likewise.
2867 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
2868 transliteration tables.
2870 * locale/gen-translit.pl: New file.
2871 * locale/C-translit.h.in: New file.
2872 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
2873 data pointers with data from this file.
2874 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
2875 and gen-translit.pl.
2876 Add rule to generate C-translit.h.
2877 * intl/tst-translit.c (main): Update for now performed
2880 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
2881 (it's no input error).
2882 * stdio-common/tstscanf.c: Add test case for format %f with input --.
2883 * stdio-common/scanf12.c: Correct expected result for first scanf.
2885 * stdio-common/vfprintf.c (process_string_arg): Correct handling
2886 of multibyte character strings in %s format with precision.
2888 2000-07-21 Ulrich Drepper <drepper@redhat.com>
2890 * locale/programs/ld-collate.c (collate_read): Allow collating
2891 symbols and elements be named in reorder-after instructions.
2892 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2894 * locale/programs/ld-collate.c (handle_ellipsis): Test for
2895 duplication with generated name, not the name of the first
2897 Patch by Yong Li <yong.li@asu.edu>.
2899 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
2900 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2902 2000-07-21 Wolfram Gloger <wg@malloc.de>
2904 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
2905 allocations only if a non-main arena cannot be extended.
2907 2000-07-21 Ulrich Drepper <drepper@redhat.com>
2909 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
2910 in DF_1_NODEFLIB handling.
2912 2000-07-21 Andreas Jaeger <aj@suse.de>
2914 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
2917 * libio/fwide.c: Include <wchar.h> for prototype.
2919 2000-07-21 Greg McGary <greg@mcgary.org>
2921 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
2922 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
2923 Define in terms of chunk_at_offset.
2924 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
2925 (next_bin, prev_bin): offset by size of real array elements.
2926 (chunk_align): Make `m' a scalar, since that's how it's used.
2928 2000-07-21 Greg McGary <greg@mcgary.org>
2930 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
2932 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
2933 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
2934 Wrap bounds around argv & envp and each of their string members.
2935 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
2936 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
2937 symbol in BP_SYM (). Discard bounds of address arg.
2938 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2939 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
2940 Discard bounds on address arg, add bounds to return value.
2942 2000-07-20 Ulrich Drepper <drepper@redhat.com>
2944 * elf/Makefile (tests): Add filter. Add rules to generate filter.
2945 * elf/filter.c: New file.
2946 * elf/filtmod1.c: New file.
2947 * elf/filtmod2.c: New file.
2949 * elf/rtld.c: Define _dl_bind_not variable.
2950 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
2951 * elf/dl-support.c: Likewise.
2952 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
2953 * elf/dl-runtime.c (fixup): Don't remember looked up value if
2955 (profile_fixup): Likewise.
2957 * libio/Makefile (routines): Add fwide.
2958 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
2959 fwide now. Internal calls to _IO_fwide must do locking themselves
2960 or don't need locking.
2961 * libio/fwide.c: New file.
2963 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
2965 * elf/Makefile: Add no modules for nodelete test.
2966 * elf/nodelmod3.c: New file.
2967 * elf/nodelmod4.c: New file.
2968 * elf/nodelete.c: Also test case where dependency of dlopen() object
2971 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
2972 * elf/nodlopen.c: New file.
2973 * elf/nodlopenmod.c: New file.
2974 * include/dlfcn.h: Define __RTLD_DLOPEN.
2975 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
2976 and this is a dlopen() call, do not load the binary.
2977 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
2978 * dlfcn/dlopenold.c: Likewise.
2979 * configure.in: Add test for -z nodelete option.
2980 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
2982 2000-07-20 Mark Kettenis <kettenis@gnu.org>
2984 Make Hesiod NSS module thread-safe.
2986 * hesiod/README.hesiod: Update.
2988 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
2989 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
2990 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
2991 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
2993 * hesiod/nss_hesiod/hesiod-init.c: New file.
2994 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
2995 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
2996 * hesiod/nss_hesiod/nss_hesiod.h: New file.
2997 * hesiod/nss_hesiod/hesiod-service.c
2998 (_nss_hesiod_getservbyport_r): New function. Provide support for
2999 looking up services by port number.
3000 * hesiod/nss_hesiod/hesiod-proto.c: New file.
3002 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
3003 * hesiod/hesiod.h: Likewise.
3004 * hesiod/hesiod_p.h: Likewise.
3006 2000-07-20 Mark Kettenis <kettenis@gnu.org>
3008 Fix problems with `struct __res_state' getting too big.
3009 * resolv/resolv.h (struct __sockaddr_in): New definition.
3010 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
3011 the private parts of the structure to save some space.
3012 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
3013 (struct sockaddr_in *) in call to sock_eq.
3014 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
3016 2000-07-20 Ulrich Drepper <drepper@redhat.com>
3018 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
3019 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
3021 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
3022 to _dl_map_object. Return immediately if no object loaded.
3023 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
3024 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
3025 if it exists into l_flags_1 word.
3026 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
3027 it to determine whether loading is wanted or not.
3028 (_dl_map_object): Likewise.
3029 Call _dl_map_object_from_fd with new parameter.
3030 * sysdeps/generic/ldsodefs.h: Update prototype.
3031 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
3032 * elf/rtld.c: Likewise.
3033 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3034 * elf/Makefile (tests): Add noload. Add rules to generate noload.
3035 * elf/noload.c: New file.
3036 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
3037 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
3038 * sysdeps/mips/bits/dlfcn.h: Likewise.
3039 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
3040 (tests-nodelete-yes): Define.
3041 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
3042 Add rules to build nodelete and modules.
3043 * elf/nodelete.c: New file.
3044 * elf/nodelmod1.c: New file.
3045 * elf/nodelmod2.c: New file.
3046 * configure.in: Add test for -z nodelete option.
3047 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3049 * libio/Makefile (tests): Add tst_wprintf2.
3050 (tst_wprintf2-ARGS): Define.
3051 * libio/tst_wprintf2.c: New file.
3052 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
3054 * libio/wfiledoalloc.c: Only allocate external buffer if this
3055 hasn't happened yet.
3057 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
3058 something in the buffer. gconv call can write up to end of the
3059 buffer, not only _IO_write_end.
3060 (_IO_wfile_overflow): Allocate also external buffer.
3062 2000-07-19 Ulrich Drepper <drepper@redhat.com>
3064 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
3065 strings with precision in vfwprintf correctly.
3066 * stdio-common/vfprintf.c: Fix completely broken handling of
3067 unbuffered wide character streams.
3068 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3070 * resolv/Makefile (distribute): Add README.
3072 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
3074 2000-07-18 Mark Kettenis <kettenis@gnu.org>
3076 Update resolver code to BIND 8.2.3-T5B.
3078 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
3080 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
3081 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
3083 * resolv/Banner: BIND-8.2.3-T5B.
3085 * resolv/base64.c: Update from BIND 8.2.3-T5B.
3086 * resolv/herror.c: Likewise.
3087 * resolv/inet_addr.c: Likewise.
3088 * resolv/inet_net_ntop.c: Likewise.
3089 * resolv/inet_net_pton.c: Likewise.
3090 * resolv/inet_neta.c: Likewise.
3091 * resolv/inet_ntop.c: Likewise.
3092 * resolv/nsap_addr.c: Likewise.
3093 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
3094 IPv6 addresses (ISC bug #520).
3096 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
3097 * resolv/ns_parse.c: Likewise.
3098 * resolv/ns_netint.c: Likewise.
3099 * resolv/ns_samedomain.c: Likewise.
3100 * resolv/ns_ttl.c: Likewise.
3101 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
3102 RCS ID in object file.
3104 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
3105 * resolv/res_mkquery.c: Likewise.
3106 * resolv/res_query.c: Likewise.
3107 * resolv/res_init.c: Likewise.
3108 (res_setoptions): Mark internal.
3109 * resolv/res_send.c: Likewise.
3110 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
3111 by using poll instead.
3112 * resolv/res_comp.c: Likewise.
3113 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
3114 weak alias for __dn_expand.
3115 * resolv/res_data.c: Likewise.
3116 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
3117 in _res.options. Avoids a potential security risk by avoiding a
3119 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
3120 res_mkquery, res_query, res_querydomain adn res_search weak
3121 aliases for __res_mkquery, __res_query, __res_querydomain and
3123 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
3124 instead to avoid close(0).
3125 (res_init): Always use the static resolver context.
3126 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
3127 alias for __res_init.
3129 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
3130 RES_SET_H_ERRNO and accompanying comment to...
3131 * include/resolv.h: ... here.
3133 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
3134 * resolv/arpa/nameser_compat.h: Likewise.
3136 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3138 * nss/makedb.c (main): Compare result of load_db with
3139 NSS_STATUS_SUCCESS and not 0.
3140 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
3142 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
3144 2000-07-18 Greg McGary <greg@mcgary.org>
3146 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
3147 (EXTEND_BUFFER): Use it.
3149 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3151 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
3152 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
3153 __builtin_return_address.
3154 * dlfcn/dlopenold.c: Likewise.
3155 * dlfcn/dlsym.c: Likewise.
3156 * dlfcn/dlvsym.c: Likewise.
3157 * elf/dl-profstub.c: Likewise.
3158 * malloc/malloc.c: Likewise.
3159 * sysdeps/generic/machine-gmon.h: Likewise.
3160 Based on a patch by schwidefsky@de.ibm.com.
3162 2000-07-18 Andreas Jaeger <aj@suse.de>
3164 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
3165 NULL to elf_machine_fixup_plt t argument to silence GCC.
3167 * include/string.h: Add prototype for __memchr.
3169 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
3171 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
3174 2000-07-18 Ulrich Drepper <drepper@redhat.com>
3176 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
3178 * locale/C-ctype.c: Add initializers for gap elements.
3179 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
3182 2000-07-16 Ulrich Drepper <drepper@redhat.com>
3184 * nscd/nscd.c (print_version): Update copyright year.
3186 2000-07-17 Greg McGary <greg@mcgary.org>
3188 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3189 keyletters F, I, S, W. Remove unused keyletter V. Surround
3190 signature argnames with angle-brackets for use as word delimiters,
3191 and to induce syntax errors for any args not handled. Split
3192 multi-echo echoes and comment each stage.
3193 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
3194 * sysdeps/unix/inet/syscalls.list: Likewise.
3195 * sysdeps/unix/mman/syscalls.list: Likewise.
3196 * sysdeps/unix/syscalls.list: Likewise.
3197 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3198 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3199 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3200 * sysdeps/unix/sysv/syscalls.list: Likewise.
3201 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
3203 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
3204 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
3205 qualifiers. Don't check NULL-terminator of argv & envp.
3206 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
3207 unbounded pointer type in word-size assertion.
3208 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
3209 cases to stifle warnings.
3211 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
3213 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3215 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
3216 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
3219 * Makerules (o-objects): Supplement with $(o-objects$o).
3220 * string/Makefile (o-objects.ob): Add variable to pull
3221 unbounded versions of memcpy, memset and memchr into libc_b.
3223 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
3224 rather than non-existent __ubp_memchr.
3225 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
3226 (_CHECK_STRING, _CHECK_N): New macros.
3227 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
3228 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
3229 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
3230 Add weak alias "memchr".
3231 * sysdeps/generic/memchr.c: Likewise.
3232 * sysdeps/i386/memchr.S: Likewise.
3233 * sysdeps/ia64/memchr.S: Likewise.
3234 * sysdeps/m68k/memchr.S: Likewise.
3235 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3236 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3237 * sysdeps/vax/memchr.s: Likewise.
3239 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
3241 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
3242 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
3243 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
3244 __BOUNDED_POINTERS__.
3245 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
3246 for __BOUNDED_POINTERS__.
3248 2000-07-17 Bruno Haible <haible@clisp.cons.org>
3250 * iconv/gconv_open.c (__gconv_open): Initialize the __data
3251 field of struct __gconv_trans_data differently. Don't pass NULL to
3252 trans_init_fct. Simplify list append operation.
3254 2000-07-14 Bruno Haible <haible@clisp.cons.org>
3256 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
3257 not only those having tsearch.
3259 2000-07-17 Ulrich Drepper <drepper@redhat.com>
3261 * locale/langinfo.h: Add placeholder values in enum for removed
3264 2000-07-17 Jakub Jelinek <jakub@redhat.com>
3266 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
3267 chain if the PHDR check fails.
3269 2000-07-17 Mark Kettenis <kettenis@gnu.org>
3271 * nss/getent.c (print_hosts): Make sure we always print a space
3272 between numeric addresses and hostnames.
3274 2000-07-17 Wolfram Gloger <wg@malloc.de>
3276 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
3277 i.e. if n_mmaps_max>0.
3279 2000-07-16 Mark Kettenis <kettenis@gnu.org>
3281 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
3282 values to remove possible clash with other AI_* constants.
3283 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
3284 hexadecimal constants to stress the fact they're in fact
3287 2000-07-15 Mark Kettenis <kettenis@gnu.org>
3289 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
3290 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
3291 instead of res_init.
3293 2000-07-16 Ulrich Drepper <drepper@redhat.com>
3295 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
3296 parameters of memset calls to avoid warnings.
3298 2000-07-15 Ulrich Drepper <drepper@redhat.com>
3300 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
3303 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
3304 Patch by Greg McGary <greg@mcgary.org>.
3306 * io/Makefile (tests): Add tst-getcwd.
3307 * io/tst-getcwd.c: New file.
3309 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
3311 2000-07-15 Jakub Jelinek <jakub@redhat.com>
3313 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
3316 2000-07-13 Jakub Jelinek <jakub@redhat.com>
3318 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
3319 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
3321 2000-07-12 H.J. Lu <hjl@gnu.org>
3323 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
3325 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
3326 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
3327 (sysdep-routines): Add clone2.
3328 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
3330 2000-07-13 Jes Sorensen <jes@linuxcare.com>
3332 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
3333 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
3335 2000-06-05 David Mosberger <davidm@hpl.hp.com>
3337 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
3338 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
3339 Change type of si_band from "int" to "long".
3340 (si_imm) [USE_GNU]: Define
3341 (si_isr) [USE_GNU]: Ditto.
3342 (ILL_BREAK) [USE_GNU]: Ditto.
3343 (FPE_DECOVF) [USE_GNU]: Ditto.
3344 (FPE_DECDIV) [USE_GNU]: Ditto.
3345 (FPE_DECERR) [USE_GNU]: Ditto.
3346 (FPE_INVASC) [USE_GNU]: Ditto.
3347 (FPE_INVDEC) [USE_GNU]: Ditto.
3348 (TRAP_BRANCH) [USE_GNU]: Ditto.
3349 (TRAP_HWBKPT) [USE_GNU]: Ditto.
3351 2000-07-06 Jes Sorensen <jes@linuxcare.com>
3353 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3354 bits/sigcontext as struct mcontext does not depend on it.
3356 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
3358 2000-07-04 Jes Sorensen <jes@linuxcare.com>
3360 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
3362 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
3364 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
3366 2000-06-22 Jes Sorensen <jes@linuxcare.com>
3368 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
3370 2000-07-15 Ulrich Drepper <drepper@redhat.com>
3372 * intl/Makefile (test-srcs): Add tst-translit.
3374 Add rules to build and run tst-translit.
3375 * intl/tst-translit.c: New file.
3376 * intl/tst-translit.sh: New file.
3377 * intl/translit.po: New file.
3379 2000-07-14 Ulrich Drepper <drepper@redhat.com>
3381 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
3382 transliteration function did its job, continue, don't stop.
3384 * iconvdata/iso646.c: Little optimizations in body for conversion
3387 2000-07-14 Mark Kettenis <kettenis@gnu.org>
3389 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
3391 2000-07-14 Mark Kettenis <kettenis@gnu.org>
3393 * configure.in: Check for pwd binary.
3394 * config.make.in: Add PWD_P to be subsituted.
3395 * Makerules: Use $(PWD_P) instead of /bin/pwd.
3397 2000-07-14 Ulrich Drepper <drepper@redhat.com>
3399 * iconvdata/Makefile (modules): Add GB18030.
3400 (distribute): Add gb18030.c.
3401 * iconvdata/gconv-modules: Add entries for GB18030 module.
3402 * iconvdata/gb18030.c: New file.
3403 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
3406 2000-07-13 Andreas Jaeger <aj@suse.de>
3408 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
3411 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
3412 * inet/getnetgrent.c (free_mem): Likewise.
3413 * misc/mntent.c (free_mem): Likewise.
3414 * nss/getXXbyYY.c (free_mem): Likewise.
3415 * nss/getXXent.c (free_mem): Likewise.
3416 * pwd/fgetpwent.c (free_mem): Likewise.
3417 * shadow/fgetspent.c (free_mem): Likewise.
3419 2000-07-14 Ulrich Drepper <drepper@redhat.com>
3421 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
3422 64-bit architecture correctly [PR libc/1794].
3424 2000-07-13 Ulrich Drepper <drepper@redhat.com>
3426 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
3427 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
3428 report that we are out of memory.
3429 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3430 * elf/dl-libc.c (dlerror_run): Likewise.
3431 * elf/dl-open.c (_dl_open): Likewise.
3432 * elf/rtld.c (dl_main): Likewise.
3433 * elf/dl-error.c: Define _dl_out_of_memory.
3434 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
3436 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
3439 * dlfcn/dlerror.c (free_key_mem): Also free error string.
3441 * iconv/loop.c: Fix comment.
3443 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
3445 2000-07-13 Andreas Jaeger <aj@suse.de>
3447 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
3448 getcwd (NULL, size) with size > 0.
3449 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
3451 2000-07-13 Andreas Jaeger <aj@suse.de>
3453 * posix/Makefile: Remove build rules for libposix.
3455 2000-07-13 Andreas Schwab <schwab@suse.de>
3457 * sysdeps/generic/glob.c (glob): Fix memory leak.
3458 [SHELL]: Remove reference to undefined variable `files'.
3461 2000-07-13 Andreas Jaeger <aj@suse.de>
3463 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
3466 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
3467 memory if it was allocated.
3469 2000-07-12 Ulrich Drepper <drepper@redhat.com>
3471 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
3474 * iconv/gconv_open.c (__gconv_open): Reapply
3475 2000-07-12 Bruno Haible <haible@clisp.cons.org>
3477 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
3479 * iconv/gconv_open.c: Undo last two changes for now. They break
3482 2000-07-12 Andreas Jaeger <aj@suse.de>
3484 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
3486 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
3487 (CFLAGS-dl-cache.c): Likewise.
3488 (CFLAGS-ldconfig.c): Added, passes directory locations.
3490 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
3492 * elf/ldconfig.c (LD_SO_CONF): Likewise.
3493 (main): Use configured LIBDIR and SLIBDIR.
3495 2000-07-11 Jakub Jelinek <jakub@redhat.com>
3497 * math/bits/cmathcalls.h (cimag): Add __THROW.
3498 (creal, conj): Likewise.
3499 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
3502 2000-07-12 H.J. Lu <hjl@gnu.org>
3504 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
3505 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
3507 2000-07-12 Ulrich Drepper <drepper@redhat.com>
3509 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
3512 2000-07-12 Bruno Haible <haible@clisp.cons.org>
3514 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
3516 2000-07-12 Bruno Haible <haible@clisp.cons.org>
3518 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
3521 2000-07-12 Bruno Haible <haible@clisp.cons.org>
3523 * iconv/gconv_open.c (__gconv_open): Initialize
3524 result->__steps[cnt].__data.
3526 2000-07-12 Mark Kettenis <kettenis@gnu.org>
3528 * nss/getent.c (services_keys): Pass port number in network byte
3529 order in call to getservbyport.
3531 2000-07-11 Andreas Jaeger <aj@suse.de>
3533 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
3535 * intl/Makefile (do-gettext-test): Likewise.
3536 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
3538 2000-07-11 Andreas Schwab <schwab@suse.de>
3540 * Makeconfig (run-program-prefix): New rule.
3541 (built-program-cmd): Use run-program-prefix.
3543 2000-07-12 Ulrich Drepper <drepper@redhat.com>
3545 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
3546 and NOEXPR unconditionally available.
3548 2000-07-12 Greg McGary <greg@mcgary.org>
3550 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
3551 * sysdeps/posix/open64.c: Likewise.
3552 * sysdeps/generic/fegetenv.c: Likewise.
3553 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
3554 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3555 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3556 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
3557 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
3558 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
3560 2000-07-11 Greg McGary <greg@mcgary.org>
3562 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
3563 Add extra level of macro expansion.
3564 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
3565 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
3566 is available at the time `select' prototype is declared.
3567 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
3568 Collect non-versioned weak aliases. Consider only non-versioned
3569 aliases for the user-visible systemcall name. Do checks inline with
3570 call to primitive system call.
3571 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
3572 stand-alone bounds checks to suppress unused value warnings.
3573 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3575 2000-07-10 Mark Kettenis <kettenis@gnu.org>
3577 * sysdeps/mach/hurd/check_fds.c: New file. Implements
3578 file descriptor checking in SUID programs for the Hurd.
3580 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
3581 res_hostalias instead of __hostalias for thread-safety.
3583 2000-07-09 Mark Kettenis <kettenis@gnu.org>
3585 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
3586 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
3588 2000-07-10 Ulrich Drepper <drepper@redhat.com>
3590 * include/features.h: Include ISO C99 features if the compiler used
3591 is an ISO C99 compiler.
3592 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3594 2000-07-08 Mark Kettenis <kettenis@gnu.org>
3596 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
3598 2000-07-10 Andreas Jaeger <aj@suse.de>
3600 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
3601 it's overridden by libpthreads.
3602 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3603 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3604 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3605 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3606 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3608 * malloc/Makefile: Run tst-mtrace only with shared libs.
3610 * stdio-common/Makefile: Run unbputc and tst-printf tests only
3613 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3615 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
3616 that gpreg really points to the GOT section of the calling object.
3617 Scan all PT_LOAD segments of objects for stub_pc, instead of only
3618 checking a start address of first one.
3620 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
3623 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
3625 2000-07-10 Andreas Jaeger <aj@suse.de>
3627 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
3628 (string_alias->strong_alias).
3630 2000-07-08 Mark Kettenis <kettenis@gnu.org>
3632 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
3634 2000-07-07 Greg McGary <greg@mcgary.org>
3636 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
3637 have no names without leading underscores.
3639 2000-07-07 Ulrich Drepper <drepper@redhat.com>
3641 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
3644 * stdio-common/Makefile (tests): Remove tst-printf here...
3645 (tests-srcs): ...and add it here.
3646 (distribute): Add tst-unbputc.sh and tst-printf.sh.
3647 Add rules to run tst-printf.sh.
3648 * stdio-common/tst-printf.c: Move code around so that there is really
3649 no further output where it's stated.
3650 * stdio-common/tst-printf.sh: New file.
3652 2000-07-07 Mark Kettenis <kettenis@gnu.org>
3654 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
3655 (do_write): Renamed from pwrite.
3656 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
3657 `struct _IO_cookie_file'.
3659 2000-07-07 Ulrich Drepper <drepper@redhat.com>
3661 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
3663 * malloc/tst-mtrace.sh: Run mtrace script.
3665 2000-07-07 Greg McGary <greg@mcgary.org>
3667 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
3668 Move all three components of a bounded pointer.
3670 2000-07-07 Ulrich Drepper <drepper@redhat.com>
3672 * locale/programs/locale.c (write_locales): Don't simply add all
3673 directories found in the subdir, test whether at least the
3674 LC_CTYPE file is in there.
3676 2000-07-06 Ulrich Drepper <drepper@redhat.com>
3678 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
3679 * iconvdata/euc-kr.c: Likewise.
3681 * stdio-common/vfprintf.c (process_string_arg): Check result of
3682 wcrtomb call and bail out if it failed.
3684 * malloc/Makefile (test-srcs): Add tst-mtrace.
3685 (distribute): Add tst-mtrace.sh.
3686 Add rule to run tst-mtrace.sh.
3687 * malloc/tst-mtrace.c: New file.
3688 * malloc/tst-mtrace.sh: New file.
3690 * include/signal.h: Declare __libc_sigaction.
3691 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
3692 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
3693 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3694 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3695 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3696 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3697 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3699 * configure.in: Fix CFLAGS-memprofstat.c definition after
3701 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
3703 2000-07-06 Jakub Jelinek <jakub@redhat.com>
3705 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
3706 instead of NULL to elf_machine_fixup_plt t argument.
3707 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3708 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
3711 2000-07-06 Andreas Jaeger <aj@suse.de>
3713 * crypt/Makefile (LDLIBS-cert): Removed.
3714 (LDLIBS-md5c-test): Removed.
3715 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
3716 ($(objpfx)md5c-test): Likewise for md5c-test.out.
3718 2000-07-06 Andreas Jaeger <aj@suse.de>
3720 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
3721 of the proc system is "proc".
3723 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
3724 thread library for static programs.
3726 2000-07-06 Greg McGary <greg@mcgary.org>
3728 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
3730 * sysdeps/generic/strcpy.c: Add bounds checks.
3731 * sysdeps/unix/fxstat.c: Likewise.
3732 * sysdeps/unix/xstat.c: Likewise.
3733 * sysdeps/unix/common/lxstat.c: Likewise.
3734 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3735 * sysdeps/unix/sysv/linux/execve.c: Likewise.
3736 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3737 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3738 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3739 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3740 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
3741 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3742 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3743 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3744 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3745 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3746 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3747 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3748 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3749 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3750 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3751 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3752 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3753 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
3754 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3755 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3756 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3757 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
3758 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3759 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
3760 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3761 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
3762 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3763 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3764 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3765 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
3766 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3767 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3768 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3769 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3770 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3771 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
3772 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3773 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3774 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3775 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3776 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3777 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3778 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
3779 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
3780 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3781 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
3782 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3783 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
3784 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
3785 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
3786 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3787 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3788 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3789 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3790 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3791 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
3792 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
3793 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
3794 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3795 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
3796 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3797 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
3799 * string/endian.h (__LONG_LONG_PAIR): New macro.
3800 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
3801 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3802 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3803 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3804 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3805 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3806 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3807 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3808 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3809 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3810 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3811 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3813 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
3815 2000-07-06 Andreas Jaeger <aj@suse.de>
3817 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
3820 * math/test-fpucw.c: Include <stdio.h> for printf.
3822 2000-07-05 Greg McGary <greg@mcgary.org>
3824 * sysdeps/generic/bp-checks.h: New file.
3825 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
3826 with list of #include files.
3827 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3828 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
3829 Don't generate BP thunk if `V' appears in signature.
3830 Generate thunks with complete bounds checks.
3831 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
3832 * sysdeps/unix/inet/syscalls.list: Likewise.
3833 * sysdeps/unix/mman/syscalls.list: Likewise.
3834 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3835 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3836 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3837 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3839 2000-07-05 Ulrich Drepper <drepper@redhat.com>
3841 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
3842 result. Search first in /etc/mtab (proc/mounts would be stupid).
3843 If mount not in the file fall back on /proc.
3845 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
3846 string got copied in.
3847 Patch by Solar Designer <solar@false.com>.
3849 2000-07-05 Andreas Jaeger <aj@suse.de>
3851 * manual/install.texi (Installation): Update information about
3853 (Configuring and compiling): Update for glibc 2.2.
3855 2000-07-04 Andreas Jaeger <aj@suse.de>
3857 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
3858 (_FPU_IEEE): Likewise.
3860 * math/Makefile (tests): Add test-fpucw.
3862 * math/test-fpucw.c (main): New file.
3864 2000-07-05 Ulrich Drepper <drepper@redhat.com>
3866 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
3868 * locale/programs/ld-collate.c (collate_output): Also write out the
3869 collation sequence values and the wide character string for the
3870 collation symbol table.
3872 * posix/fnmatch.c: Include "../locale/elem-hash.h".
3873 * posix/fnmatch_loop.c: Implement collating symbol handling.
3874 * posix/tst-fnmatch.input: Add more tests, especially for collating
3877 * posix/regex.c: Fix comment.
3879 2000-07-05 Andreas Jaeger <aj@suse.de>
3881 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
3882 (_FPU_GETCW): Remove extra colon.
3883 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3885 * posix/fnmatch_loop.c (FCT): Only declare len if
3886 !WIDE_CHAR_VERSION to silence GCC.
3888 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
3890 * sysdeps/generic/strchrnul.c: Likewise.
3891 * sysdeps/generic/strlen.c: Likewise.
3892 * sysdeps/generic/strchr.c: Likewise.
3893 * sysdeps/generic/memchr.c: Likewise.
3895 2000-07-04 Ulrich Drepper <drepper@redhat.com>
3897 * posix/fnmatch_loop.c: Implement equivalence class handling.
3898 * posix/tst-fnmatch.input: Add tests for equivalence class
3901 * posix/fnmatch_loop.c: Improve performance for single-byte
3902 character sets by not using btowc.
3904 * posix/tst-fnmatch.input: Add tests for locale dependent
3906 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
3908 * posix/tst-fnmatch.input: Add more test cases.
3910 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
3911 are not aligned to alignof(md5_uint32) do it before calling
3912 __md5_process_bytes.
3913 * crypt/md5.c: Make sure buffers are aligned.
3914 * crypt/md5.h: Likewise.
3915 Reported by Solar Designer <solar@false.com>.
3917 * crypt/Makefile: Add dependencies for test programs.
3919 * Rules: Define LC_ALL=C in environments of all programs we run.
3921 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
3923 2000-07-03 H.J. Lu <hjl@gnu.org>
3925 * locale/programs/ld-ctype.c (ctype_output): The size of iov
3926 is 2 + elem + offset, not 2 + elem + offset + 2.
3928 2000-07-04 Ulrich Drepper <drepper@redhat.com>
3930 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
3932 * posix/Makefile (tests): Add tst-fnmatch.
3933 (tst-fnmatch-ENV): Define.
3934 * posix/tst-fnmatch.c: New file.
3935 * posix/tst-fnmatch.sh: New file.
3937 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
3939 * locale/programs/charmap.c (charmap_read): Prepend
3940 the condition filename == NULL.
3942 2000-07-03 Greg McGary <greg@mcgary.org>
3944 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
3946 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
3947 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
3949 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
3950 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
3951 (FILEBUF_LITERAL): Add cast for CHAIN init.
3952 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
3953 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3954 Revert type of `fp' to _IO_FILE*.
3955 (_IO_iter_file): Remove cast.
3956 (_IO_iter_next): Elide intermediate member reference.
3958 * sysdeps/powerpc/strchr.S: Check bounds.
3959 Wrap extern symbols in BP_SYM ().
3961 2000-07-03 Andreas Jaeger <aj@suse.de>
3963 * dlfcn/Makefile (generated): New.
3965 2000-07-03 Ulrich Drepper <drepper@redhat.com>
3967 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
3968 (__uflow): Likewise.
3969 (__underflow): Likewise.
3970 * libio/wgenops.c (__wunderflow): Likewise.
3971 * stdio-common/tst-unbputc.c: New file.
3972 * stdio-common/tst-unbputc.sh: New file.
3973 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
3975 * po/en_GB.po: New file.
3976 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
3978 2000-07-01 Andreas Jaeger <aj@suse.de>
3980 * intl/Makefile (generated-dirs): New.
3982 * elf/Makefile (generated): trusted-dirs.h is always generated,
3983 move out of build-shared condition.
3984 (generated): Merge the two entries for build-shared.
3986 2000-07-01 Ulrich Drepper <drepper@redhat.com>
3988 * debug/Makefile (distribute): Add xtrace.sh.
3990 2000-06-30 Ulrich Drepper <drepper@redhat.com>
3992 * version.h (VERSION): Bump to 2.1.91.
3994 * configure.in: Update warning comment. glibc should not be
3997 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
3998 ioperm.c, sys/procfs.h, and sys/io.h.
4000 * sysdeps/powerpc/Dist: Add bp-asm.h.
4002 * assert/Depend: Add localedata.
4003 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
4004 (test-assert-perr-ENV): New. Define LANGUAGE=C.
4006 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
4007 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
4008 relocation address to prevent unaligned trap.
4009 Suggested by Richard Henderson <rth@cygnus.com>.
4011 2000-06-30 Jakub Jelinek <jakub@redhat.com>
4013 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
4014 if redirecting and either redirection is done using defines or
4017 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4019 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
4020 generated expressions.
4021 Patch by Darren McClelland <dmcclell@zetec.com>.
4023 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
4024 since zic uses setlocale and gettext but we cannot make it use the
4025 new locale data since zic calls a shell which might not use the
4028 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
4029 handling the internation currency symbol. POSIX says that the
4030 fourth character is used to separate the currency symbol from the
4031 value. Therefore it does not have to be printed. But we cannot
4032 remove the space if the currency symbol is printed before the
4033 number since this is what many locales expect.
4035 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
4036 whether this information is available.
4038 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
4039 buffers in case the translation is too large. Remember allocated
4040 memory blocks in a list.
4041 (free_mem): Free memory for translations.
4043 * intl/tst-gettext.c: Use correct locale. Improve error messages.
4045 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
4046 information is available set the string length to zero.
4048 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
4050 2000-06-30 Greg McGary <greg@mcgary.org>
4052 * sysdeps/powerpc/bp-asm.h: New file.
4053 * sysdeps/powerpc/__longjmp.S: Check bounds.
4054 Wrap extern symbols in BP_SYM ().
4055 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4056 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4057 * sysdeps/powerpc/setjmp.S: Likewise.
4058 * sysdeps/powerpc/add_n.S: Likewise.
4059 * sysdeps/powerpc/addmul_1.S: Likewise.
4060 * sysdeps/powerpc/lshift.S: Likewise.
4061 * sysdeps/powerpc/rshift.S: Likewise.
4062 * sysdeps/powerpc/mul_1.S: Likewise.
4063 * sysdeps/powerpc/sub_n.S: Likewise.
4064 * sysdeps/powerpc/submul_1.S: Likewise.
4065 * sysdeps/powerpc/strlen.S: Likewise.
4066 * sysdeps/powerpc/memset.S: Likewise.
4067 * sysdeps/powerpc/stpcpy.S: Likewise.
4068 * sysdeps/powerpc/strcmp.S: Likewise.
4069 * sysdeps/powerpc/strcpy.S: Likewise.
4070 * sysdeps/powerpc/elf/bzero.S: Likewise.
4072 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
4073 Line up operands column with tabs.
4075 2000-06-30 Ulrich Drepper <drepper@redhat.com>
4077 * elf/Makefile (LDFLAGS-origtest): Actually add it.
4079 * sysdeps/ia64/htonl.S: New file.
4080 * sysdeps/ia64/htons.S: New file.
4081 * sysdeps/ia64/memcpy.S: Replace with version which does not use
4082 floating point registers.
4083 Patches by Dan Pop <Dan.Pop@cern.ch>.
4085 2000-06-30 Andreas Jaeger <aj@suse.de>
4087 * posix/Makefile (tests): tst-exec and tst-spawn only work with
4090 * io/Makefile (CFLAGS-test-lfs.c): New.
4091 (tests): Add test-lfs.
4093 * io/test-lfs.c: New file.
4095 2000-06-30 Jakub Jelinek <jakub@redhat.com>
4097 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
4100 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
4102 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
4104 2000-06-29 Jes Sorensen <jes@linuxcare.com>
4106 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
4107 alias to the fstatfs call.
4109 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
4110 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
4112 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
4113 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
4115 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
4116 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
4117 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
4118 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
4120 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
4121 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
4123 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
4124 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
4126 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
4127 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
4129 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
4131 2000-06-29 Andreas Jaeger <aj@suse.de>
4133 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
4135 (print_err_message): Likewise.
4136 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
4138 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4140 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
4141 used as words is properly aligned.
4143 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
4146 2000-06-29 Greg McGary <greg@mcgary.org>
4148 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
4149 * sysdeps/unix/make-syscalls.sh: Handle signatures of
4150 length 7..9, just in case...
4151 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
4153 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
4154 (POP_ERRNO_LOCATION_RETURN): Fold insns.
4155 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
4156 (PUSH_SIGNAL_MASK): New macro.
4157 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
4158 LEAVE is unnecessary. Check bounds of jmp_buf.
4159 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
4160 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
4161 immediately before tail-call.
4162 * sysdeps/i386/setjmp.S: Likewise.
4163 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4164 * sysdeps/i386/bsd-setjmp.S: Likewise.
4166 2000-06-29 Jakub Jelinek <jakub@redhat.com>
4168 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
4170 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
4171 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
4172 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
4173 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4174 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
4175 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
4176 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
4177 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
4179 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4181 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
4182 we later need to calling free().
4183 Patch by Matt Wilson <msw@redhat.com>.
4185 * stdio-common/tst-printf.c: Add test for above problem.
4187 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
4189 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
4190 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
4192 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4194 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
4195 prototype for abs().
4196 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
4198 2000-06-23 Andreas Jaeger <aj@suse.de>
4200 * config.h.in: Don't use regparm with bounded pointers.
4202 2000-06-29 Ulrich Drepper <drepper@redhat.com>
4204 * stdlib/grouping.h: Correctly handle multibyte thousands
4205 separator and decimal point.
4206 * stdlib/stdtod.c: Likewise.
4207 * sysdeps/generic/strtol.c: Likewise.
4209 * locale/categories.def: Add entries for wide character decimal point
4210 and thousands separator in numeric and monetary category.
4212 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4214 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
4215 second definition and initialization of decimal.
4217 2000-06-28 Greg McGary <greg@mcgary.org>
4219 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
4221 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
4222 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
4224 (_IO_JUMPS): Don't cast THIS--expect arg to be a
4225 (struct _IO_FILE_plus *).
4226 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
4227 THIS, since _IO_JUMPS no longer does it implicitly.
4228 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
4229 arg type as (struct _IO_FILE_plus *).
4230 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
4231 arg as (_IO_strfile *).
4232 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
4233 Declare 1st arg as (_IO_strfile *).
4234 * libio/fileops.c (_IO_new_file_init): Declare
4235 arg type as (struct _IO_FILE_plus *).
4236 * libio/oldfileops.c (_IO_old_file_init): Likewise.
4237 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
4238 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4239 Declare iteration pointer as (struct _IO_FILE_plus *).
4240 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
4241 (struct _IO_FILE_plus *).
4242 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
4243 * libio/oldstdfiles.c (_IO_list_all): Likewise.
4244 (_IO_check_libio): Set user-visible handles to
4245 (struct _IO_FILE_plus *).
4246 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
4247 to (struct _IO_FILE_plus *).
4249 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
4250 whose high bound includes vtable to all functions that will use
4251 vtable. For streambufs, pass pointer whose bounds include struct
4253 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
4254 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4255 * libio/iofopen.c (_IO_new_fopen): Likewise.
4256 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4257 * libio/iofopen64.c (_IO_fopen64): Likewise.
4258 * libio/iopopen.c (_IO_new_popen): Likewise.
4259 * libio/oldiopopen.c (_IO_old_popen): Likewise.
4260 * libio/memstream.c (open_memstream): Likewise.
4261 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4262 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
4263 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4264 * libio/iofopncook.c (_IO_cookie_init): Likewise.
4265 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
4266 * libio/vasprintf.c (_IO_vasprintf): Likewise.
4267 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4268 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
4269 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
4270 * stdlib/strfmon.c (__strfmon_l): Likewise.
4271 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
4272 (vfprintf): Qualify computed-goto targets as unbounded.
4274 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4276 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
4277 thousands separator correctly.
4279 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
4280 * stdio-common/vfwscanf.c: Likewise.
4282 2000-06-27 Jes Sorensen <jes@linuxcare.com>
4284 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
4285 count into signatures for most calls.
4287 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4289 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
4290 the generic parser now.
4292 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4294 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
4295 table entries are 32 bit on the ia64 (as specified by the ABI),
4296 not 64 bit as on the Alpha.
4298 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
4299 change of objects to use 32 bit hash table indices (see above).
4301 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4303 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
4304 prototype for abs().
4306 2000-06-28 Wolfram Gloger <wg@malloc.de>
4308 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
4309 fails, try mmap_chunk() as a last resort even though n_mmaps_max
4310 may have been reached.
4312 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4314 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
4315 symbols in multi-character weights correctly.
4317 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
4318 depending on whether the input string is empty or not.
4320 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
4321 given state and not avoiding this by modifying a local object.
4322 * wcsmbs/wcrtomb.c: Likewise.
4324 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
4325 object since some incomplete characters might be in there.
4327 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
4328 sequences with first byte 0x8e correctly.
4330 * iconvdata/jis0208.h: Remove redundant test.
4332 2000-06-27 Ulrich Drepper <drepper@redhat.com>
4334 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
4335 Add it where it is needed now.
4337 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
4338 the input charset into account when generating the hash table.
4339 (allocate_arrays): Correct setting default width. Not all empty slots
4340 in the table are filled, only those not covert explicitly by the
4341 locale description and in the charset.
4343 * wctype/towctrans.c (__towctrans): Be graceful and accept error
4344 return values from the wctrans function.
4346 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
4347 wide character version.
4348 For %C handling, test correct pointer variable for NULL.
4350 * wcsmbs/wctob.c: Handle WEOF special.
4352 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
4354 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
4355 always-true test to avoid warning.
4357 2000-06-27 Greg McGary <greg@mcgary.org>
4359 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
4360 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
4361 (symbol_version, default_symbol_version): Factor redundant
4362 definitions out of conditional.
4364 2000-06-27 Jakub Jelinek <jakub@redhat.com>
4366 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
4369 2000-06-26 Ulrich Drepper <drepper@redhat.com>
4371 * include/libc-symbols.h (symbol_version): Add extra level of
4373 (default_symbol_version): Likewise.
4375 2000-06-26 Greg McGary <greg@mcgary.org>
4377 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
4378 for BP return value & push implicit struct-return pointer to
4380 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4381 (SYSCALL_ERROR_HANDLER): Likewise.
4382 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4383 (SYSCALL_ERROR_HANDLER): Likewise.
4385 * Makeconfig: Add missing comment.
4386 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
4387 BP-flavored startup object.
4388 ($(objpfx)b$(start-installed-name)): New rule.
4389 * include/libc-symbols.h (symbol_set_declare): Change type
4390 of `__start_##set' and `__stop_##set' to pointer-to-function.
4391 (symbol_set_declare): Change type of `set' to array of
4392 pointer-to-function.
4393 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
4394 pointer-to-function.
4396 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
4398 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
4399 Remove clock_* and timer_* entries.
4400 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
4401 arg-count with signatures.
4403 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
4404 Check bounds of arguments.
4405 * sysdeps/i386/addmul_1.S: Likewise.
4406 * sysdeps/i386/lshift.S: Likewise.
4407 * sysdeps/i386/mul_1.S: Likewise.
4408 * sysdeps/i386/rshift.S: Likewise.
4409 * sysdeps/i386/sub_n.S: Likewise.
4410 * sysdeps/i386/submul_1.S: Likewise.
4411 * sysdeps/i386/i586/add_n.S: Likewise.
4412 * sysdeps/i386/i586/addmul_1.S: Likewise.
4413 * sysdeps/i386/i586/lshift.S: Likewise.
4414 * sysdeps/i386/i586/rshift.S: Likewise.
4415 * sysdeps/i386/i586/sub_n.S: Likewise.
4416 * sysdeps/i386/i686/add_n.S: Likewise.
4418 * sysdeps/i386/memchr.S: Likewise.
4419 * sysdeps/i386/memcmp.S: Likewise.
4420 * sysdeps/i386/rawmemchr.S: Likewise.
4421 * sysdeps/i386/i586/bzero.S: Likewise.
4422 * sysdeps/i386/i586/memcpy.S: Likewise.
4423 * sysdeps/i386/i586/mempcpy.S: Likewise.
4424 * sysdeps/i386/i586/memset.S: Likewise.
4425 * sysdeps/i386/i686/bzero.S: Likewise.
4426 * sysdeps/i386/i686/memcpy.S: Likewise.
4427 * sysdeps/i386/i686/mempcpy.S: Likewise.
4428 * sysdeps/i386/i686/memset.S: Likewise.
4430 * sysdeps/i386/stpcpy.S: Likewise.
4431 * sysdeps/i386/stpncpy.S: Likewise.
4432 * sysdeps/i386/strchr.S: Likewise.
4433 * sysdeps/i386/strchrnul.S: Likewise.
4434 * sysdeps/i386/strcspn.S: Likewise.
4435 * sysdeps/i386/strpbrk.S: Likewise.
4436 * sysdeps/i386/strrchr.S: Likewise.
4437 * sysdeps/i386/strspn.S: Likewise.
4438 * sysdeps/i386/strtok.S: Likewise.
4439 * sysdeps/i386/strtok_r.S: Likewise.
4440 * sysdeps/i386/i486/strcat.S: Likewise.
4441 * sysdeps/i386/i486/strlen.S: Likewise.
4442 * sysdeps/i386/i586/strchr.S: Likewise.
4443 * sysdeps/i386/i586/strcpy.S: Likewise.
4444 * sysdeps/i386/i586/strlen.S: Likewise.
4445 * sysdeps/i386/i686/strcmp.S: Likewise.
4446 * sysdeps/i386/i686/strtok.S: Likewise.
4447 * sysdeps/i386/i686/strtok_r.S: Likewise.
4449 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
4450 * sysdeps/i386/fpu/fesetenv.c: Likewise.
4451 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
4452 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
4453 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
4455 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
4456 * sysdeps/i386/mul_1.S: Likewise.
4457 * sysdeps/i386/submul_1.S: Likewise.
4458 * sysdeps/i386/i586/add_n.S: Likewise.
4459 * sysdeps/i386/i586/addmul_1.S: Likewise.
4460 * sysdeps/i386/i586/lshift.S: Likewise.
4461 * sysdeps/i386/i586/mul_1.S: Likewise.
4462 * sysdeps/i386/i586/rshift.S: Likewise.
4463 * sysdeps/i386/i586/sub_n.S: Likewise.
4464 * sysdeps/i386/i586/submul_1.S: Likewise.
4466 2000-06-26 Ulrich Drepper <drepper@redhat.com>
4468 * rt/Makefile (librt-routines): Add clock_nanosleep.
4469 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
4470 * sysdeps/generic/clock_nanosleep.c: New file.
4471 * sysdeps/unix/clock_nanosleep.c: New file.
4472 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
4473 * time/time.h: Declare clock_nanosleep.
4475 2000-06-26 Greg McGary <greg@mcgary.org>
4477 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
4478 INSN1, INSN2, TEXT, GLOBL): Remove macros.
4479 (ALIGN): Cleanup surrounding conditionals.
4481 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
4482 Call ENTER/LEAVE macros.
4483 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
4484 * sysdeps/i386/submul_1.S: Likewise.
4486 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
4487 syntax. Define & use symbolic argument stack offsets. Call
4489 * sysdeps/i386/i586/mul_1.S: Likewise.
4490 * sysdeps/i386/i586/submul_1.S: Likewise.
4492 2000-06-25 Greg McGary <greg@mcgary.org>
4494 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
4497 2000-06-25 Ulrich Drepper <drepper@redhat.com>
4499 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
4500 * iconvdata/gen-8bit-gap.sh: Likewise.
4501 * iconvdata/gen-8bit.sh: Likewise.
4503 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
4505 * locale/programs/ld-collate.c (collate_read): Don't actually read
4506 the copy locale if we are ignoring the content.
4508 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
4511 * locale/programs/ld-collate.c: Correct handling of different
4513 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
4514 as extra parameter from which to copy category information.
4516 (load_locale): Likewise.
4517 * locale/programs/localedef.h: Update prototypes of add_to_readlist
4519 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
4520 * locale/programs/locfile.h: Likewise.
4521 * locale/programs/locfile-kw.gperf: Add entry for script.
4522 * locale/programs/locfile-token.h: Add tok_script.
4524 * locale/programs/locale.c: Update copyright year.
4525 * locale/programs/localedef.c: Likewise.
4527 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
4529 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
4530 Jens Moeller <jens.moeller@waii.com>.
4532 2000-06-24 Ulrich Drepper <drepper@redhat.com>
4534 * locale/programs/ld-name.c (name_finish): Add missing format
4535 specifier to test for name_fmt.
4537 * locale/programs/ld-address.c (iso639): Correct length of string
4539 (iso3166): Likewise.
4541 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
4543 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
4546 * elf/elf.h (NT_PRFPXREG): Define.
4548 2000-06-23 Ulrich Drepper <drepper@redhat.com>
4550 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
4551 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
4553 2000-06-23 Andreas Schwab <schwab@suse.de>
4555 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
4558 2000-06-23 Andreas Jaeger <aj@suse.de>
4560 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
4562 * io/test-stat.c: Add copyright header, mention Maciej.
4564 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
4565 SYS_mincore, SYS_madvise): Added.
4567 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
4570 2000-06-22 Ulrich Drepper <drepper@redhat.com>
4572 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
4573 (CFLAGS-tst_putwc.c): New definition.
4574 * libio/tst_getwc.c: New file.
4575 * libio/tst_getwc.input: New file.
4576 * libio/tst_putwc.c: New file.
4578 * include/string.h: Add prototype for __strdup.
4580 2000-06-22 Greg McGary <greg@mcgary.org>
4582 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
4583 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
4586 2000-06-23 Jes Sorensen <jes@linuxcare.com>
4588 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
4590 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4592 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
4594 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4596 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
4597 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
4599 2000-06-22 Ulrich Drepper <drepper@redhat.com>
4601 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
4602 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
4604 * sysdeps/mach/hurd/bits/stat.h: Likewise.
4605 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4606 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4607 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4608 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
4609 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
4610 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4611 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4612 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4613 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4614 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
4615 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4616 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
4617 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
4620 2000-06-22 Andreas Jaeger <aj@suse.de>
4622 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
4625 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
4627 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
4629 2000-06-21 Ulrich Drepper <drepper@redhat.com>
4631 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
4634 2000-06-21 Greg McGary <greg@mcgary.org>
4636 * Makerules (elide-routines.*, elide-bp-thunks):
4637 Define unconditionally.
4639 2000-06-21 Jes Sorensen <jes@linuxcare.com>
4641 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
4643 2000-06-21 Andreas Jaeger <aj@suse.de>
4645 * io/Makefile (tests): Add test-stat.
4646 (CFLAGS-test-stat.c): New.
4648 * io/test-stat.c: New file from Maciej W. Rozycki
4649 <macro@ds2.pg.gda.pl>.
4651 2000-06-21 Jes Sorensen <jes@linuxcare.com>
4653 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
4654 in __rlimit_resource to make them match the kernel order.
4655 rlim_t is always 64 bit, use __rlim64_t to declare it
4658 2000-05-04 Jes Sorensen <jes@linuxcare.com>
4660 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
4661 RLIM_INFINITY before defining it to avoid clash with kernel header
4663 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4665 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
4667 2000-06-21 Ulrich Drepper <drepper@redhat.com>
4669 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
4671 2000-06-21 Andreas Jaeger <aj@suse.de>
4673 * stdio-common/temptest.c: Include <stdlib.h>.
4674 * stdio-common/tst-fileno.c: Likewise.
4675 * stdio-common/scanf4.c: Likewise.
4676 * stdio-common/scanf5.c: Likewise.
4677 * time/clocktest.c: Likewise.
4678 * posix/test-vfork.c: Likewise.
4679 * posix/globtest.c: Likewise.
4680 * io/test-utime.c: Likewise.
4681 * wctype/test_wcfuncs.c: Likewise.
4682 * crypt/cert.c: Likewise.
4684 * stdio-common/tst-printfsz.c: Include <string.h>.
4685 * libio/tst_swscanf.c: Likewise.
4686 * libio/tst_wscanf.c: Likewise.
4687 * posix/runtests.c: Likewise.
4688 * posix/tst-getaddrinfo.c: Likewise.
4689 * posix/wordexp-test.c: Likewise.
4690 * misc/tst-efgcvt.c: Likewise.
4692 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
4693 * nss/test-netdb.c: Likewise.
4695 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
4696 supported kernel for MIPS.
4698 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
4699 * rt/aio_suspend.c: Likewise.
4701 2000-06-20 Ulrich Drepper <drepper@redhat.com>
4703 * math/libm-test.inc: Include <string.h>.
4705 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4707 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
4709 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4711 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
4712 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
4714 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
4716 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
4718 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4720 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
4722 2000-06-20 Ulrich Drepper <drepper@redhat.com>
4724 * locale/programs/ld-collate.c (insert_value): Now take string and
4725 length instead of struct token* parameter. Adjust use of token.
4726 (handle_ellipsis): Likewise.
4727 (collate_read): Allow <Uxxxx> names and transform them into names
4728 to be passed to insert_value and handle_ellipsis.
4730 * locale/programs/ld-ctype.c (uninames): New array with names of
4731 digits in <Uxxxxxxxx> format.
4732 (ctype_finish): Correct search for space character value. Likewise
4733 for default outdigits values.
4735 2000-06-20 Greg McGary <greg@mcgary.org>
4737 * Makerules (objects): Add BP thunks.
4739 2000-06-20 Ulrich Drepper <drepper@redhat.com>
4741 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
4742 in width definitions.
4744 2000-06-20 Andreas Jaeger <aj@suse.de>
4746 * sysdeps/mips/fpu/libm-test-ulps: New file.
4748 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
4751 * sysdeps/mips/fpu/feholdexcpt.c: New file.
4753 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
4755 2000-06-19 Ulrich Drepper <drepper@redhat.com>
4757 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
4758 change in gconv_builtin.h.
4760 * malloc/Makefile: Change all references to memprof into memusage.
4761 * malloc/memprof.c: Rename to...
4762 * malloc/memusage.c: ...this. New file.
4763 * malloc/memprof.sh: Rename to...
4764 * malloc/memusage.sh: ...this. New file.
4765 * malloc/memprofstat.c: Rename to...
4766 * malloc/memusagestat.c: ...this. New file.
4767 * sysdeps/alpha/memprof.h: Rename to..
4768 * sysdeps/alpha/memusage.h: ...this. New file.
4769 * sysdeps/arm/memprof.h: Rename to..
4770 * sysdeps/arm/memusage.h: ...this. New file.
4771 * sysdeps/generic/memprof.h: Rename to..
4772 * sysdeps/generic/memusage.h: ...this. New file.
4773 * sysdeps/i386/memprof.h: Rename to..
4774 * sysdeps/i386/memusage.h: ...this. New file.
4775 * sysdeps/ia64/memprof.h: Rename to..
4776 * sysdeps/ia64/memusage.h: ...this. New file.
4777 * sysdeps/m68k/memprof.h: Rename to..
4778 * sysdeps/m68k/memusage.h: ...this. New file.
4779 * sysdeps/mips/memprof.h: Rename to..
4780 * sysdeps/mips/memusage.h: ...this. New file.
4781 * sysdeps/powerpc/memprof.h: Rename to..
4782 * sysdeps/powerpc/memusage.h: ...this. New file.
4783 * sysdeps/sparc/memprof.h: Rename to..
4784 * sysdeps/sparc/memusage.h: ...this. New file.
4785 * sysdeps/sh/memprof.h: Rename to..
4786 * sysdeps/sh/memusage.h: ...this. New file.
4788 * elf/sprof.c (print_version): Update year.
4790 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
4791 table entry values. Use D_PTR.
4792 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
4793 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
4795 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4797 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
4798 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
4799 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
4800 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
4802 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
4806 2000-06-16 Jes Sorensen <jes@linuxcare.com>
4808 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
4809 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
4810 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
4812 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
4814 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
4817 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
4818 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
4820 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
4823 2000-06-15 Jes Sorensen <jes@linuxcare.com>
4825 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
4827 2000-06-08 Jes Sorensen <jes@linuxcare.com>
4829 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
4831 2000-06-19 Ulrich Drepper <drepper@redhat.com>
4833 * iconv/gconv_int.h (strict gconv_module): Remove all members
4834 associated with regular expressions. Use a simple string as the
4836 * iconv/gconv_db.c: Remove code handling regular expressions.
4837 * iconv/gconv_conf.c: Likewise.
4838 * iconv/iconv_prog.c: Likewise.
4839 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
4841 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
4842 General namespace cleanup.
4843 (struct __gconv_trans_data): Add next field.
4844 (struct __gconv_step_data): Make __trans a pointer.
4845 * iconv/gconv_conf.c: Split out code to find gconv directories from
4846 __gconv_read_conf in new functions.
4847 * iconv/gconv_int.h: Define new data structure and declare new
4848 functions for handling of gconv directory list.
4849 * iconv/gconv_open.c: Allow more than one error handling step being
4850 used. Call function to load error handling module if it is none
4851 of the builtin transformations.
4852 * iconv/gconv_close.c: Add code to free transliteration data.
4853 * iconv/gconv_trans.c: Add functions to load and unload modules
4854 implementing transliteration etc.
4855 * iconv/skeleton.c: Call all context functions now that more than
4856 one module is allowed.
4857 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
4858 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
4859 where the full error handling using transliteration is needed.
4860 * iconvdata/8bit-gap.c: Likewise.
4861 * iconvdata/8bit-generic.c: Likewise.
4862 * iconvdata/ansi_x3.110.c: Likewise.
4863 * iconvdata/big5.c: Likewise.
4864 * iconvdata/big5hkscs.c: Likewise.
4865 * iconvdata/euc-cn.c: Likewise.
4866 * iconvdata/euc-jp.c: Likewise.
4867 * iconvdata/euc-kr.c: Likewise.
4868 * iconvdata/euc-tw.c: Likewise.
4869 * iconvdata/gbgbk.c: Likewise.
4870 * iconvdata/gbk.c: Likewise.
4871 * iconvdata/iso-2022-cn.c: Likewise.
4872 * iconvdata/iso-2022-jp.c: Likewise.
4873 * iconvdata/iso-2022-kr.c: Likewise.
4874 * iconvdata/iso646.c: Likewise.
4875 * iconvdata/iso8859-1.c: Likewise.
4876 * iconvdata/iso_6937-2.c: Likewise.
4877 * iconvdata/iso_6937.c: Likewise.
4878 * iconvdata/johab.c: Likewise.
4879 * iconvdata/sjis.c: Likewise.
4880 * iconvdata/t.61.c: Likewise.
4881 * iconvdata/uhc.c: Likewise.
4882 * iconvdata/unicode.c: Likewise.
4883 * iconvdata/utf-16.c: Likewise.
4884 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
4885 structure correctly after last change.
4886 * wcsmbs/btowc.c: Likewise.
4887 * wcsmbs/mbrtowc.c: Likewise.
4888 * wcsmbs/mbsnrtowcs.c: Likewise.
4889 * wcsmbs/mbsrtowcs.c: Likewise.
4890 * wcsmbs/wcrtomb.c: Likewise.
4891 * wcsmbs/wcsnrtombs.c: Likewise.
4892 * wcsmbs/wcsrtombs.c: Likewise.
4893 * wcsmbs/wctob.c: Likewise.
4895 * localedata/Makefile: Set -Wno-format for some files since gcc does
4896 not know all the format specifiers.
4898 2000-06-18 Ulrich Drepper <drepper@redhat.com>
4900 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
4902 * locale/lc-time.c (_nl_init_era_entries): Likewise.
4904 2000-06-18 Andreas Jaeger <aj@suse.de>
4906 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
4907 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4909 2000-06-17 Ulrich Drepper <drepper@redhat.com>
4911 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
4913 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
4915 * locale/programs/ld-ctype.c (ctype_output): Really write out
4916 mboutdigits information.
4917 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
4918 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
4919 * localedata/tests/trans.def: Add outdigit information.
4921 * localedata/tst-mbswcs3.c: Remove comment.
4923 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
4924 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
4925 * libio/tst_wprintf.c (main): Add test for I flag.
4927 * iconv/gconv_trans.c: Implement handling if translit_ignore.
4928 * locale/langinfo.h: Add entries for translit_ignore information.
4929 * locale/categories.def: Add entries for new LC_CTYPE elements.
4930 * locale/C-ctype.c: Add initializers for new fields. Use NULL
4931 pointer instead of "" where possible.
4932 * locale/programs/ld-ctype.c: Write out translit_ignore information.
4933 * intl/Depend: Add localedata.
4934 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
4935 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
4937 2000-06-16 Ulrich Drepper <drepper@redhat.com>
4939 * locale/langinfo.h: Add entries for default_missing information.
4940 * locale/C-ctype.c: Add initializers for new fields.
4941 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
4943 * locale/categories.h: Add entries for all LC_CTYPE values.
4944 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
4947 * localedata/tst-trans.c: Write out an error message if class is
4950 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
4951 * iconv/gconv_open.c: Remove error handling specification from `from'
4953 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
4954 new parameter to always enable transliteration.
4955 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
4957 (struct locale_data): Add new members use_translit and options.
4958 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
4959 character set name contained modifier TRANSLIT.
4960 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
4962 (_nl_unload_locale): Free options string if necessary.
4963 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
4964 the locale names suggested this.
4965 * locale/C-address.c: Add two new initialilzers to adjust data
4966 structure for new format.
4967 * locale/C-collate.c: Likewise.
4968 * locale/C-ctype.c: Likewise.
4969 * locale/C-identification.c: Likewise.
4970 * locale/C-measurement.c: Likewise.
4971 * locale/C-messages.c: Likewise.
4972 * locale/C-monetary.c: Likewise.
4973 * locale/C-name.c: Likewise.
4974 * locale/C-numeric.c: Likewise.
4975 * locale/C-paper.c: Likewise.
4976 * locale/C-telephone.c: Likewise.
4977 * locale/C-time.c: Likewise.
4979 * locale/setlocale.c: Add some more __builtin_expect.
4981 2000-06-15 Ulrich Drepper <drepper@redhat.com>
4983 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
4985 (__gconv_init_fct): Remove two parameters.
4986 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
4987 gconv_transliterate. Remove two parameters.
4988 Change prototypes of builtin functions according to __gconv_fct change.
4989 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
4990 != NULL only during error handling. Stop in this case after the
4992 * iconv/gconv_trans.c: Replace with real implementation for
4993 __gconv_transliterate.
4994 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
4995 * iconv/gconv.c: Change calls to downstream functions once again.
4996 Use NULL for the fifth parameter instead of pointer to output buffer.
4997 * libio/iofwide.c: Likewise.
4998 * wcsmbs/btowc.c: Likewise.
4999 * wcsmbs/mbrtowc.c: Likewise.
5000 * wcsmbs/mbsnrtowcs.c: Likewise.
5001 * wcsmbs/mbsrtowcs.c: Likewise.
5002 * wcsmbs/wcrtomb.c: Likewise.
5003 * wcsmbs/wcsnrtombs.c: Likewise.
5004 * wcsmbs/wcsrtombs.c: Likewise.
5005 * wcsmbs/wctob.c: Likewise.
5006 * iconv/gconv_simple.c: Remove two parameters from error handling
5008 * iconvdata/8bit-gap.c: Likewise.
5009 * iconvdata/8bit-generic.c: Likewise.
5010 * iconvdata/ansi_x3.110.c: Likewise.
5011 * iconvdata/big5.c: Likewise.
5012 * iconvdata/big5hkscs.c: Likewise.
5013 * iconvdata/euc-cn.c: Likewise.
5014 * iconvdata/euc-jp.c: Likewise.
5015 * iconvdata/euc-kr.c: Likewise.
5016 * iconvdata/euc-tw.c: Likewise.
5017 * iconvdata/gbgbk.c: Likewise.
5018 * iconvdata/gbk.c: Likewise.
5019 * iconvdata/iso-2022-cn.c: Likewise.
5020 * iconvdata/iso-2022-jp.c: Likewise.
5021 * iconvdata/iso-2022-kr.c: Likewise.
5022 * iconvdata/iso646.c: Likewise.
5023 * iconvdata/iso8859-1.c: Likewise.
5024 * iconvdata/iso_6937-2.c: Likewise.
5025 * iconvdata/iso_6937.c: Likewise.
5026 * iconvdata/johab.c: Likewise.
5027 * iconvdata/sjis.c: Likewise.
5028 * iconvdata/t.61.c: Likewise.
5029 * iconvdata/uhc.c: Likewise.
5030 * iconvdata/unicode.c: Likewise.
5031 * iconvdata/utf-16.c: Likewise.
5033 2000-06-15 Greg McGary <greg@mcgary.org>
5035 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
5036 of callnum assignment. Tolerate callnum expressions containing
5039 2000-06-14 Ulrich Drepper <drepper@redhat.com>
5041 * login/Makefile (utmpd): Remove rule to build utmpd.
5043 * csu/Versions: Move libgcc frame handling functions from here...
5044 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
5045 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
5046 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
5047 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
5048 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
5049 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
5051 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
5053 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
5055 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
5057 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5059 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
5061 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
5062 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
5063 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
5064 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
5066 2000-06-14 Jakub Jelinek <jakub@redhat.com>
5068 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
5069 defined, terminate quotes and read them after the comment char.
5070 * configure.in (HAVE_SECTION_QUOTES): Test whether
5071 __attribute__((section ("x"))) puts quotes around x or not.
5072 * config.h.in (HAVE_SECTION_QUOTES): Add.
5073 * configure: Rebuilt.
5075 2000-06-14 Andreas Jaeger <aj@suse.de>
5077 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
5078 depending on the configure option --sysconfdir.
5079 Closes PR libc/1762.
5080 Patch by Andreas Schwab <schwab@suse.de>.
5082 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
5084 Reported by Jim Pick <jim@jimpick.com>.
5086 2000-06-14 Ulrich Drepper <drepper@redhat.com>
5088 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
5089 crashing the application. Emit some simple error message.
5090 Reported by mju@panasas.com [PR libc/1769].
5092 2000-06-13 Ulrich Drepper <drepper@redhat.com>
5094 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
5096 * crypt/Makefile (distribute): Add md5.h.
5098 * Makefile (distribute): Add include/shlib-compat.h.
5100 * Make-dist: Search for tests also in sysdeps hierachy.
5102 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
5103 ufc.c, speeds.c, README.ufc-crypt, and Banner.
5105 * sysdeps/sparc/Subdirs: New file.
5107 * locale/Makefile (distribute): Add weightwc.h and
5108 programs/localedef.h.
5110 * time/Makefile (distribute): Add datemsk.
5112 * sysdeps/ia64/Dist: Add softpipe.h.
5114 * sysdeps/unix/sysv/aix/Dist: New file.
5116 * posix/setpgrp.c: Moved to...
5117 * sysdeps/generic/setpgrp.c: ...here. New file.
5118 * io/mknod.c: Moved to...
5119 * sysdeps/generic/mknod.c: ...here. New file.
5121 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
5123 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
5125 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
5127 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
5128 gprsave0.S, gprrest1.S, and gprrest0.S.
5130 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
5132 * posix/Makefile (routines): Add spawnattr_getsigmask,
5133 spawnattr_getschedpolicy, spawnattr_getschedparam,
5134 spawnattr_setsigmask, spawnattr_setschedpolicy, and
5135 spawnattr_setschedparam.
5136 * posix/Versions: Add posix_spawnattr_getschedpolicy,
5137 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
5138 posix_spawnattr_setschedparam.
5140 * posix/spawnattr_setschedparam.c: Fix typo.
5142 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
5145 * login/programs/utmpd.c: Removed.
5146 * login/programs/utmpd.h: Removed.
5147 * login/programs/utmpd-private.h: Removed.
5149 * Makefile (distribute): Add include/db_185.h and include/db.h.
5151 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
5154 * elf/Makefile (distribute): Add missing files.
5156 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
5157 * elf/eval.c: Moved to...
5158 * dlfcn/eval.c: ...here. New file.
5160 * Makefile (distribute): Also distribute ChangeLog.1?.
5162 * Make-dist (+tsrcs): Remove .args handling here as well.
5164 * rt/Makefile (tests): Add tst-timer.
5165 * sysdeps/generic/tst-timer.c: New file.
5167 * Makerules (sources): Don't add BP sources here.
5169 * login/Makefile (distribute): Remove xtmp.h.
5171 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
5172 is true. Reported by Bruno Haible <haible@ilog.fr>.
5174 2000-06-13 Andreas Jaeger <aj@suse.de>
5176 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
5177 Patch by Ralf Baechle <ralf@gnu.org>.
5179 2000-06-13 Ulrich Drepper <drepper@redhat.com>
5181 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
5182 for mincore syscall.
5184 * misc/sys/cdefs.h: Define __bounded and __unbounded if
5185 __BOUNDED_POINTERS__ is not defined.
5187 2000-06-07 Greg McGary <greg@mcgary.org>
5189 * sysdeps/generic/bp-sym.h: New file.
5190 * sysdeps/generic/bp-start.h: New file.
5191 * sysdeps/i386/elf/start.S: Designate BP symbols.
5192 * sysdeps/generic/libc-start.c: Wrap bounds around
5193 argv & envp and each of their string members.
5195 2000-06-07 Greg McGary <greg@mcgary.org>
5197 * sysdeps/unix/make-syscalls.sh: Add comments to
5198 output that aid debugging & comprehension.
5199 Map simple syscall signatures to number of args.
5200 Generate BP syscall thunk definitions.
5201 * sysdeps/generic/bp-thunks.h: New file.
5202 * sysdeps/unix/syscalls.list: Replace arg-count with
5203 simple return+arg signature.
5204 * sysdeps/unix/common/syscalls.list: Likewise.
5205 * sysdeps/unix/inet/syscalls.list: Likewise.
5206 * sysdeps/unix/mman/syscalls.list: Likewise.
5207 * sysdeps/unix/sysv/syscalls.list: Likewise.
5208 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5209 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5211 2000-06-07 Greg McGary <greg@mcgary.org>
5213 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
5214 for all files *.[cS].
5215 (CFLAGS-.ob): Don't optimize sibling calls.
5216 (bppfx): New variable.
5217 * Makerules (elide-bp-thunks): New variable.
5218 (elide-routines.*): Elide BP-* files for all but *.ob.
5219 (sources): Include bp-thunks.
5221 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5223 * iconv/gconv_simple.c: Remove unnecessary prototype.
5225 * iconv/gconv_trans.c: Pretty print.
5227 * elf/elf.h (R_SH_NUM): Got accidently dropped.
5229 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
5230 minimal kernel versions. Add information about IA-64 kernel.
5232 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
5233 specific minimal supported kernel versions to be specified.
5235 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
5236 step data structure.
5237 * wcsmbs/btowc.c: Likewise.
5238 * wcsmbs/mbrtowc.c: Likewise.
5239 * wcsmbs/mbsnrtowcs.c: Likewise.
5240 * wcsmbs/mbsrtowcs.c: Likewise.
5241 * wcsmbs/wcrtomb.c: Likewise.
5242 * wcsmbs/wcsnrtombs.c: Likewise.
5243 * wcsmbs/wcsrtombs.c: Likewise.
5244 * wcsmbs/wctob.c: Likewise.
5246 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
5247 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
5249 * shlib-versions: Earliest backward compatible version for SH is 2.2.
5251 * misc/sys/cdefs.h: Remove one more __P.
5253 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
5256 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
5257 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
5258 * sysdeps/sh/bits/setjmp.h: ...here. New file.
5260 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5261 Yutaka Niibe <gniibe@chroot.org>
5263 * configure.in: Add machine sh3, sh4.
5264 * elf/elf.h: Add SH specific declarations of relocations.
5265 * shlib-versions: Add sh*-*-linux* cases.
5267 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5269 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
5270 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
5271 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
5272 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
5273 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
5274 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
5276 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
5277 instead of KERNEL_MATH_EMULATION.
5278 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
5279 KERNEL_MATH_EMULATION.
5281 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
5282 * sysdeps/sh/sh3/dl-machine.h: Moved to...
5283 * sysdeps/sh/dl-machine.h: ...here. New file.
5284 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
5285 and include generic SH version.
5286 * sysdeps/sh/sh3/bits/endian.h: Move to...
5287 * sysdeps/sh/bits/endian.h: ...here. New file.
5288 * sysdeps/sh/sh4/bits/endian.h: Removed.
5289 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
5290 * sysdeps/sh/bits/huge_val.h: ...here. New file.
5291 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
5293 * include/libc-symbols.h (link_warning): Work around a change in
5294 GAS which warns about changing section attributes.
5295 Proposed by Nick Clifton <nickc@redhat.com>.
5297 2000-06-12 H.J. Lu <hjl@gnu.org>
5299 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
5301 2000-06-11 H.J. Lu <hjl@gnu.org>
5303 * sysdeps/i386/fpu/Versions: New file.
5305 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5307 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
5309 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
5312 2000-06-12 Jes Sorensen <jes@linuxcare.com>
5314 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
5315 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
5316 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
5318 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
5319 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
5320 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
5322 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5323 Yutaka Niibe <gniibe@chroot.org>
5325 * sysdeps/sh/Dist: New file.
5326 * sysdeps/sh/Implies: New file.
5327 * sysdeps/sh/elf/initfini.c: New file.
5328 * sysdeps/sh/gmp-mparam.h: New file.
5329 * sysdeps/sh/init-first.c: New file.
5330 * sysdeps/sh/machine-gmon.h: New file.
5331 * sysdeps/sh/memcpy.S: New file.
5332 * sysdeps/sh/memprof.h: New file.
5333 * sysdeps/sh/memset.S: New file.
5334 * sysdeps/sh/sh3/__longjmp.S: New file.
5335 * sysdeps/sh/sh3/bits/endian.h: New file.
5336 * sysdeps/sh/sh3/bits/huge_val.h: New file.
5337 * sysdeps/sh/sh3/bits/setjmp.h: New file.
5338 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
5339 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
5340 * sysdeps/sh/sh3/dl-machine.h: New file.
5341 * sysdeps/sh/sh3/setjmp.S: New file.
5342 * sysdeps/sh/sh4/__longjmp.S: New file.
5343 * sysdeps/sh/sh4/bits/endian.h: New file.
5344 * sysdeps/sh/sh4/bits/huge_val.h: New file.
5345 * sysdeps/sh/sh4/bits/setjmp.h: New file.
5346 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
5347 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
5348 * sysdeps/sh/sh4/dl-machine.h: New file.
5349 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
5350 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
5351 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
5352 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
5353 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
5354 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
5355 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
5356 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
5357 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
5358 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
5359 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
5360 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
5361 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
5362 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
5363 * sysdeps/sh/sh4/setjmp.S: New file.
5364 * sysdeps/sh/elf/start.S: New file.
5365 * sysdeps/sh/sys/ucontext.h: New file.
5366 * sysdeps/sh/strlen.S: New file.
5367 * sysdeps/sh/sysdep.h: New file.
5368 * sysdeps/unix/sh/sysdep.S: New file.
5369 * sysdeps/unix/sh/sysdep.h: New file.
5370 * sysdeps/unix/sysv/linux/sh/Dist: New file.
5371 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
5372 * sysdeps/unix/sysv/linux/sh/Versions: New file.
5373 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
5374 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
5375 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
5376 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
5377 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
5378 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
5379 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
5380 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
5381 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
5382 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
5383 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
5384 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
5385 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
5386 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
5387 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
5388 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
5389 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
5390 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
5391 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
5392 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
5393 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
5394 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
5395 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
5396 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
5397 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
5398 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
5399 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
5400 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
5401 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
5402 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
5403 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
5404 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
5405 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
5406 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
5407 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
5408 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
5409 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
5410 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
5411 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
5412 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
5413 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5414 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
5415 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
5416 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
5417 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
5418 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
5419 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
5421 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5423 * Rules (%.out): Define GCONV_PATH in the environment.
5424 * assert/Depend: New file.
5425 * iconvdata/Depend: New file.
5426 * intl/Depend: New file.
5427 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
5428 * intl/tst-gettext.sh: Likewise.
5429 * iconv/Makefile (routines): Add gconv_trans.
5430 * iconv/gconv_trans.c: New file.
5431 * iconv/gconv.h (struct __gconv_trans_data): New type.
5432 (__gconv_fct): New parameter with starting position in output buffer.
5433 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
5434 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
5435 (struct __gconv_step): Add new member __trans.
5436 * iconv/gconv_int.h: Pretty print prototypes.
5437 (gconv_transliterate): New prototype.
5438 (__BUILTIN_TRANS): Update for new conversion function interface.
5439 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
5440 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
5441 in names, find appropriate function, and install in the conversion
5442 steps it can be used.
5443 * iconv/skeleton.c: Add additional parameter for beginning of output
5444 buffer. Change calls of downstream functions.
5445 * iconv/loop.c: Change loop function interface completely. Pass in
5446 step and step_data structure. Remove optimization for BODY with
5447 NEED_LENGTH_TEST == 0.
5448 * iconv/gconv_simple.c: Update interfaces of functions. Insert
5449 appropriate error handling code to use transliteration steps. Remove
5450 optimization for BODY with NEED_LENGTH_TEST == 0.
5451 * iconvdata/8bit-gap.c: Likewise.
5452 * iconvdata/8bit-generic.c: Likewise.
5453 * iconvdata/ansi_x3.110.c: Likewise.
5454 * iconvdata/big5.c: Likewise.
5455 * iconvdata/big5hkscs.c: Likewise.
5456 * iconvdata/euc-cn.c: Likewise.
5457 * iconvdata/euc-jp.c: Likewise.
5458 * iconvdata/euc-kr.c: Likewise.
5459 * iconvdata/euc-tw.c: Likewise.
5460 * iconvdata/gbgbk.c: Likewise.
5461 * iconvdata/gbk.c: Likewise.
5462 * iconvdata/iso-2022-cn.c: Likewise.
5463 * iconvdata/iso-2022-jp.c: Likewise.
5464 * iconvdata/iso-2022-kr.c: Likewise.
5465 * iconvdata/iso646.c: Likewise.
5466 * iconvdata/iso8859-1.c: Likewise.
5467 * iconvdata/iso_6937-2.c: Likewise.
5468 * iconvdata/iso_6937.c: Likewise.
5469 * iconvdata/johab.c: Likewise.
5470 * iconvdata/sjis.c: Likewise.
5471 * iconvdata/t.61.c: Likewise.
5472 * iconvdata/uhc.c: Likewise.
5473 * iconvdata/unicode.c: Likewise.
5474 * iconvdata/utf-16.c: Likewise.
5475 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
5477 * wcsmbs/btowc.c: Likewise.
5478 * wcsmbs/mbrtowc.c: Likewise.
5479 * wcsmbs/mbsnrtowcs.c: Likewise.
5480 * wcsmbs/mbsrtowcs.c: Likewise.
5481 * wcsmbs/wcrtomb.c: Likewise.
5482 * wcsmbs/wcsnrtombs.c: Likewise.
5483 * wcsmbs/wcsrtombs.c: Likewise.
5484 * wcsmbs/wctob.c: Likewise.
5486 2000-04-11 Geoff Keating <geoffk@cygnus.com>
5488 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
5489 other header files. Mention about 128-byte cache line sizes.
5490 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
5491 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
5492 for current calling sequence.
5493 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
5495 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
5496 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5498 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
5499 and setrlimit syscalls for backwards compatibility.
5501 2000-06-10 Ulrich Drepper <drepper@redhat.com>
5503 * iconv/skeleton.c: Rename converted written to correcter name
5505 * iconv/gconv.c: Rename converted variable to correcter name
5507 * iconv/gconv_int.h: Likewise.
5508 * iconv/gconv_simple.c: Likewise.
5509 * iconv/iconv.c: Likewise.
5510 * iconv/loop.c: Likewise.
5511 * iconvdata/8bit-gap.c: Likewise.
5512 * iconvdata/8bit-generic.c: Likewise.
5513 * iconvdata/ansi_x3.110.c: Likewise.
5514 * iconvdata/big5.c: Likewise.
5515 * iconvdata/big5hkscs.c: Likewise.
5516 * iconvdata/euc-cn.c: Likewise.
5517 * iconvdata/euc-jp.c: Likewise.
5518 * iconvdata/euc-kr.c: Likewise.
5519 * iconvdata/gbgbk.c: Likewise.
5520 * iconvdata/gbk.c: Likewise.
5521 * iconvdata/iso-2022-cn.c: Likewise.
5522 * iconvdata/iso-2022-jp.c: Likewise.
5523 * iconvdata/iso-2022-kr.c: Likewise.
5524 * iconvdata/iso646.c: Likewise.
5525 * iconvdata/iso8859-1.c: Likewise.
5526 * iconvdata/iso_6937-2.c: Likewise.
5527 * iconvdata/iso_6937.c: Likewise.
5528 * iconvdata/johab.c: Likewise.
5529 * iconvdata/sjis.c: Likewise.
5530 * iconvdata/t.61.c: Likewise.
5531 * iconvdata/uhc.c: Likewise.
5532 * iconvdata/unicode.c: Likewise.
5533 * iconvdata/utf-16.c: Likewise.
5535 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
5536 __cmsg_data field with __extension__.
5538 2000-06-10 David Mosberger <davidm@hpl.hp.com>
5540 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
5542 2000-06-10 Ulrich Drepper <drepper@redhat.com>
5544 * iconv/gconv_simple.c: Fix various small bugs in several
5547 * iconv/loop.c: Fix comment.
5549 2000-06-10 Jakub Jelinek <jakub@redhat.com>
5551 * elf/link.h: Remove libc internal declarations.
5552 * include/link.h: Move them here.
5554 2000-06-09 Ulrich Drepper <drepper@redhat.com>
5556 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
5557 Patch by Dan Pop <Dan.Pop@cern.ch>.
5559 Rewrite error message handling.
5560 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
5562 * elf/dl-error (struct catch): Add objname member.
5563 (_dl_signal_error): Take new parameter with object name. When
5564 passing message on simply store object name and duplicate error
5566 (_dl_catch_error): Take new parameter. Store object name in the
5568 * include/dlfcn.h: Adjust _dl_catch_error prototype.
5569 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
5570 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
5571 (dlerror): Add objname to asprintf() parameters.
5572 (_dl_error_run): Pass new parameter to _dl_catch_error.
5573 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
5574 * elf/dl-open.c (_dl_open): Likewise.
5575 * elf/rtld.c (dl_main): Likewise.
5576 * elf/dl-close.c: Mark error messages with N_().
5577 * elf/dl-deps.c: Likewise.
5578 * elf/dl-error.c: Likewise.
5579 * elf/dl-load.c: Likewise.
5580 * elf/dl-open.c: Likewise.
5581 * elf/dl-reloc.c: Likewise.
5582 * elf/dl-support.c: Likewise.
5583 * elf/dl-sym.c: Likewise.
5584 * elf/dl-version.c: Likewise.
5585 * elf/dl-lookup.c: Add comments about problems with error message
5587 * elf/dl-reloc.c: Likewise.
5588 * elf/dl-version.c: Likewise.
5590 2000-06-09 H.J. Lu <hjl@gnu.org>
5592 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
5595 * dlfcn/Makefile (distribute): Add failtestmod.c.
5596 (tests): Add failtest.
5597 Add rules to build and run failtest.
5598 * dlfcn/failtest.c: New file.
5599 * dlfcn/failtestmod.c: New file.
5601 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
5603 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
5604 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
5605 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
5606 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
5607 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
5609 2000-06-09 Jes Sorensen <jes@linuxcare.com>
5611 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
5612 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
5614 2000-06-09 Jes Sorensen <jes@linuxcare.com>
5615 Ulrich Drepper <drepper@redhat.com>
5617 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
5618 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
5619 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
5620 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
5621 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
5622 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
5624 2000-06-09 Ulrich Drepper <drepper@redhat.com>
5626 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
5627 to find correct mount point despite wrong information from the
5630 2000-06-09 Jes Sorensen <jes@linuxcare.com>
5632 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
5633 the address of a symbol so function pointers are handled properly.
5635 2000-06-08 Ulrich Drepper <drepper@redhat.com>
5637 * sysdeps/i386/Dist: Add bp-asm.h.
5639 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
5640 defaultdir variable instead of "/var/shm" everywhere.
5641 (defaultdir): Change to /dev/shm/.
5643 2000-06-08 Greg McGary <greg@mcgary.org>
5645 * sysdeps/i386/bp-asm.h: New file.
5646 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
5647 offsets. Add ENTER/LEAVE macros for optionally maintaining
5648 frame-pointer chain when debugging.
5649 * sysdeps/i386/add_n.S: Likewise.
5650 * sysdeps/i386/addmul_1.S: Likewise.
5651 * sysdeps/i386/lshift.S: Likewise.
5652 * sysdeps/i386/memchr.S: Likewise.
5653 * sysdeps/i386/memcmp.S: Likewise.
5654 * sysdeps/i386/mul_1.S: Likewise.
5655 * sysdeps/i386/rawmemchr.S: Likewise.
5656 * sysdeps/i386/rshift.S: Likewise.
5657 * sysdeps/i386/stpcpy.S: Likewise.
5658 * sysdeps/i386/stpncpy.S: Likewise.
5659 * sysdeps/i386/strchr.S: Likewise.
5660 * sysdeps/i386/strchrnul.S: Likewise.
5661 * sysdeps/i386/strcspn.S: Likewise.
5662 * sysdeps/i386/strpbrk.S: Likewise.
5663 * sysdeps/i386/strrchr.S: Likewise.
5664 * sysdeps/i386/strspn.S: Likewise.
5665 * sysdeps/i386/strtok.S: Likewise.
5666 * sysdeps/i386/sub_n.S: Likewise.
5667 * sysdeps/i386/submul_1.S: Likewise.
5668 * sysdeps/i386/elf/setjmp.S: Likewise.
5669 * sysdeps/i386/i486/strcat.S: Likewise.
5670 * sysdeps/i386/i486/strlen.S: Likewise.
5671 * sysdeps/i386/i586/add_n.S: Likewise.
5672 * sysdeps/i386/i586/lshift.S: Likewise.
5673 * sysdeps/i386/i586/memcpy.S: Likewise.
5674 * sysdeps/i386/i586/memset.S: Likewise.
5675 * sysdeps/i386/i586/rshift.S: Likewise.
5676 * sysdeps/i386/i586/strchr.S: Likewise.
5677 * sysdeps/i386/i586/strcpy.S: Likewise.
5678 * sysdeps/i386/i586/strlen.S: Likewise.
5679 * sysdeps/i386/i586/sub_n.S: Likewise.
5680 * sysdeps/i386/i686/add_n.S: Likewise.
5681 * sysdeps/i386/i686/memcpy.S: Likewise.
5682 * sysdeps/i386/i686/mempcpy.S: Likewise.
5683 * sysdeps/i386/i686/memset.S: Likewise.
5684 * sysdeps/i386/i686/strcmp.S: Likewise.
5686 2000-06-08 Ulrich Drepper <drepper@redhat.com>
5688 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
5690 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
5691 256 and don't use OPEN_MAX.
5693 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
5694 use it instead of LINK_MAX.
5695 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
5697 2000-06-08 Andreas Jaeger <aj@suse.de>
5699 * libio/genops.c (_IO_list_lock): Only compile body if we're
5701 (_IO_list_unlock): Likewise.
5702 (_IO_list_resetlock): Likewise.
5704 2000-06-07 Ulrich Drepper <drepper@redhat.com>
5706 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
5707 unless user defined it.
5709 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
5710 if not defined by the user.
5712 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
5713 * libio/iofwrite.c (_IO_fwrite): Likewise.
5715 * time/time.h: Add missing __THROW for clock_getcpuclockid
5718 * elf/Makefile (distribute): Add dl-dtprocnum.h.
5719 * include/elf.h: Include also <dl-dtprocnum.h>.
5720 * elf/dl-deps.c: Likewise.
5721 * elf/dl-lookup.c: Likewise.
5722 * elf/dl-runtime.c: Likewise.
5723 * elf/dl-version.c: Likewise.
5724 * elf/do-rel.h: Likewise.
5725 * elf/dynamic-link.h: Likewise.
5726 * elf/link.h: Likewise.
5727 * elf/rtld.c: Likewise.
5728 * sysdeps/generic/dl-dtprocnum.h: New file.
5729 * sysdeps/ia64/dl-dtprocnum.h: New file.
5730 * sysdeps/mips/dl-dtprocnum.h: New file.
5731 * sysdeps/sparc/dl-dtprocnum.h: New file.
5733 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
5735 * elf/do-lookup.h: Add some __builtin_expect.
5737 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
5739 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
5740 (_dl_dynamic_weak): New variable.
5741 * elf/dl-support.c: Likewise.
5742 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
5743 * elf/do-lookup.h: If we find a weak definition treat it like a
5744 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
5745 case treat it like before.
5747 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
5749 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
5751 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
5752 using l_map_start and l_map_end.
5754 * elf/dl-version.c: Add __builtin_expect in many places.
5756 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
5759 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
5761 Lock for stdio stream list becomes global, for use in LinuxThreads.
5763 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
5764 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
5765 _IO_list_resetlock): New interface for iterating global list of
5766 streams without accessing the _IO_list_all global variable,
5767 and for manipulating the lock which protects this list.
5768 * libio/libioP.h: Likewise.
5769 * libio/Version: Add entries for the new functions.
5771 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
5772 pointer to _IO_FILE.
5774 2000-06-07 Ulrich Drepper <drepper@redhat.com>
5776 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
5777 BIT() must actually be BITw().
5779 * locale/programs/ld-ctype.c: Handle SP and space consistently.
5781 * locale/programs/charmap.c: Allow string arguments for
5782 code_set_name and repertoiremap.
5784 2000-06-07 Andreas Jaeger <aj@suse.de>
5786 * elf/Makefile: Build ldconfig only when building shared libraries.
5788 2000-06-07 Jakub Jelinek <jakub@redhat.com>
5790 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
5792 (fdimf, __fdim, fdim): Likewise.
5794 2000-06-07 Ulrich Drepper <drepper@redhat.com>
5796 * locale/findlocale.c: Add __builtin_expect in many places.
5797 * locale/loadlocale.c: Likewise.
5799 2000-06-06 Greg McGary <greg@mcgary.org>
5801 * sysdeps/mips/elf/start.S: Trim redundant code.
5803 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
5804 Use C comments throughout. Line up operands column with tabs.
5805 * sysdeps/powerpc/strchr.S: Likewise.
5806 * sysdeps/powerpc/strcmp.S: Likewise.
5807 * sysdeps/powerpc/strcpy.S: Likewise.
5808 * sysdeps/powerpc/strlen.S: Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
5811 Get low part of &__curbrk with @l.
5813 2000-06-06 Ulrich Drepper <drepper@redhat.com>
5815 * iconvdata/utf-16.c: Add __builtin_expect in many places.
5816 * iconvdata/unicode.c: Likewise.
5817 * iconvdata/uhc.c: Likewise.
5818 * iconvdata/t.61.c: Likewise.
5819 * iconvdata/sjis.c: Likewise.
5820 * iconvdata/johab.c: Likewise.
5821 * iconvdata/iso_6937.c: Likewise.
5822 * iconvdata/iso_6937-2.c: Likewise.
5823 * iconvdata/iso8859-1.c: Likewise.
5824 * iconvdata/iso646.c: Likewise.
5825 * iconvdata/iso-2022-kr.c: Likewise.
5826 * iconvdata/iso-2022-jp.c: Likewise.
5827 * iconvdata/iso-2022-cn.c: Likewise.
5828 * iconvdata/gbgbk.c: Likewise.
5829 * iconvdata/gbk.c: Likewise.
5830 * iconvdata/euc-kr.c: Likewise.
5831 * iconvdata/euc-jp.c: Likewise.
5832 * iconvdata/euc-cn.c: Likewise.
5834 2000-06-05 Ulrich Drepper <drepper@redhat.com>
5836 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
5837 * iconvdata/big5.c: Likewise.
5838 * iconvdata/ansi_x3.110.c: Likewise.
5839 * iconvdata/8bit-generic.c: Likewise.
5840 * iconvdata/8bit-gap.c: Likewise.
5841 * iconv/loop.c: Likewise.
5842 * iconv/gconv_db.c: Likewise.
5843 * iconv/gconv_dl.c: Likewise.
5844 * iconv/gconv_simple.c: Likewise.
5845 * iconv/skeleton.c: Likewise.
5847 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
5848 (struct __gconv_step_data): Rename __is_last to __flags.
5849 * iconv/gconv_close.c: Change all uses of __is_last.
5850 * iconv/skeleton.c: Likewise.
5851 * iconvdata/iso-2022-cn.c: Likewise.
5852 * iconvdata/iso-2022-jp.c: Likewise.
5853 * iconvdata/iso-2022-kr.c: Likewise.
5854 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
5855 Recognize IGNORE error handling, set flag, and remove from name.
5856 * iconv/loop.c (ignore_errors_p): Define.
5857 Add flags parameter to both functions.
5858 * iconv/skeleton.c: Pass flags to all conversion functions.
5859 * iconv/gconv_simple.c: Add flags parameter to all functions.
5860 Don't return error for invald error if ignore flag is set.
5861 (ucs4_internal_loop_single): Add missing pointer increment.
5862 (internal_ucs4le_loop_single): Likewise.
5863 * iconv/iconv_prog.c: Implement handling of -c parameter.
5864 * iconvdata/8bit-gap.c: Don't return error for invald error if
5866 * iconvdata/8bit-generic.c: Likewise.
5867 * iconvdata/ansi_x3.110.c: Likewise.
5868 * iconvdata/big5.c: Likewise.
5869 * iconvdata/big5hkscs.c: Likewise.
5870 * iconvdata/euc-cn.c: Likewise.
5871 * iconvdata/euc-jp.c: Likewise.
5872 * iconvdata/euc-kr.c: Likewise.
5873 * iconvdata/gbgbk.c: Likewise.
5874 * iconvdata/gbk.c: Likewise.
5875 * iconvdata/iso-2022-cn.c: Likewise.
5876 * iconvdata/iso-2022-jp.c: Likewise.
5877 * iconvdata/iso-2022-kr.c: Likewise.
5878 * iconvdata/iso646.c: Likewise.
5879 * iconvdata/iso8859-1.c: Likewise.
5880 * iconvdata/iso_6937-2.c: Likewise.
5881 * iconvdata/iso_6937.c: Likewise.
5882 * iconvdata/johab.c: Likewise.
5883 * iconvdata/sjis.c: Likewise.
5884 * iconvdata/t.61.c: Likewise.
5885 * iconvdata/uhc.c: Likewise.
5886 * iconvdata/unicode.c: Likewise.
5887 * iconvdata/utf-16.c: Likewise.
5888 * libio/fileops.c: Likewise.
5889 * libio/iofwide.c: Likewise.
5890 * wcsmbs/btowc.c: Likewise.
5891 * wcsmbs/mbrtowc.c: Likewise.
5892 * wcsmbs/mbsnrtowcs.c: Likewise.
5893 * wcsmbs/mbsrtowcs.c: Likewise.
5894 * wcsmbs/wcrtomb.c: Likewise.
5895 * wcsmbs/wcsnrtombs.c: Likewise.
5896 * wcsmbs/wcsrtombs.c: Likewise.
5897 * wcsmbs/wctob.c: Likewise.
5899 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
5902 2000-06-04 Ulrich Drepper <drepper@redhat.com>
5904 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
5905 counter for the object we are releasing, just decrement it.
5906 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
5908 2000-06-04 Jakub Jelinek <jakub@redhat.com>
5910 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
5913 2000-06-04 Ulrich Drepper <drepper@redhat.com>
5915 * iconvdata/big5hkscs.c: New file.
5916 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
5918 * iconvdata/gconv-modules: Add entry for new module.
5919 * iconvdata/Makefile (modules): Add BIG5HKSCS.
5920 (distribute): Add big5hkscs.c.
5922 2000-06-01 Jakub Jelinek <jakub@redhat.com>
5924 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
5925 inlines to match prototypes in mathcalls.h.
5926 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5927 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
5928 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
5929 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5931 2000-06-03 Ulrich Drepper <drepper@redhat.com>
5933 * elf/elf.h (SHT_SUNW_move): Define.
5935 * elf/elf.h: Add more Solaris compatiblity definitions.
5937 2000-06-03 Andreas Jaeger <aj@suse.de>
5939 * sysdeps/powerpc/dl-start.S: Close open comment.
5941 2000-06-03 Jakub Jelinek <jakub@redhat.com>
5943 * inet/Versions: Fix typo in rresvport_af export.
5945 2000-06-02 Ulrich Drepper <drepper@redhat.com>
5947 * math/tgmath.h: Pretty print.
5949 2000-06-02 Andreas Jaeger <aj@suse.de>
5951 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
5952 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5954 2000-06-02 Ulrich Drepper <drepper@redhat.com>
5956 * elf/rtld.c (process_envvars): Test for = after variable name.
5958 2000-06-01 Ulrich Drepper <drepper@redhat.com>
5960 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
5961 have extra call to __gmon_start__, use the pointer we already have.
5963 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
5966 * sysdeps/i386/elf/setjmp.S: Work around change is recent
5967 binutils. gas now emits a jump through the PLT instead of a
5968 relative jump if the jump target is an exported symbol.
5970 2000-05-31 Ulrich Drepper <drepper@redhat.com>
5972 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
5974 2000-05-31 Andreas Jaeger <aj@suse.de>
5976 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
5979 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
5980 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5982 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
5984 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5986 2000-05-30 Ulrich Drepper <drepper@redhat.com>
5988 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
5990 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
5991 * locale/localeconv.c: Make function versioned (with same definition).
5993 * elf/Makefile (modules-names): Strip before using it.
5995 2000-05-30 Andreas Jaeger <aj@suse.de>
5997 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
5998 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
5999 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
6000 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
6001 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
6002 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
6004 2000-05-29 Ulrich Drepper <drepper@redhat.com>
6006 * Makefile: Add GNU make magic.
6008 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
6010 * inet/rcmd.c: Remove __P. Remove unused variables.
6011 (iruserfopen): Make first parameter const.
6012 (ruserok_sa): Return result of ruserok2_sa.
6013 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
6014 * inet/rexec.c: Remove unused variables. Other small cleanups.
6015 * inet/ruserpass.c: Remove __P. Remove unused variables.
6016 (ruserpass): Check results of memory allocation.
6017 * include/netdb.h: Add prototype for ruserpass.
6019 2000-05-29 Andreas Jaeger <aj@suse.de>
6021 * elf/readlib.c (interpreters): Use LD_SO since this is supported
6024 2000-05-29 Jakub Jelinek <jakub@redhat.com>
6026 * inet/rcmd.c (rresvport_af): Use correct port number.
6028 2000-05-26 Andreas Schwab <schwab@suse.de>
6030 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
6031 entries in all-sonames.
6032 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
6033 preserving the old name if different for compatibility.
6035 2000-05-29 Ulrich Drepper <drepper@redhat.com>
6037 * posix/Makefile (tests): Add tst-spawn.
6038 (tst-spawn-ARGS): New variable.
6039 * posix/tst-spawn.c: New file.
6041 * posix/spawn_faction_addclose.c: Correctly account for new entry.
6042 * posix/spawn_faction_adddup2.c: Likewise.
6043 * posix/spawn_faction_addopen.c: Likewise.
6044 * posix/spawni.c: Correctly test for success of dup2 calls.
6046 * posix/tst-preadwrite.c: Check success of malloc call.
6048 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6050 * posix/Makefile (tests): Add tst-exec.
6051 (tst-exec-ARGS): New variable.
6052 * posix/tst-exec.c: New file.
6054 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
6056 2000-05-04 Andreas Jaeger <aj@suse.de>
6058 * string/string.h: Remove __strdup prototype, it's not needed in
6061 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6063 * posix/Makefile (tests): Add tst-fork.
6064 * posix/tst-fork.c: New file.
6066 * resolv/inet_pton.c: Loose __P.
6068 2000-05-21 Jakub Jelinek <jakub@redhat.com>
6070 * libio/libioP.h (_IO_CHECK_WIDE): Define.
6071 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
6072 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6073 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
6074 _IO_CHECK_WIDE fails.
6076 2000-05-28 Ulrich Drepper <drepper@redhat.com>
6078 * po/da.po: New file.
6080 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
6081 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
6083 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
6084 (Other iconv Implementations): Fix typo.
6085 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
6087 2000-05-27 Andreas Jaeger <aj@suse.de>
6089 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
6091 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
6092 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6093 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6094 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6095 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
6096 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
6098 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
6099 endianness to decide how to pass arguments.
6100 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6102 * elf/vismain.c: Use test-skeleton interface.
6103 (TEST_FUNCTION): New macro.
6104 (do_test): Renamed from main.
6106 2000-05-27 Ulrich Drepper <drepper@redhat.com>
6108 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
6109 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
6111 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
6112 handling of AI_V4MAPPED flag.
6114 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
6115 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
6116 perform lookup for T_A type and tell getanswer_r to convert the
6117 result with new argument.
6118 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
6119 Don't convert addresses from IPv4 to IPv6 here.
6120 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
6121 IPv6 is wanted. Allow qtype and type from reply to disagree if
6122 IPv4 mapping has to be done. Perform mappings if required by the
6123 caller and not if RES_USE_INET6 bit in _res.options is set.
6124 Add several __builtin_expect.
6126 2000-05-26 Ulrich Drepper <drepper@redhat.com>
6128 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
6130 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
6133 * posix/tst-preadwrite.c: Allow parallel execution of
6134 tst-preadwrite and tst-preadwrite64.
6136 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
6137 * posix/tst-truncate.c: New file.
6138 * posix/tst-truncate64.c: New file.
6140 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
6143 * posix/Makefile (tests): Add tst-preadwrite64.
6144 * posix/tst-preadwrite.c: Alloc file being used also for testing
6145 pread64 and pwrite64.
6146 * posix/tst-preadwrite64.c: New file.
6148 2000-05-26 Andreas Jaeger <aj@suse.de>
6150 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
6151 of arguments dependend on endianness.
6152 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6154 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
6156 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6157 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6158 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6159 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6161 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
6162 endianness to check how to pass argument.
6163 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6165 * elf/ldconfig.h: Update parameter list for process_elf_file.
6167 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
6168 Add parameter file_length and pass it ot process_elf*file.
6170 * sysdeps/generic/readelflib.c (check_ptr): New.
6171 (process_elf_file): Use check_ptr to check all accesses to the
6172 mmapped file. Add parameter file_length.
6174 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
6177 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
6178 Closes PR libc/1573, reported by Bradley White
6179 <bww@laurelnetworks.com>.
6181 2000-05-25 Ulrich Drepper <drepper@redhat.com>
6183 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
6184 __FAST_MATH__ is defined.
6186 2000-05-22 Andreas Jaeger <aj@suse.de>
6188 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
6189 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
6191 * manual/math.texi (FP Function Optimizations): Document gcc
6192 -ffast-math behaviour with mathinlines.
6194 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
6195 functions unless -ffast-math is given to gcc.
6197 2000-05-23 Jakub Jelinek <jakub@redhat.com>
6199 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
6200 __sincosl): Guard with __USE_GNU.
6202 2000-05-24 Ulrich Drepper <drepper@redhat.com>
6204 * csu/Makefile (routines): Add check_fds.
6205 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
6206 binaries. Add various __builtin_expect.
6207 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
6208 * sysdeps/generic/check_fds.c: ...here. New file.
6210 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
6211 binaries if file /etc/suid-debug is available.
6213 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
6214 and wcseqorder members.
6215 (struct locale_collate_t): Likewise.
6216 (collate_finish): Assign collation sequence value to each character.
6217 Create tables for output.
6218 (collate_output): Write out tables with collation sequence information.
6219 * locale/C-collate.c: Provide C locale data for collation sequence
6221 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
6222 _NL_COLLATE_COLLSEQWC.
6223 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
6224 _NL_COLLATE_COLLSEQWC.
6225 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
6226 include fnmatch_loop.c.
6227 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
6228 character is matched by range expression. Use collation sequence
6229 table. Outside glibc fall back on simple character value comparison.
6231 2000-05-24 Andreas Jaeger <aj@suse.de>
6233 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
6236 * intl/Makefile: Run gettext-test only if msgfmt is available.
6238 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
6239 Define it for newer kernels.
6241 2000-05-23 Ulrich Drepper <drepper@redhat.com>
6243 * elf/dl-sym.c: Minor cleanups.
6245 * configure.in: Add test for .protected.
6246 * config.make.in: Add have-protected variable.
6247 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
6248 (tests-vis-yes): Add vismain.
6249 (modules-names): Add $(modules-vis-$(have-protected)).
6250 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
6251 Add rules to generate and run vismain.
6252 * elf/vismain.c: New file.
6253 * elf/vismod1.c: New file.
6254 * elf/vismod2.c: New file.
6255 * elf/vismod3.c: New file.
6257 2000-05-23 Andreas Jaeger <aj@suse.de>
6259 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
6261 * manual/search.texi (Array Sort Function): Document that qsort is
6262 not necessarily in-place.
6264 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
6265 Closes PR libc/1731.
6267 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
6268 * dirent/scandir64.c: Likewise.
6269 * pwd/getpw.c: Likewise.
6270 * stdlib/bsearch.c (bsearch): Likewise.
6271 * stdlib/tst-strtoll.c: Likewise.
6272 * localedata/collate-test.c: Likewise.
6273 * localedata/xfrm-test.c: Likewise.
6274 * posix/bsd-getpgrp.c: Likewise.
6275 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6276 * sysdeps/generic/bits/siginfo.h: Likewise.
6277 * sysdeps/generic/bits/sockaddr.h: Likewise.
6278 * sysdeps/generic/sys/swap.h: Likewise.
6279 * sysdeps/generic/sys/sysinfo.h: Likewise.
6280 * sysdeps/generic/vfork.c: Likewise.
6281 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
6282 * sysdeps/mach/hurd/fdopen.c: Likewise.
6283 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
6284 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6285 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6286 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6287 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6288 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6289 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
6291 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
6292 * shadow/lckpwdf.c: Likewise.
6293 * stdlib/tst-strtol.c: Likewise.
6294 * sysdeps/generic/tcsetattr.c: Likewise.
6295 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6296 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6298 2000-05-22 Jakub Jelinek <jakub@redhat.com>
6300 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
6301 free it and set to (void *) -1.
6303 2000-05-22 Jakub Jelinek <jakub@redhat.com>
6305 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
6306 not the second character in the range.
6307 * stdio-common/tstscanf.c (main): Add testcase for the above.
6308 Reported by jik@kamens.brookline.ma.us.
6310 2000-05-21 H.J. Lu <hjl@gnu.org>
6312 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
6313 with noexec and noplt parameter.
6314 (do_lookup): Likewise.
6316 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
6317 do_lookup. Support STV_PROTECTED.
6318 (_dl_lookup_symbol_skip): Likewise.
6319 (_dl_lookup_versioned_symbol): Likewise.
6320 (_dl_lookup_versioned_symbol_skip): Likewise.
6322 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
6324 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
6326 2000-05-21 Jakub Jelinek <jakub@redhat.com>
6328 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
6329 * sysdeps/i386/bits/huge_val.h: Likewise.
6330 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6331 * sysdeps/m68k/bits/huge_val.h: Likewise.
6332 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
6333 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
6335 2000-05-22 Andreas Jaeger <aj@suse.de>
6337 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
6340 2000-05-19 Andreas Jaeger <aj@suse.de>
6342 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6343 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
6344 breaks compilation without linuxthreads.
6346 2000-05-21 Ulrich Drepper <drepper@redhat.com>
6348 * sysdeps/ia64/memccpy.S: New file.
6349 * sysdeps/ia64/memchr.S: New file.
6350 * sysdeps/ia64/memcmp.S: New file.
6351 * sysdeps/ia64/memcpy.S: New file.
6352 * sysdeps/ia64/memmove.S: New file.
6353 * sysdeps/ia64/memset.S: New file.
6354 * sysdeps/ia64/strcat.S: New file.
6355 * sysdeps/ia64/strchr.S: New file.
6356 * sysdeps/ia64/strcmp.S: New file.
6357 * sysdeps/ia64/strcpy.S: New file.
6358 * sysdeps/ia64/strlen.S: New file.
6359 * sysdeps/ia64/strncmp.S: New file.
6360 * sysdeps/ia64/strncpy.S: New file.
6361 * sysdeps/ia64/softpipe.h: New file.
6362 Patches by Dan Pop <Dan.Pop@cern.ch>.
6364 * manual/memory.texi: Document memory handling functions (mlock,
6365 munlock, mlockall, munlockall, brk, and sbrk)
6366 * manual/time.texi: Document timespec and friends.
6367 * manual/conf.texi: Fix references.
6368 * manual/ctype.texi: Likewise.
6369 * manual/errno.texi: Likewise.
6370 * manual/intro.texi: Likewise.
6371 * manual/locale.texi: Likewise.
6372 * manual/sysinfo.texi: Likewise.
6373 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6375 2000-05-09 Jes Sorensen <jes@linuxcare.com>
6377 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
6378 * sysdeps/ia64/dl-lookupcfg.h: ...here.
6380 2000-05-21 Jakub Jelinek <jakub@redhat.com>
6382 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
6385 2000-05-21 Ulrich Drepper <drepper@redhat.com>
6387 * locale/locale.h (struct lconv): Add new elements from ISO C99.
6388 * locale/localeconv.c: Initialize new elements from ISO C99.
6389 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
6390 new standard elements.
6391 * locale/categories.def: Adjust accordingly.
6393 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
6394 * iconv/iconv.c: Likewise.
6395 * conform/data/iconv.h-data: Likewise.
6396 * iconv/iconv_prog.c (process_block): Remove const from second
6398 (main): Remove const from addr definition.
6399 * manual/charset.texi (Generic Conversion Interface): Remove from
6400 inbuf parameter of iconv.
6402 * intl/dcigettext.c: Fix typo in comment.
6404 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
6406 * resolv/res_libc.c (_res): Initialize _sock to -1.
6408 2000-05-18 Jakub Jelinek <jakub@redhat.com>
6410 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
6411 (fopencookie@@GLIBC_2.2): New.
6412 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
6413 (fopencookie@GLIBC_2.0): New.
6414 * libio/Versions: Add fopencookie to GLIBC_2.2.
6416 2000-05-18 Andreas Jaeger <aj@suse.de>
6418 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
6419 Closes PR libc/1731.
6421 * manual/arith.texi (Parsing of Integers): Fix typo.
6422 Closes PR libc/1744, reported by blp@gnu.org.
6424 2000-05-17 Jakub Jelinek <jakub@redhat.com>
6426 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
6427 __extension__ to hexadecimal floating constant notation.
6428 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
6430 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
6431 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
6433 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
6434 HUGE_VALL): Likewise.
6435 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
6436 HUGE_VALL): Likewise.
6437 (HUGE_VALL): Set to HUGE_VAL on sparc32.
6439 2000-05-17 Andreas Jaeger <aj@suse.de>
6441 * string/envz.h: Add pure attributes if possible.
6443 * string/argz.h: argz_count is a pure function.
6445 * string/strings.h: Add pure and const attributes if possible.
6447 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
6448 possibly searching through the whole memory.
6449 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
6451 2000-05-17 Jakub Jelinek <jakub@redhat.com>
6453 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
6455 (_dl_cache_check_flags): Likewise.
6456 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
6459 2000-05-17 Andreas Jaeger <aj@suse.de>
6461 * manual/creature.texi (Feature Test Macros): Remove paragraph
6462 since the description is wrong.
6463 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
6465 * scripts/config.sub: New version.
6466 * scripts/config.guess: Likewise.
6467 * manual/texinfo.tex: Likewise.
6469 * time/test_time.args: Removed.
6470 * time/Makefile (test_time-ARGS): Added contents here instead.
6472 * posix/tstgetopt.args: Removed.
6473 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
6475 * Rules: Allow arguments for test files to be specified in
6476 Makefile with testname-ARGS; remove rules with .args in it.
6478 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
6479 remove old bogus rule for opendir-tst1.args.
6481 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
6483 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
6484 into objdir. This allows a readonly sourcetree.
6485 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
6487 2000-05-16 Andreas Jaeger <aj@suse.de>,
6488 David Huggins-Daines <dhd@linuxcare.com>
6490 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
6491 cache_data in case of only new cache format correctly.
6493 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
6496 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
6497 struct cache_file_new.
6499 * elf/cache.c (save_cache): Fix str_offset if only new cache is
6502 * elf/cache.c (save_cache): Align struct new_file_cache.
6503 (print_cache): Likewise.
6505 2000-05-13 Jakub Jelinek <jakub@redhat.com>
6507 * elf/soinit.c (__libc_global_ctors): Move
6508 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
6509 * resolv/resolv.h (__res_state): Added __attribute__((const)).
6510 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
6511 variable, don't define it to __res_state call.
6513 2000-05-13 Andreas Jaeger <aj@suse.de>
6515 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
6517 (AF_PPPOX): Likewise.
6518 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
6519 (AF_PPPOX): Likewise.
6521 2000-05-12 Andreas Jaeger <aj@suse.de>
6523 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
6524 Reported by tmoestl@gmx.net, closes PR libc/1732.
6526 2000-05-11 Jan Hubicka <jh@suse.cz>
6528 * misc/sys/cdefs.h: Add support for pure attribute.
6530 * include/string.h: Add __attribute_pure__ to various functions.
6531 * string/string.h: Likewise.
6533 2000-05-10 Jakub Jelinek <jakub@redhat.com>
6535 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
6537 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6539 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
6541 2000-05-10 Jakub Jelinek <jakub@redhat.com>
6543 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
6544 at proper place. Compute the high nibble correctly.
6546 2000-05-09 Jakub Jelinek <jakub@redhat.com>
6548 * elf/ldconfig.c: Include elf.h.
6550 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
6551 (_dl_vsym): Likewise.
6552 Reported by Owen Taylor <otaylor@redhat.com>.
6554 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
6557 2000-05-08 Andreas Jaeger <aj@suse.de>
6559 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
6561 * intl/bindtextdom.c (set_binding_values): Add prototype.
6563 2000-05-08 Jakub Jelinek <jakub@redhat.com>
6565 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
6566 call to elf_machine_fixup_plt.
6567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6570 2000-05-08 Jakub Jelinek <jakub@redhat.com>
6572 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
6573 they are not dlclose'd from underneath us.
6575 2000-05-08 Andreas Schwab <schwab@suse.de>
6577 * posix/execle.c: Fix size parameter of memcpy.
6579 2000-05-08 Andreas Schwab <schwab@suse.de>
6581 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
6582 getpagesize syscall if available.
6584 2000-05-08 Andreas Jaeger <aj@suse.de>
6586 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
6589 2000-05-08 Jakub Jelinek <jakub@redhat.com>
6591 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
6592 sizeof(struct link_map *) chunks, not in bytes.
6594 2000-05-07 Ulrich Drepper <drepper@redhat.com>
6596 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
6597 only needed for locale.
6598 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
6599 It's only needed for catgets.
6600 Patches by Greg McGary <gkm@eng.ascend.com>.
6602 2000-05-07 Mark Kettenis <kettenis@gnu.org>
6604 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
6605 Remove duplicate <errno.h> include. Remove inclusion of
6606 <libintl.h> and "nsswitch.h".
6607 (set_cloexec_flag): New function, broken out of dbopen.
6608 (dbopen): Changed return type to `enum
6609 nss_status'. Mostly rewritten to make sure that we do not report
6610 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
6611 (internal_setent): Change return type to nss_status.
6612 Document, and make sure that the function
6613 behaves accordingly. Make dynamically loading the database
6614 library really thread-safe and return NSS_STATUS_UNAVAIL if it
6616 (db_cursor): Return ENOMEM is memory allocation failed. Remove
6618 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
6620 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
6621 c_get function member.
6622 * nss/nss_db/nss_db.h: Add and tweak some comments.
6623 (DBT): Move typedef before NSS_DBC typedef.
6624 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
6626 2000-05-07 H.J. Lu <hjl@gnu.org>
6628 * csu/initfini.c: Moved to ....
6629 * sysdeps/generic/initfini.c: ...here.
6631 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
6633 2000-05-07 Ulrich Drepper <drepper@redhat.com>
6635 * manual/resource.texi: Document POSIX scheduling functions.
6636 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6638 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
6639 reading anything. Reported by Andries.Brouwer@cwi.nl.
6641 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
6642 for x since promotion in comparison might leads to unexpected
6643 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
6645 * iconv/Makefile (tests): Add tst-iconv1.
6646 * iconv/tst-iconv1.c: New file.
6647 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
6648 empty input buffer over full output buffer.
6649 (ucs4_internal_loop): Likewise.
6650 (ucs4_internal_loop_unaligned): Likewise.
6651 (internal_ucs4le_loop): Likewise.
6652 (internal_ucs4le_loop_unaligned): Likewise.
6653 (ucs4le_internal_loop): Likewise.
6654 (ucs4le_internal_loop_unaligned): Likewise.
6655 Reported by yaoz@nih.gov.
6657 2000-05-06 Bruno Haible <haible@clisp.cons.org>
6659 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
6660 returned != __GCONV_OK, there is nothing to clean up.
6662 2000-05-06 Bruno Haible <haible@clisp.cons.org>
6664 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
6665 OUTPUT_CHARSET environment variables.
6667 2000-05-06 Andreas Jaeger <aj@suse.de>
6669 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
6670 (struct cache_file_new): New.
6671 (struct file_entry): New (moved from cache.c).
6672 (struct cache_file): New (moved from cache.c).
6674 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
6675 from _dl_load_cache_lookup.
6676 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
6677 the different cache formats.
6678 New variable cache_new for new format.
6680 * elf/ldconfig.h: Change according to changes in cache.c and
6681 ldconfig.c; remove cache_libcmp; add opt_format.
6683 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
6684 stuff that's defined in those headers.
6685 Add hwcap to struct lib_entry.
6686 (opt_format): New variable to select cache format.
6687 (options): Add format parameter.
6688 (is_hwcap): New function.
6689 (path_hwcap): New function.
6690 (parse_opt): Handle new format parameter.
6691 (search_dir): Handle hwcap, search also subdirectories with hwcap.
6693 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
6694 ldconfig is part of glibc.
6695 Include dl-cache.h and remove stuff that's defined there.
6696 (struct cache_entry): Add new member hwcap.
6697 (print_entry): Print hwcap, cleanup a bit.
6698 (print_cache): Print new and old formats.
6699 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
6700 (save_cache): Save new and old formats.
6701 (add_to_cache): Handle hwcap.
6703 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
6704 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
6705 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
6706 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
6707 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
6708 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
6710 2000-05-05 Bruno Haible <haible@clisp.cons.org>
6712 * intl/dcigettext.c (alignof): New macro.
6713 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
6714 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
6717 2000-05-05 Bruno Haible <haible@clisp.cons.org>
6719 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
6722 2000-05-06 Ulrich Drepper <drepper@redhat.com>
6724 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
6725 (mempcpy): Correct typo is parameter list.
6727 2000-05-06 Andreas Jaeger <aj@suse.de>
6729 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
6730 functions unless -ffast-math is given to gcc.
6732 2000-05-06 Ulrich Drepper <drepper@redhat.com>
6734 * po/ko.po: Update from translation team.
6736 2000-05-05 Ulrich Drepper <drepper@redhat.com>
6738 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
6739 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
6740 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
6741 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
6742 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
6743 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
6745 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
6746 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
6747 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
6749 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
6750 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
6751 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
6752 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
6754 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
6755 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
6757 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6759 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
6760 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
6762 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
6763 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
6765 * sysdeps/ia64/Implies: New file.
6766 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
6767 * sysdeps/ia64/Makefile: New file.
6768 * sysdeps/ia64/gmp-mparam.h: New file,
6770 * sysdeps/ia64/elf/start.S: New file.
6772 * sysdeps/ia64/bits/fenv.h: New file.
6774 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
6776 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
6778 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
6780 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
6781 ia64 has 64 bit .hash entries just as the Alpha.
6783 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6785 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
6787 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
6789 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
6790 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
6791 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
6792 * sysdeps/ia64/fpu/fegetenv.c: New file.
6793 * sysdeps/ia64/fpu/fegetexcept.c: New file.
6794 * sysdeps/ia64/fpu/fegetround.c: New file.
6795 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
6796 * sysdeps/ia64/fpu/fesetenv.c: New file.
6797 * sysdeps/ia64/fpu/fesetround.c: New file.
6798 * sysdeps/ia64/fpu/feupdateenv.c: New file.
6799 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
6800 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
6801 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
6802 * sysdeps/ia64/fpu/ftestexcept.c: New file.
6804 2000-05-05 Andreas Jaeger <aj@suse.de>
6806 * misc/tst-tsearch.c (main): Correct type for initstate argument.
6808 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6809 (_dl_string_hwcap): New, does nothing.
6811 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6812 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6813 (_dl_string_hwcap): New function, converts from string to hwcap
6815 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6816 (_DL_HWCAP_COUNT): New.
6817 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6818 (_dl_string_hwcap): New function, converts from string to hwcap
6820 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
6821 (_DL_HWCAP_COUNT): New.
6822 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6823 (_dl_string_hwcap): New function, converts from string to hwcap
6826 2000-05-05 Ulrich Drepper <drepper@redhat.com>
6828 * elf/Makefile (distribute): Add dl-lookupcfg.h.
6829 * sysdeps/ia64/Dist: New file.
6831 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
6832 parameter to mprotect and for variable assignments.
6834 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6836 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
6837 validity of map before dereferencing it.
6839 * elf/dl-reloc.c (RESOLVE_MAP): Define.
6841 2000-05-02 Jes Sorensen <jes@linuxcare.com>
6843 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
6844 lookup to the arguments to elf_machine_fixup_plt().
6846 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
6847 of the symbol being resolved to input argument list and make the
6848 function return the pointer to the reloc.
6850 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
6851 return valuie to lookup_t and return the value.
6852 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
6853 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
6854 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
6855 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
6856 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
6857 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
6859 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
6860 Make it an inline function returning value after calling
6861 __elf_machine_fixup_plt().
6863 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
6866 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
6867 obtain the symbol address.
6869 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
6870 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
6872 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
6873 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
6876 2000-04-28 Jes Sorensen <jes@linuxcare.com>
6878 * elf/dl-runtime.c (fixup): Use the portable macros to get the
6879 symbol address of an object.
6881 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
6882 the symbol address of an object.
6884 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
6885 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
6886 (_dl_lookup_symbol_skip): Likewise.
6887 (_dl_lookup_versioned_symbol): Likewise.
6888 (_dl_lookup_versioned_symbol_skip): Likewise.
6890 2000-04-27 Jes Sorensen <jes@linuxcare.com>
6892 * elf/rtld.c (_dl_start): Get the function pointer return address
6893 via _dl_start_address for architectures that need a function
6894 pointer descriptor rather than just a pointer (ia64).
6896 * sysdeps/generic/dl-lookupcfg.h: New file.
6897 * sysdeps/ia64/dl-lookupcfg.h: New file.
6898 * sysdeps/ia64/dl-machine.h: New file.
6899 * sysdeps/ia64/dl-symaddr.c: New file.
6900 * sysdeps/ia64/dl-fptr.c: New file.
6902 * elf/elf.h: Add IA-64 specific definitions.
6904 2000-05-04 Jakub Jelinek <jakub@redhat.com>
6906 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
6909 2000-05-04 Jakub Jelinek <jakub@redhat.com>
6911 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
6914 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6916 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
6917 symbol. Call _dl_init rather than the old way.
6919 2000-05-04 Ulrich Drepper <drepper@redhat.com>
6921 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
6922 test for pointer in range of DSO address space.
6924 2000-05-04 Andreas Jaeger <aj@suse.de>
6926 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
6928 2000-05-03 Ulrich Drepper <drepper@redhat.com>
6930 * locale/findlocale.c (_nl_find_locale): Add new parameter to
6931 calls of _nl_make_l10nflist.
6933 * libio/stdio.h: Make fseeko and ftello prototypes available is
6934 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
6936 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
6937 real unsetenv implementation from 1999-07-29 [PR libc/1714].
6939 2000-05-03 Bruno Haible <haible@clisp.cons.org>
6941 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
6942 before calling tfind.
6944 2000-03-05 Jakub Jelinek <jakub@redhat.com>
6946 * resolv/resolv.h (res_querydomain): Remove redefinition to
6947 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
6949 2000-05-03 Ulrich Drepper <drepper@redhat.com>
6951 * po/gl.po: Update from translation team.
6953 * manual/intro.texi (Program Basics): Change section title.
6954 * manual/process.texi: Fix reference.
6955 (Executing a File): Add reference exec in other section.
6956 * manual/signal.texi: Fix reference.
6957 * manual/startup.texi: Document syscall function.
6958 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6960 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6962 * intl/libintl.h (bind_textdomain_codeset): New declaration.
6963 * intl/bindtextdom.c (set_binding_values): New function.
6964 (bindtextdomain): Call it.
6965 (bind_textdomain_codeset): New function.
6966 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
6967 (free_mem): Free each binding's codeset.
6968 * intl/gettextP.h (struct binding): Add codeset field.
6969 (_nl_find_domain): Add domainbinding argument.
6970 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
6971 Pass it to _nl_make_l10nflist.
6972 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
6973 (_nl_make_l10nflist): Add domainbinding argument.
6974 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
6975 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
6976 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
6978 * manual/message.texi: New node "Charset conversion in gettext".
6980 2000-04-30 Bruno Haible <haible@clisp.cons.org>
6982 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
6983 appropriate. Handle possible __read error.
6985 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6987 * intl/gettextP.h (__builtin_expect): Define as empty if not a
6989 * intl/loadinfo.h (__builtin_expect): Likewise.
6990 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
6991 __builtin_expect where appropriate.
6992 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6993 * intl/localealias.c (extend_alias_table): Return an error indicator.
6994 (read_alias_file): Bail out if extend_alias_table fails.
6996 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6998 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
6999 * intl/localealias.c: Likewise.
7001 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7003 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
7004 Initialize domain->plural and domain->nplurals even if there is no
7007 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7009 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
7010 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
7011 In case of failure, goto converted.
7013 2000-05-01 Bruno Haible <haible@clisp.cons.org>
7015 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
7016 * iconv/gconv_int.h (norm_add_slashes): Move to here.
7017 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
7020 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7022 * intl/dcigettext.c (transcmp): Compare the domains as well.
7023 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
7025 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
7028 2000-05-03 Ulrich Drepper <drepper@redhat.com>
7030 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
7031 Reported by Bruno Haible.
7033 2000-04-29 Bruno Haible <haible@clisp.cons.org>
7035 * manual/arith.texi: Remove @w from @itemize.
7037 2000-05-02 Andreas Jaeger <aj@suse.de>
7039 * conform/data/tar.h-data: Add some checks for specific values.
7041 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
7044 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
7047 * conform/data/netinet/in.h-data: Add exact checks for the values
7048 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
7050 * conform/data/float.h-data: Add some minimal values.
7052 * conform/conformtest.pl: Test for macros with string constants,
7053 check for minimum and maximum values.
7054 Add limits.h to headers.
7056 * conform/data/cpio.h-data: Test for value of MAGIC.
7058 * conform/data/limits.h-data: New file.
7060 2000-04-30 Bruno Haible <haible@clisp.cons.org>
7062 * math/Makefile (headers): Add bits/fenvinline.h.
7064 2000-05-01 Ulrich Drepper <drepper@redhat.com>
7066 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
7067 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
7069 * posix/Versions: Change posix_spawnattr_getdefault and
7070 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
7071 and posix_spawnattr_setsigdefault respectively.
7072 * posix/spawn.h: Likewise.
7073 * posix/spawnattr_getdefault.h: Likewise.
7074 * posix/spawnattr_setdefault.h: Likewise.
7075 * conform/data/spawn.h-data: Likewise.
7077 2000-05-01 Andreas Jaeger <aj@suse.de>
7079 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
7081 2000-04-30 Ulrich Drepper <drepper@redhat.com>
7083 * manual/sysinfo.texi: Document getdomainname, setdomainname
7085 * manual/string.texi: Fix typo.
7086 * manual/terminal.texi: Document gtty and stty.
7087 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7089 2000-04-30 Andreas Jaeger <aj@suse.de>
7091 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
7092 accordance with Austin Draft.
7094 2000-04-30 Ulrich Drepper <drepper@redhat.com>
7096 * catgets/gencat.c (read_input_file): Use isblank and not isspace
7097 to recognize second character in comment line.
7099 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
7100 ENOBUFS if we are out of memory.
7102 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
7103 available if __USE_XOPEN2K.
7104 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7105 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7106 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7107 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7108 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7110 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
7111 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7113 2000-04-29 Ulrich Drepper <drepper@redhat.com>
7115 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
7116 Recognize option -s, -c, and -l.
7118 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
7120 * nscd/nscd.c: Start new session for nscd, drop privilegs
7121 to configured user if requested and no -S parameter are used.
7122 * nscd/nscd.conf: Add new option "server-user".
7123 * nscd/nscd_conf.c: Add support for new "server-user" option.
7124 * nscd/nscd.h: Add declaration for server_user variable.
7125 Based on patch by Chris Wing <wingc@engin.umich.edu>
7127 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7129 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
7130 that changing the __restore and __restore_rt signal return code
7133 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7135 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
7138 2000-04-29 Mark Kettenis <kettenis@gnu.org>
7140 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
7142 2000-04-29 Ulrich Drepper <drepper@redhat.com>
7144 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
7145 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
7147 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
7148 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
7149 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
7150 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
7151 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
7152 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
7153 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
7154 posix_fallocate, and posix_madvise.
7155 * conform/data/netdb.h-data: New file.
7156 * conform/data/pthread.h-data: Add pthread_barrier_t,
7157 pthread_barrierattr_t, pthread_barrier_destroy,
7158 pthread_barrier_init, pthread_barrier_wait,
7159 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
7160 pthread_barrierattr_init, pthread_barrierattr_setpshared,
7161 pthread_condattr_getclock, pthread_condattr_setclock,
7162 pthread_getcpuclockid, pthread_mutex_timedlock,
7163 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
7164 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
7165 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
7166 * conform/data/sched.h-data: Add sched_ss_low_priority,
7167 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
7169 * conform/data/semaphore.h-data: Add sem_timedwait.
7170 * conform/data/signal.h-data: Add SIGIO.
7171 * conform/data/spawn.h-data: New file.
7172 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
7173 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
7174 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
7175 Fix typo in gmtime_r definition.
7176 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
7177 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
7178 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
7179 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
7180 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
7181 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
7182 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
7183 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
7184 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
7185 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
7186 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
7187 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
7188 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
7189 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
7190 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
7191 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
7192 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
7193 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
7194 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
7195 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
7196 typo in off_t definition.
7197 * conform/data/net/if.h-data: New file.
7198 * conform/data/netinet/in.h-data: New file.
7199 * conform/data/netinet/tcp.h-data: New file.
7200 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
7201 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
7202 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
7203 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
7204 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
7205 and posix_typed_mem_open.
7206 * conform/data/sys/socket.h-data: New file.
7207 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
7208 * conform/data/sys/types.h-data: Add pthread_barrier_t,
7209 pthread_barrierattr_t, and pthread_spinlock_t.
7210 * conform/data/sys/un.h-data: New file.
7211 * conform/data/sys/utsname.h-data: New file.
7213 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
7215 * inet/gethstbyad.c (gethostbyname): Likewise.
7216 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
7217 * inet/getipnodebyad.c (getipnodebyad): Likewise.
7218 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
7219 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
7221 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
7222 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
7223 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
7224 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
7225 * resolv/gethnamaddr.c (gethostbyname): Likewise.
7226 * resolv/netdb.h (struct hostent): Fix type of h_length member.
7227 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
7228 and second parameter.
7230 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
7233 2000-04-29 Andreas Jaeger <aj@suse.de>
7235 * conform/data/arpa/inet.h-data: New file.
7237 2000-04-28 Geoff Clare <gwc@unisoft.com>
7239 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
7240 path passed to ftw() or nftw() is an empty string.
7241 Closes PR libc/1710.
7243 2000-04-27 Ulrich Drepper <drepper@redhat.com>
7245 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
7246 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
7247 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
7248 * localedata/tst-mbswcs4.c: New file.
7249 * localedata/tst-mbswcs5.c: New file.
7251 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
7252 == NULL. Little optimization.
7254 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
7255 DT_PREINIT_ARRAYSZ).
7256 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
7258 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
7259 overflows in conversion from ASCII.
7261 2000-04-26 Jakub Jelinek <jakub@redhat.com>
7263 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
7264 * Makerules (full_config_sysdirs): Likewise.
7265 * MakeTAGS (full_config_sysdirs): Likewise.
7267 2000-04-26 Jakub Jelinek <jakub@redhat.com>
7269 * .cvsignore: Remove linuxthreads.
7270 * po/.cvsignore: Remove *.pot.
7271 * posix/glob/.cvsignore: Removed.
7272 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
7274 2000-04-25 Andreas Jaeger <aj@suse.de>
7276 * conform/Makefile (distribute): Also distribute contents of
7279 * Makerules (no_deps): Remove abi-versions.h.
7281 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
7283 2000-04-25 Jakub Jelinek <jakub@redhat.com>
7285 * sysdeps/sparc/sparc64/elf/Dist: Remove.
7286 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
7287 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
7288 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
7289 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
7290 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
7293 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
7295 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
7297 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7299 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
7300 * intl/l10nflist.c: Likewise.
7302 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7304 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
7305 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
7306 * intl/textdomain.c [!_LIBC]: Likewise.
7307 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
7308 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
7309 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
7312 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7314 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
7315 character set conversion also in the case the translation was found
7316 after a hash collision or through binary search. Store the maximum
7317 index together with the converted message. Use iconv() when available.
7318 In case of out of memory during conversion, return the unconverted
7319 translated string, not NULL.
7321 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7323 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
7324 to avoid name clashes with the ia32 linker.
7326 2000-04-25 Jakub Jelinek <jakub@redhat.com>
7328 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
7331 2000-04-27 Ulrich Drepper <drepper@redhat.com>
7333 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
7334 strtoumax, strfry, and memfrob.
7335 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
7336 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7338 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
7339 if this function is available.
7341 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
7344 2000-04-27 Jakub Jelinek <jakub@redhat.com>
7346 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
7348 2000-04-27 Ulrich Drepper <drepper@redhat.com>
7350 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
7351 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
7352 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
7353 * localedata/tst-mbswcs3.c: New file.
7355 2000-04-26 Ulrich Drepper <drepper@redhat.com>
7357 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
7358 characters. Don't handle incomplete characters as errors.
7359 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
7360 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
7361 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
7362 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
7363 * localedata/tst-mbswcs2.c: New file.
7365 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
7366 stored character in state in UNPACK_BYTES macro.
7367 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
7368 test for available characters, handle result of BODY code correctly.
7369 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
7370 (distribute): Add tst-mbswcs.sh.
7371 Add rule to run tst-mbswcs.sh.
7372 * localedata/tst-mbswcs.sh: New file.
7373 * localedata/tst-mbswcs1.c: New file.
7375 2000-04-26 Jakub Jelinek <jakub@redhat.com>
7377 * nis/nis_callback.c (__nis_create_callback): Do failed memory
7378 allocation fixups centrally, fix __builtin_expect call, return NULL
7379 on failure, not NIS_NOMEMORY.
7381 2000-04-27 Bruno Haible <haible@clisp.cons.org>
7383 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
7385 * intl/loadinfo.h (internal_function): Define if not already defined.
7387 2000-04-27 Andreas Jaeger <aj@suse.de>
7389 * intl/libintl.h: Fix typo, reported by Bruno Haible
7390 <haible@clisp.cons.org>.
7392 2000-04-25 Ulrich Drepper <drepper@redhat.com>
7394 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
7395 setting the state to GMON_PROF_BUSY.
7397 2000-04-24 Ulrich Drepper <drepper@redhat.com>
7399 * elf/dl-profile.c (_dl_start_profile): define all variables which
7400 do not have to be global as local variables.
7402 * nis/nis_callback.c (__nis_create_callback): Partially undo last
7403 patch. Keep needed tests for failed memory allocation.
7405 * elf/dl-reloc.c (_dl_relocate_object): Add one more
7406 __builtin_expect saying that we don't normally expect to profile.
7408 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
7409 __builtin_expect where desirable.
7411 2000-04-23 Ulrich Drepper <drepper@redhat.com>
7413 * manual/Makefile (chapters): Add syslog.
7414 * manual/syslog.texi: New file.
7415 * manual/math.texi: Fix references.
7416 * manual/terminal.texi: Likewise.
7417 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7419 2000-04-18 Jakub Jelinek <jakub@redhat.com>
7421 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
7422 stdlib.h was not included or __USE_XOPEN not defined.
7424 2000-04-23 Ulrich Drepper <drepper@redhat.com>
7426 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
7427 Patch by Zack Weinberg <zack@wolery.cumb.org>.
7429 2000-04-22 Ulrich Drepper <drepper@redhat.com>
7431 * manual/examples/subopt.c (mount_opts): Add missing terminating
7433 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7435 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
7436 * libio/ftello.c: Likewise.
7437 * libio/ftello64.c: Likewise.
7438 * libio/ioftell.c: Likewise.
7439 * sysdeps/generic/memrchr.c: Likewise.
7440 * sysdeps/posix/libc_fatal.c: Likewise.
7441 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7442 * misc/fstab.c: Include <string.h> for strcmp prototype.
7443 * sysdeps/generic/ldsodefs.h: Likewise.
7444 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7445 Patch by Kurt Roeckx <Q@ping.be>.
7447 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
7448 Remove db-open. Change all uses.
7449 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
7451 2000-04-21 Jakub Jelinek <jakub@redhat.com>
7453 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
7454 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
7455 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
7456 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
7457 with .set noat/at to shut up warnings.
7458 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
7459 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
7460 compilation if __NR_pciconfig_iobase is not defined.
7461 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
7464 2000-04-21 Ulrich Drepper <drepper@redhat.com>
7466 * manual/sysinfo.texi: Fix typo.
7467 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
7468 Replace "high precision time" with "high accuracy clock".
7470 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7472 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
7473 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
7475 * nis/nis_subr.c: Use __builtin_expect.
7476 * nis/ypclnt.c: Likewise.
7477 * nis/nis_getservlist.c: Likewise.
7478 * nis/nis_creategroup.c: Likewise.
7480 * nis/nis_callback.c (__nis_create_callback): Check result of
7481 memory allocation. Fix memory leaks. Use __builtin_expect.
7482 (__nis_destroy_callback): Fix memory leaks.
7484 2000-04-21 Andreas Jaeger <aj@suse.de>
7486 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
7487 * sysdeps/mips/mips64/add_n.S: Likewise.
7488 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
7489 * sysdeps/mips/mips64/lshift.S: Likewise.
7490 * sysdeps/mips/mips64/mul_1.S: Likewise.
7491 * sysdeps/mips/mips64/rshift.S: Likewise.
7492 * sysdeps/mips/mips64/setjmp.S: Likewise.
7493 * sysdeps/mips/mips64/sub_n.S: Likewise.
7494 * sysdeps/mips/mips64/submul_1.S: Likewise
7495 * sysdeps/unix/mips/sysdep.S: Likewise.
7497 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
7498 and update comment. The strtab from _dl_relocate_object can be
7501 2000-04-21 Ulrich Drepper <drepper@redhat.com>
7503 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
7504 * iconv/iconv_close.c (iconv_close): Likewise.
7505 * iconv/iconv_open.c (iconv_open): Likewise.
7507 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
7508 __builtin_expect where useful.
7510 * grp/initgroups.c (initgroups): Test for result of memory
7511 allocation and punt if it fails.
7513 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
7514 * grp/fgetgrent.c (fgetfrent): Likewise.
7515 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
7517 2000-04-21 Jakub Jelinek <jakub@redhat.com>
7519 * libio/vasprintf.c: Include string.h to get memcpy prototype.
7521 2000-04-20 Ulrich Drepper <drepper@redhat.com>
7523 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
7524 don't search for NUL byte to decrement counter.
7525 Reported by Ulrich.Brink@sap.com.
7527 * iconv/gconv_simple.c: Define separate functions to convert from
7528 UCS4/UCS4-LE to the internal encoding.
7529 * iconv/gconv_builtin.h: Use separate functions to convert from
7530 UCS4/UCS4-LE to the internal encoding.
7531 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
7532 __gconv_transform_ucs4le_internal.
7534 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
7535 output buffer overflow. Reported by Ulrich.Brink@sap.com.
7537 * iconv/skeleton.c: Add some more __builtin_expect.
7538 * iconv/loop.c: Likewise.
7540 2000-03-08 H.J. Lu <hjl@gnu.org>
7542 * posix/regex.c (regex_compile): Correctly handle "\{" when
7543 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
7545 2000-04-20 Ulrich Drepper <drepper@redhat.com>
7547 * manual/stdio.texi: Give advise about handling error when using
7549 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
7551 2000-04-19 Jakub Jelinek <jakub@redhat.com>
7553 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
7554 field to nelems * sizeof (uint32_t).
7555 * locale/programs/ld-address.c (address_output): Align word fields
7557 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7558 Don't restart idx pointers to idx end at the duo_int_curr_symbol
7560 Avoid giving arbitrary garbage in the crncystr field.
7561 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
7562 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
7564 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7565 Don't restart idx pointers to idx end at the decimal_point_wc field.
7566 * locale/programs/ld-time.c (time_output): week_1stday should be
7567 word, not byte. Align it properly.
7569 2000-04-19 H.J. Lu <hjl@gnu.org>
7571 * csu/gmon-start.c (_start): Declared as "extern void".
7574 2000-04-18 Andreas Jaeger <aj@suse.de>
7576 * manual/install.texi (Running make install): Don't mention utmpd
7579 2000-04-18 Andreas Jaeger <aj@suse.de>
7581 * linuxthreads/Versions: Use ld instead of ld.so.
7583 * elf/Makefile (ld-map): Use ld.map.
7585 * Versions.def: Use ld instead of ld.so.
7586 * elf/Versions: Likewise.
7587 * sysdeps/mach/hurd/Versions: Likewise.
7589 2000-04-20 Andreas Jaeger <aj@suse.de>
7591 * elf/rtld.c (print_statistics): Move ifndef further up.
7592 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
7593 (dl_main): Likewise.
7595 2000-04-18 Ulrich Drepper <drepper@redhat.com>
7597 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
7598 * gmon/Versions: Move moncontrol to GLIBC_2.2.
7600 * po/cs.po: Update from translation team.
7602 * sysdeps/generic/updwtmp.c: Remove daemon support.
7604 * login/Makefile (routines): Remove utmp_daemon.
7606 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
7607 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
7608 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
7609 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
7611 * elf/rtld.c: Display statitics option also if hp timing is not
7614 * login/programs/connection.c: Removed.
7615 * login/programs/database.c Removed.
7616 * login/programs/error.c: Removed.
7617 * login/programs/request.c: Removed.
7618 * login/programs/xtmp.c: Removed.
7619 * login/programs/xtmp.h: Removed.
7620 * login/Makefile: Remove rules for utmpd.
7621 * login/README.utmpd: Removed.
7622 * login/utmp_daemon.c: Removed.
7623 * login/getutent_r.c: Remove references to daemon functions.
7624 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
7627 2000-04-18 Andreas Jaeger <aj@suse.de>
7629 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
7630 2.2 for libnsl, libresolv, librt, libnss_*.
7632 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
7634 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
7636 2000-04-18 Ulrich Drepper <drepper@redhat.com>
7638 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
7639 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
7640 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
7641 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
7642 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
7643 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
7644 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
7645 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
7646 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
7647 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
7648 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
7649 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
7650 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
7652 * sysdeps/unix/sysv/aix/msync.c: New file.
7653 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
7654 * sysdeps/unix/sysv/aix/net/if.h: New file.
7655 * sysdeps/unix/sysv/aix/pipe.c: New file.
7656 * sysdeps/unix/sysv/aix/poll.c: New file.
7657 * sysdeps/unix/sysv/aix/rename.c: New file.
7658 * sysdeps/unix/sysv/aix/rmdir.c: New file.
7659 * sysdeps/unix/sysv/aix/select.c: New file.
7660 * sysdeps/unix/sysv/aix/semctl.c: New file.
7661 * sysdeps/unix/sysv/aix/semget.c: New file.
7662 * sysdeps/unix/sysv/aix/semop.c: New file.
7663 * sysdeps/unix/sysv/aix/sendto.c: New file.
7664 * sysdeps/unix/sysv/aix/setgroups.c: New file.
7665 * sysdeps/unix/sysv/aix/setpgid.c: New file.
7666 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
7667 * sysdeps/unix/sysv/aix/setpriority.c: New file.
7668 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
7669 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
7670 * sysdeps/unix/sysv/aix/setsid.c: New file.
7671 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
7672 * sysdeps/unix/sysv/aix/shmat.c: New file.
7673 * sysdeps/unix/sysv/aix/shmctl.c: New file.
7674 * sysdeps/unix/sysv/aix/shmdt.c: New file.
7675 * sysdeps/unix/sysv/aix/shmget.c: New file.
7676 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
7677 * sysdeps/unix/sysv/aix/sigstack.c: New file.
7678 * sysdeps/unix/sysv/aix/socket.c: New file.
7679 * sysdeps/unix/sysv/aix/socketpair.c: New file.
7680 * sysdeps/unix/sysv/aix/speed.c: New file.
7681 * sysdeps/unix/sysv/aix/symlink.c: New file.
7682 * sysdeps/unix/sysv/aix/sync.c: New file.
7683 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
7684 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
7685 * sysdeps/unix/sysv/aix/times.c: New file.
7686 * sysdeps/unix/sysv/aix/ulimit.c: New file.
7687 * sysdeps/unix/sysv/aix/umask.c: New file.
7688 * sysdeps/unix/sysv/aix/unlink.c: New file.
7689 * sysdeps/unix/sysv/aix/ustat.c: New file.
7690 * sysdeps/unix/sysv/aix/utimes.c: New file.
7692 2000-04-18 Andreas Jaeger <aj@suse.de>
7694 * manual/startup.texi (Environment Access): Fix putenv prototype
7695 according to recent changes.
7696 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
7699 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
7702 2000-04-18 Ulrich Drepper <drepper@redhat.com>
7704 * posix/Makefile (tests): Add tst-getaddrinfo.
7705 * posix/tst-getaddrinfo.c: New file.
7707 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7709 * manual/sysinfo.texi: Document that umount2 is not widely available.
7711 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
7712 signal timing is not really implemented.
7714 2000-04-17 Andreas Jaeger <aj@suse.de>
7716 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
7718 2000-04-17 Jakub Jelinek <jakub@redhat.com>
7720 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
7723 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7725 * manual/intro.texi: Change reference from System Information to
7727 * manual/users.texi: Likewise.
7728 * manual/conf.texi: Likewise.
7729 * manual/sysinfo.texi: Document mount, umount, and umount2.
7730 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7732 2000-04-17 Jakub Jelinek <jakub@redhat.com>
7734 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
7735 Create wnumstr as well as numstr to support wide character output
7738 2000-04-15 Jakub Jelinek <jakub@redhat.com>
7740 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
7741 modification and move it...
7742 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
7743 Add -melf64_sparc switch to $(LD) on sparc64-linux.
7744 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
7745 switch to $(LD) on sparc-linux.
7747 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
7749 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
7750 and setresuid from sysdep_routines.
7752 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7754 * manual/Makefile (chapters): Add resource.
7756 * manual/time.texi: Move section on resources to...
7757 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
7759 * manual/setjmp.texi: Adjust back reference.
7760 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7762 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
7764 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
7765 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
7766 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
7767 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
7768 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
7769 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
7770 * sysdeps/unix/sysv/aix/close.c: Add copyright.
7771 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
7772 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
7773 * sysdeps/unix/sysv/aix/access.c: Add copyright.
7774 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
7775 * sysdeps/unix/sysv/aix/Implies: New file.
7776 * sysdeps/unix/sysv/aix/Versions: New file.
7777 * sysdeps/unix/sysv/aix/bind.c: New file.
7778 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
7779 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
7780 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
7781 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
7782 * sysdeps/unix/sysv/aix/chdir.c: New file.
7783 * sysdeps/unix/sysv/aix/chmod.c: New file.
7784 * sysdeps/unix/sysv/aix/chroot.c: New file.
7785 * sysdeps/unix/sysv/aix/creat.c: New file.
7786 * sysdeps/unix/sysv/aix/dl-close.c: New file.
7787 * sysdeps/unix/sysv/aix/dl-open.c: New file.
7788 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
7789 * sysdeps/unix/sysv/aix/fchdir.c: New file.
7790 * sysdeps/unix/sysv/aix/fchmod.c: New file.
7791 * sysdeps/unix/sysv/aix/getgroups.c: New file.
7792 * sysdeps/unix/sysv/aix/gethostname.c: New file.
7793 * sysdeps/unix/sysv/aix/getpriority.c: New file.
7794 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
7795 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
7796 * sysdeps/unix/sysv/aix/getrusage.c: New file.
7797 * sysdeps/unix/sysv/aix/link.c: New file.
7798 * sysdeps/unix/sysv/aix/madvise.c: New file.
7799 * sysdeps/unix/sysv/aix/mkdir.c: New file.
7800 * sysdeps/unix/sysv/aix/mknod.c: New file.
7801 * sysdeps/unix/sysv/aix/mprotect.c: New file.
7802 * sysdeps/unix/sysv/aix/msgctl.c: New file.
7803 * sysdeps/unix/sysv/aix/msgget.c: New file.
7804 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
7806 2000-04-17 Andreas Jaeger <aj@suse.de>
7808 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
7809 as suggested by Ulrich Drepper.
7810 (__dl_runtime_resolve): Remove unused variable, initialize sym
7812 (RTLD_START): Document OFFSET_GP_GOT.
7813 (OFFSET_GP_GOT): New magic value.
7814 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
7815 (elf_machine_got_rel): Only declare strtab if needed.
7816 (elf_machine_relplt): Removed, it's not needed.
7817 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
7819 * sysdeps/mips/add_n.S: Add newline at EOF.
7820 * sysdeps/mips/rshift.S: Likewise.
7821 * sysdeps/mips/mul_1.S: Likewise.
7822 * sysdeps/mips/lshift.S: Likewise.
7823 * sysdeps/mips/addmul_1.S: Likewise.
7825 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7827 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
7829 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
7830 * elf/dl-lookup.c: Likewise.
7831 * elf/dl-init.c (_dl_init): Likewise.
7832 * elf/dl-fini.c (_dl_fini): Likewise.
7833 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7834 * elf/dl-close.c (_dl_close): Likewise.
7835 * elf/rtld.c (_dl_start_final): Likewise.
7837 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
7839 2000-04-15 Ulrich Drepper <drepper@redhat.com>
7841 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
7842 only fall back on using Linux.
7844 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
7845 Before testing versions check that we actually loaded the object
7846 and whether we are in trace mode. If not loaded during tracing don't
7847 test versions in this object.
7848 (_dl_check_all_versions): Take new parameter and pass to
7849 _dl_check_map_versions.
7850 * sysdeps/generic/ldsodefs.h: Update prototypes for
7851 _dl_check_all_versions and _dl_check_map_versions.
7852 * elf/rtld.c (struct version_check_args): Add dotrace.
7853 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
7854 (dl_main): Pass info about trace mode to version_check_doit.
7855 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
7856 _dl_check_all_versions.
7858 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
7860 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7862 * manual/argp.texi: Document index parameter of argp_parse.
7864 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
7866 2000-04-14 Andreas Jaeger <aj@suse.de>
7868 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
7869 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
7871 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
7873 2000-04-15 Ulrich Drepper <drepper@redhat.com>
7875 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
7876 compat_symbol call for old adjtime.
7878 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
7879 function interface. Patch by Richard Henderson <rth@cygnus.com>.
7881 * posix/Makefile (headers): Add spawn.h.
7882 (distribute): Add spawn_int.h.
7883 (routines): Add spawn_faction_init, spawn_faction_destroy,
7884 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
7885 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
7886 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
7887 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
7888 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
7889 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
7890 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
7891 posix_spawnattr_init, posix_spawnattr_destroy,
7892 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
7893 posix_spawnattr_getflags, posix_spawnattr_setflags,
7894 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
7896 * posix/spawn.c: New file.
7897 * posix/spawn.h: New file.
7898 * posix/spawn_faction_addclose.c: New file.
7899 * posix/spawn_faction_adddup2.c: New file.
7900 * posix/spawn_faction_addopen.c: New file.
7901 * posix/spawn_faction_destroy.c: New file.
7902 * posix/spawn_faction_init.c: New file.
7903 * posix/spawn_int.h: New file.
7904 * posix/spawnattr_destroy.c: New file.
7905 * posix/spawnattr_getdefault.c: New file.
7906 * posix/spawnattr_getflags.c: New file.
7907 * posix/spawnattr_getpgroup.c: New file.
7908 * posix/spawnattr_getschedparam.c: New file.
7909 * posix/spawnattr_getschedpolicy.c: New file.
7910 * posix/spawnattr_getsigmask.c: New file.
7911 * posix/spawnattr_init.c: New file.
7912 * posix/spawnattr_setdefault.c: New file.
7913 * posix/spawnattr_setflags.c: New file.
7914 * posix/spawnattr_setpgroup.c: New file.
7915 * posix/spawnattr_setschedparam.c: New file.
7916 * posix/spawnattr_setschedpolicy.c: New file.
7917 * posix/spawnattr_setsigmask.c: New file.
7918 * posix/spawni.c: New file.
7919 * posix/spawnp.c: New file.
7921 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
7922 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7924 2000-04-14 Ulrich Drepper <drepper@redhat.com>
7926 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
7927 * malloc/malloc.c: Implement posix_memalign for glibc.
7928 * include/stdlib.h: Add prototype for __posix_memalign.
7929 * stdlib/stdlib.h: Add prototype for posix_memalign.
7931 2000-04-14 Andreas Jaeger <aj@suse.de>
7933 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
7935 (elf_machine_got_rel): Cast sym correctly.
7937 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
7938 * sysdeps/mips/addmul_1.S: Likewise.
7939 * sysdeps/mips/lshift.S: Likewise.
7940 * sysdeps/mips/mul_1.S: Likewise.
7941 * sysdeps/mips/rshift.S: Likewise.
7942 * sysdeps/mips/sub_n.S: Likewise.
7943 * sysdeps/mips/submul_1.S: Likewise.
7945 * stdlib/stdlib.h: Fix typo in comment.
7947 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
7948 2.2 for libdl, ld and libm.
7950 * sysdeps/generic/madvise.c: Fix typos.
7952 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
7954 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
7956 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
7959 2000-04-14 Ulrich Drepper <drepper@redhat.com>
7961 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
7962 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
7963 Make old name weak alias.
7964 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
7965 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
7966 Make old name weak alias.
7967 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
7969 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
7970 posix_fallocate, and posix_fallocate64.
7971 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
7972 posix_fallocate, and posix_fallocate64.
7973 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
7974 posix_fallocate, and posix_fallocate64.
7975 * sysdeps/generic/fadvise.c: New file.
7976 * sysdeps/generic/fadvise64.c: New file.
7977 * sysdeps/generic/fallocate.c: New file.
7978 * sysdeps/generic/fallocate64.c: New file.
7979 * sysdeps/posix/fallocate.c: New file.
7980 * sysdeps/posix/fallocate64.c: New file.
7981 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
7982 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
7983 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
7984 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7985 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7986 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7987 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7988 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7991 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
7992 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7994 2000-04-13 Ulrich Drepper <drepper@redhat.com>
7996 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
7997 * misc/sys/mman.h (posix_madvise): Add prototype.
7998 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
7999 old name and posix_madvise weak aliases.
8000 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8001 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
8002 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8003 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8004 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8005 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8006 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8008 2000-04-13 Andreas Jaeger <aj@suse.de>
8010 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
8012 (elf_machine_got_rel): Only add runtime display if needed.
8013 (elf_machine_got_rel): Handle symbol versioning.
8015 2000-04-13 Andreas Jaeger <aj@suse.de>
8017 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
8019 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
8022 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
8023 with some applications.
8024 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
8026 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
8027 * sysdeps/mips/bsd-_setjmp.S: Likewise.
8028 * sysdeps/mips/setjmp.S: Likewise.
8030 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8032 2000-04-13 Ulrich Drepper <drepper@redhat.com>
8034 * posix/globtest.sh: Work around inconsistency with expanding ~/
8035 in shell (PR libc/1690). Reported by patsmith@pobox.com.
8037 2000-04-12 Ulrich Drepper <drepper@redhat.com>
8039 * posix/getconf.c: Add support for many more POSIX options.
8040 * sysdeps/posix/sysconf.c: Likewise.
8041 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
8042 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
8044 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8045 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
8046 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
8047 CLOCK_THREAD_CPUTIME_ID.
8048 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
8049 CLOCK_PROCESS_CPUTIME_ID.
8050 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
8051 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
8052 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
8053 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8055 * malloc/Makefile (tests): Add tst-calloc.
8056 * malloc/tst-calloc.c: New file.
8058 * sysdeps/arm/libm-test-ulps: New file.
8060 * malloc/malloc.c: Undo all of today's changes.
8062 * locale/programs/locale.c (show_info): Don't try to look into
8063 data for LC_ALL (there is none).
8065 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
8066 avoid writing over boundary.
8067 Patch by Greg McGary <gkm@eng.ascend.com>.
8069 * sysdeps/arm/memprof.h: New file.
8071 2000-04-12 Andreas Jaeger <aj@suse.de>
8073 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
8075 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
8076 for memmem declaration.
8078 2000-04-12 Ulrich Drepper <drepper@redhat.com>
8080 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
8082 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8084 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
8086 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8087 Patch by Bart Veer <bartv@redhat.com>.
8089 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
8092 2000-04-11 Andreas Jaeger <aj@suse.de>
8094 * sysdeps/mips/dl-machine.h: Update some comments.
8095 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
8097 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8099 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
8100 _POSIX_SHARED_MEMORY_OBJECTS.
8102 * rt/Makefile (tests): Add tst-shm.
8103 Add rules to generate tst-shm.
8104 * rt/tst-shm.c: New file.
8106 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
8109 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
8110 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
8111 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
8112 * sysdeps/generic/shm_open.c: New file.
8113 * sysdeps/generic/shm_unlink.c: New file.
8114 * sysdeps/unix/sysv/linux/shm_open.c: New file.
8115 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
8116 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
8117 __endmntent, __getmntent_r, __setmntent, and __statfs.
8119 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
8120 fragmentation by allocating new memory at the end instead of
8123 * posix/globtest.sh: Fix last change.
8125 2000-04-10 Philip Blundell <philb@gnu.org>
8127 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
8128 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
8129 IPV6_DROP_MEMBERSHIP.
8130 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
8133 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8135 * elf/readlib (process_file): Close streams in case of an error.
8137 2000-04-09 Andreas Jaeger <aj@suse.de>
8139 * elf/readlib.c (process_file): Check if file is big enough to
8140 contain aout and ELF headers.
8141 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
8143 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
8145 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
8147 2000-04-11 Ulrich Drepper <drepper@redhat.com>
8149 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
8151 * rt/Makefile (tests): Add tst-clock.
8152 Add rules to build tst-clock.
8153 * rt/tst-clock.c: New file.
8154 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
8155 about initialization of nsec.
8156 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
8157 about initialization of freq. Set retval to zero if successful.
8158 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
8160 2000-04-10 Ulrich Drepper <drepper@redhat.com>
8162 * Versions.def (librt): Add GLIBC_2.2.
8163 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
8164 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
8165 timer_getoverr, timer_gettime, and timer_settime.
8166 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
8167 clock_settime, timer_create, timer_delete, timer_getoverrun,
8168 timer_gettime, and timer_settime.
8169 * sysdeps/generic/clock_getcpuclockid.c: New file.
8170 * sysdeps/generic/get_clockfreq.c: New file.
8171 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
8172 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
8173 * sysdeps/mach/hurd/i386/bits/time.h: New file.
8174 * sysdeps/unix/i386/i586/clock_getres.c: New file.
8175 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
8176 * sysdeps/unix/i386/i686/Implies: New file.
8177 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
8178 * time/Makefile (routines): Move clock_getres, clock_gettime,
8179 clock_settime, timer_create, timer_delete, timer_getoverr,
8180 timer_gettime, and timer_settime to rt/Makefile.
8181 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
8182 clock_settime, timer_create, timer_delete, timer_getoverrun,
8183 timer_gettime, and timer_settime.
8184 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
8186 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
8187 and not const as attribute name.
8189 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
8191 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
8193 2000-04-10 Andreas Schwab <schwab@suse.de>
8195 * posix/globtest.sh: Skip tests that depend on unreadable
8196 directories if run as root.
8198 2000-04-10 Ulrich Drepper <drepper@redhat.com>
8200 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
8201 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
8203 2000-04-09 Ulrich Drepper <drepper@redhat.com>
8205 * sysdeps/unix/clock_gettime.c: New file.
8206 * sysdeps/unix/clock_settime.c: New file.
8207 * sysdeps/posix/clock_getres.c: New file.
8209 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
8211 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
8212 lseek call be passing in a buffer which never allow a successful
8213 first getdents syscall if not at leas the initial entry can be
8214 stored in the user buffer.
8216 * localedata/Makefile: Add rules to clean up directories created by
8219 2000-04-09 Geoff Clare <gwc@unisoft.com>
8221 * localedata/tst-fmon.data: Added new tests for strfmon()
8222 using test locales with all combinations of cs_precedes,
8223 sign_posn and sep_by_space.
8224 * localedata/tst-fmon.sh: Updated to support the new tests.
8225 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
8226 the localedef source for the new strfmon() test locale.
8227 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
8228 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
8229 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
8230 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
8231 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
8232 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
8233 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
8234 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
8235 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
8236 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
8237 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
8238 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
8239 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
8240 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
8242 * stdlib/strfmon.c: Correct problems with missing or extra
8243 spaces for unusual combinations of sign_posn and sep_by_space.
8244 Improved left-precision alignment code.
8246 2000-04-07 Andreas Jaeger <aj@suse.de>
8248 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
8250 2000-04-10 Andreas Jaeger <aj@suse.de>
8252 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
8254 2000-04-09 Ulrich Drepper <drepper@redhat.com>
8256 Implement handling of restartable conversion functions according to
8258 * iconv/gconv.h (__gconv_fct): Add additional parameter.
8259 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
8260 * iconv/gconv.c: Pass additional parameter to conversion function.
8261 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
8262 (internal_ucs4le_loop_single): New function.
8263 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
8264 (__gconv_transform_internal_ascii): Likewise.
8265 (__gconv_transform_internal_utf8): Likewise.
8266 (__gconv_transform_utf8_internal): Likewise.
8267 (__gconv_transform_ucs2_internal): Likewise.
8268 (__gconv_transform_internal_ucs2): Likewise.
8269 (__gconv_transform_ucs2reverse_internal): Likewise.
8270 (__gconv_transform_internal_ucs2reverse): Likewise.
8271 (internal_ucs4le_loop_unaligned): Before return
8272 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
8273 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
8274 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
8275 * iconv/loop.c: Fit in definition of function to convert one character
8276 for processing of left-over bytes from the state object.
8277 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
8278 inend to match names in loop functions.
8279 (RESET_INPUT_BUFFER): Change apprpriately.
8280 (gconv): If needed, call function to process bytes from the state
8281 object. Similar at the end: store left over bytes if input is
8283 Take extra argument and add new argument to all calls of the
8284 conversion function.
8285 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
8286 information in the state object to not conflict with length count.
8287 * iconvdata/iso-2022-jp.c: Likewise.
8288 * iconvdata/iso-2022-kr.c: Likewise.
8289 * iconvdata/unicode.c: Adjust for change change in parameters of
8291 * iconvdata/utf-16.c: Likewise.
8292 * libio/iofwide.c: Add new parameter to all calls of conversion
8294 * wcsmbs/btowc.c: Likewise.
8295 * wcsmbs/mbrtowc.c: Likewise.
8296 * wcsmbs/mbsnrtowcs.c: Likewise.
8297 * wcsmbs/mbsrtowcs.c: Likewise.
8298 * wcsmbs/wcrtomb.c: Likewise.
8299 * wcsmbs/wcsnrtombs.c: Likewise.
8300 * wcsmbs/wcsrtombs.c: Likewise.
8301 * wcsmbs/wctob.c: Likewise.
8303 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
8306 2000-04-07 Andreas Jaeger <aj@suse.de>
8308 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
8311 2000-04-07 Ulrich Drepper <drepper@redhat.com>
8313 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
8314 element a union to allow byte access.
8315 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
8317 * iconvdata/iso-2022-jp.c: Likewise.
8318 * iconvdata/iso-2022-kr.c: Likewise.
8319 * wcsmbs/mbsinit.c: Likewise.
8320 * stdlib/mblen.c: Likewise.
8321 * stdio-common/printf-parse.h: Likewise.
8323 2000-04-06 Ulrich Drepper <drepper@redhat.com>
8325 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
8326 kernel does not allow relative seeks on descriptors associated
8327 with directories. Go back to get the position in the directory
8328 every time we enter the function. Return -1 and set errno if one
8329 entry could be read from the kernel but does not fit into the
8330 buffer passed in by the user.
8332 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
8333 Support ..(2).. ellipsis.
8334 (parse_charmap): Recognize ..(2).. etc and pass step down.
8335 Correctly generate names for UCS4 characters.
8337 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
8338 (ctype_finish): We know the wide character value for <SP>,
8340 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
8341 (charclass_ucs4_ellipsis): Likewise.
8342 (read_translit_ignore_entry): Store ellipsis step.
8343 (ctype_read): Recognize ..(2).. etc and pass step down.
8345 * locale/programs/linereader.c (lr_token): When seeing comment
8346 character ignore only rest of line in sources but stop at escaped
8348 Recognize ..(2).. and ....(2).....
8350 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
8351 and tok_ellipsis4_2.
8353 2000-04-06 Andreas Jaeger <aj@suse.de>
8355 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
8356 removed, remove it here also.
8357 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
8358 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
8359 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
8360 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
8362 2000-04-06 Jakub Jelinek <jakub@redhat.com>
8364 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
8365 include bits/sigcontext.h.
8366 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8368 2000-04-06 Ulrich Drepper <drepper@redhat.com>
8370 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
8371 collation symbol definition. Value in quivalence definition must
8372 be defined, don't check that it is not.
8374 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
8375 values as character names.
8377 * locale/programs/ld-ctype.c (get_character): Handle missing
8378 repertoire map correctly.
8380 2000-04-05 Cristian Gafton <gafton@redhat.com>
8382 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
8383 because it is used in generic code.
8384 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
8385 * wcsmbs/wcwidth.h: Declare __ctype32_b.
8386 * intl/gettext.c: Include <locale.h>.
8387 * intl/ngettext.c: Likewise.
8389 2000-04-05 Jakub Jelinek <jakub@redhat.com>
8391 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
8392 socklen_t type for size.
8393 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
8394 init function interface.
8395 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8396 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
8398 (__jmp_buf): Declare the whole type structure here, don't use
8401 2000-04-05 Ulrich Drepper <drepper@redhat.com>
8403 * iconv/skeleton.c (put16u): Fix typo.
8404 Reported by Bruno Haible <haible@ilog.fr>.
8406 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
8407 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
8408 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
8409 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
8410 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
8411 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
8413 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
8414 * Makefile (distribute): Add abi-versions.awk and
8416 Patches by Torsten Duwe <duwe@caldera.de>.
8418 2000-04-05 Andreas Schwab <schwab@suse.de>
8420 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
8422 2000-04-05 Andreas Schwab <schwab@suse.de>
8424 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
8425 entry point, used on Hurd.
8427 2000-04-04 Andreas Jaeger <aj@suse.de>
8429 * intl/Makefile: Only run the gettext test with shared libraries.
8431 2000-03-16 Mark Kettenis <kettenis@gnu.org>
8433 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
8434 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
8436 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
8438 * Makeconfig: Undo last change.
8439 * configure.in: If --disable-shared was given, don't set VERSIONING,
8440 don't define DO_VERSIONING, and don't give scare warning for no
8442 * configure: Regenerated.
8444 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
8446 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
8448 2000-04-04 Andreas Jaeger <aj@suse.de>
8450 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
8452 2000-04-04 Ulrich Drepper <drepper@redhat.com>
8454 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
8455 STV_HIDDEN and STV_INTERNAL during lookup.
8456 (profile_fixup): Likewise.
8457 * elf/dl-reloc.c (RESOLVE): Likewise.
8459 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
8460 unaligned so that it compiles for system which need unaligned
8463 2000-04-04 Andreas Schwab <schwab@suse.de>
8465 * elf/cache.c (print_entry): Only look at the type field when
8468 2000-04-04 Andreas Schwab <schwab@suse.de>
8470 * iconvdata/big5.c (BODY): Fix typo.
8472 2000-04-04 Andreas Schwab <schwab@suse.de>
8474 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
8475 function interface. Remove unused _dl_start_user entry point.
8477 2000-04-03 Andreas Jaeger <aj@suse.de>
8479 * include/arpa/inet.h (__inet_aton): Add protoype.
8481 2000-04-01 Andreas Jaeger <aj@suse.de>
8483 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
8485 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
8486 * sysdeps/mach/mips/thread_state.h: Likewise.
8488 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
8489 * sysdeps/generic/fegetenv.c: Likewise.
8490 * sysdeps/generic/fesetenv.c: Likewise.
8491 * sysdeps/generic/feupdateenv.c: Likewise.
8492 * sysdeps/generic/fraiseexcpt.c: Likewise.
8493 * sysdeps/generic/fsetexcptflg.c: Likewise.
8494 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
8495 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
8496 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8497 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8499 2000-04-02 H.J. Lu <hjl@gnu.org>
8501 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
8503 2000-04-03 Ulrich Drepper <drepper@redhat.com>
8505 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
8506 (add_name_to_object): Add cast in malloc call.
8507 (fillin_rpath): Optimize loop to initialize ->status a bit.
8509 * sysdeps/i386/dl-machine.h: Undo last change.
8510 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
8511 Restore %edx register after call here.
8513 * sysdeps/arm/atomicity.h: New file.
8514 Contributed by Jesper Skov <jskov@redhat.com>.
8516 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
8518 * Makeconfig (preprocess-versions): Undo last change.
8519 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
8521 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
8522 here, before we might move the stack.
8523 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
8524 (init1): And not here.
8526 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
8527 change, to restore argc value in call-clobbered register after
8528 RTLD_START_SPECIAL_INIT, which will contain a call.
8530 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
8531 allocating and initializing L->l_initfini.
8533 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
8535 2000-04-03 Ulrich Drepper <drepper@redhat.com>
8537 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
8538 RUNPATH, RPATH, and LD_LIBRARY_PATH.
8539 (open_path): Change type of fourth parameter. Make pointer to array
8540 of pointers. Create variable dirs with original type.
8541 Track whether any directory for the object exists and if not,
8542 change *DIRSP to (void*) -1 to signal there is no such search path.
8543 (_dl_map_object): Change all calls of open_path.
8544 Rewrite decompose_rpath calls.
8546 2000-03-31 Andreas Schwab <schwab@suse.de>
8548 * string/strfry.c: Declare STATE as array of char instead of int
8549 and do not initialize it (done by initstate_r). Pass correct
8552 2000-04-03 Ulrich Drepper <drepper@redhat.com>
8554 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
8556 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
8557 instruction out of the code.
8559 2000-04-02 Ulrich Drepper <drepper@redhat.com>
8561 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
8562 element at this position.
8564 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
8565 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
8567 * elf/dl-lookup.c (add_dependency): New function.
8568 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
8569 dynamically loaded object.
8570 (_dl_lookup_symbol_skip): Likewise.
8571 (_dl_lookup_versioned_symbol): Likewise.
8572 (_dl_lookup_versioned_symbol_skip): Likewise.
8573 * elf/dl-open.c: Don't define _dl_load_lock here...
8574 * elf/rtld.c: ...but here...
8575 * elf/dl-support.c: ...and here.
8576 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
8578 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
8580 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
8582 * dlfcn/glrefmain.c: Add one more debug message.
8584 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
8586 * Makerules (sysd-versions): Use ( ) instead of { }.
8588 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
8589 optimize for the non-debugging case.
8590 * elf/dl-lookup.c: Likewise.
8591 * sysdeps/generic/libc-start.c: Likewise.
8593 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
8595 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
8596 (init1): Don't initialize __environ here, since init already does it.
8597 (first_init): New function, broken out of _init.
8598 (_hurd_stack_setup): Use it.
8599 [SHARED] (_dl_init_first): New function, renamed from old _init.
8600 (init1) [SHARED]: Don't call posixland_init here.
8601 (posixland_init): Take ENVP arg, so signature is usual for initializer.
8602 [SHARED] (_init): Define as alias for posixland_init.
8603 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
8604 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
8605 RTLD_START_SPECIAL_INIT before calling initializers.
8606 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
8607 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
8608 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
8609 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
8611 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
8612 since we define the function with the name `tmpfile'.
8614 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
8615 * hurd/Versions: Likewise.
8617 2000-04-02 Ulrich Drepper <drepper@redhat.com>
8619 * elf/dl-runtime.c (fixup): Fix typo in comment.
8621 * resolv/netdb.h (getnameinfo): All length parameters are of type
8623 * inet/getnameinfo.c: Likewise.
8625 2000-04-01 Ulrich Drepper <drepper@redhat.com>
8627 * posix/unistd.h (socklen_t): Define if it has not yet happened.
8628 (gethostname): Change type of second parameter to socklen_t.
8629 * include/unistd.h (__gethostname): Change type of second
8630 parameter to socklen_t.
8631 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
8632 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8633 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
8634 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
8636 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
8637 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
8638 Allow definition elsewhere.
8639 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
8640 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8641 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
8642 * sysdeps/generic/bits/types.h: Define __socklen_t.
8643 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
8644 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
8645 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8646 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8647 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8648 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
8649 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
8651 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
8652 (inet_lnaof): Likewise.
8653 (inet_netof): Likewise.
8654 (inet_network): Likewise.
8655 (inet_aton): Likewise.
8656 (inet_makeaddr): Change parameter types to in_addr_t.
8657 (inet_neta): Likewise.
8658 (inet_ntop): Change type of last parameter to socklen_t.
8659 (inet_aton): Only make available if __USE_MISC.
8660 (inet_neta): Likewise.
8661 (inet_net_ntop): Likewise.
8662 (inet_net_pton): Likewise.
8663 (inet_nsap_ntoa): Likewise.
8665 * inet/in.h: Define in_port_t type.
8666 Define in_addr_t type.
8667 (struct in_addr): Use in_addr_t in definition.
8668 (IN_CLASSA): Use cast to in_addr_t.
8669 (IN_CLASSB): Likewise.
8670 (IN_CLASSC): Likewise.
8671 (IN_CLASSD): Likewise.
8672 (IN_EXPERIMENTAL): Likewise.
8673 (IN_BADCLASS): Likewise.
8674 (INADDR_ANY): Likewise.
8675 (INADDR_BROADCAST): Likewise.
8676 (INADDR_NONE): Likewise.
8677 (INADDR_LOOPBACK): Likewise.
8678 (INADDR_UNSPEC_GROUP): Likewise.
8679 (INADDR_ALLHOSTS_GROUP): Likewise.
8680 (INADDR_ALLRTRS_GROUP): Likewise.
8681 (INADDR_MAX_LOCAL_GROUP): Likewise.
8682 (struct sockaddr_in): Use in_port_t for sin_port element.
8683 (struct sockaddr_in6): Use in_port_t for sin6_port element.
8684 Use uint8_t instead of u_int8_t.
8686 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
8687 Call __inet_aton instead of inet_aton.
8688 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
8690 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
8691 (innetgr): Likewise.
8692 (struct addrinfo): Use socklen_t for ai_addrlen element.
8694 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
8695 IPV6_RECVERR): New defines.
8697 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
8698 * inet/getnetbyad.c: Likewise.
8699 * inet/getnetbyad_r.c: Likewise.
8700 * nis/nss_nis/nis-network.c: Likewise.
8701 * nis/nssplus_nis/nisplus-network.c: Likewise.
8702 * nss/nss_files/files-network.c: Likewise.
8703 * resolv/netdb.h: Define uint32_t if not already happened.
8704 Include bits/netdb.h. Remove definition of struct netent.
8705 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
8706 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
8707 * sysdeps/generic/bits/netdb.h: New file.
8708 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
8710 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
8711 (tests): Add glrefmain.
8712 Add rules to build modules and run tests. Ignore result of glrefmain
8713 for now since it fails.
8714 * dlfcn/glrefmain.c: New file.
8715 * dlfcn/glreflib1.c: New file.
8716 * dlfcn/glreflib2.c: New file.
8718 * test-skeleton.c: Include <string.h> for strsignal prototype.
8720 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
8723 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
8724 former init-first.h. Initialize __libc_multiple_libcs.
8726 2000-03-31 Ulrich Drepper <drepper@redhat.com>
8728 * iconv/skeleton.c: Define access macros with u suffix. Adjust
8729 #if expression for use of unaligned function to the one used in
8730 the definition of these functions.
8731 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
8732 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
8733 (internal_ucs4le_loop_unaligned): New function.
8735 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
8737 (module-names): Add dep1, dep2, dep3, and dep4.
8738 Add dependencies for dep* modules and order.
8739 Define rule for order.out which checks the result.
8740 * elf/dep1.c: New file.
8741 * elf/dep2.c: New file.
8742 * elf/dep3.c: New file.
8743 * elf/dep4.c: New file.
8744 * elf/order.c: New file.
8746 * elf/dl-init.c: Fix typo in comment.
8748 2000-03-31 Andreas Jaeger <aj@suse.de>
8750 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
8751 init function interface.
8752 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
8754 2000-03-31 Andreas Jaeger <aj@suse.de>
8756 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
8757 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8758 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8759 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
8760 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8762 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
8763 anymore, update comment.
8765 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8767 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
8768 SHLIB_COMPAT - the struct is always needed.
8770 2000-03-31 Ulrich Drepper <drepper@redhat.com>
8772 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
8773 * elf/dl-support.c: Define _dl_starting_up.
8775 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8777 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
8778 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
8780 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
8782 * elf/Makefile (dl-routines): Remove preinit.
8783 * elf/Versions: Remove _dl_preinit.
8784 * elf/dl-preinit.c: Removed. Move content into...
8785 * elf/dl-init.c: ...here.
8786 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
8788 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
8791 2000-03-29 Geoff Clare <gwc@unisoft.com>
8793 * stdlib/strfmon.c: Corrected problems with the code that
8794 sets default values for [np]_sep_by_space and
8795 [np]_sign_posn; also the new positive/negative alignment
8796 code from the previous patch was not quite right for
8799 * localedata/tst-fmon.data: Changes corresponding to the
8800 two sets of fixes made to stdlib/strfmon.c.
8802 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
8804 * malloc/malloc.c: Declare bit flags UL so that they will not
8805 default to int size when being inverted.
8807 2000-03-29 Andreas Jaeger <aj@suse.de>
8809 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
8810 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8812 2000-03-29 Andreas Jaeger <aj@suse.de>,
8813 Ralf Baechle <ralf@uni-koblenz.de>
8815 * Makeconfig: Introduce new variable SHARED to mark code used in
8817 * elf/dl-close.c: Use it instead of PIC.
8818 * elf/dl-load.c: Likewise.
8819 * elf/dl-open.c: Likewise.
8820 * hurd/geteuids.c: Likewise.
8821 * include/libc-symbols.h: Likewise.
8822 * include/shlib-compat.h: Likewise.
8823 * libio/freopen.c: Likewise.
8824 * linuxthreads/cancel.c: Likewise.
8825 * linuxthreads/pthread.c: Likewise.
8826 * linuxthreads/wrapsyscall.c: Likewise.
8827 * nss/nsswitch.c: Likewise.
8828 * stdio-common/vfprintf.c: Likewise.
8829 * sysdeps/arm/init-first.c: Likewise.
8830 * sysdeps/i386/init-first.c: Likewise
8831 * sysdeps/generic/init-first.c: Likewise.
8832 * sysdeps/generic/libc-start.c: Likewise.
8833 * sysdeps/mips/init-first.c: Likewise.
8834 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8835 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8836 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8837 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
8838 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8840 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
8842 2000-03-29 Andreas Jaeger <aj@suse.de>
8844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
8845 Use D_PTR to access relocated entries in l_info.
8846 (elf_machine_rela): Likewise.
8848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
8850 (elf_machine_rela): Likewise.
8852 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
8854 (__elf_machine_fixup_plt): Likewise.
8855 (__process_machine_rela): Likewise.
8857 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8858 (elf_machine_rela): Likewise.
8860 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
8861 (elf_machine_rel): Likewise.
8863 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
8864 (elf_machine_fixup_plt): Likewise.
8865 (elf_machine_rela): Likewise.
8867 2000-03-29 Andreas Jaeger <aj@suse.de>
8869 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
8870 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8871 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8872 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
8873 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8874 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
8875 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8876 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
8877 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8878 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
8879 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
8880 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
8881 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
8882 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8883 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8885 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
8886 macros, remove K&R prototypes.
8888 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8890 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
8891 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
8894 2000-03-30 Andreas Jaeger <aj@suse.de>
8896 * misc/sys/cdefs.h: Remove K&R support.
8898 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8900 * iconv/skeleton.c: Avoid compiling unaligned versions in some
8902 * iconv/loop.c: Likewise.
8904 2000-03-29 Bruno Haible <haible@clisp.cons.org>
8906 * iconv/loop.c (put16): Remove __const. Fix access index.
8907 (put32): Remove __const. Use uint32_t instead of uint16_t.
8908 * iconv/skeleton.c: Likewise.
8910 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
8912 * mach/Versions (libc: GLIBC_2.0)
8913 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
8914 __vm_allocate on this.
8915 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
8916 mutex- and spinlock-related symbols on this.
8917 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8918 New version set. Lock-related symbols go here instead in this case.
8919 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
8920 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
8921 cthread_getspecific, cthread_setspecific, __libc_getspecific.
8923 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
8924 Put them here instead.
8925 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8926 New version set. Those cthreads symbols go here instead in this case.
8927 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
8929 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8931 * elf/dl-init.c (_dl_init): We don't need to call constructors
8932 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
8934 Implement dynamic determination of constructor/destructor order in
8936 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
8937 (GLIBC_2.2): Add _dl_init.
8938 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
8939 r_duplist is not anymore allocated separately. l_initfini is and
8940 therefore free it if necessary.
8941 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
8942 malloc block. Otherwise allocate l_initfini list only.
8943 Put dependencies for the object in l_initfini list.
8944 Sort dependencies for the object to be loaded topologically.
8945 * elf/dl-fini.c: Before running the destructors sort the topologically.
8946 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
8947 call constructors instead of iterating over the pointers. Get list of
8948 objects for which to run constructors from l_initfini element. Accept
8949 argc, argv, and env as parameters and pass them to the constructors.
8950 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
8951 with size of dynamic section.
8952 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
8953 _dl_init_next and calling constructors ourself.
8954 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
8955 Take argc, argv, and env as parameters and pass them to the
8956 constructors. Rewrite to call all constructors and not iterate over
8958 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
8959 precompute l_initcount and l_preinitcount.
8960 * elf/link.h (struct link_map): Add l_ldnum member.
8961 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
8962 l_initcount, and l_preinitcount. Add l_initfini.
8963 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
8965 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
8967 * sysdeps/unix/sysv/linux/init-first.h: Removed.
8968 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
8969 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
8970 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
8971 conventions now match.
8973 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
8974 effect for shared objects. Don't emit message and call only for
8977 2000-03-29 Ulrich Drepper <drepper@redhat.com>
8979 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
8980 CSA_Z243.4-1985-1..UCS2.
8981 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
8984 2000-03-29 Andreas Jaeger <aj@suse.de>
8986 * include/unistd.h: Remove duplicate entry for __rmdir.
8987 Remove declaration of __mkdir since __mkdir is declared in
8990 * manual/creature.texi (Feature Test Macros): Fix typo, reported
8991 by Michael Deutschmann <michael@talamasca.ocis.net>.
8993 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
8994 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8995 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8996 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8997 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
8999 2000-03-28 Andreas Jaeger <aj@suse.de>
9001 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
9002 declaration, the prototype is defined via bits/mathcalls.h.
9003 (__sincosf): Likewise.
9004 (__sincosl): Likewise.
9008 (__finite): Likewise.
9009 (__inline_mathcodeNP): New macro without prototype
9011 (__inline_mathcodeNP2): Likewise.
9012 (__inline_mathcodeNP3): Likewise.
9013 (__inline_mathcodeNP_): Likewise.
9014 (__inline_mathcodeNP2_): Likewise.
9015 (__inline_mathcodeNP3_): Likewise.
9016 (__inline_mathopNP): Likewise.
9017 (__inline_mathop_declNP): Likewise.
9018 (__inline_mathop_declNP_): Likewise.
9019 (__inline_mathcode_): Use __inline_mathcodeNP_.
9020 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
9021 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
9022 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
9023 (__expm1l): Don't define prototype, the prototype is defined via
9029 (__atan2l): Likewise.
9034 (__fabsl): Likewise.
9052 (__sqrtl): Likewise.
9062 2000-03-28 Ulrich Drepper <drepper@redhat.com>
9064 * Makerules: If make variable md5 is defined to yes after
9065 generating dependencies generate MD5 sum for the object.
9067 * iconv/gconv_builtin.h: Fix length in transformation definition
9070 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
9072 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
9073 allow as well reading from/writing to unaligned addresses on machines
9074 which don't support this in hardware. Use FCTNAME macro to define
9075 function name. Include the file a second time for platforms which
9076 need special unaligned handling.
9077 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
9078 to access potentially unaligned addresses. These macros are intended
9079 to be used only outside the loops.
9080 (unaligned): New definition. In case the machine can handle unaligned
9081 access define as zero. Otherwise as a variable which is initialized
9082 as nonzero in case the buffer passed in at runtime is unaligned with
9083 respect to the character set encoding involved.
9084 Call aligned or unaligned looop functions according to unaligned
9086 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
9087 of direct casting pointer to potentially handle unaligned memory
9089 * iconvdata/8bit-generic.c: Likewise.
9090 * iconvdata/ansi_x3.110.c: Likewise.
9091 * iconvdata/big5.c: Likewise.
9092 * iconvdata/euc-cn.c: Likewise.
9093 * iconvdata/euc-jp.c: Likewise.
9094 * iconvdata/euc-kr.c: Likewise.
9095 * iconvdata/euc-tw.c: Likewise.
9096 * iconvdata/gbk.c: Likewise.
9097 * iconvdata/iso-2022-cn.c: Likewise.
9098 * iconvdata/iso-2022-jp.c: Likewise.
9099 * iconvdata/iso-2022-kr.c: Likewise.
9100 * iconvdata/iso646.c: Likewise.
9101 * iconvdata/iso_6937-2.c: Likewise.
9102 * iconvdata/iso_6937.c: Likewise.
9103 * iconvdata/johab.c: Likewise.
9104 * iconvdata/sjis.c: Likewise.
9105 * iconvdata/t.61.c: Likewise.
9106 * iconvdata/uhc.c: Likewise.
9107 * iconvdata/unicode.c: Likewise.
9108 * iconvdata/utf-16.c: Likewise.
9110 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
9113 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
9114 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
9116 * malloc/mcheck.h (mcheck_check_all): Declare.
9118 * stdio-common/Makefile (tests): Add tst-obprintf.
9120 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
9122 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
9123 Declare pthread_sigmask.
9125 * csu/version.c: Add 2000 to copyright years.
9126 Remove Emacs local variables section.
9128 2000-03-23 Bruno Haible <haible@clisp.cons.org>
9130 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
9131 __gconv_transform_internal_ucs2little): Remove declarations.
9132 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
9133 __gconv_transform_internal_ucs2): Never need to bswap_16.
9134 (__gconv_transform_ucs2reverse_internal,
9135 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
9137 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9139 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
9140 obsoleting version not being defined at all, in which case the
9141 result is always true.
9143 * Makeconfig (preprocess-versions): New canned sequence for running
9144 cpp on shlib-versions and the like.
9145 (soversions.i): Use it.
9146 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
9147 Versions.def and Versions files.
9149 2000-03-27 Ulrich Drepper <drepper@redhat.com>
9151 * stdio-common/tst-obprintf.c (main): Add another check to see
9152 obstack_printf handling all possible beginnings of the block
9153 inside an obstack chunk.
9155 * locale/programs/localedef.c: Use __malloc_initialize_hook to
9156 install mcheck handler.
9158 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
9161 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
9163 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
9165 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
9166 on [HAVE_ELF && DO_VERSIONING].
9168 2000-03-27 Ulrich Drepper <drepper@redhat.com>
9170 * stdio-common/tst-obprintf.c: New file.
9172 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9174 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
9175 _IO_OVERFLOW directly instead through __overflow.
9177 * locale/programs/localedef.c (construct_output_path): If path
9178 contains a / compute the end of the directory name correctly.
9180 * include/features.h: Undef and document __USE_XOPEN2K.
9182 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
9183 whenever a function is called. Initiated by calling mcheck_pedantic
9185 * malloc/mcheck.h: Declare mcheck_pedantic.
9186 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
9187 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
9190 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
9192 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
9193 * dlfcn/dlopenold.c: Likewise.
9194 * nss/getXXbyYY_r.c: Likewise.
9195 * nss/getXXent_r.c: Likewise.
9196 * hurd/hurdinit.c: Likewise.
9197 * hurd/compat-20.c: Likewise.
9198 * libio/oldiofopen.c: Likewise.
9199 * libio/oldiofclose.c: Likewise.
9200 * libio/oldiofdopen.c: Likewise.
9201 * libio/oldfileops.c: Likewise.
9202 * libio/oldstdfiles.c: Likewise.
9203 * libio/oldiofsetpos.c: Likewise.
9204 * libio/oldiofgetpos.c: Likewise.
9205 * libio/oldiofgetpos64.c: Likewise.
9206 * libio/oldiofsetpos64.c: Likewise.
9207 * libio/oldiopopen.c: Likewise.
9208 * libio/oldpclose.c: Likewise.
9209 * libio/oldtmpfile.c: Likewise.
9210 * libio/freopen.c (freopen): Likewise.
9211 * libio/iofclose.c (_IO_new_fclose): Likewise.
9213 * sysdeps/mach/sys/reboot.h: Include <features.h>.
9214 (reboot): Declare it.
9216 * libio/Makefile (headers): Add bits/stdio-lock.h here.
9218 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
9220 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
9222 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
9223 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
9224 We need this for the sbrk decl, which can be included without Unix98.
9226 2000-03-20 Richard Henderson <rth@cygnus.com>
9228 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
9229 argument to yperr2nss is an int, not size_t.
9230 * posix/regex.c (print_partial_compiled_pattern): Cast all
9231 ptrdiff_t to long for printing.
9232 (print_compiled_pattern): Use Z for printing size_t.
9233 * posix/testfnm.c (tests): Avoid trigraphs.
9234 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9235 Use a C comment, not an assembly comment.
9237 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
9238 of __ASSUME_32BITUIDS.
9240 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9242 * libio/iofopncook.c: Remove K&R prototypes.
9244 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
9246 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
9247 an initial value of 1024 instead of RLIM_INFINITY.
9249 * Versions.def (libmachuser, libhurduser): Remove these sections,
9250 since these libraries do not presently use symbol versions.
9252 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
9253 is RLIM_INFINITY, return -1 instead.
9255 2000-03-24 Andreas Jaeger <aj@suse.de>
9257 * Makefile (postclean): Added soversions.i.
9259 2000-03-24 Scott Bambrough <scottb@netwinder.org>
9261 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
9262 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
9263 and _FPU_IEEE. Change _FPU_RESERVED.
9265 2000-03-24 Scott Bambrough <scottb@netwinder.org>
9267 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
9269 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
9271 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
9272 (gaih_inet): Remove unused duplicate variable.
9274 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
9275 Don't use __libc_sa_len, which only exists for Linux. Just handle
9276 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
9277 only flavors supported by this function anyway.
9279 2000-03-24 Geoff Clare <gwc@unisoft.com>
9281 * stdlib/strfmon.c: Corrected problems with missing signs and
9282 missing or extra spaces; allow for sign strings longer than
9283 one character; add padding to ensure positive and negative
9284 formats are aligned when a left precision is used.
9286 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9288 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
9289 Patch by John Mizel <John.Mizel@msdw.com>.
9291 2000-03-25 Ulrich Drepper <drepper@redhat.com>
9293 * manual/install.texi: Remove references to crypt add-on.
9295 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
9297 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
9298 section while taking the _hurd_rlimit_lock.
9299 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9301 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
9303 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
9306 * sysdeps/mach/hurd/if_index.c: New file.
9308 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
9309 * sysdeps/gnu/net/if.h: here.
9310 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
9311 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
9312 * sysdeps/generic/net/if.h: New file. Declares just the standard
9313 functions and `struct if_nameindex' type.
9314 * socket/Makefile (headers): Add net/if.h here.
9315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
9316 * sysdeps/mach/hurd/Dist: Remove it here.
9317 * sysdeps/unix/sysv/linux/Dist: And here.
9318 * sysdeps/generic/if_index.c: Include <net/if.h>.
9320 2000-03-24 Andreas Jaeger <aj@suse.de>
9322 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
9323 access relocated entries in l_info.
9324 (elf_machine_got_rel): Likewise.
9325 (elf_machine_runtime_setup): Likewise.
9326 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
9327 (elf_machine_runtime_setup): Likewise.
9328 (__dl_runtime_resolve): Likewise.
9330 2000-03-23 Ulrich Drepper <drepper@redhat.com>
9332 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
9333 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
9334 according to RFC 2553.
9335 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
9336 * inet/getnameinfo.c: Likewise.
9337 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
9339 2000-03-23 Bruno Haible <haible@clisp.cons.org>
9341 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
9342 Remove no-op pointer increment.
9344 2000-03-23 Andreas Jaeger <aj@suse.de>
9346 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
9347 follow change for libio.h from 2000-03-10.
9349 2000-03-23 Andreas Jaeger <aj@suse.de>
9351 * elf/dl-addr.c: Adjust include paths for ldsodefs location
9353 * elf/dl-debug.c: Likewise.
9354 * elf/dl-deps.c: Likewise.
9355 * elf/dl-error.c: Likewise.
9356 * elf/dl-fini.c: Likewise.
9357 * elf/dl-init.c: Likewise.
9358 * elf/dl-load.c: Likewise.
9359 * elf/dl-lookup.c: Likewise.
9360 * elf/dl-minimal.c: Likewise.
9361 * elf/dl-object.c: Likewise.
9362 * elf/dl-open.c: Likewise.
9363 * elf/dl-preinit.c: Likewise.
9364 * elf/dl-profile.c: Likewise.
9365 * elf/dl-profstub.c: Likewise.
9366 * elf/dl-reloc.c: Likewise.
9367 * elf/dl-runtime.c: Likewise.
9368 * elf/dl-support.c: Likewise.
9369 * elf/dl-symbol.c: Likewise.
9370 * elf/dl-version.c: Likewise.
9371 * elf/rtld.c: Likewise.
9372 * elf/sprof.c: Likewise.
9373 * sysdeps/generic/dl-cache.c: Likewise.
9374 * sysdeps/generic/dl-origin.c: Likewise.
9375 * sysdeps/generic/dl-sysdep.c: Likewise.
9376 * sysdeps/generic/elf/backtracesyms.c: Likewise.
9377 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9378 * sysdeps/generic/libc-start.c: Likewise.
9379 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9380 * sysdeps/powerpc/dl-machine.c: Likewise.
9381 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9382 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9383 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9384 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
9386 * elf/ldsodefs.h: Move file to ...
9387 * sysdeps/generic/ldsodefs.h: ... here.
9389 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
9391 * sysdeps/mips/elf/ldsodefs.h: New file.
9393 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
9395 (_dl_check_map_versions): Likewise.
9396 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9397 * elf/dl-load.c (_dl_init_paths): Likewise.
9398 (_dl_map_object): Likewise.
9399 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
9400 (elf_get_dynamic_info): Likewise.
9401 * elf/do-lookup.h (FCT): Likewise.
9402 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
9403 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9404 * elf/dl-addr.c (_dl_addr): Likewise.
9405 * elf/dl-runtime.c (profile_fixup): Likewise.
9407 * elf/dl-init.c (_dl_init_next): Likewise.
9408 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
9409 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
9410 (DISTINGUISH_LIB_VERSIONS): Likewise.
9411 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
9412 (elf_machine_rel): Likewise.
9414 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
9415 for writable dynamic section.
9417 2000-03-22 Ulrich Drepper <drepper@redhat.com>
9419 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
9420 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
9422 2000-03-22 Andreas Jaeger <aj@suse.de>
9424 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
9425 from latest Linux kernel.
9427 2000-03-21 Andreas Jaeger <aj@suse.de>
9429 * Versions.def: Add version 2.1.4.
9431 2000-03-21 Ulrich Drepper <drepper@redhat.com>
9433 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
9434 * libio/oldiofopen.c: Likewise.
9435 * libio/oldiofclose.c: Likewise.
9436 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9438 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
9440 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
9441 indicating the first version set to obsolete the conditionalized code.
9442 (compat_symbol): New macro.
9443 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
9444 rhs be the ABI_* macro for the subsuming version. Assign increasing
9445 integer values to the ABI_* macros for supported versions.
9446 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
9447 compat_symbol macro.
9449 2000-03-21 Ulrich Drepper <drepper@redhat.com>
9451 * nscd/connections.c (nscd_run): Pretty print.
9452 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
9454 * manual/charset.texi: Fix typos. Rephrase.
9455 * manual/process.texi: Likewise.
9456 * manual/signal.texi: Likewise.
9457 Patches by Mike Coleman <mkc@kc.net>.
9459 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
9461 * libio/iofdopen.c: Likewise.
9462 * libio/iofgetpos.c: Likewise.
9463 * libio/iofgetpos64.c: Likewise.
9464 * libio/iofopen.c: Likewise.
9465 * libio/iofsetpos.c: Likewise.
9466 * libio/iofsetpos64.c: Likewise.
9467 * libio/iopopen.c: Likewise.
9468 * libio/oldiofopen.c: Likewise.
9469 * libio/pclose.c: Likewise.
9470 * sysdeps/gnu/siglist.c: Likewise.
9471 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9473 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
9474 chance to expand VERSION_##lib##_##version.
9476 * libio/fileops.c: Use new macros from shlib-compat.h to define
9478 * libio/iofclose.c: Likewise.
9479 * libio/oldiofclose.c: Likewise.
9480 Patch by Roland McGrath <roland@frob.com>.
9482 2000-03-21 Jakub Jelinek <jakub@redhat.com>
9484 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
9485 Lay out struct sigcontext according to what really gets passed on
9487 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
9488 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
9489 (prgregset_t, prfpregset_t): Define to elf_* types.
9490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
9491 Define to correct value.
9492 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
9494 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
9496 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
9498 * scripts/firstversions.awk: Allow multiple version sets in the
9499 "earliest version" specification, meaning that version sets in the
9500 gaps between listed versions should be folded into the earliest later
9501 version that is explicitly listed.
9502 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
9503 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
9505 2000-03-21 Ulrich Drepper <drepper@redhat.com>
9507 * iconv/gconv_builtin.c: Include <endian.h>.
9508 * iconv/gconv_builtin.h: Add UCS-BE aliases.
9509 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
9510 according to current platform.
9511 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
9512 __gconv_transform_internal_ucs2reverse, and
9513 __gconv_transform_internal_ucs4le.
9514 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
9515 __gconv_transform_ucs2reverse_internal and
9516 __gconv_transform_internal_ucs2reverse.
9517 * iconvdata/Makefile (modules): Add UNICODE.
9518 (distribute): Add unicode.c.
9519 * iconvdata/gconv-modules: Add definitions for UNICODE module.
9520 * iconvdata/unicode.c: New file.
9522 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
9523 determine byte order of input and convert accordingly.
9525 * iconvdata/utf-16.c (gconv_init): Fix typo.
9527 2000-03-20 Ulrich Drepper <drepper@redhat.com>
9529 * iconvdata/gconv-modules: Fix typo.
9531 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
9534 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
9536 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
9538 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
9540 2000-03-20 Ulrich Drepper <drepper@redhat.com>
9542 * misc/Makefile (routines): Add mincore.
9544 2000-03-20 Andreas Jaeger <aj@suse.de>
9546 * sysdeps/generic/mincore.c: New stub file.
9548 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
9549 from latest Linux kernel.
9551 2000-03-20 Ulrich Drepper <drepper@redhat.com>
9553 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
9554 _SC_GETPW_R_SIZE_MAX.
9556 2000-03-20 Richard Henderson <rth@cygnus.com>
9558 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
9561 2000-03-20 Richard Henderson <rth@cygnus.com>
9563 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
9564 of arithmetic instructions.
9566 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
9567 with the fpcr. Protect from INV exception.
9568 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
9569 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
9570 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
9572 * sysdeps/alpha/fpu/s_copysign.c: New.
9573 * sysdeps/alpha/fpu/s_copysignf.c: New.
9574 * sysdeps/alpha/fpu/s_fabs.c: New.
9575 * sysdeps/alpha/fpu/s_fabsf.c: New.
9576 * sysdeps/alpha/fpu/s_rint.c: New.
9577 * sysdeps/alpha/fpu/s_rintf.c: New.
9579 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
9581 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
9583 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
9584 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
9585 Use physical addresses not KSEG addresses.
9586 (io_system): Add PYXIS.
9587 (io): Remove hae.reg, sys, hae_shift.
9588 (stb_mb, stw_mb, stl_mb, __sethae): New.
9589 (inline_outb, inline_outw, inline_outl): Don't set hae.
9590 (inline_inb, inline_inw, inline_inl): Likewise.
9591 (dense_sethae): New null function.
9592 (struct cpuinfo_data): New.
9593 (process_cpuinfo): Use local and stack variables, not static.
9594 Move readlink check here from init_iosys.
9595 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
9597 (_hae_shift): Calculate it here.
9598 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
9599 add pciconfig_iobase.
9601 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
9603 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
9604 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
9606 * scripts/versions.awk: Fixed version renaming code to distinguish
9609 2000-03-19 Ulrich Drepper <drepper@redhat.com>
9611 * include/stdlib.h: Add prototype for __cxa_atexit.
9613 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
9614 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
9616 2000-03-17 Cristian Gafton <gafton@redhat.com>
9618 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
9619 existing rtld-installed-name.
9620 ($(rtld-installed-name)): Request libc-$(version) be installed too.
9621 replace existing rtld-installed-name using $(symbolic-link-prog).
9623 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
9625 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
9626 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
9627 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
9630 2000-03-19 Ulrich Drepper <drepper@redhat.com>
9632 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
9633 glob64. Since there is no glob64 in the LFS proposal applications
9634 can assume that glob handles LFS situations. glob64 is only needed
9635 if alternative filesystem functions are used.
9637 2000-03-19 Geoff Clare <gwc@unisoft.com>
9639 * sysdeps/generic/glob.c: Correct gl_pathc value returned
9640 when GLOB_DOOFFS is set; correct handling of patterns
9641 containing escaped wildcards (and no unescaped ones);
9642 GLOB_ERR flag was being ignored in some situations.
9644 * posix/globtest.c, posix/globtest.sh: Updated to include
9645 tests for the problems fixed by the above changes to glob.c.
9647 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
9649 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
9651 * Makeconfig (soversion.i): Use only first match for each lib.
9653 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
9655 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
9656 rather than $(sysd-dirs-done) to protect these rules.
9658 * Makerules (version-renames.def): Target removed.
9659 (Versions.all): Depend on soversions.i directly and parse it.
9661 * Makeconfig (soversions.i): New target, input-reading parts of
9662 soversions.mk generation moved here; result is a canonicalized
9663 list "LIB VERSION [SET]" for this configuration.
9664 (soversions.mk): Use that as input. Don't emit map-firstversions.
9665 * Makerules (version-renames.def): New target, generated from
9666 soversions.i with contents that was in $(map-firstversions).
9667 (Versions.all): Don't depend on soversions.mk, depend on
9668 version-renames.def instead; just cat it into the input.
9670 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
9671 for $(map-firstversions), which better handles it being empty.
9673 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
9674 supported version for libc 0.2.90.libio to GLIBC_2.2.
9676 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
9677 and use it to emit new variable `map-firstversions'.
9678 * scripts/firstversions.awk: New file.
9679 * Makerules (Versions.all): Use scripts/firstversions.awk and
9680 the $(map-firstversions) value to generate a modified versions list
9681 that includes renames in "A = B" syntax for each version set earlier
9682 than the "earliest symbol version" named in shlib-versions.
9683 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
9684 rename version set A to B in the output to the intermediate file.
9685 * scripts/abi-versions.awk: New file.
9686 * Makerules (abi-versions.h): New target, generated by that script.
9687 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
9688 * include/shlib-compat.h: New file, uses that generated header.
9690 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
9692 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
9693 after stripping # comments, and then run it through cpp.
9694 This allows things like "%ifdef FOO" based on config.h settings.
9695 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
9697 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
9698 and other errors that indicate a pseudo-receive happened, grok through
9699 the message buffer for port rights that need references fixed up.
9701 2000-03-16 Andreas Jaeger <aj@suse.de>
9703 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
9705 * sysdeps/unix/sysv/linux/madvise.c: Remove.
9707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
9708 from latest Linux kernel.
9709 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
9711 * misc/sys/mman.h: Add prototype for mincore.
9713 2000-03-17 Ulrich Drepper <drepper@redhat.com>
9715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
9716 entry for GLIBC_2.0 version of setrlimit.
9717 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9719 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
9721 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
9722 * nis/nss_compat/compat-initgroups.c: Likewise.
9723 * nis/nss_nis/nis-initgroups.c: Likewise.
9724 * nis/nss_nis/nis-netgrp.c: Likewise.
9725 * nis/nss_nis/nis-proto.c: Likewise.
9726 * nis/nss_nis/nis-rpc.c: Likewise.
9727 * nis/nss_nis/nis-service.c: Likewise.
9728 * nis/ypclnt.c: Likewise.
9730 2000-03-16 Andreas Jaeger <aj@suse.de>
9732 * manual/Makefile: MAKEINFO is set to `:' from configure if it
9733 doesn't exist, correct checks. Fixes PR libc/1649.
9735 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
9737 * nscd/hstcache.c: Restore correct UID.
9738 * nscd/pwdcache.c: Likewise.
9739 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
9741 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
9743 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
9744 macros for register names, in line with 2000-03-14 linux change.
9746 * sysdeps/mach/sched_yield.c: New file.
9748 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
9750 * sysdeps/generic/lockfile.c: Include <stdio.h>
9751 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
9752 case <libio.h> defined them.
9753 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
9755 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
9756 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
9758 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
9759 for more pleasing parse error.
9761 2000-03-16 Ulrich Drepper <drepper@redhat.com>
9763 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
9765 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9767 * elf/Makefile: Add rules to compile and run constload1 test.
9768 * elf/constload1.c: New file.
9769 * elf/constload2.c: New file.
9770 * elf/constload3.c: New file.
9772 2000-03-15 Ulrich Drepper <drepper@redhat.com>
9774 * sysdeps/posix/open64.c: Make __open64 weak alias.
9775 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
9776 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9777 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9778 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9779 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
9780 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
9781 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9782 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9783 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9784 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
9786 2000-03-14 Ulrich Drepper <drepper@redhat.com>
9788 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
9789 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
9791 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9793 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9794 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9796 2000-03-08 Andreas Jaeger <aj@suse.de>
9798 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
9800 2000-03-14 Ulrich Drepper <drepper@redhat.com>
9802 * timezone/africa: Update from tzdata2000d.
9803 * timezone/asia: Likewise.
9804 * timezone/australasia: Likewise.
9805 * timezone/europe: Likewise.
9806 * timezone/northamerica: Likewise.
9807 * timezone/southamerica: Likewise.
9809 * po/fr.po: Update from translation team.
9810 * po/de.po: Likewise.
9812 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
9813 last parameter. Move code to add map to global scope from here...
9814 * elf/dl-open.c (dl_open_worker): ...here.
9815 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
9816 * elf/rtld.c: Adjust call to _dl_map_object_deps.
9818 * locale/programs/ld-collate.c (collate_read): Fix warning.
9820 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
9821 values and macros for register names.
9823 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
9824 returned by seek cookie function is -1.
9826 2000-03-14 Andreas Jaeger <aj@suse.de>
9828 * locale/localeconv.c (localeconv): Fix typo.
9829 Reported by Andre Charbonneau <andrec@corel.com>.
9831 2000-03-14 Ulrich Drepper <drepper@redhat.com>
9833 * iconv/skeleton.c: Increment __invocation_counter in inner loop
9834 since modules depend on it counting the number of times the conversion
9835 function got called.
9837 * iconv/gconv_open.c: Optimize loop to setup step data structure.
9839 * iconv/gconv.h: Pretty print.
9841 2000-03-04 Ulrich Drepper <drepper@redhat.com>
9843 * posix/wordexp-test.c: Correct one of the tests added in the last
9844 change. Really get the root passwd entry to check again ~root.
9846 2000-03-10 Andreas Jaeger <aj@suse.de>
9848 * manual/filesys.texi (Working Directory): Fix last patch.
9849 Patch by Martin Buchholz <martin@xemacs.org>.
9851 2000-03-10 Andreas Jaeger <aj@suse.de>
9853 * manual/creature.texi (Feature Test Macros): Fix language.
9855 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
9857 * mach/devstream.c (devstream_write, devstream_read): New functions.
9858 (input, output): Functions removed.
9859 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
9860 using only the vanilla fopencookie interface.
9862 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
9863 as macro for __io_functions.
9864 (funcsio): Use cookie_io_functions_t type name.
9865 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
9867 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
9869 (fopencookie): Use it.
9870 * libio/libio.h: Declare _IO_cookie_init.
9871 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
9874 * libio/libio.h (__io_seek_fn): Fix second argument type
9875 to be a pointer, in line with the manual and the old stdio.
9876 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
9878 * sysdeps/generic/bits/stdio-lock.h: New file.
9879 This is a stub with #error, but that's better than no file at all.
9881 2000-03-09 Martin Buchholz <martin@xemacs.org>
9883 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
9884 * manual/message.texi (Using gettextized software): Doc Fixes.
9885 * manual/message.texi (Message Translation): Doc Fixes.
9886 * manual/filesys.texi (File Size): Doc Fixes.
9887 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
9888 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
9889 * iconv/gconv_db.c (find_derivation): Doc Fixes.
9890 * manual/install.texi: Doc Fixes.
9891 * manual/search.texi (Hash Search Function): Doc Fixes.
9892 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
9893 * FAQ.in: Doc Fixes.
9894 * config.h.in: Doc Fixes.
9895 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
9896 Doc Fixes. `allows to' is not correct English.
9898 * elf/rtld.c: Doc fixes.
9899 * manual/creature.texi (Feature Test Macros): Doc fixes.
9900 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
9902 * manual/filesys.texi (Working Directory): Check for ERANGE to
9905 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9907 * string/argz-stringify.c (__argz_stringify): Fix loop termination
9908 conditions so as not to clobber the final '\0' when there is only one
9909 element in the vector.
9911 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9913 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
9914 broken by 2000-02-27 change.
9916 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
9918 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9920 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
9921 argument type, for 2000-02-22 change in signal/signal.h declaration.
9923 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9925 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
9926 to getdirentries64 (no __), since the Linux implementation
9927 has no __ name, and there is no declaration for the __ name.
9929 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
9931 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
9932 sed regexp so as not to break directory names including /../ within.
9934 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
9935 The sysdeps/generic file is right for BSD. This file was in fact the
9936 Hurd file, but the only difference was the WNOREAP flag that was never
9937 actually implemented or used anywhere.
9939 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
9940 since AC_PATH_PROG already does it for us.
9941 (PERL): Rewrite check added in 2000-02-29 change for syntactic
9942 correctness and sh portability. I replaced the broken check
9943 with a more sensible implementation of the apparently intended
9944 semantics, which might still be questionable. Using expr causes
9945 a non-numeric value for `perl -V:apiversion` to be accepted,
9946 refusing to use only a perl that reports a number less than 5;
9947 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
9948 * configure: Regenerated.
9950 2000-03-08 Andreas Jaeger <aj@suse.de>
9952 * manual/crypt.texi: Fix paths.
9954 2000-03-07 Andreas Jaeger <aj@suse.de>
9956 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
9958 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
9961 2000-03-06 Andreas Jaeger <aj@suse.de>
9963 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
9964 in __sgn1l, otherwise g++ fails to parse this.
9965 Reported by Sean Chen <sean.chen@turbolinux.com>.
9967 2000-03-03 Geoff Keating <geoffk@cygnus.com>
9969 * configure.in: Compute sizeof-long-double.
9970 * configure: Regenerated.
9971 * config.make.in: Make sizeof-long-double available to sub-makes.
9973 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
9975 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9978 2000-03-03 Geoff Keating <geoffk@cygnus.com>
9980 * Makeconfig (rpath-dirs): Add crypt.
9981 (all-subdirs): Remove md5crypt.
9982 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
9983 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
9984 * sysdeps/generic/crypt-entry.c: Delete.
9985 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
9986 * sysdeps/generic/crypt.h: Delete.
9987 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
9988 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
9989 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
9990 * sysdeps/generic/des_impl.c: Delete.
9991 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
9992 * crypt/sysdeps: Delete.
9993 * crypt/crypt_util.c: Don't use `patchlevel.h'.
9994 * md5-crypt/Versions: Move to crypt/.
9995 * md5-crypt/md5-crypt.c: Move to crypt/.
9996 * md5-crypt/md5.c: Move to crypt/.
9997 * md5-crypt/md5c-test.c: Move to crypt/.
9998 * md5-crypt/md5test.c: Move to crypt/.
9999 * md5-crypt: Delete.
10000 * crypt/Makefile: Adjust for new structure.
10002 2000-03-03 Paul Eggert <eggert@twinsun.com>
10004 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
10005 define to 1 if not defined.
10007 2000-03-03 Andreas Jaeger <aj@suse.de>
10009 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
10011 2000-03-03 Andreas Jaeger <aj@suse.de>
10013 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
10015 (xdr_int64_t): Correctly handle lower half.
10016 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
10018 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
10020 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10023 2000-03-02 Andreas Jaeger <aj@suse.de>
10025 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
10028 2000-03-02 Andreas Jaeger <aj@suse.de>
10030 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
10032 2000-03-01 Andreas Jaeger <aj@suse.de>
10034 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
10035 (tests): Added tst-getdate.
10037 * time/tst-getdate.c: New file.
10039 * time/datemsk: New file, needed for tst-getdate.
10041 2000-02-29 Cristian Gafton <gafton@redhat.com>
10043 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
10045 2000-02-17 H.J. Lu <hjl@gnu.org>
10047 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
10049 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
10051 (svcudp_recv): Set up message with the new "xp_pad" field for
10053 (svcudp_reply): Support IP_PKTINFO if available.
10055 2000-03-01 Andreas Jaeger <aj@suse.de>
10057 * time/getdate.c (check_mday): Fix check for february.
10058 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
10059 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
10061 2000-03-02 Andreas Jaeger <aj@suse.de>
10063 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
10064 g++ fails to parse this.
10065 Reported by Sean Chen <sean.chen@turbolinux.com>.
10067 2000-02-28 Ulrich Drepper <drepper@redhat.com>
10069 * io/creat.c: Moved to...
10070 * sysdeps/generic/creat.c: ...here.
10071 * io/creat64.c: Moved to...
10072 * sysdeps/generic/creat64.c: ...here.
10073 * io/lockf.c: Moved to...
10074 * sysdeps/generic/lockf.c: ...here.
10076 * crypt/crypt.texi: Moved to...
10077 * manual/crypt.texi: ...here.
10078 * crypt/examples/genpass.c: Moved to...
10079 * manual/examples/genpass.c: ...here.
10080 * crypt/examples/mygenpass.c: Moved to...
10081 * manual/examples/mygenpass.c: ...here.
10082 * crypt/examples/testpass.c: Moved to...
10083 * manual/examples/testpass.c: ...here.
10085 * manual/Makefile (chapters): Add crypt.
10086 * manual/conf.texi: Add usual header for not-last chapter.
10087 * manual/crypt.texi: Add special header for last chapter.
10089 2000-02-28 Geoff Keating <geoffk@cygnus.com>
10091 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
10092 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
10093 complain if there is no crypt add-on.
10094 * crypt/configure: Removed.
10096 * crypt/crypt.texi: Update documentation of US export restrictions
10097 to match the 14 Jan 2000 regulations.
10099 2000-02-28 Geoff Keating <geoffk@cygnus.com>
10101 * crypt: New subdirectory, merged in from the crypt add-on.
10103 2000-02-28 Ulrich Drepper <drepper@redhat.com>
10105 * include/unistd.h: Add __rmdir and __mkdir prototypes.
10108 See ChangeLog.10 for earlier changes.