1 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
3 * string/strcoll.c: Use uint32_t instead of u_int32_t.
5 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
7 * libio/stdio.h: Fix typo in __REDIRECT.
8 * io/sys/stat.h: Likewise.
9 Reported by Myles Uyema <myles@uyema.nws.net>.
11 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13 * locale/programs/localedef.c (options): Fix help message.
15 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
17 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
18 relocations. Patch by Joe Keane <jgk@jgk.org>.
20 1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
22 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
23 ptmalloc_unlock_all, but re-initializes the mutexes instead.
24 (ptmalloc_init): Use new function in thread_at_fork call.
25 (thread_atfork_static): Likewise.
26 Suggested by Wolfram Gloger and Xavier Leroy.
28 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
30 * signal/signal.h: Move definitions of struct sigstack and
31 struct sigaltstack into separate file and include it.
32 * sysdeps/generic/bits/sigstack.h: New file.
33 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
34 * signal/Makefile (headers): Add bits/sigstack.h.
36 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
38 * elf/rtld.c (dl_main): Fix check for number of references to
41 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
43 * elf/rtld.c (dl_main): Check has_interp after executing platform
46 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
48 * iconvdata/run-iconv-test.sh: Fix typo.
50 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
52 * Makerules (+depfiles): Add depfiles for $(tests-static).
55 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
57 * manual/terminal.texi (Special Characters): Fix description of
60 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
62 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
64 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
67 1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
69 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
71 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
73 * intl/locale.alias: Update russian entry.
75 1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
77 * Makerules (static-only-routines): Reimplement in terms of
79 (shared-only-routines): Reimplement in terms of
80 elide-routines.X [where X is all object-suffixes except .os].
82 (stubs): Create stubs file inside the subdir.
83 (common-mostlyclean): Remove stubs file from inside the subdir.
84 * Makefile (subdir-stubs): Look for stubs files inside the
86 * manual/Makefile (stubs): Create dummy stubs file inside the
89 1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
91 Build speed improvement: make ar less of a bottleneck.
93 * Makerules (stamp$o): Just record the object list for later
95 (libc_foo.a): New rule, depends on subdir stamp files; builds
96 and ranlibs the library from the lists saved in those files.
98 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
99 (subdirs-stamp-o): Likewise.
101 (ar-symtab-name): Delete variable.
102 (lib%.a): Delete target.
103 (libc_foo.a(bar.%)): Delete target.
104 (libc_foo.a($(ar-symtab-name))): Delete target.
106 (objects objs): Just depend on libobjs and extra-objs.
107 (libobjs): Depend on the stamp files, not the objects.
108 (extra-objs): New target, just depends on the extra-objs list.
110 (CREATE_ARFLAGS): Kill the `ar S' hack.
112 * config.make.in (have-ar-S): Deleted.
113 * configure.in: Delete test for `ar S'. Add test to determine
114 whether ranlib does anything useful.
116 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
118 * inet/tst-ether_aton.c: Include <stdio.h>.
120 1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
122 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
124 * locale/Makefile (distribute): Add programs/repertoire.h.
125 (localedef-modules): Add repertoire.
126 (CPPFLAGS): Define REPERTOIREMAP_PATH.
127 * locale/programs/repertoire.c: New file.
128 * locale/programs/repertoire.h: New file.
129 * locale/programs/charmap.c: Starting fixing character set handling
130 to handle multi-byte encodings.
131 * locale/programs/charset.c: Likewise.
132 * locale/programs/charset.h: Likewise.
133 * locale/programs/ld-collate.c: Likewise.
134 * locale/programs/ld-ctype.c: Likewise.
135 * locale/programs/linereader.c: Likewise.
136 * locale/programs/localedef.c: Likewise.
137 * locale/programs/locfile-kw.gperf: Likewise.
138 * locale/programs/locfile-kw.h: Likewise.
139 * locale/programs/locfile-token.h: Likewise.
140 * locale/programs/locfile.h: Likewise.
141 * locale/programs/stringtrans.c: Likewise.
143 * locale/programs/locfile.c: Interpret I18NPATH value as base of
144 path, extended with "/locales/".
146 1998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
148 * sysdeps/arm/memset.S: Fix off by one error.
150 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
151 __syscall_error rather than syscall_error directly.
153 1998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
155 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
156 mmap() syscall for ARM.
158 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
161 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
163 * locale/programs/localedef.c: Recognize repertoire-map option.
165 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
167 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
168 converting non-hex numbers.
169 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
171 1998-04-23 07:31 H.J. Lu <hjl@gnu.org>
173 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
175 * resolv/Makefile (tests): New, add tst-aton.
176 * resolv/tst-aton.c: New file.
178 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
180 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
183 1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
185 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
186 by letting the later modify the variable computing the total directly.
187 * wcsmbs/mbsrtowcs.c: Likewise.
188 * wcsmbs/wcsnrtombs.c: Likewise.
189 * wcsmbs/wcsrtombs.c: Likewise.
191 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
193 * wcsmbs/wctoc.c: Likewise.
195 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
196 * wcsmbs/wcsrtombs.c: Likewise.
198 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
200 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
202 * iconv/skeleton.c: Correct counting of actually converted
205 * intl/localealias.c (read_alias_file): Use unsigned char for
206 local variables. Remove unused variable tp.
207 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
208 for type of codeset. For loosing Solaris systems.
209 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
210 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
212 Patches by Jim Meyering.
214 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
215 wcsrtombs must put it into initial state.
217 1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
219 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
220 argument of bswap_XX macro.
222 1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
224 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
227 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
229 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
230 semun and use stdarg macros to get the value.
231 * sysdeps/generic/semctl.c: Don't use union semun.
233 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
235 * string/basename.c [!_LIBC]: Define function as gnu_basename.
237 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
240 * stdlib/grouping.h: Accept ungrouped numbers even if locale
243 * intl/hash-string.h: Don't include values.h.
245 * inet/Makefile (tests): Add tst-ether_aton.
246 * inet/tst-ether_aton.c: New file.
248 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
250 * inet/ether_aton.c (ether_aton): Declare result variable static.
251 Reported by ahyung@unixg.ubc.ca.
253 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
254 Define macro _SEM_SEMUN_UNDEFINED instead.
255 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
257 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
258 * stdio-common/Makefile (tests): Add tst-wc-printf.
260 1998-04-28 16:32 Philip Blundell <philb@gnu.org>
262 * manual/stdio.texi (Variable Arguments Output): Correct variable
263 name. Patch from Ewan Mellor <em@nexus.co.uk>
265 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
267 * intl/dcgettext.c: Remove unneeded definition of
270 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
272 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
273 instead of do-iconv-test.
274 ($(objpfx)gconv-modules): Define rule only if objpfx is not
277 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
279 * string/string.h: Fix feature test.
281 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
283 * iconvdata/iso646.c (BODY): Don't use character constants that
284 depend on signedness of char.
286 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
288 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
289 (sysdep_routines): Add s_pread64 and s_pwrite64.
291 1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
293 * iconvdata/Makefile (distribute): Remove generated .h files.
294 * iconvdata/koi8-r.h: Removed.
295 * iconvdata/latin-greek-1.h: Removed.
296 * iconvdata/latin-greek.h: Removed.
298 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
299 * iconvdata/KOI-8: Likewise.
300 * iconvdata/KOI-8..UTF8: Likewise.
301 * iconvdata/KOI8-R: Likewise.
302 * iconvdata/KOI8-R..UTF8: Likewise.
304 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
306 * streams/Makefile (headers): Add sys/stropts.h.
307 * streams/sys/stropts.h: New file.
309 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
311 * sysdeps/unix/sysv/linux/ttyname.c,
312 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
313 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
315 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
317 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
318 argument of _itoa_word.
320 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
322 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
323 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
324 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
325 sigprocmask, resp., instead of EXTRA.
327 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
328 s_pread64 and s_pwrite64.
330 1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
332 * iconvdata/Makefile: Correct rules to generate gap table.
333 * iconvdata/gap.pl: Simplify.
335 * iconvdata/TESTS: Name new tests.
336 * iconvdata/testdata/CP1250: New file.
337 * iconvdata/testdata/CP1250..UTF8: New file.
338 * iconvdata/testdata/CP1251: New file.
339 * iconvdata/testdata/CP1251..UTF8: New file.
340 * iconvdata/testdata/CP1252: New file.
341 * iconvdata/testdata/CP1252..UTF8: New file.
342 * iconvdata/testdata/CP1253: New file.
343 * iconvdata/testdata/CP1253..UTF8: New file.
344 * iconvdata/testdata/CP1254: New file.
345 * iconvdata/testdata/CP1254..UTF8: New file.
346 * iconvdata/testdata/CP1255: New file.
347 * iconvdata/testdata/CP1255..UTF8: New file.
348 * iconvdata/testdata/CP1256: New file.
349 * iconvdata/testdata/CP1256..UTF8: New file.
350 * iconvdata/testdata/CP1257: New file.
351 * iconvdata/testdata/CP1257..UTF8: New file.
353 1998-04-26 Ulrich Drepper <drepper@cygnus.com>
355 * iconvdata/Makefile: Add rules for ISO-2022-KR.
356 * iconvdata/iso-2022-kr.c: New file.
358 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
361 1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
363 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
364 iso8859-8 and iso8859-10.
365 * iconvdata/iso8859-5.c: Change to use gap method.
366 * iconvdata/iso8859-7.c: Likewise.
367 * iconvdata/iso8859-8.c: Likewise.
368 * iconvdata/iso8859-10.c: Likewise.
370 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
371 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
373 * iconvdata/iso-2022-jp.c: New file.
375 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
376 * iconvdata/ksc5601.h: Unify function interfaces.
377 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
378 * iconvdata/uhc.c: Likewise.
380 * iconvdata/gb2312.h: Use correct types.
382 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
383 size elements of data.
385 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
387 * string/tst-svc.expect: Adapt for change in .input.
388 * string/tst-svc.input: More tests.
390 1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
392 * iconvdata/Makefile: Add rules for new modules.
393 * iconvdata/gconv-modules: Likewise.
394 * iconvdata/cp737.c: New file.
395 * iconvdata/cp737.h: New file.
396 * iconvdata/cp775.c: New file.
397 * iconvdata/cp775.h: New file.
398 * iconvdata/cp874.c: New file.
399 * iconvdata/cp874.h: New file.
401 1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
403 * iconvdata/Makefile: Create target directory before generating
406 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
408 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
409 __USER_LABEL_PREFIX__.
410 (__ASMNAME, __ASMNAME2): New macros.
412 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
414 * elf/dl-load.c: Include sys/param.h for MAX.
416 1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
418 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
419 __ftruncate the strong symbol, and add weak alias.
420 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
422 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
424 * termios/cfsetspeed.c: Make code cleaner and add missing const.
425 Patch by Joe Keane <jgk@jgk.org>.
427 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
430 1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
432 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
433 Patch by Thomas Bushnell, n/BSG.
435 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
437 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
439 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
441 * iconvdata/Makefile: Put generated headers in build directory.
443 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
445 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
446 strsep as current directory.
448 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
449 Java. Add definitions for unicodelittle implementation.
450 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
451 * iconv/gconv_simple.c: Define unicodelittle functions.
453 * iconv/iconv_prog.c: Make program print information about position
454 of illegal character in input.
456 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
457 comparison of charset name.
458 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
459 * iconvdata/ebcdic-at-de-a.c: Likewise.
460 * iconvdata/ebcdic-at-de.c: Likewise.
461 * iconvdata/ebcdic-ca-fr.c: Likewise.
462 * iconvdata/euccn.c: Likewise.
463 * iconvdata/eucjp.c: Likewise.
464 * iconvdata/euckr.c: Likewise.
465 * iconvdata/euctw.c: Likewise.
466 * iconvdata/hp-roman8.c: Likewise.
467 * iconvdata/iso6937.c: Likewise.
468 * iconvdata/iso8859-1.c: Likewise.
469 * iconvdata/iso8859-10.c: Likewise.
470 * iconvdata/iso8859-2.c: Likewise.
471 * iconvdata/iso8859-3.c: Likewise.
472 * iconvdata/iso8859-4.c: Likewise.
473 * iconvdata/iso8859-5.c: Likewise.
474 * iconvdata/iso8859-6.c: Likewise.
475 * iconvdata/iso8859-7.c: Likewise.
476 * iconvdata/iso8859-8.c: Likewise.
477 * iconvdata/iso8859-9.c: Likewise.
478 * iconvdata/johab.c: Likewise.
479 * iconvdata/koi-8.c: Likewise.
480 * iconvdata/koi8-r.c: Likewise.
481 * iconvdata/latin-greek-1.c: Likewise.
482 * iconvdata/latin-greek.c: Likewise.
483 * iconvdata/sjis.c: Likewise.
484 * iconvdata/t61.c: Likewise.
485 * iconvdata/uhc.c: Likewise.
487 * iconvdata/iso646.c: Add support for more ISO 646 variants.
488 * iconvdata/TESTS: Add tests for ISO646 module.
489 * iconvdata/gconv-modules: Add new modules.
490 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
491 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
492 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
493 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
494 * iconvdata/testdate/DIN_66003: Likewise.
495 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
496 * iconvdata/testdate/DS_2089: Likewise.
497 * iconvdata/testdate/DS_2089..UTF8: Likewise.
498 * iconvdata/testdate/ES: Likewise.
499 * iconvdata/testdate/ES..UTF8: Likewise.
500 * iconvdata/testdate/ES2: Likewise.
501 * iconvdata/testdate/ES2..UTF8: Likewise.
502 * iconvdata/testdate/GB_1988-80: Likewise.
503 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
504 * iconvdata/testdate/IT: Likewise.
505 * iconvdata/testdate/IT..UTF8: Likewise.
506 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
507 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
508 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
509 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
510 * iconvdata/testdate/JUS_I.B1.002: Likewise.
511 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
512 * iconvdata/testdate/KSC5636: Likewise.
513 * iconvdata/testdate/KSC5636..UTF8: Likewise.
514 * iconvdata/testdate/MSZ_7795.3: Likewise.
515 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
516 * iconvdata/testdate/NC_NC00-10: Likewise.
517 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
518 * iconvdata/testdate/NF_Z_62-010: Likewise.
519 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
520 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
521 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
522 * iconvdata/testdate/NS_4551-1: Likewise.
523 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
524 * iconvdata/testdate/NS_4551-2: Likewise.
525 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
526 * iconvdata/testdate/PT: Likewise.
527 * iconvdata/testdate/PT..UTF8: Likewise.
528 * iconvdata/testdate/PT2: Likewise.
529 * iconvdata/testdate/PT2..UTF8: Likewise.
530 * iconvdata/testdate/SEN_850200_B: Likewise.
531 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
532 * iconvdata/testdate/SEN_850200_C: Likewise.
533 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
535 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
536 * iconvdata/cns11643l1.h: Likewise.
537 * iconvdata/latin-greek-1.h: Likewise.
538 * iconvdata/latin-greek.h: Likewise.
539 * iconvdata/koi8-r.h: Likewise.
540 * iconvdata/jis0212.h: Likewise.
541 * iconvdata/gb2312.h: Likewise.
542 * iconvdata/ksc5601.h: Likewise.
544 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
546 * iconvdata/Makefile: Add rules for lots of more modules.
547 * iconvdata/cp1250.c: New file.
548 * iconvdata/cp1251.c: New file.
549 * iconvdata/cp1252.c: New file.
550 * iconvdata/cp1253.c: New file.
551 * iconvdata/cp1254.c: New file.
552 * iconvdata/cp1255.c: New file.
553 * iconvdata/cp1256.c: New file.
554 * iconvdata/cp1257.c: New file.
555 * iconvdata/ebcdic-dk-no-a.c: New file.
556 * iconvdata/ebcdic-dk-no.c: New file.
557 * iconvdata/ebcdic-es-a.c: New file.
558 * iconvdata/ebcdic-es-s.c: New file.
559 * iconvdata/ebcdic-es.c: New file.
560 * iconvdata/ebcdic-fi-se-a.c: New file.
561 * iconvdata/ebcdic-fi-se.c: New file.
562 * iconvdata/ebcdic-fr.c: New file.
563 * iconvdata/ebcdic-is-friss.c: New file.
564 * iconvdata/ebcdic-it.c: New file.
565 * iconvdata/ebcdic-pt.c: New file.
566 * iconvdata/ebcdic-uk.c: New file.
567 * iconvdata/ebcdic-us.c: New file.
568 * iconvdata/ibm037.c: New file.
569 * iconvdata/ibm038.c: New file.
570 * iconvdata/ibm1004.c: New file.
571 * iconvdata/ibm1026.c: New file.
572 * iconvdata/ibm1047.c: New file.
573 * iconvdata/ibm256.c: New file.
574 * iconvdata/ibm273.c: New file.
575 * iconvdata/ibm274.c: New file.
576 * iconvdata/ibm275.c: New file.
577 * iconvdata/ibm277.c: New file.
578 * iconvdata/ibm278.c: New file.
579 * iconvdata/ibm280.c: New file.
580 * iconvdata/ibm281.c: New file.
581 * iconvdata/ibm284.c: New file.
582 * iconvdata/ibm285.c: New file.
583 * iconvdata/ibm290.c: New file.
584 * iconvdata/ibm297.c: New file.
585 * iconvdata/ibm420.c: New file.
586 * iconvdata/ibm423.c: New file.
587 * iconvdata/ibm424.c: New file.
588 * iconvdata/ibm437.c: New file.
589 * iconvdata/ibm500.c: New file.
590 * iconvdata/ibm850.c: New file.
591 * iconvdata/ibm851.c: New file.
592 * iconvdata/ibm852.c: New file.
593 * iconvdata/ibm855.c: New file.
594 * iconvdata/ibm857.c: New file.
595 * iconvdata/ibm860.c: New file.
596 * iconvdata/ibm861.c: New file.
597 * iconvdata/ibm862.c: New file.
598 * iconvdata/ibm863.c: New file.
599 * iconvdata/ibm864.c: New file.
600 * iconvdata/ibm865.c: New file.
601 * iconvdata/ibm868.c: New file.
602 * iconvdata/ibm869.c: New file.
603 * iconvdata/ibm870.c: New file.
604 * iconvdata/ibm871.c: New file.
605 * iconvdata/ibm875.c: New file.
606 * iconvdata/ibm880.c: New file.
607 * iconvdata/ibm891.c: New file.
608 * iconvdata/ibm903.c: New file.
609 * iconvdata/ibm904.c: New file.
610 * iconvdata/ibm905.c: New file.
611 * iconvdata/ibm918.c: New file.
613 * locale/iso-4217.def: Update.
614 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
616 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
619 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
621 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
624 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
626 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
627 * Makefile: Likewise.
628 * posix/Makefile: Likewise.
629 * sysdeps/mach/hurd/Makefile: Likewise.
631 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
633 * sysdeps/mach/hurd/bits/dirent.h: New file.
634 * sysdeps/mach/hurd/readdir64.c: New file.
635 * sysdeps/mach/hurd/readdir64_r.c: New file.
637 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
639 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
640 dprintf): Synchronize declarations with libio/stdio.h.
642 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
644 * elf/dlerror.c (dlerror): Don't assume that
645 __libc_internal_tsd_get is defined. __libc_getspecific is already
646 well-protected, so just use it directly.
648 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
650 * io/ftw.h (ftw): Fix typo.
652 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
654 * sysdeps/gnu/utmp_file.c: Fix typo.
656 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
658 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
659 one part of a test fails move on to the next test.
661 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
663 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
665 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
667 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
668 as pointers, not signed integers.
670 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
672 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
674 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
676 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
677 asm symbol name of functions.
678 * include/features.h: Kill redundant test.
680 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
681 * io/ftw.h: Likewise.
682 * io/sys/stat.h: Likewise.
683 * io/sys/statfs.h: Likewise.
684 * io/sys/statvfs.h: Likewise.
685 * libio/stdio.h: Likewise.
686 * resource/sys/resource.h: Likewise.
687 * rt/aio.h: Likewise.
689 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
691 * signal/signal.h: Use new macros for BSD vs. SysV signal().
693 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
695 * misc/bsd-compat.c: Removed.
697 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
699 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
700 function declaration.
701 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
702 and use them in conversion function.
703 * iconvdata/Makefile (modules): Re-add ISO6446.
704 * iconvdata/TEST: Add tests for ASCII variants.
705 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
706 * iconvdata/testdata/ANSI_X3.4-1968: New file.
707 * iconvdata/testdata/BS_4730: New file.
708 * iconvdata/testdata/BS_4730..UTF8: New file.
710 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
712 * iconv/gconv.h (struct gconv_step): Add element stateful.
713 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
714 to zero for all internal conversions.
715 * iconv/skeleton.c: Initialize stateful depending on whether or not
716 RESET_STATE is defined to one or zero respectively.
717 * stdlib/mblen.c: Use stateful element of currently selected
718 converter for result if S is NULL.
719 * stdlib/mbtowc.c: Likewise.
720 * stdlib/wctomb.c: Likewise.
722 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
724 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
726 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
728 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
729 character in comparison with uint32_t.
730 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
731 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
734 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
737 * iconv/skeleton.c: Also reset converted counter in case of an error.
738 Call reset function using correct value for output buffer start.
740 * iconvdata/Makefile: Re-enable tests.
742 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
743 value for to-conversion.
745 * iconvdata/TESTS: Add new third column.
746 * iconvdata/run-iconv-test.sh: Add support for charsets which are
748 * iconvdata/testdata/suntzus: New file.
750 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
751 while reading. Correctly used base. Little optimization.
752 (__strtoul_internal): Likewise.
754 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
755 was wrong. Use explicit variable.
757 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
759 * configure.in: Check for awk.
760 * config.make.in: Add AWK to be substituted.
762 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
763 * manual/users.texi: Fix typo exposed by above rewrite.
765 * Makefile: Invoke awk using AWK variable.
766 * csu/Makefile: Likewise.
767 * elf/Makefile: Likewise.
768 * mach/Makefile: Likewise.
769 * manual/Makefile: Likewise.
770 * sysdeps/gnu/Makefile: Likewise.
771 * sysdeps/mach/hurd/Makefile: Likewise.
772 * sysdeps/unix/Makefile: Likewise.
773 * timezone/Makefile: Likewise.
775 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
777 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
778 array index translation.
779 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
782 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
784 * sysdeps/mach/hurd/errlist.c: New file.
785 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
786 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
787 semantics, so rename it.
789 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
791 * iconvdata/run-iconv-test.sh: Make portable. Always test all
794 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
796 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
797 * wcsmbs/wcsnrtombs.c: Likewise.
799 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
801 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
803 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
805 * time/strftime.c (my_strftime): Initialize pad variable in
808 * iconvdata/big5.c: Don't use character constants in comparisons
811 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
813 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
814 __libc_siglongjmp to GLIBC_2.1.
816 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
819 * iconv/Makefile: Don't run tests now.
821 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
822 with correct output buffer.
824 Major rewrite of the low-level gconv functionality.
825 * iconv/gconv.c: Rewritten.
826 * iconv/gconv.h: Likewise.
827 * iconv/gconv_builtin.c: Likewise.
828 * iconv/gconv_builtin.h: Likewise.
829 * iconv/gconv_conf.c: Likewise.
830 * iconv/gconv_int.h: Likewise.
831 * iconv/gconv_open.c: Likewise.
832 * iconv/gconv_simple.c: Likewise.
833 * iconv/iconv.c: Likewise.
834 * iconvdata/8bit-gap.c: Likewise.
835 * iconvdata/8bit-generic.c: Likewise.
836 * iconvdata/Makefile: Likewise.
837 * iconvdata/big5.c: Likewise.
838 * iconvdata/cns11643.c: Likewise.
839 * iconvdata/cns11643.h: Likewise.
840 * iconvdata/cns11643l1.c: Likewise.
841 * iconvdata/cns11643l1.h: Likewise.
842 * iconvdata/ebcdic-at-de-a.c: Likewise.
843 * iconvdata/ebcdic-at-de.c: Likewise.
844 * iconvdata/ebcdic-ca-fr.c: Likewise.
845 * iconvdata/euccn.c: Likewise.
846 * iconvdata/eucjp.c: Likewise.
847 * iconvdata/euckr.c: Likewise.
848 * iconvdata/euctw.c: Likewise.
849 * iconvdata/gb2312.c: Likewise.
850 * iconvdata/gb2312.h: Likewise.
851 * iconvdata/hp-roman8.c: Likewise.
852 * iconvdata/iso646.c: Likewise.
853 * iconvdata/iso6937.c: Likewise.
854 * iconvdata/iso8859-1.c: Likewise.
855 * iconvdata/iso8859-10.c: Likewise.
856 * iconvdata/iso8859-2.c: Likewise.
857 * iconvdata/iso8859-3.c: Likewise.
858 * iconvdata/iso8859-4.c: Likewise.
859 * iconvdata/iso8859-5.c: Likewise.
860 * iconvdata/iso8859-6.c: Likewise.
861 * iconvdata/iso8859-7.c: Likewise.
862 * iconvdata/iso8859-8.c: Likewise.
863 * iconvdata/iso8859-9.c: Likewise.
864 * iconvdata/jis0201.c: Likewise.
865 * iconvdata/jis0201.h: Likewise.
866 * iconvdata/jis0208.c: Likewise.
867 * iconvdata/jis0208.h: Likewise.
868 * iconvdata/jis0212.c: Likewise.
869 * iconvdata/jis0212.h: Likewise.
870 * iconvdata/johab.c: Likewise.
871 * iconvdata/koi-8.c: Likewise.
872 * iconvdata/koi8-r.c: Likewise.
873 * iconvdata/ksc5601.c: Likewise.
874 * iconvdata/ksc5601.h: Likewise.
875 * iconvdata/latin-greek-1.c: Likewise.
876 * iconvdata/latin-greek.c: Likewise.
877 * iconvdata/run-iconv-test.sh: Likewise.
878 * iconvdata/sjis.c: Likewise.
879 * iconvdata/t61.c: Likewise.
880 * iconvdata/uhc.c: Likewise.
881 * wcsmbs/btowc.c: Likewise.
882 * wcsmbs/mbrtowc.c: Likewise.
883 * wcsmbs/mbsnrtowcs.c: Likewise.
884 * wcsmbs/mbsrtowcs.c: Likewise.
885 * wcsmbs/wcrtomb.c: Likewise.
886 * wcsmbs/wcsmbsload.c: Likewise.
887 * wcsmbs/wcsnrtombs.c: Likewise.
888 * wcsmbs/wcsrtombs.c: Likewise.
889 * wcsmbs/wctob.c: Likewise.
890 * iconv/loop.c: New file.
891 * iconv/skeleton.c: New file.
893 * stdlib/mblen.c: Handle empty input string correctly.
894 * stdlib/mbtowc.c: Likewise.
896 * posix/getopt.c: Various cleanups.
898 * sysdeps/arm/bits/setjmp.h: Add copyright text.
899 * sysdeps/i386/bits/setjmp.h: Likewise.
900 * sysdeps/m68k/bits/setjmp.h: Likewise.
901 * sysdeps/powerpc/bits/setjmp.h: Likewise.
902 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
904 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
905 and make longjmp weak alias.
907 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
909 * iconv/Makefile (routines): Only include gconv_dl if building for
910 an ELF system - dynamic linking is not available on a.out.
911 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
913 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
914 routines from gconv_dl.
916 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
918 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
919 we can compile without libio.
921 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
923 * sysdeps/mach/hurd/Subdirs: Remove login.
925 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
927 * db2/compat.h: Include <errno.h>, to make sure we get the
928 definition of EFTYPE before we define it ourselves.
930 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
932 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
933 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
934 Fix typo to allow inclusion from sys/ioctl.h again.
936 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
938 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
940 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
942 * libc.map: Export __strerror_r. Remove _strerror_internal.
944 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
946 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
947 Also undefine __strcasestr.
949 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
951 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
952 aliases do not work with global variables due to copy relocations.
954 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
956 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
958 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
960 * signal/sighold.c: Include stddef.h for NULL definition.
961 * signal/sigrelse.c: Likewise.
962 * sysdeps/posix/sigignore.c: Likewise.
963 * sysdeps/posix/sigset.c: Likewise.
964 * sysdeps/posix/waitid.c: Likewise.
965 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
966 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
967 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
968 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
969 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
971 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
973 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
974 * login/getutent.c (getutxent): Remove alias.
975 * login/getutent_r.c (setutxent, pututxline, endutxent):
977 * login/getutid.c (getutxid): Remove alias.
978 * login/getutline.c (getutxline): Remove alias.
979 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
980 __getutid, __getutline and __pututline.
981 * login/utmpx.h: Moved to ...
982 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
983 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
985 * login/updwtmp.c: Moved to ...
986 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
987 allowing file name transformation.
988 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
989 additional file name transformation.
990 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
991 * login/utmp_file.c: Moved to ...
992 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
993 Generalized by allowing file name transformation. Do not
994 print error message. Library functions should not print them.
995 Reported by Jim Meyering.
996 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
997 with additional file name transformation.
998 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
999 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
1000 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
1001 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
1003 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
1004 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
1005 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
1006 Define if __USE_GNU.
1007 * sysdeps/generic/setutxent.c: New file.
1008 * sysdeps/generic/getutxent.c: New file.
1009 * sysdeps/generic/endutxent.c: New file.
1010 * sysdeps/generic/getutxid.c: New file.
1011 * sysdeps/generic/getutxline.c: New file.
1012 * sysdeps/generic/pututxline.c: New file.
1013 * sysdeps/generic/utmpxname.c: New file.
1014 * sysdeps/generic/updwtmpx.c: New file.
1015 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
1016 * sysdeps/generic/bits/utmpx.h: Remove.
1018 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
1020 * posix/wordexp-test.c (main): Initialize ifs element of ts for
1023 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
1025 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
1027 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
1029 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
1030 variable using _G_stat64.
1031 * libio/fileops.c: Remove macro definition of fstat, it is in the
1033 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1035 1998-04-17 Philip Blundell <pb@nexus.co.uk>
1037 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
1038 <willy@odie.barnet.ac.uk>.
1040 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
1042 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
1043 required by IPv6 Basic API.
1044 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
1045 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
1046 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
1047 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
1049 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
1051 Don't name internal representation since it might be different from
1052 the external form (namely on little endian machines).
1053 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
1054 UCS4 into references to INTERNAL.
1055 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
1056 Add endianess support to UCS functions. Change references to
1057 UCS4 into references to INTERNAL.
1058 * iconv/gconv_int.h: Change references to UCS4 into references to
1060 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
1061 * iconvdata/gconv-modules: Change accordingly.
1062 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
1064 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
1066 * iconvdata/8bit-gap.c: Likewise.
1067 * iconvdata/8bit-generic.c: Likewise.
1068 * iconvdata/big5.c: Likewise.
1069 * iconvdata/euccn.c: Likewise.
1070 * iconvdata/eucjp.c: Likewise.
1071 * iconvdata/euckr.c: Likewise.
1072 * iconvdata/euctw.c: Likewise.
1073 * iconvdata/iso646.c: Likewise.
1074 * iconvdata/iso6937.c: Likewise.
1075 * iconvdata/iso8859-1.c: Likewise.
1076 * iconvdata/johab.c: Likewise.
1077 * iconvdata/sjis.c: Likewise.
1078 * iconvdata/t61.c: Likewise.
1079 * iconvdata/uhc.c: Likewise.
1081 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
1082 * iconvdata/8bit-generic.c: Likewise.
1084 * iconvdata/TESTS: Add more tests.
1086 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
1088 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
1090 * iconvdata/Makefile: Better rules to run tests.
1092 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
1093 * iconvdata/testdata/ISO-8859-10: Likewise.
1094 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
1095 * iconvdata/testdata/ISO-8859-2: Likewise.
1096 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
1097 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
1098 * iconvdata/testdata/ISO-8859-3: Likewise.
1099 * iconvdata/testdata/ISO-8859-4: Likewise.
1100 * iconvdata/testdata/ISO-8859-5: Likewise.
1101 * iconvdata/testdata/ISO-8859-6: Likewise.
1102 * iconvdata/testdata/ISO-8859-7: Likewise.
1103 * iconvdata/testdata/ISO-8859-8: Likewise.
1104 * iconvdata/testdata/ISO-8859-9: Likewise.
1106 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
1108 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
1109 intermediate result (if available).
1111 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
1114 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
1115 (distribute): Add run-iconv-test.sh and testdata/*.
1117 * stdlib/testmb.c (main): Simplify mbc array handling.
1119 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1121 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
1122 return value on overflow.
1124 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1126 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
1129 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1131 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
1132 of non-standard function setbuffer.
1134 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1136 * stdio-common/perror.c: Include <string.h> for __strerror_r.
1138 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
1140 * iconvdata/Makefile: Add rules to run tests.
1141 * iconvdata/TESTS: New file.
1142 * iconvdata/run-iconv-test.sh: New file.
1143 * iconvdata/testdata/ISO-8859-1: New file.
1145 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
1148 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
1150 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1151 counter element of step.
1153 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
1155 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
1157 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
1159 (__gconv_transform_utf8_ucs4): Correct test for empty input.
1161 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
1163 * Makefile: Include makeconfig before defining rule to regenerate
1166 * configure.in: Remove restriction on compiling without static
1169 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
1171 * test-skeleton.c: Provide hook for initializing code before the fork.
1172 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
1175 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
1176 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
1177 * libio/libioP.h: Adopt _IO_cleanup prototype.
1179 * stdlib/Makefile (tests): Add test-canon2.
1180 * stdlib/test-canon2.c: New file.
1181 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
1182 be NULL. Use __lxstat, not __lstat. Correctly recognize long
1184 (__realpath): Make real function which checks RESOLVED parameter for
1187 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
1189 * catgets/open_catalog.c (__open_catalog): Fix problems with
1190 reading non-files. Always close file.
1191 Reported by Cristian Gafton <gafton@redhat.com>.
1193 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
1195 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
1197 * libc.map: Add various low-level I/O functions.
1199 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
1201 * string/Makefile (routines): Remove strerror_r.
1202 * string/strerror_r.c: Removed.
1203 * string/strerror.c: Call __strerror_r for doing the real work.
1204 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
1205 add weak alias strerror_r.
1206 * sysdeps/mach/_strerror.c: Likewise.
1207 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
1208 * elf/dl-error.c (_dl_signal_error): Likewise.
1209 * elf/dl-profile.c (_dl_start_profile): Likewise.
1210 * gmon/gmon.c (write_gmon): Likewise.
1211 * stdio-common/perror.c: Likewise.
1212 * stdio-common/vfprintf.c: Likewise.
1214 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
1216 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1217 (sysdep_headers): Add netatalk/at.h.
1219 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1221 * manual/socket.texi, manual/creature.texi, manual/time.texi:
1224 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1226 * posix/regex.c: Rename __re_syntax_options back to
1227 re_syntax_options, aliases do not work with global variables due
1228 to copy relocations.
1229 (regex_compile): Use syntax parameter instead of
1232 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1234 * configure.in: Document that enable-force-install is default.
1236 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
1238 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
1240 * sysdeps/posix/mkstemp.c: Likewise.
1242 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
1244 * iconvdata/8bit-gap.c: Simplify step data handling.
1245 * iconvdata/8bit-generic.c: Likewise.
1246 * iconvdata/big5.c: Likewise.
1247 * iconvdata/euccn.c: Likewise.
1248 * iconvdata/eucjp.c: Likewise.
1249 * iconvdata/euckr.c: Likewise.
1250 * iconvdata/euctw.c: Likewise.
1251 * iconvdata/iso6937.c: Likewise.
1252 * iconvdata/iso8859-1.c: Likewise.
1253 * iconvdata/jis0208.h: Likewise.
1254 * iconvdata/jis0212.c: Likewise.
1255 * iconvdata/jis0212.h: Likewise.
1256 * iconvdata/johab.c: Likewise.
1257 * iconvdata/ksc5601.h: Likewise.
1258 * iconvdata/sjis.c: Likewise.
1259 * iconvdata/t61.c: Likewise.
1260 * iconvdata/uhc.c: Likewise.
1262 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
1264 * manual/texinfo.texi: Updated from last version.
1266 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
1268 * iconvdata/cns11643.c: New file.
1269 * iconvdata/cns11643.h: New file.
1270 * iconvdata/cns11643l1.c: New file.
1271 * iconvdata/cns11643l1.h: New file.
1272 * iconvdata/euctw.c: New file.
1273 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
1274 * iconvdata/gconv-modules: Likewise.
1276 * iconvdata/eucjp.c: Several bug fixes and improvements.
1277 * iconvdata/gb2312.h: Likewise.
1278 * iconvdata/jis0201.h: Likewise.
1279 * iconvdata/jis0208.h: Likewise.
1280 * iconvdata/jis0212.h: Likewise.
1282 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
1284 * iconvdata/eucjp.c: New file.
1285 * iconvdata/euccn.c: New file.
1286 * iconvdata/gb2312.h: New file.
1287 * iconvdata/gb2312.c: New file.
1288 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
1289 * iconvdata/gconv-modules: Likewise.
1291 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
1293 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
1295 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1296 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
1297 Patch by Mark Hatle <fray@kernel.crashing.org>.
1299 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
1301 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
1303 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
1304 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
1306 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
1308 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
1310 * iconvdata/Makefile: Add rules for big5 conversion.
1311 * iconvdata/gconv-modules: Likewise.
1312 * iconvdata/big5.c: New file.
1314 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
1315 Patch by Jim Meyering.
1317 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
1319 * rt/tst-aio.c: Add test for aio_read and lio_listio.
1321 * rt/lio_listio.c: Correct total counter handling.
1323 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
1326 * test-skeleton.c (main): Make stdout unbuffered. Improve message
1327 of signal on exit even more.
1329 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
1330 instead of call to pthread_cond_init.
1331 * rt/lio_listio.c (lio_listio): Likewise.
1332 * rt/lio_listio64.c (lio_listio64): Likewise.
1334 * nis/nis_findserv.c: Include sys/socket.h.
1336 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
1338 * Makeconfig (rtobjdir): New variable.
1339 (rpath-link): Add rtobjdir and thread directory, if available.
1341 * test-skeleton.c: Add support to remove temporary files.
1342 Always define test_dir. Improve message about expected signal.
1344 * rt/Makefile (tests): Add tst-aio.
1345 Add rules for tst-aio to be linked with librt and thread library.
1346 * rt/aio_misc.c: Correct fundamental bugs.
1347 * rt/aio_suspend.c: Correct bug in test for available request.
1348 Initialize conditional variable.
1349 * rt/lio_listio.c: Initialize conditional variable.
1350 * rt/lio_listio64.c: Likewise.
1351 * rt/tst-aio.c: New file.
1353 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
1354 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
1355 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1356 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1357 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
1358 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1359 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1361 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
1363 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
1365 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
1367 * elf/dl-load.c (open_path): Use correct name for test whether
1368 directory in load path exists.
1370 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
1371 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
1372 Patches by Tom Rini <trini@kernel.crashing.org>.
1374 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
1375 * wcsmbs/wcstod_l.c: Likewise.
1376 * wcsmbs/wcstold_l.c: Likewise.
1378 * include/byteswap.h: New file.
1380 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
1381 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
1383 * inet/getnameinfo.c (getnameinfo): Change parameter to match
1384 declaration. Patch by Richard Henderson.
1386 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
1388 * manual/process.texi (SIGCHLD example): Save errno.
1390 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
1392 * posix/regex.c: Define regerror really as __regerror.
1393 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
1394 regerror and regfree.
1396 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
1397 * stdlib/strtod_l.c: Likewise.
1398 * stdlib/strtold_l.c: Likewise.
1400 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
1402 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
1404 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
1405 Patch by Christian Gafton.
1407 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
1409 * manual/socket.texi (Interface Naming): Correct @deftypefun line
1412 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1414 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
1416 * manual/socket.texi (Interface Naming): Fix typo.
1418 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1420 * manual/examples/filesrv.c (main): Remove filename first.
1422 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
1425 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
1428 * manual/examples/filecli.c (main): Use AF_LOCAL
1431 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
1433 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
1435 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
1436 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1437 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1438 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1439 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1440 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1442 * login/utmp_daemon.c (open_socket): Use __connect not connect.
1444 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1446 * configure.in: Add new option --enable-force-install. Substitute
1448 * config.make.in (force-install): Set from configure.
1449 * Makerules (force-install): New phony target.
1450 * Makeconfig (+force): New variable.
1451 * Makefile: Use it in dependency list of installation targets.
1452 * db/Makefile: Likewise.
1453 * db2/Makefile: Likewise.
1454 * elf/Makefile: Likewise.
1455 * hurd/Makefile: Likewise.
1456 * iconv/Makefile: Likewise.
1457 * iconvdata/Makefile: Likewise.
1458 * intl/Makefile: Likewise.
1459 * localedata/Makefile: Likewise.
1460 * login/Makefile: Likewise.
1461 * po/Makefile: Likewise.
1462 * sunrpc/Makefile: Likewise.
1463 * sysdeps/mach/hurd/Makefile: Likewise.
1464 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
1465 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1466 * timezone/Makefile: Likewise.
1468 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1470 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
1471 alloc_size. Pass return value of getcwd syscall to realloc.
1473 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1475 * manual/socket.texi: Spelling fixes.
1477 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1479 * elf/dl-load.c (print_search_path): Remove unused variable.
1481 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1483 * login/utmp_file.c: use __ftruncate not ftruncate.
1484 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
1485 for system call and make ftruncate weak alias.
1486 * posix/unistd.h: Add prototype for __ftruncate.
1487 * login/utmp_daemon.c (open_socket): Use __socket not socket.
1488 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
1489 instead of snprintf and readv.
1490 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
1492 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
1495 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
1497 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
1498 * iconv/gconv_db.c: Use __ protected regex functions.
1499 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
1500 * posix/getopt_init.c: Use __getpid not getpid.
1501 * posix/regex.c: Rename all global functions to start with __ and
1502 make old names weak aliases.
1503 * posix/regex.h: Adopt prototypes for this.
1504 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
1505 a weak alias and use __getcwd instead of getcwd.
1506 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
1507 * stdlib/strtod.c: Use __btowc instead of btowc.
1508 * stdlib/strtol.c: Likewise.
1509 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
1510 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
1511 and sys_errlist are weak.
1512 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
1513 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
1514 * wcsmbs/mbsnrtowcs.c: Likewise.
1515 * wcsmbs/mbsrtowcs.c: Likewise.
1516 * wcsmbs/wcsnrtombs.c: Likewise.
1517 * wcsmbs/wcsrtombs.c: Likewise.
1518 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
1520 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
1521 * wctype/wctype.c: Define function as __wctype and make wctype
1523 * wctype/wctype.h: Declare __wctype.
1525 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1527 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
1529 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1531 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
1533 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
1535 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
1537 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1538 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1539 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
1540 make it a weak alias.
1541 * posix/unistd.h: Declare __lseek64.
1543 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
1544 (_IO_file_stat): Fix typo.
1545 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
1546 block size from the file. Use __mempcpy if _LIBC.
1548 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
1550 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
1551 * wcsmbs/mbrtowc.c: Likewise.
1552 * wcsmbs/mbsnrtowcs.c: Likewise.
1553 * wcsmbs/mbsrtowcs.c: Likewise.
1554 * wcsmbs/wcrtomb.c: Likewise.
1555 * wcsmbs/wcsnrtombs.c: Likewise.
1556 * wcsmbs/wcsrtombs.c: Likewise.
1557 * wcsmbs/wctob.c: Likewise.
1559 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
1560 position of next output character correctly.
1561 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
1563 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
1565 * stdlib/strtod.c: Don't use mbtowc.
1567 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
1569 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
1570 what we want is smaller than a buffer.
1572 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
1574 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
1577 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
1579 * configure.in: Recognize --with-headers flag and determine
1580 commandline options to be used in compilation.
1581 * Makeconfig (+includes): Use $(sysincludes).
1582 * config.make.in (sysincludes): Define from SYSINCLUDES.
1583 * glibcbug.in: Use SYSINCLUDES information.
1584 Patches by Zack Weinberg.
1586 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
1588 * glibcbug.in: On linux, report version of kernel headers seen
1591 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
1593 * libc.map: Add __asprintf to GLIBC_2.1.
1594 * elf/dlerror.c: Use __asprintf, not asprintf.
1595 * libio/stdio.h: Declare __asprintf.
1596 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
1599 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
1600 to avoid inclusion from libc_pic.a.
1602 * elf/dl-runtime.c: Undo last patch.
1604 * stdlib/strtod.c: Don't use mbtowc, use btowc.
1606 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
1607 as default, use NULL.
1609 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1611 * resolv/Makefile: Include ../Makeconfig - needed for building
1614 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1616 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
1617 static-nss since we don't want hesiod in the static NSS.
1619 * nss/Makefile: Build only nss_files as static.
1621 * nss/function.def: Remove support for service db.
1623 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
1625 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
1627 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
1629 * posix/wordexp-test.c: Make IFS per test-case.
1631 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
1633 * glibcbug.in: Report version of gcc in use. Remove unused variable
1636 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
1638 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
1639 `-print-file-name' to find as and ld.
1641 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
1643 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
1644 template is wrong. Remove unused varaible `ignored'.
1646 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1648 * libc.map: Export __libc_sa_len.
1650 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
1652 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
1654 * iconv/gconv.c: Take care for NULL arguments.
1655 * iconv/gconv_dl.c: Make find_func function global.
1656 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
1657 Add prototypes for ASCII conversion functions.
1658 * iconv/gconv_simple.c: Add ASCII conversion functions.
1659 * locale/C-ctype.c: Correct charset name.
1661 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
1662 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
1664 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
1665 * wcsmbs/mbrtowc.c: Likewise.
1666 * wcsmbs/mbsnrtowcs.c: Likewise.
1667 * wcsmbs/mbsrtowcs.c: Likewise.
1668 * wcsmbs/wcrtomb.c: Likewise.
1669 * wcsmbs/wcsnrtombs.c: Likewise.
1670 * wcsmbs/wcsrtombs.c: Likewise.
1671 * wcsmbs/wctob.c: Likewise.
1672 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
1673 prototypes for wmemr*.
1674 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
1675 * wcsmbs/wcsnlen.c: New file.
1676 * wcsmbs/wcsmbsload.c: New file.
1677 * wcsmbs/wcsmbsload.h: New file.
1679 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
1681 * manual/install.texi: Describe some more critical points.
1683 * string/string.h: Add prototype for __strnlen.
1684 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
1686 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
1687 much less predictable names.
1688 * sysdeps/posix/mkstemp.c: Likewise.
1690 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1692 * manual/libc.texinfo (Top): Change "file namespace" to "local
1695 * manual/socket.texi: Change file namespace to local namespace.
1696 (Out-of-Band Data): Remove unneeded variable link.
1697 (Host Address Functions): Use uint32_t consequently and add a
1698 number of clarifications for IPv4/IPv6, classless addresses.
1699 (Internet Namespace): Added some paragraphs about IPv6.
1700 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1702 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
1704 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
1706 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
1707 (NI_NUMERICHOST, et al.): Tidy up and add comments.
1708 (AI_NUMERICHOST): Define.
1709 (getnodebyname): New prototype.
1710 (AI_V4MAPPED, et al.): New constants.
1712 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
1713 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
1714 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
1716 * sysdeps/unix/sysv/linux/sa_len.c: New file.
1717 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
1719 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
1721 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
1722 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
1723 * socket/Makefile (headers): Add bits/sockunion.h.
1724 * socket/sys/socket.h: Include <bits/sockunion.h>
1725 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
1726 <sys/socket.h>, to avoid getting sockaddr_union defined.
1727 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
1728 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1729 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1731 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
1732 (2.2.x kernels won't have it).
1734 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
1736 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
1737 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
1738 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
1739 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
1741 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
1743 * manual/socket.texi (Socket Addresses): Fix a typo.
1744 (Interface Naming): New section.
1746 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
1748 * configure.in: Check for CC using $ac_tool_prefix, to handle
1749 cross-compilation. Use AC_CHECK_TOOL to find MiG.
1750 * config.make.in: Add MIG to be substituted.
1751 * mach/Machrules: Don't define MIG variable.
1753 Patch by Gordon Matzigkeit <gord@profitpress.com>.
1755 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
1757 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
1758 strdupa to copy rpath.
1760 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1762 * configure.in: Fix gcc version check.
1764 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
1767 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
1769 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
1772 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
1774 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
1775 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
1776 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
1777 of __ptsname_r accordingly.
1778 * login/openpty.c (openpty): Likewise.
1780 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
1782 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
1784 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1786 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
1788 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
1790 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1792 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
1793 return value for better error checking.
1795 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1797 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
1798 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
1800 * elf/elf.h (EM_SPARC64): Remove.
1801 (EM_SPARC32PLUS, EM_SPARCV9): Add.
1802 (HWCAP_SPARC_V9): Add.
1804 * elf/ldsodefs.h (_dl_hwcap): Declare.
1805 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
1806 Weaken so dlopen from static progies works.
1807 (WEAKADDR): New macro.
1808 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
1809 (LD_SO_PRELOAD): New macro.
1810 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
1811 (elf_machine_rela): Weaken _dl_rtld_map.
1813 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
1814 to __clone, and remove the later's alias.
1815 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1817 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
1818 the kernel's structure.
1820 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
1821 Sparc needs a custom value of __KERNEL_NCCS.
1823 1998-04-06 Richard Henderson <rth@cygnus.com>
1825 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
1827 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
1828 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1830 1998-04-06 Richard Henderson <rth@cygnus.com>
1832 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
1833 as the buffer is not properly aligned.
1834 Reported by Juan Cespedes <cespedes@debian.org>.
1836 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1838 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
1841 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
1843 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
1844 and wc*tomb* functions.
1846 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
1848 * sysdeps/unix/start.c: Fix typo.
1850 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
1852 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
1854 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
1856 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
1857 expressions and using array variables.
1858 * sysdeps/libm-ieee754/e_asin.c: Likewise.
1859 * sysdeps/libm-ieee754/e_j0.c: Likewise.
1860 * sysdeps/libm-ieee754/e_j1.c: Likewise.
1861 * sysdeps/libm-ieee754/e_log.c: Likewise.
1862 * sysdeps/libm-ieee754/e_pow.c: Likewise.
1863 * sysdeps/libm-ieee754/k_cos.c: Likewise.
1864 * sysdeps/libm-ieee754/k_sin.c: Likewise.
1865 * sysdeps/libm-ieee754/k_tan.c: Likewise.
1866 * sysdeps/libm-ieee754/s_atan.c: Likewise.
1867 * sysdeps/libm-ieee754/s_erf.c: Likewise.
1868 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
1869 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
1870 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
1872 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
1874 * iconv/gconv.c: Rewrite of the low-level of gconv.
1875 * iconv/gconv.h: Likewise.
1876 * iconv/gconv_builtin.h: Likewise.
1877 * iconv/gconv_close.c: Likewise.
1878 * iconv/gconv_db.: Likewise.
1879 * iconv/gconv_dl.c: Likewise.
1880 * iconv/gconv_int.h: Likewise.
1881 * iconv/gconv_open.c: Likewise.
1882 * iconv/gconv_simple.c: Likewise.
1883 * iconvdata/8bit-gap.c: Adapt for rewrite.
1884 * iconvdata/8bit-generic.c: Likewise.
1885 * iconvdata/euckr.c: Likewise.
1886 * iconvdata/iso646.c: Likewise.
1887 * iconvdata/iso6937.c: Likewise.
1888 * iconvdata/iso8859-1.c: Likewise.
1889 * iconvdata/johab.c: Likewise.
1890 * iconvdata/sjis.c: Likewise.
1891 * iconvdata/t61.c: Likewise.
1892 * iconvdata/uhc.c: Likewise.
1894 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
1896 * iconv/gconv_int.h: New file. Internal header.
1897 * iconv/Makefile (distribute): Add gconv_int.h.
1898 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
1899 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
1900 * iconv/gconv_close.c: Likewise.
1901 * iconv/gconv_conf.c: Likewise.
1902 * iconv/gconv_db.c: Likewise.
1903 * iconv/gconv_dl.c: Likewise.
1904 * iconv/gconv_int.h: Likewise.
1905 * iconv/gconv_open.c: Likewise.
1906 * iconv/iconv.c: Likewise.
1907 * iconv/iconv_close.c: Likewise.
1908 * iconv/iconv_open.c: Likewise.
1909 * iconv/iconv_prog.c: Likewise.
1911 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
1913 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
1916 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1918 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
1920 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
1922 Based on patch from Pat Beirne:
1923 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
1924 PIC and non-PIC now. Correctly negate error number.
1925 (errno): Use `%' not `@' in .type directives.
1927 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
1929 * sysdeps/i386/strtok.S: Change to use single exit point.
1930 * sysdeps/i386/i686/strtok.S: Likewise.
1932 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1934 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
1937 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1939 * Makerules (installed-libcs): Fix typo.
1941 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1943 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
1944 (UHC-routines): Remove ksc5601.
1946 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
1948 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
1949 introduced in last change.
1951 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
1953 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
1956 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1958 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
1960 * stdlib/isomac.c: Use -isystem instead of -I for system include
1963 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
1965 * resolv/res_comp.c (underscorechar): New.
1966 (middlechar): Allow '_'.
1968 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1970 * intl/explodename.c (stdlib.h): Include that file only if
1971 STDC_HEADERS or _LIBC.
1972 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
1973 Patch by Philippe De Muyter <phdm@macqel.be>.
1975 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
1977 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
1978 (AC_PROG_CHECK_VER): New macro.
1979 * configure.in: Use AC_PROG_CHECK_VER to check versions of
1980 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
1982 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
1984 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
1985 * sysdeps/i386/i686/strtok.S: New file
1986 * sysdeps/i386/i686/strtok_r.S: New file
1988 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
1990 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
1992 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
1993 parameter as __off64_t instead of __off_t.
1994 (ftello): Make alias for ftello64 instead of ftello. Change
1995 return type to __off64_t.
1997 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1999 * sysdeps/i386/bits/string.h: Fix various typos.
2000 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2002 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
2004 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2006 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
2007 lchown syscall correctly. [PR libc/541].
2009 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
2011 * localedata/Makefile: Correct testsuite rules.
2013 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
2014 * iconvdata/iso646.c: Fix conversion from UCS4.
2016 * elf/ldsodefs.h: Mark internal function with internal_function.
2017 * elf/dl-addr.c: Likewise.
2018 * elf/dl-close.c: Likewise.
2019 * elf/dl-debug.c: Likewise.
2020 * elf/dl-deps.c: Likewise.
2021 * elf/dl-error.c: Likewise.
2022 * elf/dl-fini.c: Likewise.
2023 * elf/dl-init.c: Likewise.
2024 * elf/dl-load.c: Likewise.
2025 * elf/dl-lookup.c: Likewise.
2026 * elf/dl-object.c: Likewise.
2027 * elf/dl-open.c: Likewise.
2028 * elf/dl-profile.c: Likewise.
2029 * elf/dl-reloc.c: Likewise.
2030 * elf/dl-runtime.c: Likewise.
2031 * elf/dl-symbol.c: Likewise.
2032 * elf/dl-version.c: Likewise.
2033 * elf/dlerror.c: Likewise.
2034 * sysdeps/generic/dl-sysdep.c: Likewise.
2035 * sysdeps/i386/dl-machine.h: Likewise.
2036 * intl/finddomain.c: Likewise.
2037 * intl/gettextP.h: Likewise.
2038 * intl/loadmsgcat.c: Likewise.
2040 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
2042 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
2043 * iconv/gconv_builtin.h: Add definitions for new builtins.
2044 * iconv/gconv.h: Add prototypes for new builtins.
2046 * iconvdata/Makefile (modules): Add ISO646.
2047 Add rules for ISO646 module.
2048 (distribute): Add iso646.c.
2049 * iconvdata/gconv-modules: Add module and alias definition for
2051 * iconvdata/iso646.c: New file.
2053 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
2055 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
2056 * iconv/iconv_prog.c: Implement --list option to print available
2057 coded character sets.
2059 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
2061 Make fread() read large blocks straight to the user buffer.
2063 * libio/fileops.c (_IO_file_xsgetn): New function.
2064 (_IO_file_jumps): Use it.
2065 * libio/libioP.h: Prototype it.
2067 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2069 * iconv/gconv_conf.c (builtin_aliases): New variable.
2070 (__gconv_read_conf): Add builtin aliases.
2071 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
2072 noop macro before including gconv_builtin.h.
2073 * iconv/gconv_builtin.h: Add alias names.
2075 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
2076 number of converted bytes correctly.
2078 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2080 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
2081 we only wait for a replay.
2083 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2085 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
2088 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
2090 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
2091 use PLTJMP() rather than explicit (PLT).
2093 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
2094 __libc_start_main().
2096 Based on patch from Pat Beirne:
2097 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
2098 Always define, not only #ifndef PIC.
2099 (DO_CALL): Pass fifth argument correctly in R4.
2100 (PSEUDO): Correct test for error, call syscall_error through PLT
2103 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
2105 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
2108 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2110 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
2113 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
2115 * io/Makefile (static-only-routines): Add stat64, fstat64 and
2118 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2120 * manual/Makefile: Use object-suffixes-for-libc instead of
2122 * rpm/Makefile (install-lib): Likewise.
2124 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2126 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
2128 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
2129 `m68*', not only `m68k'.
2131 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2133 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
2135 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
2138 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2140 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
2143 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
2146 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
2148 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
2151 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2153 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
2155 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2157 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
2159 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2161 * Makerules (install): Change comment for libc.so following the
2162 libc_nonshared changes.
2164 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2166 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
2168 * iconvdata/gap.pl: Avoid using %#06x.
2170 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
2172 * Makerules: Use $? instead of S^ when invoking ar.
2174 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2176 * db2/compat.h: Allow EFTYPE being defined.
2177 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
2178 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
2179 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
2180 * sysdeps/mach/bits/libc-lock.h: Fix typo.
2181 (__libc_once): Correctly unlock semaphore.
2182 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
2183 * sysdeps/unix/bsd/getpt.c: Fix typo.
2184 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
2186 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2188 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
2191 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
2193 * include/mntent.h: New file.
2195 * elf/Makefile (trusted-dirs.h): Append slash to filename.
2196 * elf/dl-load.c: Rewrite search path handling.
2197 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
2198 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
2199 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
2200 * elf/ldsodefs.h: Add prototype.
2202 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
2204 * nss/nsswitch.c (__nss_lookup): Adjust comment.
2206 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
2209 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
2211 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
2213 (HWCAP_IMPORTANT): New definition.
2215 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
2217 * elf/dl-open.c (_dl_open): Fix a typo.
2218 (_dl_global_scope_alloc): Make it static.
2220 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
2222 * Makerules: Remove duplicate rules to handle stamp.oS.
2224 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2226 * manual/examples/inetsrv.c (main): Change prototype of
2227 make_socket following change in mkisock.c.
2229 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
2231 (main): Change prototype of init_sockaddr following change in
2234 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
2235 * manual/examples/isockad.c (init_sockaddr): Likewise.
2237 * manual/examples/mkfsock.c (make_named_socket): Removed blank
2238 lines for clarification.
2239 (make_named_socket): Use strncpy instead of strcpy.
2240 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2242 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
2244 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
2245 determining libs to remove.
2246 (postclean): Add soversions.mk.
2247 * Makerules (common-mostlyclean): Add tests-static and generated
2250 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
2252 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
2254 (__strncat_g): Add i686 specific code.
2256 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2258 * manual/install.texi (Reporting Bugs): Ask to include section
2261 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2263 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
2264 guard against direct inclusion.
2266 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2268 Rework support for libc_nonshared.a:
2269 * Makeconfig (object-suffixes-for-libc): New variable.
2270 * Rules: Remove handling of static-only and shared-only routines.
2271 * Makerules: Handle them here instead. Use
2272 object-suffixes-for-libc instead of object-suffixes when dealing
2274 (object-suffixes-for-rules): Remove variable.
2275 (elide-routines.oS): Elide all routines except static-only
2277 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
2279 (installed-libcs): Remove special case for .oS.
2282 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2284 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
2285 do-tst-rpmatch): New targets.
2287 (install-locales): Ignore comment lines.
2289 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2291 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
2292 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
2293 ($(objpfx)rtldtbl.h): Likewise.
2294 (CPPFLAGS-dl-load.c): Fix reference to object directory.
2296 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
2298 * manual/string.texi (Finding Tokens in a String): Extend strsep
2299 description and correct example.
2301 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2303 * manual/socket.texi: Remove misguided explicit line breaks and
2304 fix the formatting problem instead by reformulating the
2306 * manual/filesys.texi: Likewise.
2307 * manual/conf.texi: Likewise. Don't typeset table with index
2308 fonts, that looks worse than a minimally overfull line.
2310 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2312 * nscd/Makefile (nscd-modules): Move definition outside of
2315 * pwd/Makefile: Use have-thread-library to test for thread
2318 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2320 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
2322 * iconvdata/uhc.c (gconv): Remove unused variable idx.
2324 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
2326 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
2328 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
2330 * nss/getXXent_r.c: Correctly handle failing setXXent function.
2332 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
2333 Reported by Andreas Jaeger.
2335 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
2337 * elf/Makefile: Fix typo.
2338 (distribute): Add dl-librecon.h.
2339 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
2340 * elf/ldd.sh.in: Likewise.
2341 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
2342 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
2343 Use strsep correctly.
2344 (process_envvars): Allow platform specific variables.
2345 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
2346 (_dl_load_cache_lookup): Test cache IDs found against
2347 _dl_correct_cache_id.
2348 * sysdeps/generic/dl-librecon.h: New file.
2349 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
2351 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
2353 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
2355 * config.make.in (ldd-rewrite-script): New variable.
2356 * configure.in: Substitute ldd-rewrite-script.
2357 * elf/Makefile: Rewrite rules to generate ldd script.
2358 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
2359 * elf/ldd.sh.in: Likewise.
2360 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
2361 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
2362 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
2363 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
2364 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
2366 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
2368 * inet/rcmd.c (iruserok): Remain setuid to the local user
2369 while .rhosts is actually read, to make .rhosts-over-NFS work
2370 (PR libc/524). Use iruserfopen() for security checks on both
2371 hosts.equiv and .rhosts. General cleanup.
2372 (iruserfopen): New function, performs careful checking on
2373 hosts.equiv/.rhosts files. Disallows all the old forbidden
2374 stuff plus hard links to files.
2376 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
2378 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
2380 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
2382 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
2384 * sysdeps/i386/i486/bits/string.h: Fix typos.
2386 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
2388 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
2391 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
2393 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
2394 Added. Used by libm.so on alpha.
2396 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2398 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
2401 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
2403 * Makerules (object-suffixes-for-rules): Add .oS only for
2404 building shared library.
2405 Add ranlib rule for nonshared library.
2408 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
2409 into for shared library only.
2410 (CPPFLAGS-.oS): Add -DPIC.
2411 (libtypes): Use $(object-suffixes-for-rules) instead of
2414 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
2416 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
2417 and install lddlibc4.
2419 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
2421 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
2423 * iconvdata/gaptab.pl: Likewise.
2425 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
2427 * Rules: Allow Makefiles to specify test-static for tests which
2428 cannot be linked dynamically.
2429 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
2432 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
2434 * misc/error.c: Pretty print.
2436 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2438 * Makerules (libc_nonshared-name): Remove variable.
2439 (installed-libcs): Use libc-name instead.
2440 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
2443 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
2444 libc.a. Remove explicit reference to dynamic linker.
2446 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2448 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
2450 * iconv/iconv_prog.c: Correctly test for write failure.
2451 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
2452 * iconvdata/gconv-modules: Likewise.
2453 * iconvdata/euckr.c: New file.
2454 * iconvdata/johab.c: New file.
2455 * iconvdata/ksc5601.c: New file.
2456 * iconvdata/ksc5601.h: New file.
2457 * iconvdata/uhc.c: New file.
2458 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
2460 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
2461 * stdio/fopen.c: Correct handling of 'x' flag.
2462 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
2464 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2466 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
2467 * sunrpc/rpcsvc/key_prot.x: Likewise.
2468 * sunrpc/key_prot.c: Likewise.
2470 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
2472 * sysdeps/i386/bits/string.h: Correct things which never worked.
2473 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
2474 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2476 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2478 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
2479 defined. Reported by Thorsten Kukuk.
2481 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
2483 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
2485 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2487 * manual/install.texi (Supported Configurations): Add
2488 arm-linuxaout and arm-none.
2490 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2492 * version.h (VERSION): Bump to 2.0.93.
2494 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
2496 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
2498 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
2500 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
2501 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
2503 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2505 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
2507 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2509 Put the static-only routines in a separate library.
2510 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
2512 (all-object-suffixes): Add .oS.
2513 * Makerules (libc_static-name): New variable.
2514 (installed-libcs): Add libc_nonshared.a.
2515 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
2516 (object-suffixes-for-rules): New variable. Use it instead of
2517 object-suffixes for generating compilation rules.
2518 (rmobjs): Also remove *.oS.
2519 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
2520 ($(objpfx)stamp.oS): New target.
2522 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2524 * Makefile (FAQ): Automatically check in regenerated FAQ.
2526 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
2528 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
2530 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
2532 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
2533 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2535 * sysdeps/generic/stub_warning: Removed.
2537 * Makefile (distribute): Add include/des.h.
2539 * manual/Makefile (distribute): Change dir-add.texi to
2542 * glibcbug.in: Create files safely when mktemp is not available.
2544 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
2545 Patch by a sun <asun@saul1.u.washington.edu>.
2547 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2549 * libc.map: Rename getname to getnetname.
2551 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
2553 * manual/maint.texi: Use supported platform in examples.
2555 * manual/install.texi: Document some installation tips.
2557 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
2559 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
2560 Fix a bug so that it returns an error if a numeric parameter is
2561 unset and WRDE_UNDEF is set.
2562 Patch by Andreas Schwab and Tim Waugh.
2563 * posix/wordexp-test.c: Add new new test.
2565 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
2567 * posix/regex.c (regex_compile): Last patch wasn't entirely
2568 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
2570 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2572 * manual/filesys.texi (Scanning Directory Content): Fix typo.
2574 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2576 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
2577 clobbered registers don't appear as operands.
2579 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2581 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
2584 * posix/regex.c (regex_compile): Don't allow non-alphabet
2585 characters in character set name.
2587 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
2589 * posix/wordexp.c (w_newword): New function.
2590 (do_parse_glob): New function.
2591 (parse_glob): Use do_parse_glob. Now handles the case where a
2592 variable expansion causes a field-split.
2593 (wordexp): Use w_newword.
2594 (parse_arith): Likewise.
2595 (exec_comm): Likewise.
2596 (parse_comm): Likewise.
2597 (parse_param): Likewise.
2598 (parse_backtick): Likewise.
2600 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
2602 * posix/wordexp-tst.sh: Another test.
2604 * posix/wordexp-test.c: Two new tests.
2606 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
2607 directly (the code using realloc was buggy).
2608 (parse_param): Fix typo in comment.
2610 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2612 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
2614 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2616 * libc.map: Add more rpc auth functions/variables.
2618 * nscd/nscd.c: Add -g option to argp options.
2620 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2622 * configure.in: Be prepared for gcc 2.9.10 and up.
2623 * configure.in: Add missing disabling of quote characters in
2624 compiler version check. Reported by HJ Lu.
2626 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2628 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
2630 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2632 * intl/locale.alias: Fix spelling of romanian.
2634 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
2635 (distribute): Remove des.h.
2636 * include/des.h: New file.
2637 * sunrpc/des.h: Moved to ...
2638 * sunrpc/rpc/rpc_des.h: ...here.
2640 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
2642 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
2645 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2647 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
2648 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
2650 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2652 * elf/ldsodesf.h: New file.
2653 * elf/Makefile (distribute): Add ldsodefs.h.
2654 * elf/link.h: Separate internal information in exter header.
2655 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
2656 * elf/dl-minimal.c: Likewise.
2657 * sysdeps/generic/dl-sysdep.c: Likewise.
2658 * elf/sprof.c: Likewise.
2659 * elf/dlsym.c: Likewise.
2660 * elf/dlvsym.c: Likewise.
2661 * elf/dlerror.c: Likewise.
2662 * elf/dladdr.c: Likewise.
2663 * elf/dlclose.c: Likewise.
2664 * elf/dlopen.c: Likewise.
2665 * elf/dl-addr.c: Likewise.
2666 * elf/dl-close.c: Likewise.
2667 * elf/dl-debug.c: Likewise.
2668 * elf/dl-deps.c: Likewise.
2669 * elf/dl-error.c: Likewise.
2670 * elf/dl-fini.c: Likewise.
2671 * elf/dl-init.c: Likewise.
2672 * elf/dl-load.c: Likewise.
2673 * elf/dl-lookup.c: Likewise.
2674 * elf/dl-object.c: Likewise.
2675 * elf/dl-open.c: Likewise.
2676 * elf/dl-profile.c: Likewise.
2677 * elf/dl-reloc.c: Likewise.
2678 * elf/dl-runtime.c: Likewise.
2679 * elf/dl-support.c: Likewise.
2680 * elf/dl-symbol.c: Likewise.
2681 * elf/dl-version.c: Likewise.
2682 * sysdeps/generic/dl-cache.c: Likewise.
2683 * sysdeps/generic/libc-start.c: Likewise.
2684 * iconv/gconv_dl.c: Likewise.
2685 * nss/nsswitch.c: Likewise.
2687 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
2689 * manual/nss.texi: The database is not called network but networks.
2690 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2692 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2694 * configure.in: Correct test for compiler version.
2695 Check that LD_LIBRARY_PATH doesn't contain current path.
2697 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
2699 * elf/dl-close.c (_dl_close): Fix byte count while removing
2700 the shared object from the global scope list and optimize
2703 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2705 * manual/filesys.texi (Scanning Directory Content): Add missing
2707 (Scanning Directory Content): Fix text.
2709 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2711 * manual/memory.texi (Heap Consistency Checking): Add paragraph
2712 explaining difference of -lmcheck and MALLOC_CHECK_.
2714 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2716 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
2719 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2721 * test-skeleton.c (main): Fix test for exit signal.
2723 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2725 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
2727 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2729 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
2732 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2734 * libc.map: Export __strtok_r.
2736 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
2738 * posix/regex.c (re_compile_fastmap): Remove unused variable
2739 num_regs and adjust comment.
2740 Patch by Jim Meyering <meyering@ascend.com>.
2742 * math/math.h (M_*l): Extend long double constants to be usable
2743 for 128 bit floats. Patch by Richard Henderson.
2745 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2747 * sysdeps/m68k/m68020/wordcopy.S: New file.
2749 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
2751 * posix/wordexp.c: Rewrite parse_param.
2752 Patch by Tim Waugh and Andreas Schwab.
2754 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
2756 * Rules: Update timestamps on empty object files.
2758 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
2760 * manual/filesys.texi (Scanning Directory Content): Add description
2761 of 64 bits scandir function and friends.
2763 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2765 * glibcbug.in: Use mktemp to generate unique file name for
2768 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
2769 ptsname_r. Use cast for execve call.
2771 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
2773 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
2774 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
2775 * io/sys/statvfs.h: New file.
2776 * sysdeps/generic/fstatvfs.h: New file.
2777 * sysdeps/generic/statvfs.h: New file.
2778 * sysdeps/generic/fstatvfs64.h: New file.
2779 * sysdeps/generic/statvfs64.h: New file.
2780 * sysdeps/generic/bits/statvfs.h: New file.
2781 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
2782 * sysdeps/unix/sysv/linux/statvfs.c: New file.
2783 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
2785 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
2786 and f_ffree elements.
2788 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
2789 mount options in enum.
2791 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2793 * configure.in: Check for recent egcs/gcc.
2795 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2797 * libc.map: Add alphasort64, scandir64, versionsort64.
2798 * dirent/Makefile (routines): Add scandir64, alphasort64, and
2800 * dirent/alphasort64.c: New file.
2801 * dirent/scandir64.c: New file.
2802 * dirent/versionsort64.c: New file.
2803 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
2805 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
2806 old name weak alias.
2807 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2809 * dirent/alphasort.c: Use strcoll instead of strcmp.
2811 * dirent/scandir.c: Optimize a bit.
2813 * dirent/versionsort.c: Pretty print.
2815 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2817 * string/string.h: Add prototype for __strtok_r.
2819 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2821 * posix/Makefile: Fix typo in last change.
2823 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2825 * dirent/dirent.h (scandir): Make argument of select function const.
2826 * dirent/scandir.c (scandir): Likewise.
2827 Reported by David.Faure@insa-lyon.fr [PR libc/512].
2829 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
2831 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
2833 * sysdeps/i386/strtok_r.c: Likewise.
2835 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
2836 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
2837 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
2838 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
2839 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
2840 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
2842 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2844 * intl/localealias.c: Remove unneeded define for strdup.
2846 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
2848 * manual/argp.texi: Adjust for better TeX output.
2849 * manual/arith.texi: Likewise.
2850 * manual/conf.texi: Likewise.
2851 * manual/filesys.texi: Likewise.
2852 * manual/header.texi: Likewise.
2853 * manual/lgpl.texinfo: Likewise.
2854 * manual/math.texi: Likewise.
2855 * manual/message.texi: Likewise.
2856 * manual/pattern.texi: Likewise.
2857 * manual/process.texi: Likewise.
2858 * manual/signal.texi: Likewise.
2859 * manual/socket.texi: Likewise.
2860 * manual/startup.texi: Likewise.
2861 * manual/stdio.texi: Likewise.
2862 * manual/terminal.texi: Likewise.
2863 * manual/examples/rprintf.c: Likewise.
2864 * manual/examples/testopt.c: Likewise.
2865 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2867 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
2869 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
2870 parameter name after seeing a digit if it's enclosed in braces.
2872 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2874 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
2876 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2878 * manual/memory.texi (Heap Consistency Checking): Document
2879 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
2881 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
2883 * manual/Makefile: Add missing rules.
2885 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2887 * timezone/Makefile (generated): Define to remove all stamp files.
2889 * sysdeps/generic/strsep.c: Also undefine __strsep.
2891 * string/strdup.c: Undefine __strdup and strdup first.
2892 * string/strndup.c: Likewise.
2894 * string/bits/string2.h: Correct strtok_r and strsep.
2895 Add strndup optimization.
2897 * sysdeps/generic/strsep.c: Little optimization.
2899 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
2901 * string/bits/string2.h: Add optimization for strdup.
2902 Always define __strsep and __strtok_r and make real names available
2903 when feature select macros are defined.
2905 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2907 * manual/install.texi (Installation): Use i486-linux as example
2908 instead of the unsupported sunos4.
2909 (Reporting Bugs): Mention glibcbug script.
2910 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
2912 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2914 * posix/wordexp-tst.sh: Make portable. Add more tests.
2916 * posix/Makefile (do-globtest do-wordexp-test): New targets.
2918 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
2920 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
2921 * sysdeps/generic/libc-start.c: ...here, replacing former content.
2923 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
2926 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
2928 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2930 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
2931 in enumerator for strict standard compliance.
2932 * sysdeps/generic/bits/resource.h: Likewise.
2934 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
2936 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
2937 (PLTJMP): New macro.
2939 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
2940 longjmp() when floating point enabled.
2941 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
2942 * sysdeps/arm/__longjmp.S: Remove floating point code.
2943 * sysdeps/arm/setjmp.S: Likewise.
2945 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
2946 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2948 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
2951 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
2954 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
2956 Based on patches from Pat Beirne and Scott Bambrough:
2958 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
2960 * sysdeps/arm/bits/fenv.h: New file.
2962 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
2963 * sysdeps/arm/elf/setjmp.S: Likewise.
2964 * sysdeps/arm/elf/start.S: Likewise.
2965 * sysdeps/arm/init-first.c: Likewise.
2966 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
2967 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
2968 comment about floating point to reflect current reality.
2970 * sysdeps/unix/arm/brk.S: Support PIC.
2971 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
2973 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
2974 return; call syscall_error through PLT.
2975 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
2977 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
2979 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
2980 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
2981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
2983 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2985 * dirent/list.c (test): Return error value.
2986 (main): Exit with error value.
2988 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
2990 * Makefile (distribute): Add test-skeleton.c.
2991 * test-skeleton.c: New file.
2992 * dirent/Makefile (tests): Add opendir-tst1.
2993 * dirent/opendir-tst1.c: New file.
2995 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2997 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
2998 Optimize memory handling.
2999 * sysdeps/unix/closedir.c: Optmize memory handling.
3001 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
3003 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
3004 handling. Optimize a bit.
3006 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
3008 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
3009 (parse_param): Fold in Andreas' fixes to do with when the end of
3010 the parameter name has been reached, and quoting inside ${...}.
3011 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
3014 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
3016 * manual/maint.texi: Split out installation and contribution
3017 sections to their own appendices. Misc cleanups.
3018 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
3019 * manual/contrib.texi: New file.
3020 * manual/libc.texinfo: Pull in new appendices.
3021 * manual/header.texi: Correct node pointer.
3023 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3025 * manual/process.texi (Process Completion): Clarify return value
3026 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
3028 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3030 * posix/wordexp-test.c: Add more tests.
3031 (testit): Fix logic.
3033 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
3034 /dev/null instead of closing it, close pipe. Always chop off all
3035 trailing newlines. Kill and reap child before returning error.
3036 (w_addword, parse_glob): Fix memory leak.
3037 (wordexp): Fix dangling pointer problem.
3039 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
3041 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
3043 * posix/wordexp-test.c (main): Fix little thinkos and typos.
3045 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
3046 directory index by only the language.
3048 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
3050 * posix/wordexp-tst.sh: Store test results in the
3051 ${common_objpfx}posix directory.
3053 * posix/wordexp-test.c: Remove temporary directory afterwards.
3055 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3057 * libc.map: Export internal versions of cancelable functions.
3059 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3061 * Makerules (MAKEFLAGS): Append `r'.
3063 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3065 * Makeconfig: Define have-thread-library, shared-thread-library
3066 and static-thread-library if a thread library is available. Don't
3068 * nscd/Makefile: Compile nscd if have-thread-library. Rename
3069 nscd-routines to nscd-modules. Use shared-thread-library and
3070 static-thread-library in dependencies.
3071 * rt/Makefile: Only compile librt if have-thread-library is
3073 * Makefile (subdirs): Always include rt subdir.
3075 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3077 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
3079 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
3081 * configure.in: Recognize variations for 32 MIPS processors.
3082 Don't assume ELF systems always have .weak, test for .weakext.
3084 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
3086 * configure.in: Irix6 is an ELF platform.
3088 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
3090 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
3091 unmapping the last loaded segment.
3093 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
3095 * configure.in: Set base_os for Irix6.
3096 Correct test for .weakext.
3098 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3100 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
3101 (new_line) to _dl_debug_message call.
3103 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
3105 * posix/wordexp.c (parse_param): Perform field-splitting after
3106 expanding positional parameter.
3108 * posix/wordexp-tst.sh: Test that field-splitting is performed
3109 after expanding positional parameter.
3111 * posix/wordexp.c (parse_param): Fixed memory leak in
3112 field-splitting after parameter expansion.
3114 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
3116 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
3117 (get_toplvl_escape): Correctly terminate loop at EOF.
3118 Patch by Cristian Gafton <gafton@redhat.com>.
3120 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
3122 * string/tester.c (test_strpbrk): Add more strpbrk tests.
3123 (test_strsep): Likewise. Correct horrible bugs.
3125 * string/bits/string2.h (strcspn): Optimize also reject string of
3128 (strpbrk): Likewise.
3129 (strsep): Likewise. Correct bug with successive separators and
3130 separators at the end of the string.
3131 * sysdeps/generic/strsep.c: Correct bug with successive separators
3132 and separators at the end of the string.
3134 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
3136 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
3137 etc) now handled, as well as $$ (pid).
3139 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
3140 (distribute): Add wordexp-tst.sh.
3142 * posix/wordexp-tst.sh: New file.
3144 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
3145 number of positional parameters. Renamed substitute_length to
3147 Don't free(env) is env is NULL.
3149 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
3151 * libc.map: Add pthread_attr_init to GLIBC_2.1.
3153 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
3155 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
3156 for output file replacing gmon.out.
3157 Patch by Dean Gaudet <dgaudet@arctic.org>.
3159 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3161 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
3162 up namespace. Optimize finding end of line.
3164 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3166 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
3167 securely. Optimized.
3168 (process_dl_debug): Add ':' to list of separators. Optimized.
3170 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3172 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3173 isless, islessequal, islessgreater, isunordered): Return zero or
3176 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
3178 * posix/wordexp-test.c: More tests.
3179 (main): Set up arena for pathname expansion tests (in a temporary
3181 (testit): Don't check word count or word vector if return value is
3184 * posix/wordexp.c (exec_comm): Always chop off terminating
3185 linefeed (just like bash does).
3186 (parse_param): Change lots of occurrences of "if (!*env)" to "if
3188 (parse_param): For assignment inside parameter expansion, use all
3189 expanded words in assignment rather than just the first.
3190 (parse_param): Corrected return value for parameter expansion of
3191 an unset variable when WRDE_UNDEF is in effect.
3192 (parse_dollars): Don't field-split if quoted.
3193 (wordexp): Opening brace character isn't allowed unquoted.
3195 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3197 * elf/dlerror.c: Fix concurrency problems with error string and
3200 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
3201 filter/auxiliary are being loaded.
3203 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
3205 * elf/dlerror.c (last_object_name): Removed.
3206 (dlerror): Don't use last_object_name.
3207 (_dl_error_run): Omit second argument to _dl_catch_error.
3208 * elf/dl-error.c (struct catch): Remove objname member.
3209 (_dl_signal_error): Construct string including objname when given.
3210 (_dl_catch_error): Remove objname handling.
3211 * elf/link.h (_dl_catch_error): Fix prototype and comment.
3212 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
3213 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
3214 * nss/nsswitch.c (nss_dlerror_run): Likewise.
3215 * iconv/gconv_dl.c (dlerror_run): Likewise.
3216 [Corrects PR libc/501].
3218 1998-03-12 Matthias Urlichs <smurf@noris.de>
3220 * nscd/nscd.c: Ignore SIGPIPE.
3222 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3224 * nscd/nscd_getgr_r.c: Use __ protected names.
3225 * nscd/nscd_getpw_r.c: Likewise.
3227 1998-03-12 Matthias Urlichs <smurf@noris.de>
3229 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
3230 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
3231 null bytes are not transmitted.
3233 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3235 * powerpc/syscalls.list: Correct typo.
3236 * alpha/syscalls.list: Likewise.
3237 * mips/syscalls.list: Likewise.
3239 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3241 * socket/sys/socket.h: Add prototype for __socket.
3243 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3245 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
3247 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
3250 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
3252 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
3255 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
3256 AF_* and PF_* constants.
3258 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
3260 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
3262 * elf/rtld.c: Update help message.
3263 Install link maps for preloaded objects using main_map as loader.
3265 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
3266 * elf/dl-profile.c: Likewise.
3268 * elf/dlsym.c: Little optimization.
3269 * elf/dlvsym.c: Likewise.
3271 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
3273 * posix/wordexp-test.c: Move test for parameter list at the very
3276 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3278 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
3279 WRDE_REUSE flag is set.
3280 (parse_param): Allow `*', `@', and numbers in parameter names.
3281 (parse_dollars): Differentiate between arithmetic expansion and a
3282 command substitution that starts immediately with a sub-shell
3283 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
3284 (parse_param): Memory allocated with __alloca in a block was
3285 referenced outside that block. Adjusted to use malloc/free.
3286 (parse_param): Adjusted field-splitting algorithm so that there is
3287 not necessarily a field split at the end of a parameter expansion.
3289 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
3291 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
3292 don't free words that have already been allocated.
3293 (parse_param): A dollar sign on its own will never have a pattern
3294 associated with it (like "${HOME%%/}" has), so don't try to free it.
3295 (parse_glob): Attempt to glob when an unquoted `[' is found
3296 (rather than an unquoted '{' (!)). Also for unquoted '?'.
3297 (parse_glob): Sorted out quoting in a glob-able word.
3298 (parse_param): Added $* and $@ handling.
3300 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
3302 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
3305 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3307 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
3310 1998-03-12 Matthias Urlichs <smurf@noris.de>
3312 * elf/dl-misc.c: Default for debug output should be stderr.
3313 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
3314 * elf/dl-lookup.c: reference_name may be NULL or empty.
3316 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3318 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
3320 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
3322 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
3324 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
3326 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3328 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
3329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
3331 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3333 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
3336 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3338 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
3341 * misc/syslog.c (vsyslog): Don't try to send if not connected to
3343 (closelog_internal): Don't do anything if not connected.
3345 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
3347 * libc.map: Add _dl_debug_message.
3348 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
3350 * elf/fini.c: Correctly use new _dl_debug_message function.
3351 * elf/init.c: Likewise.
3352 * elf/dl-lookup.c: Likewise.
3353 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3354 * elf/dl-load.c: Likewise. Add more debugging prints.
3355 * elf/dl-reloc.c: Likewise.
3356 * elf/dl-version.c: Likewise.
3357 * elf/dl-support.c: Add variables for debugging.
3358 * elf/rtld.c: Likewise. Recognize new debug options.
3359 * elf/link.h: Declare new variables.
3361 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
3363 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3365 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
3366 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
3368 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3370 * posix/wordexp-test.c (command_line_test): New function to allow
3371 testing of specific cases from the command-line.
3373 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3375 * elf/dl-init.c (_dl_init_next): Print nicer messages.
3376 * elf/dl-fini.c (_dl_fini): Likewise.
3377 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
3379 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
3380 symbol in debug message.
3381 (_dl_lookup_versioned_symbol_skip): Likewise.
3383 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
3385 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
3386 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3387 * manual/filesys/texi: Document this.
3389 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
3391 * manual/filesys.texi: Document the change below.
3393 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3395 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
3396 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
3398 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
3400 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
3401 instead scope. If debugging display information about symbol
3403 (_dl_lookup_symbol): Call do_lookup with correct parameters.
3404 (_dl_lookup_symbol_skip): Likewise.
3405 (_dl_lookup_versioned_symbol): Likewise.
3406 (_dl_lookup_versioned_symbol_skip): Likewise.
3407 * elf/dl-support.c: Define _dl_debug_symbols.
3408 * elf/link.h: Add declaration for _dl_debug_symbols.
3409 * elf/rtld.c: Define _dl_debug_symbols.
3410 (process_dl_debug): Recognize symbols option.
3412 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
3414 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
3416 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
3417 with correct parameters.
3418 [!PIC]: Initialize __libc_multiple_libcs.
3420 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
3422 * elf/dl-support.c (_dl_debug_bindings): Add definition.
3423 * elf/rtld.c (_dl_debug_bindings): Add definition.
3424 (process_dl_debug): Recognize bindings option. Update help message.
3425 * elf/link.h (struct link_map): Add l_versyms member.
3426 (_dl_debug_bindings): Add declaration.
3427 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
3428 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
3430 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
3431 (sym_val): Remove a member, add m as link_map.
3432 (do_lookup): Return result appropriately.
3433 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
3434 Call do_lookup correctly.
3435 (_dl_lookup_symbol_skip): Likewise.
3436 (_dl_lookup_versioned_symbol): Likewise.
3437 (_dl_lookup_versioned_symbol_skip): Likewise.
3439 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
3441 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
3442 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
3444 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
3445 * libc.map: Add chown to GLIBC_2.1.
3446 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
3447 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
3449 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3451 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
3453 * sysdeps/alpha/ffs.c: Likewise.
3454 * sysdeps/am29k/ffs.c: Likewise.
3455 * sysdeps/i386/ffs.c: Likewise.
3456 * sysdeps/i960/ffs.c: Likewise.
3457 * sysdeps/m68k/ffs.c: Likewise.
3458 * sysdeps/m88k/ffs.c: Likewise.
3459 * sysdeps/powerpc/ffs.c: Likewise.
3460 * sysdeps/rs6000/ffs.c: Likewise.
3461 * sysdeps/vax/ffs.s: Likewise.
3462 * string/string.h: Declare __ffs.
3463 * libc.map: Export it.
3464 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
3465 __builtin_ffs, which is not guaranteed to be namespace clean.
3467 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3469 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
3470 table, which is much more likely to exist than debugging symbols.
3471 (printsym): Remove const.
3472 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
3475 * libc.map: Export __profile_frequency, used by elf/sprof, to
3476 avoid infinite recursion during startup.
3478 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3480 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
3483 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
3485 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
3487 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
3489 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3491 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
3492 LD_PRELOAD, and LD_VERBOSE.
3493 (dl_main): Use global variables set by process_envvars instead of
3495 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
3496 LD_LIBRARY_PATH value, this comes with the parameter.
3497 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
3498 ("LD_LIBRARY_PATH") to _dl_init_paths.
3500 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
3502 * elf/rtld.c (dl_main): Delay initialization of path structure if
3503 the dynamically linker is invoked implicitly until we read the
3506 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3508 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
3510 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3512 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
3515 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
3517 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
3519 * Makeconfig (nisobjdir): Set to path to nis directory.
3520 (rpath-link): Add nisobjdir.
3521 Patch by Sven Verdoolaege <skimo@kotnet.org>.
3523 * elf/Makefile: Pretty print.
3524 * elf/dl-lookup.c: Include unistd.h.
3525 * elf/dl-runtime.c: Likewise.
3527 * localedata/Makefile (test-srcs): Add tst-rpmatch.
3528 (distribute): Add tst-rpmatch.sh.
3529 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
3531 New tests for rpmatch function by
3532 Jochen Hein <jochen.hein@delphi.central.de>.
3533 * localedata/tst-rpmatch.c: New file.
3534 * localedata/tst-rpmatch.sh: New file.
3536 * localedata/locales/de_DE: Correct yesexpr and noexpr.
3537 * localedata/locales/de_AT: Likewise.
3539 * posix/getopt.c: Update contact address.
3540 * posix/getopt1.c: Pretty print.
3542 * sysdeps/generic/libc-start.c: Do most of the initialization now
3543 here instead of in start.S.
3544 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3545 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
3547 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
3548 profil_counter to be public.
3550 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
3552 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
3553 (parse_param): Coded parameter length expansion (${#var}).
3554 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
3555 (parse_param): Cleaned up (fixed) error handling.
3557 * posix/wordexp-test.c: IFS now includes non-whitespace character
3558 (comma). Added more tests.
3560 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
3562 * elf/link.h: Fix typos.
3563 Reported by Andreas Jaeger.
3565 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
3566 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
3568 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
3570 * argp/argp-help.c: Remove last bits of using gettext instead of
3573 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
3575 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
3577 * csu/Makefile (routines): Add libc-start.
3578 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
3579 * elf/dl-lookup.c: Likewise.
3580 * elf/dl-version.c: Likewise.
3581 * sysdeps/i386/dl-machine.h: Likewise.
3582 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
3583 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
3584 _dl_sysdep_message macros which use _dl_sysdep_output.
3585 * elf/dl-fini.c: Write out which destructor is called while debugging.
3586 * elf/dl-init.c: Likewise for constructor.
3587 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
3588 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
3589 _dl_sysdep_message. Add _dl_sysdep_output.
3590 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
3591 this file can be opened.
3592 For LD_DEBUG=libs also set _dl_debug_impcalls.
3593 * sysdeps/generic/dl-cache.c: Include unistd.h.
3594 * sysdeps/generic/libc-start.c: New file.
3595 * sysdeps/unix/sysv/linux/libc-start.c: New file.
3596 * sysdeps/i386/elf/start.S: Don't call main directly, call
3597 __libc_start_main instead.
3599 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
3601 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
3603 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
3605 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
3607 * argp/argp.h (struct argp): Add new field domain.
3608 * argp/argp-help.c: Change all gettext calls to dgettext and use
3609 domain field from appropriate argp in call.
3610 * argp/argp-parse.c: Likewise.
3612 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
3614 * posix/wordexp-test.c: Change testsuite so that it can run even
3617 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3619 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
3621 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3623 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3624 Don't store into global errno if we already store through
3626 * sysdeps/unix/i386/sysdep.S: Likewise.
3627 * sysdeps/unix/alpha/sysdep.S: Likewise.
3628 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3629 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
3631 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
3634 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3636 * sysdeps/generic/sysdep.h (L): Remove definition.
3637 * sysdeps/i386/sysdep.h (L): Define it here instead.
3639 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3641 * nis/nis_call.c (__do_niscall): Safe and reset errno.
3643 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
3645 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3647 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
3648 declaration style to avoid warnings.
3650 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
3652 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
3655 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3657 * posix/Makefile (tests): Add wordexp-test.
3658 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
3659 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
3661 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
3663 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
3666 * elf/link.h (struct r_search_path_elem): Add two new field for
3668 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
3669 variable accordingly.
3670 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
3671 is considered next along with information about load paths.
3672 * sysdeps/generic/dl-cache.c: Likewise.
3673 * elf/dl-support.c: Define _dl_debug_libs.
3674 * elf/genrtldtbl.awk: Add initializers for two new field in
3675 struct r_search_path_elem.
3677 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3679 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
3680 * sysdeps/m68k/lshift.S: Likewise.
3681 * sysdeps/m68k/rshift.S: Likewise.
3682 * sysdeps/m68k/sub_n.S: Likewise.
3683 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
3684 * sysdeps/m68k/m68020/mul_1.S: Likewise.
3685 * sysdeps/m68k/m68020/submul_1.S: Likewise.
3687 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
3688 [_LIBC_REENTRANT]: Don't store into global errno.
3690 * sysdeps/m68k/sysdep.h: New file.
3691 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
3692 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
3693 (DO_CALL): Change to expect syscall name as argument.
3694 (PSEUDO): Pass syscall_name to DO_CALL.
3695 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
3698 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3700 * elf/rtld.c: Speed up processing of environment variables. Do
3701 only one run on the environment by avoiding to call getenv.
3702 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
3703 function. Used by patch above.
3705 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3707 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
3709 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
3710 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
3711 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
3713 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3715 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
3716 module cannot be found. Reported by Andreas Jaeger.
3718 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3720 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
3721 on platforms which default to unsigned chars.
3722 * nscd/nscd_getpw_r.c: Likewise.
3723 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
3726 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3728 * elf/Makefile (install-bin): Change = to += for sprof to install
3731 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
3733 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
3735 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
3737 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
3739 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3741 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
3742 that a failure to connect to nscd doesn't change errno.
3744 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3746 * manual/maint.texi (Reporting Bugs): Change
3747 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
3749 * locale/iso-4217.def: Likewise
3751 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
3753 * manual/texinfo.tex: Updated.
3755 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3757 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
3759 * sysdeps/posix/pathconf.c: Likewise.
3760 * posix/getconf.c: Print `undefined' if pathconf returns -1
3761 without setting errno.
3763 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
3765 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
3767 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
3768 Patches by Elliot Lee <sopwith@cuc.edu>.
3770 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
3772 * elf/link.h (struct link_map): Add new field l_reloc_result.
3773 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
3774 of relocation for the object to be profiled.
3775 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
3777 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
3779 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
3780 contains a result from a previous run use this instead of computing
3782 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
3784 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3786 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
3787 offsets into the GOT.
3788 (RTLD_START): Likewise.
3790 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
3792 * elf/sprof.c: Cleanup a bit.
3794 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
3796 * sysdeps/generic/sysdep.h (L): New. Define.
3798 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
3800 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
3802 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
3803 to have only one exit point for functions.
3804 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3805 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
3806 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
3807 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3808 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3810 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3812 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
3813 reset errno so that errno isn't set to ENOSYS in the first call.
3814 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
3815 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3816 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3817 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3819 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
3821 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
3822 * sysdeps/i386/addmul_1.S: Likewise.
3823 * sysdeps/i386/lshift.S: Likewise.
3824 * sysdeps/i386/mul_1.S: Likewise.
3825 * sysdeps/i386/rshift.S: Likewise.
3826 * sysdeps/i386/sub_n.S: Likewise.
3827 * sysdeps/i386/submul_1.S: Likewise.
3828 * sysdeps/i386/i586/add_n.S: Likewise.
3829 * sysdeps/i386/i586/addmul_1.S: Likewise.
3830 * sysdeps/i386/i586/lshift.S: Likewise.
3831 * sysdeps/i386/i586/mul_1.S: Likewise.
3832 * sysdeps/i386/i586/rshift.S: Likewise.
3833 * sysdeps/i386/i586/sub_n.S: Likewise.
3834 * sysdeps/i386/i586/submul_1.S: Likewise.
3836 * sysdeps/i386/sysdep.h: Extend last change.
3838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
3839 to have only one exit point for functions.
3841 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3843 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
3846 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
3848 * Makerules: Generate libc.so with absolute paths for the used
3851 * config.make.in: Add MAKEINFO definition.
3853 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3855 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
3856 (ENTRY): Use STABS_FUN.
3857 (END): Use STABS_FUN_END.
3858 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
3860 * elf/Makefile: Add rules to build sprof program.
3861 * elf/sprof.c: New file.
3863 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3865 * misc/syslog.c (openlog_internal): Insert missing closing brace.
3867 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3869 * configure.in: Check for working msgfmt version (from GNU gettext
3872 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3874 * configure.in: Avoid //s in sysdirs.
3875 Patch by Roland McGrath.
3877 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
3879 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
3881 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
3882 setting _dl_global_scope for RTLD_GLOBAL.
3884 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3886 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
3887 possible lists of object-suffixes are taken care of.
3889 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
3891 * timezone/private.h: Update from tzcode1998c.
3892 * timezone/zic.c: Likewise.
3893 * timezone/antarctica: Updated from tzdata1998c.
3894 * timezone/asia: Likewise.
3895 * timezone/australasia: Likewise.
3896 * timezone/europe: Likewise.
3897 * timezone/southamerica: Likewise.
3899 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3901 * posix/glob.c (glob_in_dir): Add support for cases insensitive
3902 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
3904 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
3906 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
3907 Changed type of TWO43, TWO52 from float to double.
3908 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
3909 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
3910 Changed type of TWO43 from float to double.
3911 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
3914 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
3916 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
3917 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
3918 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
3920 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
3922 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
3924 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
3925 Clean up random whitespace.
3926 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
3927 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
3928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
3929 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
3931 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
3933 * shlib-versions: Match alpha*.
3934 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
3935 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
3937 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
3938 Implement copysign* with and without __ prefix.
3939 Likewise for fabs; use builtin for gcc 2.8.
3943 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
3944 (R_SPARC*): Match current v9 ABI.
3946 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
3948 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
3949 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3950 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
3951 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
3952 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3953 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
3954 * sysdeps/unix/grantpt.c (argv): Fix consts.
3955 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
3956 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3958 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3960 * misc/syslog.c: Change to allow user the interpretation of the
3961 outcome even with syslog having no return value.
3963 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3965 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
3966 that the number of program headers is >0 (which is wrong for the
3969 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3971 * Makefile (distribute): Add README.libm.
3973 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3975 * time/clocktest.c (main): Correct typo: "--" -> "==".
3977 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
3979 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
3981 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
3984 * math/libm.map (__atan2): Added.
3986 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3988 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
3989 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3991 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
3994 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3996 * manual/arith.texi (Old-style number conversion): Correct
3997 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3999 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4001 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
4002 but does not require it. Handle missing argv[] values gracefully.
4003 * posix/execl.c: Likewise.
4004 * posix/execle.c: Likewise.
4006 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4008 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
4010 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
4012 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4014 * libc.map: Add __adjtimex.
4016 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4018 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
4021 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
4023 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
4026 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
4028 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
4029 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
4031 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
4034 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
4036 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
4037 Added adjtimex and old_adjtimex.
4039 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
4041 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
4042 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
4044 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
4045 symbols only for shared library.
4046 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4047 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4048 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4049 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4050 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4051 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4052 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4054 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
4055 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4056 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4057 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4058 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4059 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4060 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4061 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4063 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
4066 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
4068 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
4069 timex and __adjtimex, respectively.
4071 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
4073 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
4075 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
4077 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
4078 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
4080 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
4082 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
4084 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
4086 * Makefile.in: Disable built-in rules.
4088 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4090 * sysdeps/i386/fpu/t_exp.c: Move to ...
4091 * sysdeps/libm-i387/t_exp.c: ... here.
4093 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
4095 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
4096 from __exp2_deltatable.
4098 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
4100 * nis/ypclnt.c (yp_master): Check result of strdup.
4101 Patch by Thorsten Kukuk.
4103 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4105 * nis/ypclnt.c: Give clnt handle after error checking free, change
4106 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
4108 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
4110 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
4111 Patch by Joe Keane <jgk@jgk.org>.
4113 * misc/fstab.h (struct fstab): Change fs_type member to be const.
4114 * misc/fstab.c: Remove casts in fs_type assignments.
4116 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4118 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
4119 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
4120 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4121 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4122 * sysdeps/powerpc/bits/fenv.h: Likewise.
4123 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4124 * sysdeps/generic/bits/fenv.h: Likewise.
4125 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4126 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
4127 * sysdeps/powerpc/test-arith.c (main): Likewise.
4129 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
4131 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
4132 the comparison macros.
4134 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
4136 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
4137 (__log2): Fixed return values.
4138 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4140 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
4142 * math/math.h (isunordered): Rename local variables to ensure
4143 correct code. Reported by HJ Lu.
4145 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
4147 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
4148 isless, islessequal, islessgreater, isunordered): Fix syntax for
4149 fucompip instruction.
4150 (isless, islessequal): Fix logic.
4152 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4154 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
4155 (comparisons_test): New tests for comparison macros.
4157 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
4159 * Makeconfig: Filter out frame-pointer effecting options when
4160 compiling profiling or debugging code.
4161 * config.h.in (internal_function): Don't define here if PROF is
4163 * gmon/gmon.c (__moncontrol): Don't change state if already in error
4165 (__monstartup): If calloc fails set error state and mark array as
4167 (_mcleanup): Don't call write_gmon if in error state. Don't try
4168 to free array if not successfully allocated.
4170 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
4171 Include elf.h to get macro definitions.
4172 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
4174 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
4176 * elf/ldd.sh.in: Add compatibility for broken old shells.
4177 * elf/ldd.bash.in: Likewise.
4179 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
4181 * sunrpc/rpc_main.c (open_input): Check pipe return error.
4183 * time/clocktest.c (main): Check signal return error.
4185 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4187 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
4188 "/" and use do-install-program. Reported by Mark M. Kettenis.
4189 (subdir_install): Likewise.
4191 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4193 * sunrpc/rpc_sample.c: Fix typo.
4195 * nscd/connections.c: Use locale.
4196 * nscd/grpcache.c: Add debug messages, gidtbl should get the
4198 * nscd/nscd.c: Check if init functions fails.
4199 * nscd/nscd_conf.c: Allow disabling of group cache.
4200 * nscd/nscd_getgr_r.c: Fix return code if group not found.
4201 * nscd/pwdcache.c: Fix debug messages.
4203 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4205 * libc.map: Add __monstartup and _mcleanup for profiling support.
4207 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4209 * libc.map: Export __getpagesize, for binary compatibility with
4212 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4214 * posix/globtest.sh: Use --library-path instead of
4216 * localedata/sort-test.sh: Likewise.
4217 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
4219 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4221 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
4222 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
4223 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4225 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4226 kernel_sigaction): Define.
4227 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
4228 kernel_sigaction): Define.
4230 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4232 * math/libm-test.c: Change epsilons for libm-ieee754.
4234 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
4236 * sysdeps/i386/__longjmp.S: Fix race condition.
4237 Reported by Bruno Haible <haible@ilog.fr>.
4239 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
4241 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
4242 * iconvdata/8bit-gap.c: Likewise.
4243 * iconvdata/8bit-generic.c: Likewise.
4244 * iconvdata/iso6937.c: Likewise.
4245 * iconvdata/iso8859-1.c: Likewise.
4246 * iconvdata/sjis.c: Likewise.
4247 * iconvdata/t61.c: Likewise.
4249 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4251 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
4252 feature tests by positive feature tests.
4254 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4256 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
4258 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
4260 * elf/dlvsym.c (dlvsym_doit): More corrections.
4261 Patch by Andreas Jaeger.
4263 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
4265 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
4267 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
4269 * libc.map: More reordering for GLIBC_2.1 symbols.
4271 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4273 * libc.map: Move some functions from version GLIBC_2.0 to
4274 GLIBC_2.1, reorder declarations.
4276 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
4278 * resolv/gethnamaddr.c (addrsort): Make this function extern.
4279 Patch by zab@thebrain.grumblesmurf.net.
4281 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4283 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
4284 NIS+ functions with version GLIBC_2.1.
4286 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
4288 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
4289 with 2.0 binaries. Reported by Thorsten Kukuk.
4291 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4293 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
4295 * elf/dlsym.c (dlsym_doit): Likewise.
4297 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4299 * elf/link.h: Correct typos.
4301 * iconv/iconv_prog.c: Correct typo.
4303 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
4305 * iconv/Makefile: Add rules to build and install iconv program.
4306 * iconv/iconv_prog.c: New file.
4308 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
4310 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
4311 _dl_lookup_symbol_skip call.
4312 * elf/dlvsym.c (dlvsym_doit): Likewise.
4314 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
4316 * libio/iovsscanf.c: Do not include errno.h.
4318 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4320 * elf/dl-load.c (add_name_to_object): Don't translate strings.
4321 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
4322 pulling in the whole error list.
4323 (__dcgettext, dcgettext): Removed.
4324 * libc.map: Export _strerror_internal.
4326 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
4328 * sysdeps/i386/fpu/t_exp.c: New file.
4330 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4332 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
4333 everything with version GLIBC_2.1.
4334 * hesiod/libnss_hesiod.map: Likewise.
4336 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4338 * manual/arith.texi (Old-style number conversion): This node is a
4339 section, not a subsection.
4341 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4343 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
4345 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4347 * elf/rtld.c (dl_main): Make sure that the library search paths
4348 have been initialized before the first call to _dl_map_object.
4350 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4352 * Makerules (common-generated): Add libc_pic.os.
4354 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4356 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
4359 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4361 * sysdeps/m68k/fpu/t_exp.c: New file.
4363 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4365 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
4366 to global errno variable anymore.
4368 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
4370 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
4371 If PRELOADED is nonzero check in case of an SUID application
4372 whether the shared object has the SUID bit set.
4373 Fix some other problems with handling shared objects in system
4374 specific directories.
4375 (_dl_map_object): Also take extra parameter and pass it to open_path.
4376 * elf/link.h (_dl_map_object): Correct prototype and comment.
4377 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
4378 * elf/dl-open.c (_dl_open): Likewise.
4379 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
4381 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
4383 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4385 * math/libm-test.c (modf_test): Add test for 1.5.
4387 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
4388 0 to get always an int.
4390 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4392 * math/libm.map: Move all symbols that are new in glibc 2.1 to
4395 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
4397 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
4398 trying to read another character.
4400 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4402 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
4405 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
4406 name to lowercase, add test for big enough buffer.
4408 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4410 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
4411 Make compatible with older kernels. Patch by Richard Henderson.
4413 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
4415 * elf/dl-load.c (open_path): Use __xstat instead of stat.
4417 * localedata/tst-locale.sh: Comment out first test for now.
4419 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
4421 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
4423 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4426 * libio/iogetline.c (_IO_getline_info): Renamed from
4428 (_IO_getline): Just call _IO_getline_info.
4430 * libio/libioP.h (_IO_getline_info): New declaration.
4432 * libc.map (_IO_getline_info, __write): Added.
4434 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4436 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
4437 const char* to shut up gcc.
4439 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
4441 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
4442 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
4444 * math/math.h: Define M_* constants always as `double' and add new
4445 macros M_*l which are of type `long double'.
4446 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
4447 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
4448 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
4449 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
4450 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
4451 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
4452 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
4453 * math/libm-tst.c: Likewise.
4455 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
4456 define as long double unconditionally.
4458 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4460 * manual/arith.texi (Old-style number conversion): Correct some
4463 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
4465 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
4468 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
4470 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
4472 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
4473 on $(rtld-ldscript).
4475 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
4476 starting from 0 not only from `from'.
4477 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4479 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
4481 * elf/rtld.c (dl_main): Recognize --library-path parameter and
4482 pass value (or NULL) to _dl_init_paths.
4483 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
4484 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
4485 environment variable.
4486 * elf/link.h: Change prototype for _dl_init_paths.
4487 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
4489 * localedata/Makefile (distribute): Add test files.
4491 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4493 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
4494 test1.def, test2.def, test3.def, test4.def}: Simple input files
4495 for localedef. Contributed by Yung-Ching Hsiao
4496 <yhsiao@cae.wisc.edu>.
4498 * localedata/Makefile (tests): Call tst-locale.sh.
4500 * localedata/tst-locale.sh: New file, regression tests for some
4503 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4505 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
4507 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
4509 * nis/nss_nisplus/nisplus-network.c: Likewise.
4510 * nis/nss_nisplus/nisplus-proto.c: Likewise.
4511 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4512 * nis/nss_nisplus/nisplus-service.c: Likewise.
4514 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
4515 and support generating thread safe RPC code.
4516 * sunrpc/rpc_main.c: Add changes.
4517 * sunrpc/rpc_clntout.c: Likewise.
4518 * sunrpc/rpc_cout.c: Likewise.
4519 * sunrpc/rpc_hout.c: Likewise.
4520 * sunrpc/rpc_parse.c: Likewise.
4521 * sunrpc/rpc_sample.c: Likewise.
4522 * sunrpc/rpc_scan.c: Likewise.
4523 * sunrpc/rpc_svcout.c: Likewise.
4524 * sunrpc/rpc_util.c: Likewise.
4525 * sunrpc/rpc_util.h: Add new structs and prototypes.
4526 * sunrpc/proto.h: Remove prototypes for static functions.
4528 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4530 * locale/programs/ld-messages.c (messages_finish): Don't skip
4531 error checking when being quiet.
4532 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
4533 (set_class_defaults): Likewise.
4534 * locale/programs/charmap.c (parse_charmap): Likewise.
4535 * locale/programs/ld-collate.c (collate_finish): Likewise.
4536 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
4537 * locale/programs/ld-time.c (time_finish): Likewise.
4538 * locale/programs/locfile.c (write_locale_data): Likewise.
4540 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
4541 unknown characters and empty ranges.
4542 * locale/programs/ld-collate.c (collate_order_elem): When
4543 processing an ellipsis properly form a linked list in the result
4544 table, fix typo when allocating ordering array.
4547 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4549 * elf/Makefile (ld-map): Define.
4550 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
4552 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
4554 (rtld-link): Combine the two versions of this definition. Fixed
4555 to make it work when no symbol versioning is used.
4557 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
4559 * Makeconfig (build-program-cmd): Use --library-path parameter to
4560 ld.so instead of environment variable.
4562 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
4563 * sunrpc/rpc_main.c: Remove support for -$$ option again.
4565 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4567 * Make-dist: Respect with-cvs setting.
4568 * MakeTAGS (all-pot): Likewise.
4569 * sysdeps/sparc/sparc32/Makefile: Likewise.
4570 * sysdeps/mach/hurd/Makefile: Likewise.
4571 * stdlib/Makefile: Likewise.
4572 * posix/Makefile: Likewise.
4573 * intl/Makefile: Likewise.
4574 * po/Makefile (linguas): Likewise
4576 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4578 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
4580 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
4582 * libc.map: Add __strcasecmp.
4584 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
4587 * nss/getXXent_r.c: If no more module is found don't try to call
4588 setXXent functions but leave unsuccessfully.
4590 * malloc/obstack.h: Cleanups.
4592 * sysdeps/wordsize-32/stdint.h: New file.
4593 * sysdeps/wordsize-64/stdint.h: New file.
4594 * sysdeps/generic/stdint.h: New file.
4595 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
4596 * sysdeps/wordsize-64/inttypes.h: Likewise.
4597 * stdlib/Makefile (headers): Add stdint.h.
4599 1998-02-03 Paul Eggert <eggert@twinsun.com>
4601 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
4603 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
4605 * timezone: New directory.
4606 * time/README, time/africa, time/antarctica, time/asia,
4607 time/australasia, time/backward, time/checktab.awk,
4608 time/etcetera, time/europe, time/factory, time/ialloc.c,
4609 time/iso3166.tab, time/leapseconds, time/northamerica,
4610 time/pacificnew, time/private.h, time/scheck.c,
4611 time/solar87, time/solar88, time/solar89, time/southamerica,
4612 time/systemv, time/test-tz.c, time/tzfile.h,
4613 time/tzselect.ksh, time/yearistype, time/zdump.c,
4614 time/zic.c, time/zone.tab: Moved to timezone.
4615 * time/tzfile.c: Include tzfile.h from timezone subdir.
4616 * time/tzset.c: Likewise.
4617 * time/Makefile: Cut out all code relating to timezones...
4618 * timezone/Makefile: ...and paste it in here.
4619 * Makefile (subdirs): Add timezone.
4621 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
4623 * libc.map (_sys_nerr): Added.
4625 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
4628 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
4630 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
4631 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
4632 Reported by Craig Metz <cmetz@inner.net>.
4634 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4636 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
4637 instead of strcasecmp.
4638 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
4640 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
4642 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
4644 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
4645 Patch by Dean Gaudet <dgaudet@arctic.org>.
4647 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
4649 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
4651 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
4653 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
4654 with no poll syscall, just include the BSD version.
4655 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
4656 kernel without the syscall, include the stub version.
4657 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
4658 * sysdeps/generic/getresuid.c: New file.
4659 * sysdeps/generic/getresgid.c: New file.
4661 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
4663 * stdio-common/vfscanf.c: Correct last change a bit.
4665 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
4667 * elf/Makefile: Don't use --version-script parameter to link ld.so
4670 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
4672 * math/Makefile: Add t_exp.
4673 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
4675 * math/test-reduce.c: Remove temporarily, it seems to be broken.
4676 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
4677 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
4679 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
4680 algorithm for very large/very small arguments.
4681 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
4682 correct algorithm for very large/very small arguments; adjust for
4684 * sysdeps/libm-ieee754/t_exp.c: New file.
4685 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
4687 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
4688 back, with comment that explains what breaks when you remove it :-(.
4690 * localedata/xfrm-test.c: Avoid integer overflow.
4692 * stdlib/strfmon.c: char is unsigned, sometimes.
4694 * sysdeps/powerpc/Makefile: Remove quad float support.
4695 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
4696 * sysdeps/powerpc/quad_float.h: Likewise.
4697 * sysdeps/powerpc/test-arith.c: Likewise.
4698 * sysdeps/powerpc/test-arithf.c: Likewise.
4700 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
4701 * sysdeps/generic/s_exp2f.c: Likewise.
4703 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
4704 don't try anything if _SOFT_FLOAT.
4706 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4708 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
4709 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
4710 * wctype/wctype.c: Likewise.
4711 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
4712 changed. They are incompatible with the _ISxxx values from
4713 <ctype.h> on little endian machines.
4714 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
4715 bit number. This fixes the real bug and restores the integrity of
4716 the ctype locale file.
4717 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
4718 * wctype/wcfuncs_l.c: Likewise.
4719 * wctype/wcextra.c: Likewise.
4720 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
4723 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
4726 into .bss segment instead of .common, so that aliases on it work.
4728 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
4729 .size directives, put into .bss segment instead of initializing it
4732 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
4734 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
4736 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
4738 Make names without __ weak aliases.
4739 (__libc_release, __libc_version): Make them static.
4741 * include/gnu/libc-version.h: New file.
4742 * Makefile (headers): Add gnu/libc-version.h.
4744 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
4746 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
4747 and use x for member name.
4748 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
4750 * stdlib/drand48.c: Change according to member name change.
4751 * stdlib/drand48_r.c: Likewise.
4752 * stdlib/lcong48_r.c: Likewise.
4753 * stdlib/lrand48.c: Likewise.
4754 * stdlib/lrand48_r.c: Likewise.
4755 * stdlib/mrand48.c: Likewise.
4756 * stdlib/mrand48_r.c: Likewise.
4757 * stdlib/seed48.c: Likewise.
4758 * stdlib/seed48_r.c: Likewise.
4759 * stdlib/srand48_r.c: Likewise.
4761 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4763 * nss/test-netdb.c: Add some more test cases.
4765 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
4767 * libio/iovsscanf.c: Undo last change modifying errno.
4769 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4771 * stdio-common/vfscanf.c: Never try to read another character
4772 after EOF. Don't decrement read_in after EOF, it wasn't
4773 incremented in the first place.
4774 (NEXT_WIDE_CHAR): Set First, not first.
4776 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
4778 * db/Makefile ($(inst_libdir)/libndbm.a,
4779 $(inst_libdir)/libndbm.so): New targets.
4780 * db2/Makefile: Likewise.
4782 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
4784 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
4785 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
4787 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4789 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
4791 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4793 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4795 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
4798 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
4800 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
4801 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
4804 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4806 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
4809 * grp/Makefile: Fix logic when checking for thread package.
4810 * pwd/Makefile: Likewise.
4812 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
4814 * elf/Makefile (rtld-map): Replaced by libc-map.
4816 * elf/rtld.map: Removed.
4818 * libc.map (__libc_enable_secure, _dl_catch_error,
4819 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
4820 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
4821 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
4822 _dl_object_relocation_scope, _dl_relocate_object,
4823 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
4824 _r_debug): Added for ld.so.
4826 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
4828 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
4830 * libio/iofdopen.c: Ditto.
4831 * libio/iofopen.c: Ditto.
4832 * libio/oldfileops.c: Ditto.
4834 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
4837 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
4838 oldsiglist from sysdep_routines and shared-only-routines.
4840 * sysdeps/unix/sysv/linux/errlist.c: New.
4841 * sysdeps/unix/sysv/linux/errlist.h: New.
4842 * sysdeps/unix/sysv/linux/sizes.h: New.
4843 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
4844 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
4846 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
4848 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
4849 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
4852 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
4854 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
4855 (oldsiglist.c): Removed.
4857 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
4858 (_sys_siglist): Use SYS_SIGLIST instead.
4859 (_sys_nerr): Use SYS_NERR instead.
4861 * sysdeps/gnu/errlist.c: Rebuilt.
4863 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
4865 * elf/Makefile (others-static): New, set to ldconfig.
4866 ($(objpfx)ldconfig): Removed.
4868 * Rules (binaries-all, binaries-static, binaries-shared): New.
4869 Create targets for $(binaries-static) and $(binaries-shared).
4871 * Makeconfig (+link-static, link-libc-static,
4872 link-extra-libs-static): New for static linking.
4874 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4876 * manual/memory.texi (Using the Memory Debugger): Fix typo.
4878 * math/libm-test.c (modf_test): Add one more test for modf.
4880 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
4882 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
4883 Rename from __libc_have_rt_sigs and leave as COMMON data.
4885 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
4887 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
4890 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
4892 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
4894 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
4896 * misc/tst-efgcvt.c: Add yet more tests.
4897 * misc/efgcvt_r.c: And correct for these tests again.
4900 * isomac.c: Move to...
4901 * stdlib/isomac.c: ...here.
4902 * Makefile: Move rules for handling isomac...
4903 * stdlib/Makefile: ...to here.
4905 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
4907 * misc/tst-efgcvt.c: Add more tests.
4908 * misc/efgcvt_r.c: Correct result for above new tests.
4910 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
4912 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
4915 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
4917 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
4918 if the programs weren't built.
4920 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
4922 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
4923 FE_TONEAREST, soldier on regardless and do the best we can.
4924 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
4926 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
4928 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
4929 _STDIO_H, before including <bits/stdio_lim.h>.
4931 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
4933 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
4936 * sysdeps/arm/sys/ucontext.h: New file.
4938 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
4940 * manual/stdio.texi (Formatted Output Functions): Explicitly say
4941 that the return value from snprintf() does not count the
4942 terminating NUL as a character.
4944 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
4946 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
4947 add description for sete[ug]id and general cleanup.
4948 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4950 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4952 * Makefile (parent-clean): Don't remove makefile fragments here.
4953 (postclean): New variable.
4954 (clean): Remove makefile fragments here.
4955 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
4956 (generated): Add isomac and isomanc.out.
4957 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
4958 avoid-generated is set.
4959 (postclean-generated): Add soversion.mk.
4960 ($(common-objpfx)version.mk): Don't include if avoid-generated is
4962 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
4963 avoid-generated is set.
4964 (common-generated): Add libc.so and libc.so$(libc.so-version).
4965 (generated): Add versioned libraries.
4966 (common-mostlyclean): Also remove %.so and %_pic.a.
4967 * csu/Makefile (generated): Add abi-tag.h.
4968 * db2/Makefile (extra-objs): Add getlong.o.
4969 * elf/Makefile (generated): Add ld.so, ldd and
4970 $(rtld-installed-name).
4971 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
4972 * malloc/Makefile (generated): Add mtrace.
4973 * po/Makefile: Don't include version.mk, not needed any more.
4974 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
4975 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
4976 syscall.h -> sys/syscall.h.
4977 (common-generated): Add s-proto.d.
4978 (postclean-generated): Add sysd-syscalls.
4979 * localedata/Makefile (test-output): Add all output files.
4980 (generated): Add test-input and test-output.
4981 (generated-dirs): Add all the dirs.
4983 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4985 * Makefile (test-output, generated, generated-dirs): New
4988 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
4990 * resolv/nss_dns/dns-host.c: Various code cleanups.
4992 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
4994 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
4995 From Philip Blundell <pb@nexus.co.uk>.
4996 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
4998 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5000 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
5001 Suggested by debian/sparc porters.
5003 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5005 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
5008 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
5010 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
5011 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
5013 * signal/signal.h: Always define sigset_t if __need_sigset_t is
5014 defined even if __USE_POSIX is not defined.
5016 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
5018 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
5019 to support obsolete tty major numbers correctly.
5021 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
5023 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
5024 directory first and ignore install error.
5026 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
5027 128 from ptyno and fix a typo for the BSD style pty.
5029 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5031 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
5034 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5036 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5037 getresuid and getresgid.
5039 * sysdeps/unix/sysv/linux/getresuid.c: New file.
5040 * sysdeps/unix/sysv/linux/getresgid.c: New file.
5042 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
5045 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
5046 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5047 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5048 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5050 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
5052 * nscd/grpcache.c: Include <stdlib.h>.
5054 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
5056 * stdlib/atoll.c: Fix comments.
5058 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
5059 * sysdeps/posix/ttyname_r.c: Ditto.
5061 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5063 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
5064 __USE_MISC, independent of __USE_UNIX98.
5066 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
5068 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5069 Rename from __libc_have_rt_sigs and leave as COMMON data.
5071 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
5073 * Makeconfig (CFLAGS-.os): Kill -fno-common.
5074 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
5076 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
5077 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
5079 * include/libc-symbols.h (symbol_version, default_symbol_version):
5080 Provide asm versions and correct !DO_VERSIONING versions.
5081 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
5082 the weak symbol list.
5084 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
5085 Rename from __libc_have_rt_sigs and leave as COMMON data.
5086 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5087 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5088 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5090 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
5092 * sunrpc/Makefile: Correct dependencies of rpcgen.
5094 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
5096 * nscd/Makefile: Fix test for available linuxthreads add-on.
5097 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5099 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5101 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
5103 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5105 * sysdeps/gnu/Makefile: Respect with-cvs variable.
5107 * manual/errno.texi (Error Messages): Correct description of
5108 strerror_r. Pointed out by jonas@bagge.se.
5110 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5112 * manual/socket.texi (Host Address Functions): Clarify description
5115 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5117 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
5118 (grantpt): Delete superfluous cast.
5120 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5122 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
5123 elf/ldso_install instead of elf/subdir_install.
5124 (elf/ldso_install): New target.
5126 * elf/Makefile (ldso_install): New target.
5128 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5130 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
5133 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5135 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
5136 constant expressions.
5138 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5140 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
5141 for __nss_configure_lookup.
5142 (output_hostent): Remove unused variable.
5144 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5146 * string/tst-inlcall.c: Fix format string.
5148 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5150 * inet/netinet/in.h: Rename second parameter of bindresvport to
5151 avoid buggy gcc warning. [PR libc/412]
5153 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
5155 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
5156 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
5158 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
5159 Follow POSIX and make tv_sec a time_t.
5160 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
5161 new tv64 syscall as well as fall back to tv32.
5162 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5163 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5164 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5165 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5166 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5167 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5168 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5169 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
5171 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
5172 * include/rpcsvc/nis_tags.h: Likewise.
5173 * include/rpcsvc/nislib.h: Likewise.
5175 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
5177 * libc.map: Add _h_errno.
5178 * inet/herrno.c: Make _h_errno weak alias.
5180 * login/Makefile (distribute): Add pty-internal.h.
5182 * nscd/Makefile (distribute): Add all the files missing.
5184 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
5187 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
5188 and report status at the end.
5190 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
5192 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
5194 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
5195 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
5196 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
5198 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
5200 * configure.in: Fix --enable-add-ons code.
5202 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5204 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
5205 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
5208 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
5209 occurence in cache. Reported by Rudolf Leitgeb
5210 <leitgeb@leland.stanford.edu>.
5213 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
5215 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
5216 that it never is EINTR (which is tested for in _IO_vfscanf).
5218 * Makefile.in: Call sub-make with CVSOPTS.
5220 * elf/Makefile (distribute): Add dl-procinfo.h.
5222 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
5224 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
5226 * version.h (VERSION): Bump to 2.0.92.
5228 1998-01-31 Phil Blundell <philb@gnu.org>
5230 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
5231 alias for __new_sys_siglist.
5233 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
5235 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
5236 getgrgid_r.c if thread package is available.
5237 * pwd/Makefile: Likewise.
5238 * grp/getgrnam_r.c: Remove USE_NSCD definition.
5239 * grp/getgrgid_r.c: Likewise.
5240 * pwd/getpwnam_r.c: Likewise.
5241 * pwd/getpwuid_r.c: Likewise.
5243 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
5245 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
5246 with error to allow user intervention.
5247 * nss/getXXent_r.c: Likewise.
5249 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
5251 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
5252 AT_PLATFORM string. Pretty print AT_BASE info.
5254 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
5255 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
5256 * sysdeps/generic/dl-procinfo.h: New file.
5257 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
5259 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
5261 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
5263 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
5264 thread and not pthread_detach.
5266 * nscd/nscd.c: Rewrite to use argp instead of getopt.
5268 1998-01-31 Phil Blundell <philb@gnu.org>
5270 * configure.in: Add --without-cvs option to suppress automatic
5271 checkin of regenerated files.
5272 * config.make.in: Likewise.
5273 * Makefile: Respect with-cvs setting.
5274 * Makerules: Likewise.
5276 * configure.in: Allow the standalone ARM port to be configured.
5278 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5280 * grp/getgrgid_r.c: Define USE_NSCD.
5281 * grp/getgrnam_r.c: Likewise.
5282 * pwd/getpwuid_r.c: Likewise.
5283 * pwd/getpwnam_r.c: Likewise.
5285 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
5287 * nss/getXXbyYY_r.c: Try at first nscd.
5289 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
5290 * nscd/connections.c: New file.
5291 * nscd/dbg_log.c: New file.
5292 * nscd/dbg_log.h: New file.
5293 * nscd/grpcache.c: New file.
5294 * nscd/nscd.c: New file.
5295 * nscd/nscd.h: New file.
5296 * nscd/nscd_conf.c: New file.
5297 * nscd/nscd_stat.c: New file.
5298 * nscd/pwdcache.c: New file.
5300 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
5301 * nscd/nscd_getpw_r.c: Likewise.
5302 * nscd/nscd_proto.h: New, prototypes for client functions.
5304 * nscd/nscd.conf: New, example for a configuration file.
5305 * nscd/nscd.init: New, example for a startup script.
5307 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
5309 * nscd/getgrnam_r.c: Likewise.
5310 * nscd/getpwnam_r.c: Likewise.
5311 * nscd/getpwuid_r.c: Likewise.
5313 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
5315 * intl/Makefile: Use CVSOPTS in cvs invocation.
5316 * po/Makefile: Likewise.
5317 * posix/Makefile: Likewise.
5318 * stdlib/Makefile: Likewise.
5320 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
5322 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
5324 * misc/Makefile (tests): Add tst-efgcvt.
5325 * misc/tst-efgcvt.c: New file.
5327 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
5329 * posix/regex.c: Add some more cleanups by Akim Demaille.
5331 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
5333 * signal/signal.h: Revert last change.
5334 * string/strsignal.c: Regard signal number NSGI as illegal.
5335 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
5338 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
5340 * Makefile.in: Add comment about CVSOPTS Makefile variable.
5341 * Makerules: Use CVSOPTS in cvs invocation.
5342 * Makefile: Likewise.
5343 * MakeTAGS: Likewise.
5344 * Make-dist: Likewise.
5346 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
5348 * sysdeps/generic/memmem.c: Correct last change.
5350 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
5352 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
5353 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
5355 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5357 * nis/ypclnt.c: Try at first to use the binding file from ypbind
5360 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5362 * manual/memory.texi (Heap Consistency Checking): mcheck is
5363 declared in <mcheck.h>.
5364 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
5366 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5368 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
5369 beginning of haystack.
5371 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5373 * nss/nss_files/files-service.c: Correct last patch.
5375 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
5377 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
5378 __libc_have_rt_sigs.
5379 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
5380 including <bits/setjmp.h>.
5381 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5382 Patch from the Debian glibc/SPARC package.
5384 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
5386 * sysdeps/alpha/bzero.S: Fix a typo.
5387 * sysdeps/alpha/htonl.S: Ditto.
5388 * sysdeps/alpha/htons.S: Ditto.
5390 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5392 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
5394 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
5396 * include/cpio.h: Move to ...
5397 * posix/cpio.h: ...here.
5399 * locale/programs/ld-collate.c: Fix typo.
5401 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
5403 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
5405 * login/utmp_file.c (pututline_file): Don't always report success
5406 if similar entry is found. Patch by Mark M. Kettenis.
5408 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
5410 * manual/Makefile: Don't try to install the info files if makeinfo
5413 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
5415 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
5416 kernel's network ioctls, rather than using <linux/sockios.h> to
5417 get them. This way we are sure of maintaining compatibility if
5418 the kernel interface should change.
5420 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
5422 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
5424 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
5426 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
5427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5429 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
5431 Implement System V pseudoterminal handling.
5434 (routines): Add getpt, grantpt, unlockpt, ptsname.
5435 (libutil-routines): Remove pty. Add openpty, forkpty.
5436 (distribute): New internal header pty-internal.h.
5437 (others): Add the helper program, pt_chown.
5438 (install-others): Install it, in $(libexecdir), mode 4755.
5440 * login/pty-internal.h: New file.
5441 * login/openpty.c: New file.
5442 * login/forkpty.c: New file.
5443 * login/programs/pt_chown.c: New file.
5445 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
5446 * stdlib/stdlib.h: Prototype them.
5448 * config.make.in: Define $(libexecdir).
5449 * Makeconfig: Define $(inst_libexecdir).
5451 * sysdeps/generic/pty.c: Removed.
5452 * sysdeps/unix/sysv/linux/pty.c: Removed.
5454 * sysdeps/generic/getpt.c: Stub out.
5455 * sysdeps/generic/grantpt.c: Likewise.
5456 * sysdeps/generic/ptsname.c: Likewise.
5457 * sysdeps/generic/unlockpt.c: Likewise.
5459 * sysdeps/unix/grantpt.c: New file.
5460 * sysdeps/unix/bsd/getpt.c: New file.
5461 * sysdeps/unix/bsd/unlockpt.c: New file.
5462 * sysdeps/unix/sysv/linux/getpt.c: New file.
5463 * sysdeps/unix/sysv/linux/ptsname.c: New file.
5464 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
5466 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
5468 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
5470 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5472 * nss/Makefile (tests): Add rule for test-netdb.c.
5474 * nss/test-netdb.c: New file.
5476 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
5478 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
5479 really kept as a variable. Patch by Richard Henderson,
5480 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5482 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
5483 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
5484 entries as not existing.
5486 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5488 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
5489 zero in alternate form with precision of zero, which must produce
5490 "0". Add braces to avoid ambiguous `else'.
5492 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5494 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
5495 problem with strncpy.
5496 * nis/nss_compat/compat-pwd.c: Likewise.
5497 * nis/nss_compat/comapt-spwd.c: Likewise.
5499 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5501 * assert/assert.h (assert_perror): Correct test for errnum. Patch
5502 by uch@nop.or.jp. [PR libc/437]
5504 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5506 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
5508 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5510 * stdio-common/test-popen.c: Include <errno.h>.
5512 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
5515 * inet/getnetgrent_r.c: Include <errno.h>.
5517 * db2/db/db_conv.c: Include <string.h> for memcpy.
5519 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
5520 so that memcpy is declared.
5522 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
5524 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
5526 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5528 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
5529 overflow while reading line with fgets.
5530 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5532 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
5534 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
5535 unsigned short, not short.
5536 Reported by Andreas Jaeger.
5538 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5540 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
5543 * sysdeps/generic/inttypes.h: Fix spelling.
5545 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5547 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
5549 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
5551 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
5553 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
5554 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
5555 field for hh modifier.
5556 * stdio-common/vfprint.c: Use is_char field and do not depend in
5557 is_short having the value 2.
5558 Bug reported by Andreas Jaeger.
5560 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5562 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
5563 PIC && DO_VERSIONING.
5565 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5567 * Rules: Add rules for $(common-objpfx)dummy$o.
5569 1998-01-26 Richard Henderson <rth@cygnus.com>
5571 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
5572 unimplemented OSF/1 definitions so that they are not accidentally seen.
5574 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
5575 of the trampoline function into the macro.
5576 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
5577 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
5578 kernel 2.1.82 has this fixed.
5580 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
5581 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
5583 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
5585 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
5586 support sigaction on kernels > 2.1.7x.
5588 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
5590 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
5593 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
5594 Patch by David Engel <david@sw.ods.com>.
5596 * configure.in: Fix another typo in --enable-add-ons code.
5598 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
5600 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
5602 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5604 * nss/nss_files/files-network.c: Correct order of parameters for
5607 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
5609 * db2/Makefile (routines): Add os_alloc.
5610 * db2/db.h: Update from db-2.3.16.
5611 * db2/db_185.h: Likewise.
5612 * db2/db_int.h: Likewise.
5613 * db2/btree/bt_close.c: Likewise.
5614 * db2/btree/bt_cursor.c: Likewise.
5615 * db2/btree/bt_delete.c: Likewise.
5616 * db2/btree/bt_open.c: Likewise.
5617 * db2/btree/bt_page.c: Likewise.
5618 * db2/btree/bt_put.c: Likewise.
5619 * db2/btree/bt_rec.c: Likewise.
5620 * db2/btree/bt_recno.c: Likewise.
5621 * db2/btree/btree_auto.c: Likewise.
5622 * db2/common/db_appinit.c: Likewise.
5623 * db2/common/db_apprec.c: Likewise.
5624 * db2/common/db_err.c: Likewise.
5625 * db2/common/db_region.c: Likewise.
5626 * db2/common/db_shash.c: Likewise.
5627 * db2/db/db.c: Likewise.
5628 * db2/db/db_auto.c: Likewise.
5629 * db2/db/db_conv.c: Likewise.
5630 * db2/db/db_dispatch.c: Likewise.
5631 * db2/db/db_dup.c: Likewise.
5632 * db2/db/db_pr.c: Likewise.
5633 * db2/db/db_rec.c: Likewise.
5634 * db2/db185/db185.c: Likewise.
5635 * db2/dbm/dbm.c: Likewise.
5636 * db2/hash/hash.c: Likewise.
5637 * db2/hash/hash_auto.c: Likewise.
5638 * db2/hash/hash_dup.c: Likewise.
5639 * db2/hash/hash_page.c: Likewise.
5640 * db2/hash/hash_rec.c: Likewise.
5641 * db2/include/btree_ext.h: Likewise.
5642 * db2/include/clib_ext.h: Likewise.
5643 * db2/include/common_ext.h: Likewise.
5644 * db2/include/db.h.src: Likewise.
5645 * db2/include/db_185.h.src: Likewise.
5646 * db2/include/db_am.h: Likewise.
5647 * db2/include/db_ext.h: Likewise.
5648 * db2/include/db_int.h.src: Likewise.
5649 * db2/include/hash_ext.h: Likewise.
5650 * db2/include/lock_ext.h: Likewise.
5651 * db2/include/log.h: Likewise.
5652 * db2/include/log_auto.h: Likewise.
5653 * db2/include/log_ext.h: Likewise.
5654 * db2/include/mp.h: Likewise.
5655 * db2/include/mp_ext.h: Likewise.
5656 * db2/include/mutex_ext.h: Likewise.
5657 * db2/include/os_ext.h: Likewise.
5658 * db2/include/os_func.h: Likewise.
5659 * db2/include/txn_ext.h: Likewise.
5660 * db2/lock/lock.c: Likewise.
5661 * db2/lock/lock_util.c: Likewise.
5662 * db2/log/log.c: Likewise.
5663 * db2/log/log.src: Likewise.
5664 * db2/log/log_archive.c: Likewise.
5665 * db2/log/log_auto.c: Likewise.
5666 * db2/log/log_get.c: Likewise.
5667 * db2/log/log_put.c: Likewise.
5668 * db2/log/log_rec.c: Likewise.
5669 * db2/log/log_register.c: Likewise.
5670 * db2/mp/mp_bh.c: Likewise.
5671 * db2/mp/mp_fget.c: Likewise.
5672 * db2/mp/mp_fopen.c: Likewise.
5673 * db2/mp/mp_fput.c: Likewise.
5674 * db2/mp/mp_pr.c: Likewise.
5675 * db2/mp/mp_sync.c: Likewise.
5676 * db2/mutex/mutex.c: Likewise.
5677 * db2/os/os_alloc.c: Likewise.
5678 * db2/os/os_config.c: Likewise.
5679 * db2/os/os_stat.c: Likewise.
5680 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
5681 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
5682 * db2/progs/db_load/db_load.c: Likewise.
5683 * db2/progs/db_printlog/db_printlog.c: Likewise.
5684 * db2/progs/db_recover/db_recover.c: Likewise.
5685 * db2/progs/db_stat/db_stat.c: Likewise.
5686 * db2/txn/txn.c: Likewise.
5688 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
5689 Unmap memory blocks in reverse order of allocation.
5690 Call munmap with load address added to offset.
5691 Bug reported by Miguel de Icaza.
5693 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
5696 * localedata/locales/cs_CZ: Update by Michael Mraka
5697 <michael@informatics.muni.cz>.
5699 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
5702 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
5703 reading line with fgets.
5704 * nis/nss_compat/compat-pwd.c: Likewise.
5705 * nis/nss_compat/compat-spwd.c: Likewise.
5706 * nss/nss_files/files-XXX.c: Likewise.
5707 * nss/nss_files/files-alias.c: Likewise.
5708 * shadow/fgetspent_r.c: Likewise.
5710 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
5712 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
5713 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5714 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5716 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
5717 FP register content in ucontext_t.
5719 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5721 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
5722 calculation. Patch by Markus Schoder
5723 <Markus.Schoder@dresdner-bank.de>.
5725 * math/libm-test.c (modf_test): Add more tests for modf.
5727 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
5728 munlock according to Unix98.
5730 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5732 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
5735 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
5737 * sysdeps/posix/ttyname.c: Handle symbolic links.
5738 * sysdeps/posix/ttyname_r.c: Ditto.
5740 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
5742 * db2/makedb.c (process_input): Write terminating \0 for value.
5743 (print_database): Simply print value string, don't use length.
5745 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5747 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
5750 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5752 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
5755 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
5757 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
5759 * signal/sighold.c: New file.
5760 * signal/sigrelse.c: New file.
5761 * sysdeps/generic/sigignore.c: New file.
5762 * sysdeps/generic/sigset.c: New file.
5763 * sysdeps/posix/sigignore.c: New file.
5764 * sysdeps/posix/sigset.c: New file.
5765 * signal/signal.h: Add prototypes for new functions.
5767 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
5768 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
5769 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
5770 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
5772 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
5774 * posix/wordexp.c: Added IFS field-splitting in parameter and
5775 command substitution. Fixed an IFS-related bug that caused an
5778 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
5780 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
5782 * stdlib/ucontext.h: Correct prototypes.
5783 * sysdeps/generic/getcontext.c: New file.
5784 * sysdeps/generic/setcontext.c: New file.
5785 * sysdeps/generic/makecontext.c: New file.
5786 * sysdeps/generic/swapcontext.c: New file.
5787 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
5789 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
5791 * resource/sys/resource.h: Remove #include of ulimit.h which is
5792 not allowed by SUSv2 and not available on other systems.
5793 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
5795 * streams/Makefile: New file.
5796 * streams/stropts.h: New file.
5797 * sysdeps/generic/bits/stropts.h: New file.
5798 * sysdeps/generic/isastream.c: New file.
5799 * sysdeps/generic/getmsg.c: New file.
5800 * sysdeps/generic/getpmsg.c: New file.
5801 * sysdeps/generic/putmsg.c: New file.
5802 * sysdeps/generic/putpmsg.c: New file.
5803 * sysdeps/generic/fattach.c: New file.
5804 * sysdeps/generic/fdetach.c: New file.
5805 * sysdeps/unix/inet/Subdirs: Add streams.
5806 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
5808 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5809 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5810 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5811 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
5813 * sysdeps/mach/_strerror.c: Follow changes of generic version to
5814 handle small buffers correctly.
5816 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
5818 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5819 Remove the 3rd arg and add declaration for _dl_runtime_resolve
5820 and _dl_runtime_profile.
5822 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
5824 * include/cpio.h: New file. Mainly copied from GNU cpio.
5825 * posix/Makefile (headers): Add cpio.h.
5827 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5829 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
5831 * nis/nis_cache.c: New file.
5832 * nis/nis_cache2.h: New file.
5833 * nis/nis_cache2_xdr.c: New file.
5834 * nis/nis_call.c: Changes for cache2_info parameter.
5835 * nis/nis_checkpoint.c: Likewise.
5836 * nis/nis_intern.h: Likewise.
5837 * nis/nis_mkdir.c: Likewise.
5838 * nis/nis_ping.c: Likewise.
5839 * nis/nis_rmdir.c: Likewise.
5840 * nis/nis_server.c: Likewise.
5841 * nis/nis_util.c: Likewise.
5843 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5845 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
5846 return/errnop codes.
5847 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5848 * nis/nss_nisplus/nisplus-grp.c: Likewise.
5849 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5850 * nis/nss_nisplus/nisplus-proto.c: Likewise.
5851 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5852 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5853 * nis/nss_nisplus/nisplus-rpc.c: Likewise
5854 * nis/nss_nisplus/nisplus-service.c: Likewise.
5855 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5857 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5859 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
5860 * nis/nss_nis/nis-ethers.c: Likewise.
5861 * nis/nss_nis/nis-grp.c: Likewise.
5862 * nis/nss_nis/nis-hosts.c: Likewise.
5863 * nis/nss_nis/nis-network.c: Likewise.
5864 * nis/nss_nis/nis-proto.c: Likewise.
5865 * nis/nss_nis/nis-hosts.c: Likewise.
5866 * nis/nss_nis/nis-network.c: Likewise.
5867 * nis/nss_nis/nis-proto.c: Likewise.
5868 * nis/nss_nis/nis-publickey.c: Likewise.
5869 * nis/nss_nis/nis-pwd.c: Likewise.
5870 * nis/nss_nis/nis-rpc.c: Likewise.
5871 * nis/nss_nis/nis-service.c: Likewise.
5872 * nis/nss_nis/nis-spwd.c: Likewise.
5874 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
5876 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
5877 Added to follow latest kernel development.
5879 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
5881 * nss/db-Makefile: Handle empty and comment lines better.
5882 ($(VAR_DB)/services.db): Generate entries with missing protocol
5885 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5887 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
5889 (getservbyname): Allow proto == NULL.
5890 Pointed out by David N. Welton <davidw@gate.cks.com>.
5893 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
5895 * nis/nislib/nislib.h: Finally removed.
5897 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
5898 C compiler. From Kaveh Ghazi.
5899 (TYPE_MINIMUM): Define.
5900 (TYPE_MAXIMUM): Define.
5901 (TIME_T_MIN): Use TYPE_MINIMUM.
5902 (TIME_T_MAX): Use TYPE_MAXIMUM.
5903 Patch by Jim Meyering <meyering@ascend.com>.
5905 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
5907 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
5908 __pread64, __pwrite64, and __getpid.
5910 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
5913 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5915 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
5916 cancelable socket functions as __libc_xxx with __xxx as weak
5918 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5919 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5921 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
5923 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5924 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
5925 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
5926 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5928 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
5929 and __xxx a weak alias.
5930 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5931 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5932 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5933 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5934 * sysdeps/unix/sysv/linux/send.S: Likewise.
5935 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5936 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5938 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5940 * locale/langinfo.h: Add defines.
5942 * dirent/dirent.h: Add defines for DT_*, check also for
5943 _DIRENT_HAVE_D_TYPE.
5944 Suggested by Roland McGrath.
5946 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5948 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
5949 Update from Linux 2.1.73+79.
5951 * README.template: Update information about possible
5954 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
5955 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
5958 * manual/time.texi (Priority): Correct description of
5959 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
5962 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
5964 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
5965 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
5967 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
5969 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
5972 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
5974 * locale/programs/ld-collate.c: Little optimizations.
5976 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
5978 * string/Makefile (tests): Add tst-inlcall.
5979 * string/tst-inlcall.c: New file.
5981 * string/strsignal.c: Add support for real-time signals.
5983 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
5984 presense of small buffer.
5986 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
5988 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
5991 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
5994 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
5996 * Rules: Add explicit rule for dummy.o; at least one library needs
5997 it and it isn't autogenerated by the default rules.
5999 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6001 * math/libm-test.c: Tweak epsilons.
6003 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6005 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
6007 (feenv_mask_test): Likewise.
6009 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6011 * Makeconfig: Don't export CPPFLAGS.
6013 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6015 * sunrpc/rpc_main.c (parseargs): Use perror to print error
6018 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6020 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
6021 terminating null in key size.
6023 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6025 * nss/nss_files/files-service.c: Fix allocation size to include
6028 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
6029 applicable. Fix return value and error checking.
6030 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
6032 (DB_LOOKUP): Allocate space for terminating null byte.
6034 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
6037 * db2/makedb.c (process_input): Continue processing if a duplicate
6040 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
6042 * time/tzfile.h: Updated from tzcode1998b.
6043 * time/zdump.c: Likewise.
6044 * time/zic.c: Likewise.
6045 * time/africa: Update from tzdata1998b.
6046 * time/antarctica: Likewise.
6047 * time/asia: Likewise.
6048 * time/australasia: Likewise.
6049 * time/etcetera: Likewise.
6050 * time/europe: Likewise.
6051 * time/leapseconds: Likewise.
6052 * time/northamerica: Likewise.
6053 * time/southamerica: Likewise.
6055 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6057 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
6058 lookups ignoring case.
6059 * nss/nss_files/files-network.c: Do network lookups ignoring
6061 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
6063 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
6064 case insensitive comparing.
6065 Patches by Cristian Gafton <gafton@redhat.com>.
6067 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6069 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
6070 by Roland McGrath. [PR libc/395]
6072 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6074 * manual/arith.texi (Parsing of Integers): Correct description of
6075 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
6078 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
6080 * misc/lsearch.c (lsearch): Return a pointer to the new element
6081 if one was "allocated".
6083 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6085 * string/strsignal.c: NSIG is not a valid index into
6086 _sys_siglist. Don't zap the last character of the "Unknown
6089 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
6091 * locale/programs/charmap.c (parse_charmap): Correct parsing of
6092 ellipsis expressions.
6094 * locale/programs/charset.c (insert_char): Correctly insert value
6095 of eliipsis expression.
6097 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
6099 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
6101 * sysdeps/powerpc/setjmp.S: Likewise.
6102 Patches by Matt McLean <keys@keys.got.net>.
6104 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
6106 * Makefile: Undo last patch.
6107 (distribute): Add test-installation.pl.
6109 * configure.in: Correct handling of --enable-add-ons without parameter.
6110 Correct address of WWW pages.
6112 * libc.map: Add _nl_domain_bindings.
6114 * db2/mutex/tsl_parisc.s: New file.
6116 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
6117 and extra-module.mk.
6119 * localedata/Makefile (distribute): New. Add all the files.
6121 * stdlib/Makefile (headers): Add inttypes.h.
6122 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
6123 * sysdeps/generic/inttypes.h: New file.
6124 * sysdeps/generic/strtoimax.c: New file.
6125 * sysdeps/generic/strtoumax.c: New file.
6126 * sysdeps/generic/wcstoimax.c: New file.
6127 * sysdeps/generic/wcstoumax.c: New file.
6128 * sysdeps/wordsize-32/Dist: Removed.
6129 * sysdeps/wordsize-32/Makefile: Removed.
6130 * sysdeps/wordsize-64/Dist: Removed.
6131 * sysdeps/wordsize-64/Makefile: Removed.
6132 * sysdeps/generic/bits/environments.h: New file.
6134 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
6135 header is still not correct.
6137 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
6138 * posix/unistd.h: Likewise.
6139 * sysdeps/generic/sys/mman.h: Likewise.
6140 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
6142 * manual/arith.texi: Change definition of mul macro.
6143 * manual/math.texi: Likewise.
6145 * misc/Makefile (routines): Add mmap64.
6146 * sysdeps/generic/mmap64.c: New file.
6147 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
6148 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
6149 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
6151 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6153 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
6155 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
6157 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
6159 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
6160 FOPEN_MAX also when included by limits.h.
6161 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6163 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
6164 and netrom/netrom.h.
6165 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
6166 oldsiglist to sysdep_routines, not aux.
6167 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
6169 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
6170 and SOL_NETROM definition.
6172 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
6174 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
6175 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
6177 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
6179 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
6181 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
6182 sa_handler with k_sa_handler.
6183 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
6187 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
6188 __libc_have_rt_sigs here.
6189 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
6190 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6191 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
6192 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6194 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
6196 * sysdeps/powerpc/atomicity.h: New file.
6197 * sysdeps/mach/powerpc/machine-lock.h: New file.
6199 * Rules: Use -fpic to build anything that might end up in a users'
6202 * sysdeps/powerpc/s_fdim.c: New file.
6203 * sysdeps/powerpc/s_fdimf.c: New file.
6204 * sysdeps/powerpc/s_fmax.S: New file.
6205 * sysdeps/powerpc/s_fmaxf.S: New file.
6206 * sysdeps/powerpc/s_fmin.S: New file.
6207 * sysdeps/powerpc/s_fminf.S: New file.
6208 * sysdeps/powerpc/s_llrint.c: Now is for double.
6209 * sysdeps/powerpc/s_llrintf.c: New file.
6210 * sysdeps/powerpc/s_llround.c: Now is for double.
6211 * sysdeps/powerpc/s_llroundf.c: New file.
6212 * sysdeps/powerpc/s_lrint.c: Now is for double.
6213 * sysdeps/powerpc/s_lrintf.S: New file.
6214 * sysdeps/powerpc/s_lround.c: Now is for double.
6215 * sysdeps/powerpc/s_lroundf.c: New file.
6216 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
6217 lrintf, fdim, fdimf.
6219 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
6220 file directly, use its parent.
6222 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
6223 (for the third time).
6225 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
6227 * posix/sched.h: timespec is in <time.h>.
6229 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
6231 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
6233 * configure.in: Stop with error if --disable-static is used when
6234 the shared lib uses this library.
6236 * gen-FAQ.pl: I've perl installed in /usr/bin.
6238 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
6240 Fix Unix98 conformance problems in the headers.
6241 * catgets/nl_types.h: Define nl_item.
6242 * grp/grp.h: Define gid_t.
6243 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
6244 * include/nl_types.h: New file.
6245 * include/ulimit.h: New file.
6246 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
6247 constants in POSIX mode.
6248 * io/utime.h: Get definition for time_t.
6249 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
6250 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
6251 * libio/stdio.h: Define va_list. Make snprintf also available is
6252 __USE_UNIX98. Declare getopt function and variables.
6253 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
6254 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
6255 * math/math.h: Defined M_* constants as double for Unix98 mode.
6256 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
6257 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
6258 * posix/regex.h: Define REG_NOSYS.
6259 * posix/wordexp.h: Define WRDE_NOSYS.
6260 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
6262 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
6263 somewhere else as well. Define clock_t for Unix98.
6264 * posix/sys/wait.h: Define pid_t.
6265 * pwd/pwd.h: Define gid_t, uid_t.
6266 * resource/Makefile (headers): Add ulimit.h.
6267 * resource/ulimit.h: New file.
6268 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
6269 instead of second argument.
6270 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
6271 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6272 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
6273 * signal/signal.h: Define pid_t.
6274 * string/string.h: Don't declare BSD string functions in POSIX mode.
6275 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
6276 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
6277 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
6280 * inet/test_ifindex.c: Change test so that it does not fail for
6283 * locale/programs/locale.c (show_info): Use correct cast sequence
6286 * malloc/malloc.c: __malloc_initialized now signals three states:
6287 uninitialized, initializing, initialized. Used in mcheck.
6288 * malloc/mcheck.c (mabort): Add '\n' to messages.
6289 (mcheck): Allow installation when malloc is uninitialized or is
6292 * manual/memory.texi: Explain mtrace output a bit more.
6294 * math/libm-test.c: Add more epsilons.
6296 * misc/regexp.h (compile): Remove __ prefix from parameter names.
6298 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
6299 instead of strcpy for security.
6300 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
6301 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
6302 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
6304 * nss/digits_dots.c: Pretty print.
6306 * posix/getconf.c (vars): Add symbols for programming environment
6307 recognition. Recognize --version.
6309 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
6310 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
6311 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
6313 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
6315 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6316 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
6319 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
6320 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
6322 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
6323 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6324 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6325 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
6326 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6327 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
6329 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
6331 * sysdeps/wordsize-64/inttypes.h: Likewise.
6333 * time/africa: Update from tzdata1997j.
6334 * time/antarctica: Likewise.
6335 * time/asia: Likewise.
6336 * time/australasia: Likewise.
6337 * time/backward: Likewise.
6338 * time/etcetera: Likewise.
6339 * time/europe: Likewise.
6340 * time/factory: Likewise.
6341 * time/northamerica: Likewise.
6342 * time/pacificnew: Likewise.
6343 * time/southamerica: Likewise.
6345 * time/tzfile.h: Update from tzcode1997h.
6346 * time/zic.c: Likewise.
6348 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
6349 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
6350 isw*() functions for Unix98.
6351 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
6352 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
6355 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6357 * locale/duplocale.c: Increase usage_count only if less than
6359 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
6361 * locale/setlocale.c: Likewise.
6363 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6365 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
6366 dependency to make it easier to install it selectively.
6368 * Makerules (.SUFFIXES): Don't define any suffixes.
6370 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6372 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
6373 * sysdeps/generic/statfs64.c: Emulate using statfs.
6374 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
6375 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
6376 * sysdpes/generic/ftruncate64.c: New file.
6377 * sysdpes/generic/truncate64.c: New file.
6379 * sysdeps/generic/bits/stat.h: Add LFS support.
6380 * sysdeps/generic/bits/statfs.h: Likewise.
6382 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
6383 [__USE_FILE_OFFSET64]: Make long long constant.
6384 (RLIM64_INFINITY): Likewise.
6386 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
6388 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
6389 * sysdeps/generic/bits/resource.h: Likewise.
6391 * misc/Makefile (routines): Add truncate64 and ftruncate64.
6393 * include/features.h: Don't prevent LFS support from defining BSD
6396 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
6397 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
6398 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
6400 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
6401 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
6402 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6404 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
6405 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
6406 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
6407 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
6408 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
6409 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
6410 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
6411 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
6412 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
6413 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
6414 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
6415 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
6416 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
6417 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
6418 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
6419 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
6420 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
6421 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
6422 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
6423 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
6425 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
6426 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
6427 * sysdeps/unix/sysv/linux/xstat64.c: New file.
6428 * sysdeps/unix/sysv/linux/readdir64.c: New file.
6429 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
6431 * sysdeps/unix/sysv/linux/getdents64.c: New file.
6432 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6433 [$(subdir)=dirent]: Add getdents64.
6434 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
6436 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
6438 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
6440 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
6442 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
6443 * sysdeps/generic/getrlimit64.c: Likewise.
6444 * sysdeps/generic/setrlimit.c: Likewise.
6445 * sysdeps/generic/setrlimit64.c: Likewise.
6447 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
6449 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
6452 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
6454 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
6456 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6458 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
6459 after the codeset name.
6461 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6463 * libc.map: Add get_kernel_syms.
6465 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6467 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
6469 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
6470 Likewise. Fix condition.
6472 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6474 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
6476 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6478 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
6479 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
6481 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6483 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
6484 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
6487 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6489 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
6491 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6493 * math/libm-test.c (catanh_test): Change epsilon.
6494 Reported by H.J. Lu.
6496 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
6498 * libc.map (__getpid): Added for linuxthreads.
6500 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
6502 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
6503 it if gcc uses static variable in DWARF2 unwind information
6504 for exception support.
6506 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
6508 * elf/soinit.c (__libc_global_ctors, _fini): Handle
6509 HAVE_DWARF2_UNWIND_INFO_STATIC.
6511 * libc.map (__register_frame*, __deregister_frame*): Make them
6514 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6516 * math/libm-test.c: Add more tests for "normal" values.
6518 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6520 * stdio-common/printf_fphex.c: Fix printing of long double number
6521 with a biased exponent of zero. Fix rounding.
6523 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6525 * sunrpc/rpc_main.c: Accept new flag -$.
6526 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
6528 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6530 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
6531 dynamic linker first, in case the interface has changed.
6533 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6535 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
6538 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6540 * math/tgmath.h: Check for double first, for architectures where
6541 sizeof (long double) == sizeof (double).
6543 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6545 * math/libm-test.c: New tests for "normal" values added for most
6548 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
6550 * version.h (VERSION): Bump to 2.0.91.
6552 * db2/makedb.c (process_input): Fix typo in message.
6553 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
6555 * elf/dynamic-link.h: Pretty print.
6557 * elf/rtld.c: Allow multiple preloading of a shared object.
6559 * include/limits.h: Prevent multiple inclusion.
6561 * malloc/Makefile (headers): Add mcheck.h.
6562 (distribute): Remove it here.
6563 * malloc/mcheck.h: Pretty print.
6564 * malloc/mtrace.c (mallenv): Make `const'.
6565 * malloc/mtrace.pl: Don't print table head for memory leaks if there
6567 * manual/memory.texi: Update descriptor of malloc hooks.
6569 * posix/Makefile (routines): Add waitid.
6570 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
6572 * posix/sys/wait.h: Define idtype_t type.
6573 Add prototype for waitid.
6574 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
6575 * sysdeps/generic/waitid.c: Stub for waitid.
6576 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
6577 the __need_siginfo_t defined.
6578 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
6579 * sysdeps/generic/bits/types.h: Define __id_t.
6580 Correct definition of __FDMASK.
6581 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6582 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6583 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6585 * sysdeps/posix/waitid.c: New file.
6586 Provided by Zack Weinberg.
6588 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
6590 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6591 Add missing parameters.
6593 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
6594 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
6595 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
6596 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
6599 * sysdeps/i386/dl-machine.h: Little cleanup.
6601 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
6602 (__finite): Mark function as const.
6603 Add inline code for __ieee754_atan2.
6605 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
6606 (but don't use it now).
6607 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
6609 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
6610 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
6611 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
6613 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
6614 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
6615 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
6616 __ieee754_atan2 to base 10.
6617 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
6618 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
6620 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
6621 old_kernel_sigaction.
6623 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
6625 * wctype/Makefile (routines): Add wctype_l.
6626 * wctype/wctype.h: Add declaration of __wctype_l.
6627 * wctype/wctype_l.c: New file.
6629 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
6631 * locale/C-ctype.c: Correct data for isw* functions.
6632 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
6634 * wctype/test_wctype.c: Add test for isw* functions.
6635 * wctype/wctype.c: Return value with expected byte order.
6637 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6639 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
6641 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
6643 * iconvdata/Makefile: Fix a typo.
6645 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
6646 oldsiglist for shared library.
6648 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
6649 sys_sigabbrev): Make them as the default version GLIBC_2.1.
6651 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
6652 sys_siglist, sys_sigabbrev): New file. Make them as the old
6655 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
6658 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
6660 * libio/iofgets.c (_IO_fgets): Return an error only if there
6662 * libio/iogets.c (_IO_gets): Ditto.
6664 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
6666 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
6668 * libio/Makefile (routines, shared-only-routines): Add
6671 * libio/fileops.c: Don't use _IO_FILE_complete.
6672 * libio/iofdopen.c: Ditto.
6673 * libio/iofopen.c: Ditto.
6674 * libio/iofopen64.c: Ditto.
6675 * libio/iopopen.c: Ditto.
6676 * libio/iovdprintf.c: Ditto.
6678 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
6680 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
6681 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
6683 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
6684 _IO_old_fdopen, _IO_new_fdopen): New declaration.
6686 * libio/libio.h (_IO_FILE): Add more fields.
6687 (_IO_FILE_complete): Defined and make _IO_FILE be the old
6688 one if _IO_USE_OLD_IO_FILE is defined
6689 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
6690 them _IO_FILE_complete.
6692 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
6694 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
6696 (_IO_FILE_complete): Commented out.
6698 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
6699 * libio/oldiofclose.c: Ditto.
6700 * libio/oldiofopen.c: Ditto.
6701 * libio/oldstdfiles.c: Ditto.
6703 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
6704 for the old _IO_FILE.
6706 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
6707 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
6710 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
6713 * libio/stdio.c (stdin, stdout, stdin): Don't use
6716 * libio/oldiofdopen.c: New.
6718 * stdio-common/vfprintf.c (buffered_vfprintf): Set
6719 hp->_vtable_offset to 0.
6721 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
6723 * libc.map (_IO_file_open): Added.
6725 * libio/libioP.h (_IO_file_open): Declared.
6727 * libio/fileops.c (_IO_file_open): New.
6728 (_IO_file_fopen): Call _IO_file_open ().
6730 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
6731 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
6733 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6735 * signal/signal.h: Fix selection of signal semantics to match
6738 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6740 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
6741 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
6743 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6744 [$(subdir)=signal]: Remove rt_sigreturn.
6745 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
6746 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
6747 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
6749 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6751 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
6754 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6756 * iconvdata/extra-module.mk: Expand extra-objs now.
6758 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6760 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
6761 inline functions by feature tests to avoid warning about missing
6762 prototype declarations.
6764 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6766 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
6767 return code for non existent +name entries.
6768 * nis/nss_compat/compat-pwd.c: Likewise.
6769 * nis/nss_compat/compat-spwd.c: Likewise.
6771 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
6773 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
6777 (__errno_location): Likewise.
6779 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
6781 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
6783 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6785 * sunrpc/publickey.c: Use new NSS interface.
6787 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
6789 * manual/malloc.texi: Document mtrace/muntrace and the concept.
6791 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6793 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
6794 value, to match spirit of the standard.
6795 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
6796 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
6797 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
6799 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6801 * manual/signal.texi (Signal Stack): Remove spurious @item.
6803 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6805 * rt/aio.h: Remove double semicolon.
6807 * rt/librt.map: Add aio_init.
6809 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
6811 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
6812 * Makefile (subdirs): Replace rt by $(rt).
6814 * shlib-versions: Use version .2 for NSS modules.
6816 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
6818 * pwd/fgetpwent_r.c: Likewise.
6819 * spwd/fgetspent_r.c: Likewise.
6820 * spwd/sgetspent_r.c: Likewise.
6821 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
6822 Store error number in *ERRNOP. Little optimization.
6823 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
6824 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
6825 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
6826 (__internal_getnetgrent_r): New argument.
6827 Call __internal_setnetgrent_reuse with new argument.
6828 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
6829 * inet/netgroup.h: Add argument to prototypes.
6830 * nis/nisplus-parser.h: Likewise.
6831 * nis/nss_compat/compat-grp.c: Change everything to store error
6832 code through provided pointer and not use errno.
6833 * nis/nss_compat/compat-pwd.c: Likewise.
6834 * nis/nss_compat/compat-spwd.c: Likewise.
6835 * nis/nss_nis/nis-alias.c: Likewise.
6836 * nis/nss_nis/nis-ethers.c: Likewise.
6837 * nis/nss_nis/nis-grp.c: Likewise.
6838 * nis/nss_nis/nis-hosts.c: Likewise.
6839 * nis/nss_nis/nis-netgrp.c: Likewise.
6840 * nis/nss_nis/nis-network.c: Likewise.
6841 * nis/nss_nis/nis-proto.c: Likewise.
6842 * nis/nss_nis/nis-publickey.c: Likewise.
6843 * nis/nss_nis/nis-pwd.c: Likewise.
6844 * nis/nss_nis/nis-rpc.c: Likewise.
6845 * nis/nss_nis/nis-service.c: Likewise.
6846 * nis/nss_nis/nis-spwd.c: Likewise.
6847 * nis/nss_nisplus/nisplus-alias.c: Likewise.
6848 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6849 * nis/nss_nisplus/nisplus-grp.c: Likewise.
6850 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6851 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6852 * nis/nss_nisplus/nisplus-network.c: Likewise.
6853 * nis/nss_nisplus/nisplus-parser.c: Likewise.
6854 * nis/nss_nisplus/nisplus-proto.c: Likewise.
6855 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6856 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6857 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6858 * nis/nss_nisplus/nisplus-service.c: Likewise.
6859 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6860 * nss/nss_db/db-XXX.c: Likewise.
6861 * nss/nss_db/db-alias.c: Likewise.
6862 * nss/nss_db/db-netgrp.c: Likewise.
6863 * nss/nss_files/files-XXX.c: Likewise
6864 * nss/nss_files/files-alias.c: Likewise
6865 * nss/nss_files/files-netgrp.c: Likewise
6866 * nss/nss_files/files-parse.c: Likewise
6867 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
6868 parameter of get functions.
6869 * nss/getXXent_r.c: Likewise.
6871 * localedata/tst-fmon.c: Print debug info if test fails.
6873 * rt/Makefile (routines): Add aio_notify.
6874 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
6875 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
6876 * rt/aio_fsync.c: Likewise.
6877 * rt/aio_misc.c: Likewise.
6878 * rt/aio_misc.h: Likewise.
6879 * rt/aio_read.c: Likewise.
6880 * rt/aio_read64.c: Likewise.
6881 * rt/aio_suspend.c: Likewise.
6882 * rt/aio_write.c: Likewise.
6883 * rt/aio_write64.c: Likewise.
6884 * rt/lio_listio.c: Likewise.
6885 * rt/lio_listio64.c: Likewise.
6886 * rt/aio_notify.c: New file.
6888 * sysdeps/generic/bits/sigset.h: Pretty print.
6890 * sysdeps/posix/pwrite.c: Define weak alias only if function is
6891 really defined as __pwrite.
6893 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
6895 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6897 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
6898 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
6899 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
6901 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6902 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6903 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
6904 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6905 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6906 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6907 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
6909 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
6911 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
6912 __NR_pread is not defined.
6913 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
6914 __NR_pwrite is not defined.
6916 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6918 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
6919 handle for /etc/group back in some more cases.
6920 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
6921 handle for /etc/passwd back in some more cases.
6922 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
6923 handle for /etc/shadow back in some more cases.
6925 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
6927 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
6929 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
6930 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
6932 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
6934 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
6935 handling. Don't use macros, we need functions. Use inline functions
6937 * sysdeps/wordsize-64/inttypes.h: Likewise.
6938 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
6940 * sysdeps/wordsize-64/Makefile: Likewise.
6941 * sysdeps/wordsize-32/Dist: Likewise.
6942 * sysdeps/wordsize-64/Dist: Likewise.
6943 * sysdeps/wordsize-32/strtoimax.c: New file.
6944 * sysdeps/wordsize-32/strtoumax.c: New file.
6945 * sysdeps/wordsize-32/wcstoimax.c: New file.
6946 * sysdeps/wordsize-32/wcstoumax.c: New file.
6947 * sysdeps/wordsize-64/strtoimax.c: New file.
6948 * sysdeps/wordsize-64/strtoumax.c: New file.
6949 * sysdeps/wordsize-64/wcstoimax.c: New file.
6950 * sysdeps/wordsize-64/wcstoumax.c: New file.
6952 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
6954 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
6955 that transparent union works.
6956 * sysdeps/generic/wait4.c (__wait4): Likewise.
6957 * sysdeps/generic/wait.c (__wait): Likewise.
6959 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
6962 * sysdeps/generic/syscall.c (syscall): Return value and arg are
6963 long, to match prototype.
6965 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
6968 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
6970 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
6972 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
6974 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
6977 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
6979 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
6981 * io/sys/stat.h (S_ISLNK): Always false if we don't have
6984 * sysdeps/standalone/close.c (_STDIO_H): Define before including
6986 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
6988 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
6990 * posix/sys/wait.h: Don't use transparent unions in C++.
6992 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6994 * time/time.h: Add strfxtime.
6996 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
6997 sysv_signal, strfxtime, pread64, pwrite64.
6999 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
7001 Alpha changes for EGCS:
7002 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
7003 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
7004 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
7006 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
7008 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
7010 The kernel expects the arguments in a different order.
7011 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
7012 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
7015 * gen-FAQ.pl: New file.
7016 * Makefile (FAQ): Add rule to generate from FAQ.in.
7018 * iconvdata/Makefile: Treat libJIS like the other modules.
7020 * rt/librt.map: New file.
7022 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
7024 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
7027 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
7029 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
7030 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
7031 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
7032 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
7034 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7036 * string/bits/string2.h: Fix spellings.
7038 * string/string.h: Fix spellings.
7040 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7042 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
7043 declaration to __syscall_rt_sigaction.
7045 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
7046 non-existant <sigcontext.h>.
7048 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7050 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
7053 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7055 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
7057 * Makeconfig (shared-thread-library): Correct spelling.
7059 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
7062 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7064 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
7065 constants from Linux headers. Pointed out by
7066 csmall@scooter.o.i.net. [PR libc/369]
7068 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7070 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
7072 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
7074 * configure.in: If --enable-add-ons is given without an
7075 argument, set the addons list to all subdirs with a configure
7078 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
7080 * Makeconfig: Add shared-thread-library variable.
7082 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
7083 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
7085 * sysdeps/m68k/fpu/e_acos.c: Likewise.
7086 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7087 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7088 * sysdeps/m68k/fpu/e_pow.c: Likewise.
7089 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7090 * sysdeps/m68k/fpu/k_cos.c: Likewise.
7091 * sysdeps/m68k/fpu/k_sin.c: Likewise.
7092 * sysdeps/m68k/fpu/k_tan.c: Likewise.
7093 * sysdeps/m68k/fpu/s_atan.c: Likewise.
7094 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7095 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7096 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7097 * sysdeps/m68k/fpu/s_csin.c: Likewise.
7098 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7099 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7100 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7101 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7102 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7103 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7104 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7105 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7106 * sysdeps/m68k/fpu/s_modf.c: Likewise.
7107 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7108 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7109 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7111 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
7112 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
7113 * signal/Makefile (headers): Add bits/siginfo.h.
7114 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
7115 (distribute): Add testrtsig.h.
7116 * signal/allocrtsig.c: New file.
7117 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
7118 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
7119 __libc_current_sigrtmax.
7120 * sysdeps/generic/sigqueue.c: New file.
7121 * sysdeps/generic/sigtimedwait.c: New file.
7122 * sysdeps/generic/sigwaitinfo.c: New file.
7123 * sysdeps/generic/testrtsig.h: New file.
7124 * sysdeps/generic/bits/siginfo.h: New file.
7125 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
7126 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
7127 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
7128 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
7129 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
7130 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
7131 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
7132 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
7133 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
7134 * sysdeps/unix/sysv/linux/sigpending.c: New file.
7135 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
7136 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
7137 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
7138 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
7139 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
7140 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
7141 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
7142 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
7143 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
7144 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
7145 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
7146 and _POSIX_REALTIME_SIGNALS.
7147 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
7148 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
7150 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
7151 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
7154 * Makefile (subdirs): Add rt.
7155 * shlib-versions: Add entry for librt.
7156 * rt/Makefile: New file.
7157 * rt/aio.h: New file.
7158 * rt/aio_cancel.c: New file.
7159 * rt/aio_error.c: New file.
7160 * rt/aio_fsync.c: New file.
7161 * rt/aio_misc.c: New file.
7162 * rt/aio_misc.h: New file.
7163 * rt/aio_read.c: New file.
7164 * rt/aio_read64.c: New file.
7165 * rt/aio_return.c: New file.
7166 * rt/aio_suspend.c: New file.
7167 * rt/aio_write.c: New file.
7168 * rt/aio_write64.c: New file.
7169 * rt/lio_listio.c: New file.
7170 * rt/lio_listio64.c: New file.
7171 * sysdeps/generic/aio_sigqueue.c: New file.
7172 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
7173 * sysdeps/unix/sysv/linux/Dist: Add new files
7174 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7175 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
7176 rt_sigqueueinfo, rt_sigaction.
7178 * posix/Makefile (headers): Add bits/environments.h.
7179 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
7180 and _CS_LFS_CFLAGS on 64bit platforms.
7181 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
7182 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
7183 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
7184 compilation modules.
7185 * sysdeps/wordsize-32/bits/environments.h: New file.
7186 * sysdeps/wordsize-64/bits/environments.h: New file.
7188 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
7189 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
7191 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
7194 * string/string.h: Add declaration of __strverscmp.
7195 * string/strverscmp.c: Rename function ot __strverscmp and make old
7198 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
7199 * sysdeps/generic/enbl-secure.c: Likewise.
7200 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7202 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
7204 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
7206 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
7208 * posix/sys/wait.h: Use __transparent_union__ instead of
7209 transparent_union. Reported by Roland McGrath.
7211 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7213 * resolv/inet_neta.c (inet_neta): Change type of first parameter
7214 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
7217 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
7219 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
7221 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7223 * grp/initgroups.c: Increase buffer if it is too small.
7225 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
7227 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
7228 fields, this is no ISO C. Reported by Andreas Jaeger.
7230 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7232 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
7234 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
7236 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
7237 _SYS_UTSNAME_H not _UTSNAME_H.
7239 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7241 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
7244 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7246 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
7247 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
7248 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
7250 * math/libm-test.c (csqrt_test): Add testcase.
7252 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
7254 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
7255 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
7256 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
7258 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7260 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
7262 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7264 * math/libm-test.c (acos_test): Add more tests.
7265 (asin_test): Likewise.
7266 (atan_test): Likewise.
7267 (exp_test): Likewise.
7268 (sin_test): Likewise.
7269 (sqrt_test): Likewise.
7270 (cpow_test): Likewise.
7271 (csqrt_test): Likewise.
7272 (cexp_test): Correct typo in gcc version test.
7274 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
7276 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
7278 * sysdeps/arm/setjmp.S: Likewise.
7280 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
7282 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
7284 * stdio/stdio.h: Add prototype for tmpfile64().
7286 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
7288 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
7289 prototype to keep in step with libio version.
7291 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
7293 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
7295 * sysdeps/generic/Makefile: Don't try to use make_siglist if
7298 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
7300 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
7301 load GOT ptr before jumping to _exit.
7302 Reported by Xavier Leroy.
7304 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
7306 * Makefile (subdirs): Add iconvdata and localedata.
7308 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
7310 * iconv/gconv_conf.c (read_conf_file): Little optimization.
7312 * iconvdata/8bit-gap.c: New file.
7313 * iconvdata/8bit-generic.c: Renamed from ...
7314 * iconvdata/iso8859-generic.c: ...this.
7315 * iconvdata/configure: Removed.
7316 * iconvdata/Makefile: Add new modules and better rules.
7317 * iconvdata/iso6937.c: Minor bug fixes.
7318 * iconvdata/iso8859-1.c: Likewise.
7319 * iconvdata/t61.c: Likewise.
7320 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
7322 * iconvdata/iso8859-3.c: Likewise.
7323 * iconvdata/iso8859-4.c: Likewise.
7324 * iconvdata/iso8859-5.c: Likewise.
7325 * iconvdata/iso8859-6.c: Likewise.
7326 * iconvdata/iso8859-7.c: Likewise.
7327 * iconvdata/iso8859-8.c: Likewise.
7328 * iconvdata/iso8859-9.c: Likewise.
7329 * iconvdata/iso8859-10.c: Likewise.
7330 * iconvdata/ebcdic-at-de-a.c: New file.
7331 * iconvdata/ebcdic-at-de.c: New file.
7332 * iconvdata/ebcdic-ca-fr.c: New file.
7333 * iconvdata/hp-roman8.c: New file.
7334 * iconvdata/koi-8.c: New file.
7335 * iconvdata/koi8-r.c: New file.
7336 * iconvdata/koi8-h.c: New file.
7337 * iconvdata/latin-greek-1.c: New file.
7338 * iconvdata/latin-greek-1.h: New file.
7339 * iconvdata/latin-greek.c: New file.
7340 * iconvdata/latin-greek.h: New file.
7341 * iconvdata/jis0201.c: New file.
7342 * iconvdata/jis0201.h: New file.
7343 * iconvdata/jis0208.c: New file.
7344 * iconvdata/jis0208.h: New file.
7345 * iconvdata/jis0212.c: New file.
7346 * iconvdata/jis0212.h: New file.
7347 * iconvdata/sjis.c: New file.
7348 * iconvdata/gap.pl: New file. Script to generate table header.
7349 * iconvdata/gaptab.pl: New file.
7350 * iconvdata/gconv-modules: Add info about new modules.
7352 * locale/programs/charmap.c: Also examine alias names given in charmap
7355 * localedata/*: Add to here from add-on. We need the information
7356 to generate tables for iconv.
7358 Update from db-2.3.14.
7359 * db2/Makefile: Updated.
7360 * db2/config.h: Likewise.
7361 * db2/db.h: Likewise.
7362 * db2/db_int.h: Likewise.
7363 * db2/btree/bt_cursor.c: Likewise.
7364 * db2/btree/bt_delete.c: Likewise.
7365 * db2/btree/bt_put.c: Likewise.
7366 * db2/btree/bt_search.c: Likewise.
7367 * db2/btree/bt_split.c: Likewise.
7368 * db2/btree/btree_auto.c: Likewise.
7369 * db2/common/db_appinit.c: Likewise.
7370 * db2/common/db_apprec.c: Likewise.
7371 * db2/common/db_err.c: Likewise.
7372 * db2/common/db_region.c: Likewise.
7373 * db2/db/db_auto.c: Likewise.
7374 * db2/db/db_dispatch.c: Likewise.
7375 * db2/db/db_ret.c: Likewise.
7376 * db2/dbm/dbm.c: Likewise.
7377 * db2/hash/hash_auto.c: Likewise.
7378 * db2/include/btree_ext.h: Likewise.
7379 * db2/include/common_ext.h: Likewise.
7380 * db2/include/db.h.src: Likewise.
7381 * db2/include/db_cxx.h: Likewise.
7382 * db2/include/db_ext.h: Likewise.
7383 * db2/include/db_int.h.src: Likewise.
7384 * db2/include/lock.h: Likewise.
7385 * db2/include/log.h: Likewise.
7386 * db2/include/mp.h: Likewise.
7387 * db2/include/mp_ext.h: Likewise.
7388 * db2/include/os_ext.h: Likewise.
7389 * db2/include/os_func.h: Likewise.
7390 * db2/lock/lock.c: Likewise.
7391 * db2/lock/lock_deadlock.c: Likewise.
7392 * db2/log/log.c: Likewise.
7393 * db2/log/log_archive.c: Likewise.
7394 * db2/log/log_auto.c: Likewise.
7395 * db2/log/log_get.c: Likewise.
7396 * db2/log/log_put.c: Likewise.
7397 * db2/mp/mp_bh.c: Likewise.
7398 * db2/mp/mp_fget.c: Likewise.
7399 * db2/mp/mp_fopen.c: Likewise.
7400 * db2/mp/mp_fput.c: Likewise.
7401 * db2/mp/mp_fset.c: Likewise.
7402 * db2/mp/mp_open.c: Likewise.
7403 * db2/mp/mp_pr.c: Likewise.
7404 * db2/mp/mp_region.c: Likewise.
7405 * db2/mp/mp_sync.c: Likewise.
7406 * db2/mutex/README: Likewise.
7407 * db2/mutex/mutex.c: Likewise.
7408 * db2/os/os_open.c: Likewise.
7409 * db2/os/os_func.c: Removed.
7410 * db2/os/os_config.c: New file.
7411 * db2/os/os_spin.c: New file.
7412 * db2/txn/txn.c: Likewise.
7413 * db2/txn/txn_auto.c: Likewise.
7415 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
7417 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
7418 __typeof for C++ since this fails for class members.
7419 Reported by Neal Becker <neal@ctd.comsat.com>.
7421 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
7423 * configure.in: Check for a working makeinfo (3.11 or better).
7424 * config.make.in: Add MAKEINFO to be substituted.
7425 * manual/Makefile: Don't update info if makeinfo is too old.
7427 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
7429 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
7430 * sysdeps/alpha/__longjmp.S: Likewise.
7431 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
7432 not <bits/termios.h>.
7434 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
7435 __llseek and make llseek and lseek64 weak aliases.
7436 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7437 Patches by a sun <asun@zoology.washington.edu>.
7439 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
7441 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
7442 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7443 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7444 * misc/sys/syslog.h: Clean up BSD header.
7446 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7448 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
7450 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
7452 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
7453 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
7455 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
7456 csqrt (-1), ctanh(i*pi/4).
7458 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7460 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
7462 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
7464 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
7466 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7468 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
7470 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
7472 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
7473 and use. Define GETCWD_RETURN_TYPE instead and use it.
7474 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
7475 of GETCWD_STORYGE_CLASS and put the return type and the
7476 `internal_function' in the right order for gcc 2.7.2.
7478 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7480 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
7481 incompatible with Linux 2.1.x. Packages using modules
7482 (e.g. modutils) should/do provide their own version. Suggested by
7485 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
7487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7488 [$(subdir)=socket]: Remove sys/module.h.
7490 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
7492 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
7493 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
7495 * iconv/gconv_close.c: Correct freeing of descriptor data.
7496 * iconv/gconv_simple.c: Return correct error values for illegal or
7497 incomplete characters.
7499 * Makefile (iconvdata/%): Special goal to simplify iconvdata
7501 * iconvdata/Makefile: New file.
7502 * iconvdata/configure: Likewise.
7503 * iconvdata/extra-module.mk: Likewise.
7504 * iconvdata/gconv-modules: Likewise.
7505 * iconvdata/iso6937.c: Likewise.
7506 * iconvdata/iso8859-1.c: Likewise.
7507 * iconvdata/iso8859-10.c: Likewise.
7508 * iconvdata/iso8859-10.h: Likewise.
7509 * iconvdata/iso8859-2.c: Likewise.
7510 * iconvdata/iso8859-2.h: Likewise.
7511 * iconvdata/iso8859-3.c: Likewise.
7512 * iconvdata/iso8859-3.h: Likewise.
7513 * iconvdata/iso8859-4.c: Likewise.
7514 * iconvdata/iso8859-4.h: Likewise.
7515 * iconvdata/iso8859-5.c: Likewise.
7516 * iconvdata/iso8859-5.h: Likewise.
7517 * iconvdata/iso8859-6.c: Likewise.
7518 * iconvdata/iso8859-6.h: Likewise.
7519 * iconvdata/iso8859-7.c: Likewise.
7520 * iconvdata/iso8859-7.h: Likewise.
7521 * iconvdata/iso8859-8.c: Likewise.
7522 * iconvdata/iso8859-8.h: Likewise.
7523 * iconvdata/iso8859-9.c: Likewise.
7524 * iconvdata/iso8859-9.h: Likewise.
7525 * iconvdata/iso8859-generic.c: Likewise.
7526 * iconvdata/t61.c: Likewise.
7528 * string/Makefile (routines): Add strcasestr.
7529 * string/string.h: Add prototype for strcasestr.
7530 * sysdeps/generic/strcasestr.c: New file.
7531 * wcsmbs/mbrtowc.c: Simplify special case a bit.
7532 * wcsmbs/wcrtomb.c: Likewise.
7533 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
7534 * wcsmbs/wcsnrtombs.c: Likewise.
7535 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
7536 partial character is read.
7537 * wcsmbs/wcsrtombs.c: Likewise.
7538 * wcsmbs/wmemrtombs.c: Likewise.
7539 * wcsmbs/wmemrtowcs.c: Likewise.
7541 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
7542 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
7543 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
7544 * sysdeps/i386/elf/setjmp.S: Likewise.
7545 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
7548 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
7549 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
7551 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
7552 * sysvipc/sys/ipc.h: Likewise.
7553 * sysvipc/sys/msg.h: Likewise.
7554 * sysvipc/sys/sem.h: Likewise.
7555 * sysvipc/sys/shm.h: Likewise.
7557 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
7559 * sysdeps/alpha/bits/setjmp.h: Likewise.
7560 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7561 * sysdeps/arm/bits/endian.h: Likewise.
7562 * sysdeps/arm/bits/setjmp.h: Likewise.
7563 * sysdeps/generic/bits/byteswap.h: Likewise.
7564 * sysdeps/generic/bits/confname.h: Likewise.
7565 * sysdeps/generic/bits/dirent.h: Likewise.
7566 * sysdeps/generic/bits/dlfcn.h: Likewise.
7567 * sysdeps/generic/bits/endian.h: Likewise.
7568 * sysdeps/generic/bits/fenv.h: Likewise.
7569 * sysdeps/generic/bits/huge_val.h: Likewise.
7570 * sysdeps/generic/bits/in.h: Likewise.
7571 * sysdeps/generic/bits/ioctl-types.h: Likewise.
7572 * sysdeps/generic/bits/ioctls.h: Likewise.
7573 * sysdeps/generic/bits/ipc.h: Likewise.
7574 * sysdeps/generic/bits/msq.h: Likewise.
7575 * sysdeps/generic/bits/poll.h: Likewise.
7576 * sysdeps/generic/bits/resource.h: Likewise.
7577 * sysdeps/generic/bits/sched.h: Likewise.
7578 * sysdeps/generic/bits/sem.h: Likewise.
7579 * sysdeps/generic/bits/setjmp.h: Likewise.
7580 * sysdeps/generic/bits/shm.h: Likewise.
7581 * sysdeps/generic/bits/sigaction.h: Likewise.
7582 * sysdeps/generic/bits/sigcontext.h: Likewise.
7583 * sysdeps/generic/bits/socket.h: Likewise.
7584 * sysdeps/generic/bits/stat.h: Likewise.
7585 * sysdeps/generic/bits/statfs.h: Likewise.
7586 * sysdeps/generic/bits/stdio_lim.h: Likewise.
7587 * sysdeps/generic/bits/termios.h: Likewise.
7588 * sysdeps/generic/bits/time.h: Likewise.
7589 * sysdeps/generic/bits/uio.h: Likewise.
7590 * sysdeps/generic/bits/utmp.h: Likewise.
7591 * sysdeps/generic/bits/utmpx.h: Likewise.
7592 * sysdeps/generic/bits/utsname.h: Likewise.
7593 * sysdeps/generic/bits/waitflags.h: Likewise.
7594 * sysdeps/generic/bits/waitstatus.h: Likewise.
7595 * sysdeps/gnu/bits/utmp.h: Likewise.
7596 * sysdeps/gnu/bits/utmpx.h: Likewise.
7597 * sysdeps/i386/bits/byteswap.h: Likewise.
7598 * sysdeps/i386/bits/endian.h: Likewise.
7599 * sysdeps/i386/bits/huge_val.h: Likewise.
7600 * sysdeps/i386/bits/setjmp.h: Likewise.
7601 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7602 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7603 * sysdeps/m68k/bits/byteswap.h: Likewise.
7604 * sysdeps/m68k/bits/endian.h: Likewise.
7605 * sysdeps/m68k/bits/setjmp.h: Likewise.
7606 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7607 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
7608 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
7609 * sysdeps/mach/hurd/bits/stat.h: Likewise.
7610 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
7611 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
7612 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
7613 * sysdeps/mips/bits/dlfcn.h: Likewise.
7614 * sysdeps/mips/bits/endian.h: Likewise.
7615 * sysdeps/mips/bits/setjmp.h: Likewise.
7616 * sysdeps/mips/dec/bits/endian.h: Likewise.
7617 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
7618 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
7619 * sysdeps/mips/p40/bits/endian.h: Likewise.
7620 * sysdeps/powerpc/bits/endian.h: Likewise.
7621 * sysdeps/powerpc/bits/fenv.h: Likewise.
7622 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7623 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
7624 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
7625 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7626 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
7627 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7628 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
7629 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7630 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
7631 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
7632 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
7633 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
7634 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
7635 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
7636 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
7637 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
7638 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
7639 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
7640 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
7641 * sysdeps/unix/common/bits/dirent.h: Likewise.
7642 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
7643 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7644 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7645 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7646 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
7647 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
7648 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
7649 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
7650 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
7651 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
7652 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7653 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7654 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7655 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
7656 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7657 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
7658 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
7659 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7660 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7661 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
7662 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7663 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7664 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7665 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7666 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
7667 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
7668 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7669 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7670 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
7671 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7672 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7673 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7674 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
7675 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
7676 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7677 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7678 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7679 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
7680 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
7681 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
7682 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
7683 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7684 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7685 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
7686 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
7687 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7688 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
7689 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7690 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
7691 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
7692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7693 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7694 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
7695 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7696 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7697 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7698 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
7699 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
7700 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
7701 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
7702 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
7703 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
7704 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
7705 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
7706 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
7707 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7708 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7709 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
7710 * sysdeps/vax/bits/huge_val.h: Likewise.
7711 * sysdeps/vax/bits/setjmp.h: Likewise.
7712 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
7713 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
7715 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7717 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
7719 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
7721 * strftime.c (strftime):
7722 No longer any need to undef or declare if emacs is defined.
7723 (my_strftime): When checking a -1 returned by mktime, don't blow up
7724 if localtime_r returns NULL.
7726 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7728 * README.template: Fix spelling.
7730 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7732 * configure.in: Enhance --enable-add-ons description a wee bit.
7734 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7736 * glibcbug.in: Add more information of build environment and flags.
7738 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7740 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
7743 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
7745 * elf/dl-support.c: Call __libc_init_secure to make sure
7746 __libc_enable_secure is defined early.
7747 * sysdeps/generic/enbl-secure.c: Change function name to
7748 __libc_init_secure and make it global instead of a constructor.
7750 * iconv/gconv.c: Fix lots of bugs.
7751 * iconv/gconv.h: Likewise.
7752 * iconv/gconv_builtin.h: Likewise.
7753 * iconv/gconv_close.c: Likewise.
7754 * iconv/gconv_conf.c: Likewise.
7755 * iconv/gconv_db.c: Likewise.
7756 * iconv/gconv_dl.c: Likewise.
7757 * iconv/gconv_open.c: Likewise.
7758 * iconv/gconv_simple.c: Likewise.
7759 * iconv/iconv.c: Likewise.
7760 * iconv/iconv_close.c: Likewise.
7761 * iconv/iconv_open.c: Likewise.
7763 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
7764 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
7765 * wcsmbs/wmemrtombs.c: New file.
7766 * wcsmbs/wmemrtowcs.c: New file.
7768 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
7770 * iconv/gconv_simple.c: Fix lots of bugs.
7771 * iconv/iconv_open.c: Normalize names before passing them to
7774 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
7776 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
7777 * stdio-common/test-popen.c: Add test for above change.
7779 * math/libm-test.c: Print test results also using %a format,
7780 specified in PRINTF_XEXPR macro.
7781 * math/test-double.c: Define PRINTF_XEXPR.
7782 * math/test-float.c: Likewise.
7783 * math/test-ldouble.c: Likewise.
7784 * math/test-idouble.c: Likewise.
7785 * math/test-ifloat.c: Likewise.
7786 * math/test-ildoubl.c: Likewise.
7788 * stdio-common/vfscanf.c: Recognize a in format specifier only as
7789 modifier if used before s, S, or [. Otherwise it's the hexadecimal
7792 * stdlib/strtod.c: Little code cleanup.
7794 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
7795 compiling in math subdir.
7797 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
7798 instead of __LIBC_M81_MATH_INLINES.
7799 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7800 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7801 * sysdeps/m68k/fpu/e_pow.c: Likewise.
7802 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7803 * sysdeps/m68k/fpu/k_cos.c: Likewise.
7804 * sysdeps/m68k/fpu/k_sin.c: Likewise.
7805 * sysdeps/m68k/fpu/k_tan.c: Likewise.
7806 * sysdeps/m68k/fpu/s_atan.c: Likewise.
7807 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7808 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7809 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7810 * sysdeps/m68k/fpu/s_csin.c: Likewise.
7811 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7812 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7813 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7814 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7815 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7816 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7817 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7818 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7819 * sysdeps/m68k/fpu/s_modf.c: Likewise.
7820 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7821 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7822 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7823 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
7824 __LIBC_INTERNAL_MATH_INLINES is defined.
7826 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
7827 of compare macros from ISO C 9X. Optimize generic versions a bit.
7828 Define __signbit inline functions and __ieee754_sqrt which can be
7829 used if the ompiler is fixed.
7831 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
7833 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7835 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
7836 sysdeps/generic in the whole dep file, not only in the first line.
7838 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7840 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
7842 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7844 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
7847 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7849 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
7852 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
7854 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
7857 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
7859 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
7860 readlink succeeds but the return value is too long.
7862 * stdio-common/printf_fphex.c: Determine sign of number correctly.
7864 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
7866 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
7869 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
7871 * sysdeps/generic/sys/ucontext.h: Stub context file.
7873 * libio/iofprintf.c: Removed. We use the stdio-common version.
7875 * manual/Makefile (distribute): Add stdio-fp.c.
7877 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
7879 * db2/Makefile (distribute): Add include/os_func.h, README and
7882 * hesiod/Makefile (distribute): Add README.hesiod.
7884 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
7886 * iconv/gconv.c: Correctly call transformation function.
7888 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
7890 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7892 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
7893 wrong results for e.g. remquo (3,2, &x)).
7894 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
7895 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
7897 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7899 * configure.in (ld --version-script): Test if the same symbol
7900 maybe defined in all versions (needed by recent changes to
7901 libc.map and supported with binutils 2.8.1.0.17) and issue warning
7902 if versioning is not supported/enabled.
7903 (bash test): Correct test case.
7905 * math/libm-test.c: Added counting/reporting of number of test cases.
7907 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
7910 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
7912 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7914 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
7916 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
7918 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
7919 Replace revoke call by use of REVOKE.
7920 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
7921 empty and #include generic version.
7922 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7924 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
7926 * libc.map: Add socket functions with __libc_* names.
7927 Reported by Andreas Jaeger.
7929 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7931 * libc.map: Tidy up (remove duplicates, sort entries).
7933 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7935 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
7937 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
7939 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
7940 again after successful call.
7941 Patch by Marc Lehmann <pcg@goof.com>.
7943 1997-11-17 Paul Eggert <eggert@twinsun.com>
7945 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
7946 as some hosts need this to declare localtime_r properly.
7948 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
7950 * libc.map: Add iconv_open, iconv, and iconv_close.
7952 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
7954 * iconv/Makefile: New file.
7955 * iconv/gconv.c: New file.
7956 * iconv/gconv.h: New file.
7957 * iconv/gconv_builtin.c: New file.
7958 * iconv/gconv_builtin.h: New file.
7959 * iconv/gconv_close.c: New file.
7960 * iconv/gconv_conf.c: New file.
7961 * iconv/gconv_db.c: New file.
7962 * iconv/gconv_dl.c: New file.
7963 * iconv/gconv_open.c: New file.
7964 * iconv/gconv_simple.c: New file.
7965 * iconv/iconv.c: New file.
7966 * iconv/iconv.h: New file.
7967 * iconv/iconv_close.c: New file.
7968 * iconv/iconv_open.c: New file.
7969 * include/gconv.h: New file.
7971 * Makeconfig: Define gconvdir.
7972 * Makefile (subdirs): Add iconv.
7974 * string/bits/string2.h: Add optimization for strtok_r.
7976 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
7978 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7979 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
7981 * configure.in: Correct test for bash2.
7982 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7984 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
7985 (CFLAGS-locfile.c): Likewise.
7986 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7988 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
7989 non-existing entry if the table is full.
7991 * posix/regex.h: Pretty print.
7993 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
7995 * sysdeps/posix/ctermid.c: Simplify a bit.
7997 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
7999 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8001 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
8002 <sys/types.h> instead of <asm/types.h>.
8004 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8006 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
8008 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
8010 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
8011 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
8012 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
8013 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
8014 fclose): Added to GLIBC_2.1.
8016 * libio/Makefile (routines, shared-only-routines): Add
8017 oldiofclose. Remove oldfreopen.
8019 * libio/freopen.c (freopen): When PIC is defined, call
8020 _IO_old_freopen () for old stdio.
8022 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
8023 (_IO_fclose, fclose): Use _IO_new_fclose as default version
8026 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
8027 instead of _IO_file_close_it.
8029 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
8031 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
8034 * libio/libioP.h (_IO_old_do_flush): New.
8036 * libio/oldfileops.c (_IO_old_file_close_it,
8037 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
8038 Call _IO_old_do_flush () instead of _IO_do_flush ().
8039 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
8042 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
8043 instead of _IO_file_init ().
8044 Bind old symbols to version GLIBC_2.0.
8046 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
8047 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
8049 (_IO_check_libio): New function in .init.
8051 * libio/oldiofclose.c: New file.
8053 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
8054 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
8055 (DEF_STDFILE): Don't use default_symbol_version.
8057 * libio/stdio.c (stdin, stdout, stderr): Set to
8059 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
8062 * csu/Makefile (distribute): Add init.c.
8063 (extra-objs): Add init.o for ELF.
8064 (start-installed-name): Add $(objpfx)init.o.
8066 * csu/init.c: New file.
8068 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
8070 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
8071 definition as the default.
8073 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
8075 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
8077 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8079 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
8082 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
8084 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
8085 to preserve condition codes on function call.
8087 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8089 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
8091 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8093 * math/libm-test.c (asin_test): Add epsilon for float.
8094 (tan_test): Add epsilon for float.
8095 (log1p_test): Add epsilon for float.
8096 (inverse_functions): Add epsilons.
8098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
8101 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
8103 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8105 * md5-crypt/Makefile (extra-objs): Make recursively expanded
8106 variable, since $(object-suffixes) is not defined yet.
8108 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8110 * db2/Makefile (distribute): db185/db185_int.src ->
8113 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8115 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
8118 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8120 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
8122 * sysdeps/generic/e_acosl.c: Likewise.
8123 * sysdeps/generic/e_asinl.c: Likewise.
8124 * sysdeps/generic/e_atan2l.c: Likewise.
8125 * sysdeps/generic/e_expl.c: Likewise.
8126 * sysdeps/generic/e_fmodl.c: Likewise.
8127 * sysdeps/generic/e_j0l.c: Likewise.
8128 * sysdeps/generic/e_j1l.c: Likewise.
8129 * sysdeps/generic/e_jnl.c: Likewise.
8130 * sysdeps/generic/e_lgammal_r.c: Likewise.
8131 * sysdeps/generic/e_log10l.c: Likewise.
8132 * sysdeps/generic/e_logl.c: Likewise.
8133 * sysdeps/generic/e_powl.c: Likewise.
8134 * sysdeps/generic/e_sqrtl.c: Likewise.
8135 * sysdeps/generic/e_exp2l.c: Likewise.
8137 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8139 * Make-dist (+sysdep-names): Remove extra paren.
8140 * Makefile (distribute): Add stub-tag.h.
8141 * elf/Makefile (distribute): Add atomicity.h.
8142 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
8143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
8144 [$(subdir)=socket]: Add net/if_packet.h.
8145 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
8146 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
8147 net/if_packet.h, scsi/sg.h.
8149 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8151 * Makefile (install): Quote $(CC) expansion.
8153 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8155 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
8156 working /proc cwd and no restrictions on path length. Following
8157 some ideas from Andi Kleen <ak@muc.de> (PR 350).
8159 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8161 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
8162 * nis/nss_compat/compat-pwd.c: Likewise.
8163 * nis/nss_compat/compat-spwd.c: Likewise.
8165 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
8167 * sysdeps/libm-i387/s_fdim.S: New file.
8168 * sysdeps/libm-i387/s_fdimf.S: New file.
8169 * sysdeps/libm-i387/s_fdiml.S: New file.
8170 * sysdeps/libm-i387/i686/s_fdim.S: New file.
8171 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
8172 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
8174 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8176 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
8177 pointer to unsigned char.
8179 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8181 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
8183 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
8185 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
8187 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8189 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
8191 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
8192 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
8194 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
8196 * sysdeps/libm-i387/s_fmin.S: New file.
8197 * sysdeps/libm-i387/s_fminf.S: New file.
8198 * sysdeps/libm-i387/s_fminl.S: New file.
8199 * sysdeps/libm-i387/s_fmax.S: New file.
8200 * sysdeps/libm-i387/s_fmaxf.S: New file.
8201 * sysdeps/libm-i387/s_fmaxl.S: New file.
8202 * sysdeps/libm-i387/i686/s_fmin.S: New file.
8203 * sysdeps/libm-i387/i686/s_fminf.S: New file.
8204 * sysdeps/libm-i387/i686/s_fminl.S: New file.
8205 * sysdeps/libm-i387/i686/s_fmax.S: New file.
8206 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
8207 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
8209 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
8211 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
8212 * sysdeps/unix/sysv/linux/send.S: Likewise.
8213 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8214 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8215 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8216 * sysdeps/unix/sysv/linux/recv.S: Likewise.
8217 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8218 * sysdeps/unix/sysv/linux/connect.S: Likewise.
8219 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
8221 See ChangeLog.7 for earlier changes.