1 1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
3 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
5 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
7 * intl/locale.alias: Update russian entry.
9 1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
11 * Makerules (static-only-routines): Reimplement in terms of
13 (shared-only-routines): Reimplement in terms of
14 elide-routines.X [where X is all object-suffixes except .os].
16 (stubs): Create stubs file inside the subdir.
17 (common-mostlyclean): Remove stubs file from inside the subdir.
18 * Makefile (subdir-stubs): Look for stubs files inside the
20 * manual/Makefile (stubs): Create dummy stubs file inside the
23 1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
25 Build speed improvement: make ar less of a bottleneck.
27 * Makerules (stamp$o): Just record the object list for later
29 (libc_foo.a): New rule, depends on subdir stamp files; builds
30 and ranlibs the library from the lists saved in those files.
32 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
33 (subdirs-stamp-o): Likewise.
35 (ar-symtab-name): Delete variable.
36 (lib%.a): Delete target.
37 (libc_foo.a(bar.%)): Delete target.
38 (libc_foo.a($(ar-symtab-name))): Delete target.
40 (objects objs): Just depend on libobjs and extra-objs.
41 (libobjs): Depend on the stamp files, not the objects.
42 (extra-objs): New target, just depends on the extra-objs list.
44 (CREATE_ARFLAGS): Kill the `ar S' hack.
46 * config.make.in (have-ar-S): Deleted.
47 * configure.in: Delete test for `ar S'. Add test to determine
48 whether ranlib does anything useful.
50 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
52 * inet/tst-ether_aton.c: Include <stdio.h>.
54 1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
56 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
58 * locale/Makefile (distribute): Add programs/repertoire.h.
59 (localedef-modules): Add repertoire.
60 (CPPFLAGS): Define REPERTOIREMAP_PATH.
61 * locale/programs/repertoire.c: New file.
62 * locale/programs/repertoire.h: New file.
63 * locale/programs/charmap.c: Starting fixing character set handling
64 to handle multi-byte encodings.
65 * locale/programs/charset.c: Likewise.
66 * locale/programs/charset.h: Likewise.
67 * locale/programs/ld-collate.c: Likewise.
68 * locale/programs/ld-ctype.c: Likewise.
69 * locale/programs/linereader.c: Likewise.
70 * locale/programs/localedef.c: Likewise.
71 * locale/programs/locfile-kw.gperf: Likewise.
72 * locale/programs/locfile-kw.h: Likewise.
73 * locale/programs/locfile-token.h: Likewise.
74 * locale/programs/locfile.h: Likewise.
75 * locale/programs/stringtrans.c: Likewise.
77 * locale/programs/locfile.c: Interpret I18NPATH value as base of
78 path, extended with "/locales/".
80 1998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
82 * sysdeps/arm/memset.S: Fix off by one error.
84 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
85 __syscall_error rather than syscall_error directly.
87 1998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
89 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
90 mmap() syscall for ARM.
92 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
95 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
97 * locale/programs/localedef.c: Recognize repertoire-map option.
99 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
101 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
102 converting non-hex numbers.
103 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
105 1998-04-23 07:31 H.J. Lu <hjl@gnu.org>
107 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
109 * resolv/Makefile (tests): New, add tst-aton.
110 * resolv/tst-aton.c: New file.
112 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
114 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
117 1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
119 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
120 by letting the later modify the variable computing the total directly.
121 * wcsmbs/mbsrtowcs.c: Likewise.
122 * wcsmbs/wcsnrtombs.c: Likewise.
123 * wcsmbs/wcsrtombs.c: Likewise.
125 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
127 * wcsmbs/wctoc.c: Likewise.
129 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
130 * wcsmbs/wcsrtombs.c: Likewise.
132 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
134 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
136 * iconv/skeleton.c: Correct counting of actually converted
139 * intl/localealias.c (read_alias_file): Use unsigned char for
140 local variables. Remove unused variable tp.
141 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
142 for type of codeset. For loosing Solaris systems.
143 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
144 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
146 Patches by Jim Meyering.
148 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
149 wcsrtombs must put it into initial state.
151 1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
153 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
154 argument of bswap_XX macro.
156 1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
158 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
161 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
163 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
164 semun and use stdarg macros to get the value.
165 * sysdeps/generic/semctl.c: Don't use union semun.
167 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
169 * string/basename.c [!_LIBC]: Define function as gnu_basename.
171 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
174 * stdlib/grouping.h: Accept ungrouped numbers even if locale
177 * intl/hash-string.h: Don't include values.h.
179 * inet/Makefile (tests): Add tst-ether_aton.
180 * inet/tst-ether_aton.c: New file.
182 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
184 * inet/ether_aton.c (ether_aton): Declare result variable static.
185 Reported by ahyung@unixg.ubc.ca.
187 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
188 Define macro _SEM_SEMUN_UNDEFINED instead.
189 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
191 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
192 * stdio-common/Makefile (tests): Add tst-wc-printf.
194 1998-04-28 16:32 Philip Blundell <philb@gnu.org>
196 * manual/stdio.texi (Variable Arguments Output): Correct variable
197 name. Patch from Ewan Mellor <em@nexus.co.uk>
199 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
201 * intl/dcgettext.c: Remove unneeded definition of
204 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
206 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
207 instead of do-iconv-test.
208 ($(objpfx)gconv-modules): Define rule only if objpfx is not
211 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
213 * string/string.h: Fix feature test.
215 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
217 * iconvdata/iso646.c (BODY): Don't use character constants that
218 depend on signedness of char.
220 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
222 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
223 (sysdep_routines): Add s_pread64 and s_pwrite64.
225 1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
227 * iconvdata/Makefile (distribute): Remove generated .h files.
228 * iconvdata/koi8-r.h: Removed.
229 * iconvdata/latin-greek-1.h: Removed.
230 * iconvdata/latin-greek.h: Removed.
232 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
233 * iconvdata/KOI-8: Likewise.
234 * iconvdata/KOI-8..UTF8: Likewise.
235 * iconvdata/KOI8-R: Likewise.
236 * iconvdata/KOI8-R..UTF8: Likewise.
238 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
240 * streams/Makefile (headers): Add sys/stropts.h.
241 * streams/sys/stropts.h: New file.
243 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
245 * sysdeps/unix/sysv/linux/ttyname.c,
246 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
247 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
249 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
251 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
252 argument of _itoa_word.
254 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
256 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
257 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
258 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
259 sigprocmask, resp., instead of EXTRA.
261 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
262 s_pread64 and s_pwrite64.
264 1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
266 * iconvdata/Makefile: Correct rules to generate gap table.
267 * iconvdata/gap.pl: Simplify.
269 * iconvdata/TESTS: Name new tests.
270 * iconvdata/testdata/CP1250: New file.
271 * iconvdata/testdata/CP1250..UTF8: New file.
272 * iconvdata/testdata/CP1251: New file.
273 * iconvdata/testdata/CP1251..UTF8: New file.
274 * iconvdata/testdata/CP1252: New file.
275 * iconvdata/testdata/CP1252..UTF8: New file.
276 * iconvdata/testdata/CP1253: New file.
277 * iconvdata/testdata/CP1253..UTF8: New file.
278 * iconvdata/testdata/CP1254: New file.
279 * iconvdata/testdata/CP1254..UTF8: New file.
280 * iconvdata/testdata/CP1255: New file.
281 * iconvdata/testdata/CP1255..UTF8: New file.
282 * iconvdata/testdata/CP1256: New file.
283 * iconvdata/testdata/CP1256..UTF8: New file.
284 * iconvdata/testdata/CP1257: New file.
285 * iconvdata/testdata/CP1257..UTF8: New file.
287 1998-04-26 Ulrich Drepper <drepper@cygnus.com>
289 * iconvdata/Makefile: Add rules for ISO-2022-KR.
290 * iconvdata/iso-2022-kr.c: New file.
292 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
295 1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
297 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
298 iso8859-8 and iso8859-10.
299 * iconvdata/iso8859-5.c: Change to use gap method.
300 * iconvdata/iso8859-7.c: Likewise.
301 * iconvdata/iso8859-8.c: Likewise.
302 * iconvdata/iso8859-10.c: Likewise.
304 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
305 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
307 * iconvdata/iso-2022-jp.c: New file.
309 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
310 * iconvdata/ksc5601.h: Unify function interfaces.
311 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
312 * iconvdata/uhc.c: Likewise.
314 * iconvdata/gb2312.h: Use correct types.
316 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
317 size elements of data.
319 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
321 * string/tst-svc.expect: Adapt for change in .input.
322 * string/tst-svc.input: More tests.
324 1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
326 * iconvdata/Makefile: Add rules for new modules.
327 * iconvdata/gconv-modules: Likewise.
328 * iconvdata/cp737.c: New file.
329 * iconvdata/cp737.h: New file.
330 * iconvdata/cp775.c: New file.
331 * iconvdata/cp775.h: New file.
332 * iconvdata/cp874.c: New file.
333 * iconvdata/cp874.h: New file.
335 1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
337 * iconvdata/Makefile: Create target directory before generating
340 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
342 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
343 __USER_LABEL_PREFIX__.
344 (__ASMNAME, __ASMNAME2): New macros.
346 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
348 * elf/dl-load.c: Include sys/param.h for MAX.
350 1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
352 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
353 __ftruncate the strong symbol, and add weak alias.
354 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
356 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
358 * termios/cfsetspeed.c: Make code cleaner and add missing const.
359 Patch by Joe Keane <jgk@jgk.org>.
361 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
364 1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
366 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
367 Patch by Thomas Bushnell, n/BSG.
369 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
371 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
373 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
375 * iconvdata/Makefile: Put generated headers in build directory.
377 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
379 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
380 strsep as current directory.
382 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
383 Java. Add definitions for unicodelittle implementation.
384 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
385 * iconv/gconv_simple.c: Define unicodelittle functions.
387 * iconv/iconv_prog.c: Make program print information about position
388 of illegal character in input.
390 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
391 comparison of charset name.
392 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
393 * iconvdata/ebcdic-at-de-a.c: Likewise.
394 * iconvdata/ebcdic-at-de.c: Likewise.
395 * iconvdata/ebcdic-ca-fr.c: Likewise.
396 * iconvdata/euccn.c: Likewise.
397 * iconvdata/eucjp.c: Likewise.
398 * iconvdata/euckr.c: Likewise.
399 * iconvdata/euctw.c: Likewise.
400 * iconvdata/hp-roman8.c: Likewise.
401 * iconvdata/iso6937.c: Likewise.
402 * iconvdata/iso8859-1.c: Likewise.
403 * iconvdata/iso8859-10.c: Likewise.
404 * iconvdata/iso8859-2.c: Likewise.
405 * iconvdata/iso8859-3.c: Likewise.
406 * iconvdata/iso8859-4.c: Likewise.
407 * iconvdata/iso8859-5.c: Likewise.
408 * iconvdata/iso8859-6.c: Likewise.
409 * iconvdata/iso8859-7.c: Likewise.
410 * iconvdata/iso8859-8.c: Likewise.
411 * iconvdata/iso8859-9.c: Likewise.
412 * iconvdata/johab.c: Likewise.
413 * iconvdata/koi-8.c: Likewise.
414 * iconvdata/koi8-r.c: Likewise.
415 * iconvdata/latin-greek-1.c: Likewise.
416 * iconvdata/latin-greek.c: Likewise.
417 * iconvdata/sjis.c: Likewise.
418 * iconvdata/t61.c: Likewise.
419 * iconvdata/uhc.c: Likewise.
421 * iconvdata/iso646.c: Add support for more ISO 646 variants.
422 * iconvdata/TESTS: Add tests for ISO646 module.
423 * iconvdata/gconv-modules: Add new modules.
424 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
425 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
426 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
427 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
428 * iconvdata/testdate/DIN_66003: Likewise.
429 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
430 * iconvdata/testdate/DS_2089: Likewise.
431 * iconvdata/testdate/DS_2089..UTF8: Likewise.
432 * iconvdata/testdate/ES: Likewise.
433 * iconvdata/testdate/ES..UTF8: Likewise.
434 * iconvdata/testdate/ES2: Likewise.
435 * iconvdata/testdate/ES2..UTF8: Likewise.
436 * iconvdata/testdate/GB_1988-80: Likewise.
437 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
438 * iconvdata/testdate/IT: Likewise.
439 * iconvdata/testdate/IT..UTF8: Likewise.
440 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
441 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
442 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
443 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
444 * iconvdata/testdate/JUS_I.B1.002: Likewise.
445 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
446 * iconvdata/testdate/KSC5636: Likewise.
447 * iconvdata/testdate/KSC5636..UTF8: Likewise.
448 * iconvdata/testdate/MSZ_7795.3: Likewise.
449 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
450 * iconvdata/testdate/NC_NC00-10: Likewise.
451 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
452 * iconvdata/testdate/NF_Z_62-010: Likewise.
453 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
454 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
455 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
456 * iconvdata/testdate/NS_4551-1: Likewise.
457 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
458 * iconvdata/testdate/NS_4551-2: Likewise.
459 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
460 * iconvdata/testdate/PT: Likewise.
461 * iconvdata/testdate/PT..UTF8: Likewise.
462 * iconvdata/testdate/PT2: Likewise.
463 * iconvdata/testdate/PT2..UTF8: Likewise.
464 * iconvdata/testdate/SEN_850200_B: Likewise.
465 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
466 * iconvdata/testdate/SEN_850200_C: Likewise.
467 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
469 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
470 * iconvdata/cns11643l1.h: Likewise.
471 * iconvdata/latin-greek-1.h: Likewise.
472 * iconvdata/latin-greek.h: Likewise.
473 * iconvdata/koi8-r.h: Likewise.
474 * iconvdata/jis0212.h: Likewise.
475 * iconvdata/gb2312.h: Likewise.
476 * iconvdata/ksc5601.h: Likewise.
478 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
480 * iconvdata/Makefile: Add rules for lots of more modules.
481 * iconvdata/cp1250.c: New file.
482 * iconvdata/cp1251.c: New file.
483 * iconvdata/cp1252.c: New file.
484 * iconvdata/cp1253.c: New file.
485 * iconvdata/cp1254.c: New file.
486 * iconvdata/cp1255.c: New file.
487 * iconvdata/cp1256.c: New file.
488 * iconvdata/cp1257.c: New file.
489 * iconvdata/ebcdic-dk-no-a.c: New file.
490 * iconvdata/ebcdic-dk-no.c: New file.
491 * iconvdata/ebcdic-es-a.c: New file.
492 * iconvdata/ebcdic-es-s.c: New file.
493 * iconvdata/ebcdic-es.c: New file.
494 * iconvdata/ebcdic-fi-se-a.c: New file.
495 * iconvdata/ebcdic-fi-se.c: New file.
496 * iconvdata/ebcdic-fr.c: New file.
497 * iconvdata/ebcdic-is-friss.c: New file.
498 * iconvdata/ebcdic-it.c: New file.
499 * iconvdata/ebcdic-pt.c: New file.
500 * iconvdata/ebcdic-uk.c: New file.
501 * iconvdata/ebcdic-us.c: New file.
502 * iconvdata/ibm037.c: New file.
503 * iconvdata/ibm038.c: New file.
504 * iconvdata/ibm1004.c: New file.
505 * iconvdata/ibm1026.c: New file.
506 * iconvdata/ibm1047.c: New file.
507 * iconvdata/ibm256.c: New file.
508 * iconvdata/ibm273.c: New file.
509 * iconvdata/ibm274.c: New file.
510 * iconvdata/ibm275.c: New file.
511 * iconvdata/ibm277.c: New file.
512 * iconvdata/ibm278.c: New file.
513 * iconvdata/ibm280.c: New file.
514 * iconvdata/ibm281.c: New file.
515 * iconvdata/ibm284.c: New file.
516 * iconvdata/ibm285.c: New file.
517 * iconvdata/ibm290.c: New file.
518 * iconvdata/ibm297.c: New file.
519 * iconvdata/ibm420.c: New file.
520 * iconvdata/ibm423.c: New file.
521 * iconvdata/ibm424.c: New file.
522 * iconvdata/ibm437.c: New file.
523 * iconvdata/ibm500.c: New file.
524 * iconvdata/ibm850.c: New file.
525 * iconvdata/ibm851.c: New file.
526 * iconvdata/ibm852.c: New file.
527 * iconvdata/ibm855.c: New file.
528 * iconvdata/ibm857.c: New file.
529 * iconvdata/ibm860.c: New file.
530 * iconvdata/ibm861.c: New file.
531 * iconvdata/ibm862.c: New file.
532 * iconvdata/ibm863.c: New file.
533 * iconvdata/ibm864.c: New file.
534 * iconvdata/ibm865.c: New file.
535 * iconvdata/ibm868.c: New file.
536 * iconvdata/ibm869.c: New file.
537 * iconvdata/ibm870.c: New file.
538 * iconvdata/ibm871.c: New file.
539 * iconvdata/ibm875.c: New file.
540 * iconvdata/ibm880.c: New file.
541 * iconvdata/ibm891.c: New file.
542 * iconvdata/ibm903.c: New file.
543 * iconvdata/ibm904.c: New file.
544 * iconvdata/ibm905.c: New file.
545 * iconvdata/ibm918.c: New file.
547 * locale/iso-4217.def: Update.
548 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
550 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
553 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
555 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
558 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
560 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
561 * Makefile: Likewise.
562 * posix/Makefile: Likewise.
563 * sysdeps/mach/hurd/Makefile: Likewise.
565 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
567 * sysdeps/mach/hurd/bits/dirent.h: New file.
568 * sysdeps/mach/hurd/readdir64.c: New file.
569 * sysdeps/mach/hurd/readdir64_r.c: New file.
571 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
573 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
574 dprintf): Synchronize declarations with libio/stdio.h.
576 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
578 * elf/dlerror.c (dlerror): Don't assume that
579 __libc_internal_tsd_get is defined. __libc_getspecific is already
580 well-protected, so just use it directly.
582 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
584 * io/ftw.h (ftw): Fix typo.
586 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
588 * sysdeps/gnu/utmp_file.c: Fix typo.
590 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
592 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
593 one part of a test fails move on to the next test.
595 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
597 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
599 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
601 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
602 as pointers, not signed integers.
604 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
606 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
608 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
610 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
611 asm symbol name of functions.
612 * include/features.h: Kill redundant test.
614 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
615 * io/ftw.h: Likewise.
616 * io/sys/stat.h: Likewise.
617 * io/sys/statfs.h: Likewise.
618 * io/sys/statvfs.h: Likewise.
619 * libio/stdio.h: Likewise.
620 * resource/sys/resource.h: Likewise.
621 * rt/aio.h: Likewise.
623 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
625 * signal/signal.h: Use new macros for BSD vs. SysV signal().
627 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
629 * misc/bsd-compat.c: Removed.
631 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
633 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
634 function declaration.
635 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
636 and use them in conversion function.
637 * iconvdata/Makefile (modules): Re-add ISO6446.
638 * iconvdata/TEST: Add tests for ASCII variants.
639 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
640 * iconvdata/testdata/ANSI_X3.4-1968: New file.
641 * iconvdata/testdata/BS_4730: New file.
642 * iconvdata/testdata/BS_4730..UTF8: New file.
644 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
646 * iconv/gconv.h (struct gconv_step): Add element stateful.
647 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
648 to zero for all internal conversions.
649 * iconv/skeleton.c: Initialize stateful depending on whether or not
650 RESET_STATE is defined to one or zero respectively.
651 * stdlib/mblen.c: Use stateful element of currently selected
652 converter for result if S is NULL.
653 * stdlib/mbtowc.c: Likewise.
654 * stdlib/wctomb.c: Likewise.
656 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
658 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
660 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
662 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
663 character in comparison with uint32_t.
664 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
665 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
668 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
671 * iconv/skeleton.c: Also reset converted counter in case of an error.
672 Call reset function using correct value for output buffer start.
674 * iconvdata/Makefile: Re-enable tests.
676 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
677 value for to-conversion.
679 * iconvdata/TESTS: Add new third column.
680 * iconvdata/run-iconv-test.sh: Add support for charsets which are
682 * iconvdata/testdata/suntzus: New file.
684 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
685 while reading. Correctly used base. Little optimization.
686 (__strtoul_internal): Likewise.
688 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
689 was wrong. Use explicit variable.
691 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
693 * configure.in: Check for awk.
694 * config.make.in: Add AWK to be substituted.
696 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
697 * manual/users.texi: Fix typo exposed by above rewrite.
699 * Makefile: Invoke awk using AWK variable.
700 * csu/Makefile: Likewise.
701 * elf/Makefile: Likewise.
702 * mach/Makefile: Likewise.
703 * manual/Makefile: Likewise.
704 * sysdeps/gnu/Makefile: Likewise.
705 * sysdeps/mach/hurd/Makefile: Likewise.
706 * sysdeps/unix/Makefile: Likewise.
707 * timezone/Makefile: Likewise.
709 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
711 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
712 array index translation.
713 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
716 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
718 * sysdeps/mach/hurd/errlist.c: New file.
719 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
720 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
721 semantics, so rename it.
723 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
725 * iconvdata/run-iconv-test.sh: Make portable. Always test all
728 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
730 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
731 * wcsmbs/wcsnrtombs.c: Likewise.
733 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
735 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
737 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
739 * time/strftime.c (my_strftime): Initialize pad variable in
742 * iconvdata/big5.c: Don't use character constants in comparisons
745 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
747 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
748 __libc_siglongjmp to GLIBC_2.1.
750 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
753 * iconv/Makefile: Don't run tests now.
755 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
756 with correct output buffer.
758 Major rewrite of the low-level gconv functionality.
759 * iconv/gconv.c: Rewritten.
760 * iconv/gconv.h: Likewise.
761 * iconv/gconv_builtin.c: Likewise.
762 * iconv/gconv_builtin.h: Likewise.
763 * iconv/gconv_conf.c: Likewise.
764 * iconv/gconv_int.h: Likewise.
765 * iconv/gconv_open.c: Likewise.
766 * iconv/gconv_simple.c: Likewise.
767 * iconv/iconv.c: Likewise.
768 * iconvdata/8bit-gap.c: Likewise.
769 * iconvdata/8bit-generic.c: Likewise.
770 * iconvdata/Makefile: Likewise.
771 * iconvdata/big5.c: Likewise.
772 * iconvdata/cns11643.c: Likewise.
773 * iconvdata/cns11643.h: Likewise.
774 * iconvdata/cns11643l1.c: Likewise.
775 * iconvdata/cns11643l1.h: Likewise.
776 * iconvdata/ebcdic-at-de-a.c: Likewise.
777 * iconvdata/ebcdic-at-de.c: Likewise.
778 * iconvdata/ebcdic-ca-fr.c: Likewise.
779 * iconvdata/euccn.c: Likewise.
780 * iconvdata/eucjp.c: Likewise.
781 * iconvdata/euckr.c: Likewise.
782 * iconvdata/euctw.c: Likewise.
783 * iconvdata/gb2312.c: Likewise.
784 * iconvdata/gb2312.h: Likewise.
785 * iconvdata/hp-roman8.c: Likewise.
786 * iconvdata/iso646.c: Likewise.
787 * iconvdata/iso6937.c: Likewise.
788 * iconvdata/iso8859-1.c: Likewise.
789 * iconvdata/iso8859-10.c: Likewise.
790 * iconvdata/iso8859-2.c: Likewise.
791 * iconvdata/iso8859-3.c: Likewise.
792 * iconvdata/iso8859-4.c: Likewise.
793 * iconvdata/iso8859-5.c: Likewise.
794 * iconvdata/iso8859-6.c: Likewise.
795 * iconvdata/iso8859-7.c: Likewise.
796 * iconvdata/iso8859-8.c: Likewise.
797 * iconvdata/iso8859-9.c: Likewise.
798 * iconvdata/jis0201.c: Likewise.
799 * iconvdata/jis0201.h: Likewise.
800 * iconvdata/jis0208.c: Likewise.
801 * iconvdata/jis0208.h: Likewise.
802 * iconvdata/jis0212.c: Likewise.
803 * iconvdata/jis0212.h: Likewise.
804 * iconvdata/johab.c: Likewise.
805 * iconvdata/koi-8.c: Likewise.
806 * iconvdata/koi8-r.c: Likewise.
807 * iconvdata/ksc5601.c: Likewise.
808 * iconvdata/ksc5601.h: Likewise.
809 * iconvdata/latin-greek-1.c: Likewise.
810 * iconvdata/latin-greek.c: Likewise.
811 * iconvdata/run-iconv-test.sh: Likewise.
812 * iconvdata/sjis.c: Likewise.
813 * iconvdata/t61.c: Likewise.
814 * iconvdata/uhc.c: Likewise.
815 * wcsmbs/btowc.c: Likewise.
816 * wcsmbs/mbrtowc.c: Likewise.
817 * wcsmbs/mbsnrtowcs.c: Likewise.
818 * wcsmbs/mbsrtowcs.c: Likewise.
819 * wcsmbs/wcrtomb.c: Likewise.
820 * wcsmbs/wcsmbsload.c: Likewise.
821 * wcsmbs/wcsnrtombs.c: Likewise.
822 * wcsmbs/wcsrtombs.c: Likewise.
823 * wcsmbs/wctob.c: Likewise.
824 * iconv/loop.c: New file.
825 * iconv/skeleton.c: New file.
827 * stdlib/mblen.c: Handle empty input string correctly.
828 * stdlib/mbtowc.c: Likewise.
830 * posix/getopt.c: Various cleanups.
832 * sysdeps/arm/bits/setjmp.h: Add copyright text.
833 * sysdeps/i386/bits/setjmp.h: Likewise.
834 * sysdeps/m68k/bits/setjmp.h: Likewise.
835 * sysdeps/powerpc/bits/setjmp.h: Likewise.
836 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
838 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
839 and make longjmp weak alias.
841 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
843 * iconv/Makefile (routines): Only include gconv_dl if building for
844 an ELF system - dynamic linking is not available on a.out.
845 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
847 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
848 routines from gconv_dl.
850 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
852 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
853 we can compile without libio.
855 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
857 * sysdeps/mach/hurd/Subdirs: Remove login.
859 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
861 * db2/compat.h: Include <errno.h>, to make sure we get the
862 definition of EFTYPE before we define it ourselves.
864 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
866 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
867 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
868 Fix typo to allow inclusion from sys/ioctl.h again.
870 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
872 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
874 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
876 * libc.map: Export __strerror_r. Remove _strerror_internal.
878 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
880 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
881 Also undefine __strcasestr.
883 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
885 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
886 aliases do not work with global variables due to copy relocations.
888 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
890 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
892 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
894 * signal/sighold.c: Include stddef.h for NULL definition.
895 * signal/sigrelse.c: Likewise.
896 * sysdeps/posix/sigignore.c: Likewise.
897 * sysdeps/posix/sigset.c: Likewise.
898 * sysdeps/posix/waitid.c: Likewise.
899 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
900 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
901 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
902 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
903 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
905 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
907 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
908 * login/getutent.c (getutxent): Remove alias.
909 * login/getutent_r.c (setutxent, pututxline, endutxent):
911 * login/getutid.c (getutxid): Remove alias.
912 * login/getutline.c (getutxline): Remove alias.
913 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
914 __getutid, __getutline and __pututline.
915 * login/utmpx.h: Moved to ...
916 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
917 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
919 * login/updwtmp.c: Moved to ...
920 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
921 allowing file name transformation.
922 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
923 additional file name transformation.
924 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
925 * login/utmp_file.c: Moved to ...
926 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
927 Generalized by allowing file name transformation. Do not
928 print error message. Library functions should not print them.
929 Reported by Jim Meyering.
930 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
931 with additional file name transformation.
932 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
933 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
934 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
935 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
937 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
938 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
939 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
941 * sysdeps/generic/setutxent.c: New file.
942 * sysdeps/generic/getutxent.c: New file.
943 * sysdeps/generic/endutxent.c: New file.
944 * sysdeps/generic/getutxid.c: New file.
945 * sysdeps/generic/getutxline.c: New file.
946 * sysdeps/generic/pututxline.c: New file.
947 * sysdeps/generic/utmpxname.c: New file.
948 * sysdeps/generic/updwtmpx.c: New file.
949 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
950 * sysdeps/generic/bits/utmpx.h: Remove.
952 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
954 * posix/wordexp-test.c (main): Initialize ifs element of ts for
957 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
959 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
961 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
963 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
964 variable using _G_stat64.
965 * libio/fileops.c: Remove macro definition of fstat, it is in the
967 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
969 1998-04-17 Philip Blundell <pb@nexus.co.uk>
971 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
972 <willy@odie.barnet.ac.uk>.
974 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
976 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
977 required by IPv6 Basic API.
978 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
979 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
980 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
981 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
983 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
985 Don't name internal representation since it might be different from
986 the external form (namely on little endian machines).
987 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
988 UCS4 into references to INTERNAL.
989 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
990 Add endianess support to UCS functions. Change references to
991 UCS4 into references to INTERNAL.
992 * iconv/gconv_int.h: Change references to UCS4 into references to
994 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
995 * iconvdata/gconv-modules: Change accordingly.
996 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
998 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
1000 * iconvdata/8bit-gap.c: Likewise.
1001 * iconvdata/8bit-generic.c: Likewise.
1002 * iconvdata/big5.c: Likewise.
1003 * iconvdata/euccn.c: Likewise.
1004 * iconvdata/eucjp.c: Likewise.
1005 * iconvdata/euckr.c: Likewise.
1006 * iconvdata/euctw.c: Likewise.
1007 * iconvdata/iso646.c: Likewise.
1008 * iconvdata/iso6937.c: Likewise.
1009 * iconvdata/iso8859-1.c: Likewise.
1010 * iconvdata/johab.c: Likewise.
1011 * iconvdata/sjis.c: Likewise.
1012 * iconvdata/t61.c: Likewise.
1013 * iconvdata/uhc.c: Likewise.
1015 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
1016 * iconvdata/8bit-generic.c: Likewise.
1018 * iconvdata/TESTS: Add more tests.
1020 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
1022 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
1024 * iconvdata/Makefile: Better rules to run tests.
1026 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
1027 * iconvdata/testdata/ISO-8859-10: Likewise.
1028 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
1029 * iconvdata/testdata/ISO-8859-2: Likewise.
1030 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
1031 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
1032 * iconvdata/testdata/ISO-8859-3: Likewise.
1033 * iconvdata/testdata/ISO-8859-4: Likewise.
1034 * iconvdata/testdata/ISO-8859-5: Likewise.
1035 * iconvdata/testdata/ISO-8859-6: Likewise.
1036 * iconvdata/testdata/ISO-8859-7: Likewise.
1037 * iconvdata/testdata/ISO-8859-8: Likewise.
1038 * iconvdata/testdata/ISO-8859-9: Likewise.
1040 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
1042 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
1043 intermediate result (if available).
1045 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
1048 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
1049 (distribute): Add run-iconv-test.sh and testdata/*.
1051 * stdlib/testmb.c (main): Simplify mbc array handling.
1053 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1055 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
1056 return value on overflow.
1058 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1060 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
1063 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1065 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
1066 of non-standard function setbuffer.
1068 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1070 * stdio-common/perror.c: Include <string.h> for __strerror_r.
1072 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
1074 * iconvdata/Makefile: Add rules to run tests.
1075 * iconvdata/TESTS: New file.
1076 * iconvdata/run-iconv-test.sh: New file.
1077 * iconvdata/testdata/ISO-8859-1: New file.
1079 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
1082 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
1084 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1085 counter element of step.
1087 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
1089 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
1091 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
1093 (__gconv_transform_utf8_ucs4): Correct test for empty input.
1095 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
1097 * Makefile: Include makeconfig before defining rule to regenerate
1100 * configure.in: Remove restriction on compiling without static
1103 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
1105 * test-skeleton.c: Provide hook for initializing code before the fork.
1106 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
1109 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
1110 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
1111 * libio/libioP.h: Adopt _IO_cleanup prototype.
1113 * stdlib/Makefile (tests): Add test-canon2.
1114 * stdlib/test-canon2.c: New file.
1115 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
1116 be NULL. Use __lxstat, not __lstat. Correctly recognize long
1118 (__realpath): Make real function which checks RESOLVED parameter for
1121 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
1123 * catgets/open_catalog.c (__open_catalog): Fix problems with
1124 reading non-files. Always close file.
1125 Reported by Cristian Gafton <gafton@redhat.com>.
1127 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
1129 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
1131 * libc.map: Add various low-level I/O functions.
1133 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
1135 * string/Makefile (routines): Remove strerror_r.
1136 * string/strerror_r.c: Removed.
1137 * string/strerror.c: Call __strerror_r for doing the real work.
1138 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
1139 add weak alias strerror_r.
1140 * sysdeps/mach/_strerror.c: Likewise.
1141 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
1142 * elf/dl-error.c (_dl_signal_error): Likewise.
1143 * elf/dl-profile.c (_dl_start_profile): Likewise.
1144 * gmon/gmon.c (write_gmon): Likewise.
1145 * stdio-common/perror.c: Likewise.
1146 * stdio-common/vfprintf.c: Likewise.
1148 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
1150 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1151 (sysdep_headers): Add netatalk/at.h.
1153 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1155 * manual/socket.texi, manual/creature.texi, manual/time.texi:
1158 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1160 * posix/regex.c: Rename __re_syntax_options back to
1161 re_syntax_options, aliases do not work with global variables due
1162 to copy relocations.
1163 (regex_compile): Use syntax parameter instead of
1166 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1168 * configure.in: Document that enable-force-install is default.
1170 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
1172 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
1174 * sysdeps/posix/mkstemp.c: Likewise.
1176 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
1178 * iconvdata/8bit-gap.c: Simplify step data handling.
1179 * iconvdata/8bit-generic.c: Likewise.
1180 * iconvdata/big5.c: Likewise.
1181 * iconvdata/euccn.c: Likewise.
1182 * iconvdata/eucjp.c: Likewise.
1183 * iconvdata/euckr.c: Likewise.
1184 * iconvdata/euctw.c: Likewise.
1185 * iconvdata/iso6937.c: Likewise.
1186 * iconvdata/iso8859-1.c: Likewise.
1187 * iconvdata/jis0208.h: Likewise.
1188 * iconvdata/jis0212.c: Likewise.
1189 * iconvdata/jis0212.h: Likewise.
1190 * iconvdata/johab.c: Likewise.
1191 * iconvdata/ksc5601.h: Likewise.
1192 * iconvdata/sjis.c: Likewise.
1193 * iconvdata/t61.c: Likewise.
1194 * iconvdata/uhc.c: Likewise.
1196 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
1198 * manual/texinfo.texi: Updated from last version.
1200 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
1202 * iconvdata/cns11643.c: New file.
1203 * iconvdata/cns11643.h: New file.
1204 * iconvdata/cns11643l1.c: New file.
1205 * iconvdata/cns11643l1.h: New file.
1206 * iconvdata/euctw.c: New file.
1207 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
1208 * iconvdata/gconv-modules: Likewise.
1210 * iconvdata/eucjp.c: Several bug fixes and improvements.
1211 * iconvdata/gb2312.h: Likewise.
1212 * iconvdata/jis0201.h: Likewise.
1213 * iconvdata/jis0208.h: Likewise.
1214 * iconvdata/jis0212.h: Likewise.
1216 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
1218 * iconvdata/eucjp.c: New file.
1219 * iconvdata/euccn.c: New file.
1220 * iconvdata/gb2312.h: New file.
1221 * iconvdata/gb2312.c: New file.
1222 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
1223 * iconvdata/gconv-modules: Likewise.
1225 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
1227 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
1229 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1230 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
1231 Patch by Mark Hatle <fray@kernel.crashing.org>.
1233 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
1235 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
1237 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
1238 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
1240 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
1242 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
1244 * iconvdata/Makefile: Add rules for big5 conversion.
1245 * iconvdata/gconv-modules: Likewise.
1246 * iconvdata/big5.c: New file.
1248 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
1249 Patch by Jim Meyering.
1251 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
1253 * rt/tst-aio.c: Add test for aio_read and lio_listio.
1255 * rt/lio_listio.c: Correct total counter handling.
1257 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
1260 * test-skeleton.c (main): Make stdout unbuffered. Improve message
1261 of signal on exit even more.
1263 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
1264 instead of call to pthread_cond_init.
1265 * rt/lio_listio.c (lio_listio): Likewise.
1266 * rt/lio_listio64.c (lio_listio64): Likewise.
1268 * nis/nis_findserv.c: Include sys/socket.h.
1270 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
1272 * Makeconfig (rtobjdir): New variable.
1273 (rpath-link): Add rtobjdir and thread directory, if available.
1275 * test-skeleton.c: Add support to remove temporary files.
1276 Always define test_dir. Improve message about expected signal.
1278 * rt/Makefile (tests): Add tst-aio.
1279 Add rules for tst-aio to be linked with librt and thread library.
1280 * rt/aio_misc.c: Correct fundamental bugs.
1281 * rt/aio_suspend.c: Correct bug in test for available request.
1282 Initialize conditional variable.
1283 * rt/lio_listio.c: Initialize conditional variable.
1284 * rt/lio_listio64.c: Likewise.
1285 * rt/tst-aio.c: New file.
1287 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
1288 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
1289 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1290 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1291 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
1292 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1293 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1295 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
1297 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
1299 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
1301 * elf/dl-load.c (open_path): Use correct name for test whether
1302 directory in load path exists.
1304 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
1305 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
1306 Patches by Tom Rini <trini@kernel.crashing.org>.
1308 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
1309 * wcsmbs/wcstod_l.c: Likewise.
1310 * wcsmbs/wcstold_l.c: Likewise.
1312 * include/byteswap.h: New file.
1314 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
1315 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
1317 * inet/getnameinfo.c (getnameinfo): Change parameter to match
1318 declaration. Patch by Richard Henderson.
1320 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
1322 * manual/process.texi (SIGCHLD example): Save errno.
1324 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
1326 * posix/regex.c: Define regerror really as __regerror.
1327 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
1328 regerror and regfree.
1330 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
1331 * stdlib/strtod_l.c: Likewise.
1332 * stdlib/strtold_l.c: Likewise.
1334 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
1336 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
1338 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
1339 Patch by Christian Gafton.
1341 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
1343 * manual/socket.texi (Interface Naming): Correct @deftypefun line
1346 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1348 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
1350 * manual/socket.texi (Interface Naming): Fix typo.
1352 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1354 * manual/examples/filesrv.c (main): Remove filename first.
1356 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
1359 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
1362 * manual/examples/filecli.c (main): Use AF_LOCAL
1365 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
1367 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
1369 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
1370 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1371 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1372 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1373 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1374 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1376 * login/utmp_daemon.c (open_socket): Use __connect not connect.
1378 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1380 * configure.in: Add new option --enable-force-install. Substitute
1382 * config.make.in (force-install): Set from configure.
1383 * Makerules (force-install): New phony target.
1384 * Makeconfig (+force): New variable.
1385 * Makefile: Use it in dependency list of installation targets.
1386 * db/Makefile: Likewise.
1387 * db2/Makefile: Likewise.
1388 * elf/Makefile: Likewise.
1389 * hurd/Makefile: Likewise.
1390 * iconv/Makefile: Likewise.
1391 * iconvdata/Makefile: Likewise.
1392 * intl/Makefile: Likewise.
1393 * localedata/Makefile: Likewise.
1394 * login/Makefile: Likewise.
1395 * po/Makefile: Likewise.
1396 * sunrpc/Makefile: Likewise.
1397 * sysdeps/mach/hurd/Makefile: Likewise.
1398 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
1399 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1400 * timezone/Makefile: Likewise.
1402 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1404 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
1405 alloc_size. Pass return value of getcwd syscall to realloc.
1407 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1409 * manual/socket.texi: Spelling fixes.
1411 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1413 * elf/dl-load.c (print_search_path): Remove unused variable.
1415 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1417 * login/utmp_file.c: use __ftruncate not ftruncate.
1418 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
1419 for system call and make ftruncate weak alias.
1420 * posix/unistd.h: Add prototype for __ftruncate.
1421 * login/utmp_daemon.c (open_socket): Use __socket not socket.
1422 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
1423 instead of snprintf and readv.
1424 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
1426 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
1429 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
1431 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
1432 * iconv/gconv_db.c: Use __ protected regex functions.
1433 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
1434 * posix/getopt_init.c: Use __getpid not getpid.
1435 * posix/regex.c: Rename all global functions to start with __ and
1436 make old names weak aliases.
1437 * posix/regex.h: Adopt prototypes for this.
1438 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
1439 a weak alias and use __getcwd instead of getcwd.
1440 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
1441 * stdlib/strtod.c: Use __btowc instead of btowc.
1442 * stdlib/strtol.c: Likewise.
1443 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
1444 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
1445 and sys_errlist are weak.
1446 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
1447 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
1448 * wcsmbs/mbsnrtowcs.c: Likewise.
1449 * wcsmbs/mbsrtowcs.c: Likewise.
1450 * wcsmbs/wcsnrtombs.c: Likewise.
1451 * wcsmbs/wcsrtombs.c: Likewise.
1452 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
1454 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
1455 * wctype/wctype.c: Define function as __wctype and make wctype
1457 * wctype/wctype.h: Declare __wctype.
1459 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
1461 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
1463 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1465 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
1467 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
1469 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
1471 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1472 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1473 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
1474 make it a weak alias.
1475 * posix/unistd.h: Declare __lseek64.
1477 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
1478 (_IO_file_stat): Fix typo.
1479 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
1480 block size from the file. Use __mempcpy if _LIBC.
1482 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
1484 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
1485 * wcsmbs/mbrtowc.c: Likewise.
1486 * wcsmbs/mbsnrtowcs.c: Likewise.
1487 * wcsmbs/mbsrtowcs.c: Likewise.
1488 * wcsmbs/wcrtomb.c: Likewise.
1489 * wcsmbs/wcsnrtombs.c: Likewise.
1490 * wcsmbs/wcsrtombs.c: Likewise.
1491 * wcsmbs/wctob.c: Likewise.
1493 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
1494 position of next output character correctly.
1495 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
1497 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
1499 * stdlib/strtod.c: Don't use mbtowc.
1501 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
1503 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
1504 what we want is smaller than a buffer.
1506 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
1508 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
1511 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
1513 * configure.in: Recognize --with-headers flag and determine
1514 commandline options to be used in compilation.
1515 * Makeconfig (+includes): Use $(sysincludes).
1516 * config.make.in (sysincludes): Define from SYSINCLUDES.
1517 * glibcbug.in: Use SYSINCLUDES information.
1518 Patches by Zack Weinberg.
1520 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
1522 * glibcbug.in: On linux, report version of kernel headers seen
1525 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
1527 * libc.map: Add __asprintf to GLIBC_2.1.
1528 * elf/dlerror.c: Use __asprintf, not asprintf.
1529 * libio/stdio.h: Declare __asprintf.
1530 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
1533 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
1534 to avoid inclusion from libc_pic.a.
1536 * elf/dl-runtime.c: Undo last patch.
1538 * stdlib/strtod.c: Don't use mbtowc, use btowc.
1540 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
1541 as default, use NULL.
1543 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1545 * resolv/Makefile: Include ../Makeconfig - needed for building
1548 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1550 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
1551 static-nss since we don't want hesiod in the static NSS.
1553 * nss/Makefile: Build only nss_files as static.
1555 * nss/function.def: Remove support for service db.
1557 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
1559 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
1561 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
1563 * posix/wordexp-test.c: Make IFS per test-case.
1565 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
1567 * glibcbug.in: Report version of gcc in use. Remove unused variable
1570 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
1572 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
1573 `-print-file-name' to find as and ld.
1575 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
1577 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
1578 template is wrong. Remove unused varaible `ignored'.
1580 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1582 * libc.map: Export __libc_sa_len.
1584 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
1586 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
1588 * iconv/gconv.c: Take care for NULL arguments.
1589 * iconv/gconv_dl.c: Make find_func function global.
1590 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
1591 Add prototypes for ASCII conversion functions.
1592 * iconv/gconv_simple.c: Add ASCII conversion functions.
1593 * locale/C-ctype.c: Correct charset name.
1595 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
1596 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
1598 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
1599 * wcsmbs/mbrtowc.c: Likewise.
1600 * wcsmbs/mbsnrtowcs.c: Likewise.
1601 * wcsmbs/mbsrtowcs.c: Likewise.
1602 * wcsmbs/wcrtomb.c: Likewise.
1603 * wcsmbs/wcsnrtombs.c: Likewise.
1604 * wcsmbs/wcsrtombs.c: Likewise.
1605 * wcsmbs/wctob.c: Likewise.
1606 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
1607 prototypes for wmemr*.
1608 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
1609 * wcsmbs/wcsnlen.c: New file.
1610 * wcsmbs/wcsmbsload.c: New file.
1611 * wcsmbs/wcsmbsload.h: New file.
1613 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
1615 * manual/install.texi: Describe some more critical points.
1617 * string/string.h: Add prototype for __strnlen.
1618 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
1620 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
1621 much less predictable names.
1622 * sysdeps/posix/mkstemp.c: Likewise.
1624 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1626 * manual/libc.texinfo (Top): Change "file namespace" to "local
1629 * manual/socket.texi: Change file namespace to local namespace.
1630 (Out-of-Band Data): Remove unneeded variable link.
1631 (Host Address Functions): Use uint32_t consequently and add a
1632 number of clarifications for IPv4/IPv6, classless addresses.
1633 (Internet Namespace): Added some paragraphs about IPv6.
1634 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1636 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
1638 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
1640 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
1641 (NI_NUMERICHOST, et al.): Tidy up and add comments.
1642 (AI_NUMERICHOST): Define.
1643 (getnodebyname): New prototype.
1644 (AI_V4MAPPED, et al.): New constants.
1646 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
1647 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
1648 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
1650 * sysdeps/unix/sysv/linux/sa_len.c: New file.
1651 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
1653 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
1655 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
1656 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
1657 * socket/Makefile (headers): Add bits/sockunion.h.
1658 * socket/sys/socket.h: Include <bits/sockunion.h>
1659 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
1660 <sys/socket.h>, to avoid getting sockaddr_union defined.
1661 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
1662 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1663 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1665 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
1666 (2.2.x kernels won't have it).
1668 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
1670 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
1671 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
1672 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
1673 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
1675 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
1677 * manual/socket.texi (Socket Addresses): Fix a typo.
1678 (Interface Naming): New section.
1680 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
1682 * configure.in: Check for CC using $ac_tool_prefix, to handle
1683 cross-compilation. Use AC_CHECK_TOOL to find MiG.
1684 * config.make.in: Add MIG to be substituted.
1685 * mach/Machrules: Don't define MIG variable.
1687 Patch by Gordon Matzigkeit <gord@profitpress.com>.
1689 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
1691 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
1692 strdupa to copy rpath.
1694 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1696 * configure.in: Fix gcc version check.
1698 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
1701 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
1703 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
1706 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
1708 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
1709 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
1710 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
1711 of __ptsname_r accordingly.
1712 * login/openpty.c (openpty): Likewise.
1714 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
1716 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
1718 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1720 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
1722 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
1724 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1726 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
1727 return value for better error checking.
1729 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1731 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
1732 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
1734 * elf/elf.h (EM_SPARC64): Remove.
1735 (EM_SPARC32PLUS, EM_SPARCV9): Add.
1736 (HWCAP_SPARC_V9): Add.
1738 * elf/ldsodefs.h (_dl_hwcap): Declare.
1739 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
1740 Weaken so dlopen from static progies works.
1741 (WEAKADDR): New macro.
1742 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
1743 (LD_SO_PRELOAD): New macro.
1744 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
1745 (elf_machine_rela): Weaken _dl_rtld_map.
1747 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
1748 to __clone, and remove the later's alias.
1749 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1751 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
1752 the kernel's structure.
1754 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
1755 Sparc needs a custom value of __KERNEL_NCCS.
1757 1998-04-06 Richard Henderson <rth@cygnus.com>
1759 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
1761 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
1762 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1764 1998-04-06 Richard Henderson <rth@cygnus.com>
1766 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
1767 as the buffer is not properly aligned.
1768 Reported by Juan Cespedes <cespedes@debian.org>.
1770 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1772 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
1775 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
1777 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
1778 and wc*tomb* functions.
1780 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
1782 * sysdeps/unix/start.c: Fix typo.
1784 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
1786 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
1788 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
1790 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
1791 expressions and using array variables.
1792 * sysdeps/libm-ieee754/e_asin.c: Likewise.
1793 * sysdeps/libm-ieee754/e_j0.c: Likewise.
1794 * sysdeps/libm-ieee754/e_j1.c: Likewise.
1795 * sysdeps/libm-ieee754/e_log.c: Likewise.
1796 * sysdeps/libm-ieee754/e_pow.c: Likewise.
1797 * sysdeps/libm-ieee754/k_cos.c: Likewise.
1798 * sysdeps/libm-ieee754/k_sin.c: Likewise.
1799 * sysdeps/libm-ieee754/k_tan.c: Likewise.
1800 * sysdeps/libm-ieee754/s_atan.c: Likewise.
1801 * sysdeps/libm-ieee754/s_erf.c: Likewise.
1802 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
1803 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
1804 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
1806 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
1808 * iconv/gconv.c: Rewrite of the low-level of gconv.
1809 * iconv/gconv.h: Likewise.
1810 * iconv/gconv_builtin.h: Likewise.
1811 * iconv/gconv_close.c: Likewise.
1812 * iconv/gconv_db.: Likewise.
1813 * iconv/gconv_dl.c: Likewise.
1814 * iconv/gconv_int.h: Likewise.
1815 * iconv/gconv_open.c: Likewise.
1816 * iconv/gconv_simple.c: Likewise.
1817 * iconvdata/8bit-gap.c: Adapt for rewrite.
1818 * iconvdata/8bit-generic.c: Likewise.
1819 * iconvdata/euckr.c: Likewise.
1820 * iconvdata/iso646.c: Likewise.
1821 * iconvdata/iso6937.c: Likewise.
1822 * iconvdata/iso8859-1.c: Likewise.
1823 * iconvdata/johab.c: Likewise.
1824 * iconvdata/sjis.c: Likewise.
1825 * iconvdata/t61.c: Likewise.
1826 * iconvdata/uhc.c: Likewise.
1828 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
1830 * iconv/gconv_int.h: New file. Internal header.
1831 * iconv/Makefile (distribute): Add gconv_int.h.
1832 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
1833 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
1834 * iconv/gconv_close.c: Likewise.
1835 * iconv/gconv_conf.c: Likewise.
1836 * iconv/gconv_db.c: Likewise.
1837 * iconv/gconv_dl.c: Likewise.
1838 * iconv/gconv_int.h: Likewise.
1839 * iconv/gconv_open.c: Likewise.
1840 * iconv/iconv.c: Likewise.
1841 * iconv/iconv_close.c: Likewise.
1842 * iconv/iconv_open.c: Likewise.
1843 * iconv/iconv_prog.c: Likewise.
1845 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
1847 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
1850 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1852 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
1854 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
1856 Based on patch from Pat Beirne:
1857 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
1858 PIC and non-PIC now. Correctly negate error number.
1859 (errno): Use `%' not `@' in .type directives.
1861 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
1863 * sysdeps/i386/strtok.S: Change to use single exit point.
1864 * sysdeps/i386/i686/strtok.S: Likewise.
1866 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1868 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
1871 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1873 * Makerules (installed-libcs): Fix typo.
1875 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1877 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
1878 (UHC-routines): Remove ksc5601.
1880 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
1882 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
1883 introduced in last change.
1885 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
1887 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
1890 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1892 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
1894 * stdlib/isomac.c: Use -isystem instead of -I for system include
1897 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
1899 * resolv/res_comp.c (underscorechar): New.
1900 (middlechar): Allow '_'.
1902 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1904 * intl/explodename.c (stdlib.h): Include that file only if
1905 STDC_HEADERS or _LIBC.
1906 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
1907 Patch by Philippe De Muyter <phdm@macqel.be>.
1909 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
1911 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
1912 (AC_PROG_CHECK_VER): New macro.
1913 * configure.in: Use AC_PROG_CHECK_VER to check versions of
1914 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
1916 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
1918 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
1919 * sysdeps/i386/i686/strtok.S: New file
1920 * sysdeps/i386/i686/strtok_r.S: New file
1922 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
1924 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
1926 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
1927 parameter as __off64_t instead of __off_t.
1928 (ftello): Make alias for ftello64 instead of ftello. Change
1929 return type to __off64_t.
1931 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1933 * sysdeps/i386/bits/string.h: Fix various typos.
1934 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1936 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
1938 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
1940 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
1941 lchown syscall correctly. [PR libc/541].
1943 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
1945 * localedata/Makefile: Correct testsuite rules.
1947 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
1948 * iconvdata/iso646.c: Fix conversion from UCS4.
1950 * elf/ldsodefs.h: Mark internal function with internal_function.
1951 * elf/dl-addr.c: Likewise.
1952 * elf/dl-close.c: Likewise.
1953 * elf/dl-debug.c: Likewise.
1954 * elf/dl-deps.c: Likewise.
1955 * elf/dl-error.c: Likewise.
1956 * elf/dl-fini.c: Likewise.
1957 * elf/dl-init.c: Likewise.
1958 * elf/dl-load.c: Likewise.
1959 * elf/dl-lookup.c: Likewise.
1960 * elf/dl-object.c: Likewise.
1961 * elf/dl-open.c: Likewise.
1962 * elf/dl-profile.c: Likewise.
1963 * elf/dl-reloc.c: Likewise.
1964 * elf/dl-runtime.c: Likewise.
1965 * elf/dl-symbol.c: Likewise.
1966 * elf/dl-version.c: Likewise.
1967 * elf/dlerror.c: Likewise.
1968 * sysdeps/generic/dl-sysdep.c: Likewise.
1969 * sysdeps/i386/dl-machine.h: Likewise.
1970 * intl/finddomain.c: Likewise.
1971 * intl/gettextP.h: Likewise.
1972 * intl/loadmsgcat.c: Likewise.
1974 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
1976 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
1977 * iconv/gconv_builtin.h: Add definitions for new builtins.
1978 * iconv/gconv.h: Add prototypes for new builtins.
1980 * iconvdata/Makefile (modules): Add ISO646.
1981 Add rules for ISO646 module.
1982 (distribute): Add iso646.c.
1983 * iconvdata/gconv-modules: Add module and alias definition for
1985 * iconvdata/iso646.c: New file.
1987 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
1989 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
1990 * iconv/iconv_prog.c: Implement --list option to print available
1991 coded character sets.
1993 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
1995 Make fread() read large blocks straight to the user buffer.
1997 * libio/fileops.c (_IO_file_xsgetn): New function.
1998 (_IO_file_jumps): Use it.
1999 * libio/libioP.h: Prototype it.
2001 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2003 * iconv/gconv_conf.c (builtin_aliases): New variable.
2004 (__gconv_read_conf): Add builtin aliases.
2005 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
2006 noop macro before including gconv_builtin.h.
2007 * iconv/gconv_builtin.h: Add alias names.
2009 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
2010 number of converted bytes correctly.
2012 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2014 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
2015 we only wait for a replay.
2017 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2019 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
2022 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
2024 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
2025 use PLTJMP() rather than explicit (PLT).
2027 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
2028 __libc_start_main().
2030 Based on patch from Pat Beirne:
2031 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
2032 Always define, not only #ifndef PIC.
2033 (DO_CALL): Pass fifth argument correctly in R4.
2034 (PSEUDO): Correct test for error, call syscall_error through PLT
2037 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
2039 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
2042 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
2044 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
2047 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
2049 * io/Makefile (static-only-routines): Add stat64, fstat64 and
2052 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2054 * manual/Makefile: Use object-suffixes-for-libc instead of
2056 * rpm/Makefile (install-lib): Likewise.
2058 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2060 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
2062 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
2063 `m68*', not only `m68k'.
2065 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2067 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
2069 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
2072 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2074 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
2077 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
2080 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
2082 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
2085 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2087 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
2089 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2091 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
2093 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2095 * Makerules (install): Change comment for libc.so following the
2096 libc_nonshared changes.
2098 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2100 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
2102 * iconvdata/gap.pl: Avoid using %#06x.
2104 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
2106 * Makerules: Use $? instead of S^ when invoking ar.
2108 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2110 * db2/compat.h: Allow EFTYPE being defined.
2111 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
2112 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
2113 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
2114 * sysdeps/mach/bits/libc-lock.h: Fix typo.
2115 (__libc_once): Correctly unlock semaphore.
2116 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
2117 * sysdeps/unix/bsd/getpt.c: Fix typo.
2118 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
2120 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
2122 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
2125 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
2127 * include/mntent.h: New file.
2129 * elf/Makefile (trusted-dirs.h): Append slash to filename.
2130 * elf/dl-load.c: Rewrite search path handling.
2131 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
2132 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
2133 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
2134 * elf/ldsodefs.h: Add prototype.
2136 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
2138 * nss/nsswitch.c (__nss_lookup): Adjust comment.
2140 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
2143 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
2145 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
2147 (HWCAP_IMPORTANT): New definition.
2149 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
2151 * elf/dl-open.c (_dl_open): Fix a typo.
2152 (_dl_global_scope_alloc): Make it static.
2154 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
2156 * Makerules: Remove duplicate rules to handle stamp.oS.
2158 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2160 * manual/examples/inetsrv.c (main): Change prototype of
2161 make_socket following change in mkisock.c.
2163 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
2165 (main): Change prototype of init_sockaddr following change in
2168 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
2169 * manual/examples/isockad.c (init_sockaddr): Likewise.
2171 * manual/examples/mkfsock.c (make_named_socket): Removed blank
2172 lines for clarification.
2173 (make_named_socket): Use strncpy instead of strcpy.
2174 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2176 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
2178 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
2179 determining libs to remove.
2180 (postclean): Add soversions.mk.
2181 * Makerules (common-mostlyclean): Add tests-static and generated
2184 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
2186 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
2188 (__strncat_g): Add i686 specific code.
2190 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2192 * manual/install.texi (Reporting Bugs): Ask to include section
2195 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2197 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
2198 guard against direct inclusion.
2200 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2202 Rework support for libc_nonshared.a:
2203 * Makeconfig (object-suffixes-for-libc): New variable.
2204 * Rules: Remove handling of static-only and shared-only routines.
2205 * Makerules: Handle them here instead. Use
2206 object-suffixes-for-libc instead of object-suffixes when dealing
2208 (object-suffixes-for-rules): Remove variable.
2209 (elide-routines.oS): Elide all routines except static-only
2211 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
2213 (installed-libcs): Remove special case for .oS.
2216 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2218 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
2219 do-tst-rpmatch): New targets.
2221 (install-locales): Ignore comment lines.
2223 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2225 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
2226 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
2227 ($(objpfx)rtldtbl.h): Likewise.
2228 (CPPFLAGS-dl-load.c): Fix reference to object directory.
2230 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
2232 * manual/string.texi (Finding Tokens in a String): Extend strsep
2233 description and correct example.
2235 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2237 * manual/socket.texi: Remove misguided explicit line breaks and
2238 fix the formatting problem instead by reformulating the
2240 * manual/filesys.texi: Likewise.
2241 * manual/conf.texi: Likewise. Don't typeset table with index
2242 fonts, that looks worse than a minimally overfull line.
2244 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2246 * nscd/Makefile (nscd-modules): Move definition outside of
2249 * pwd/Makefile: Use have-thread-library to test for thread
2252 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2254 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
2256 * iconvdata/uhc.c (gconv): Remove unused variable idx.
2258 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
2260 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
2262 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
2264 * nss/getXXent_r.c: Correctly handle failing setXXent function.
2266 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
2267 Reported by Andreas Jaeger.
2269 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
2271 * elf/Makefile: Fix typo.
2272 (distribute): Add dl-librecon.h.
2273 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
2274 * elf/ldd.sh.in: Likewise.
2275 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
2276 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
2277 Use strsep correctly.
2278 (process_envvars): Allow platform specific variables.
2279 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
2280 (_dl_load_cache_lookup): Test cache IDs found against
2281 _dl_correct_cache_id.
2282 * sysdeps/generic/dl-librecon.h: New file.
2283 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
2285 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
2287 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
2289 * config.make.in (ldd-rewrite-script): New variable.
2290 * configure.in: Substitute ldd-rewrite-script.
2291 * elf/Makefile: Rewrite rules to generate ldd script.
2292 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
2293 * elf/ldd.sh.in: Likewise.
2294 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
2295 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
2296 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
2297 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
2298 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
2300 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
2302 * inet/rcmd.c (iruserok): Remain setuid to the local user
2303 while .rhosts is actually read, to make .rhosts-over-NFS work
2304 (PR libc/524). Use iruserfopen() for security checks on both
2305 hosts.equiv and .rhosts. General cleanup.
2306 (iruserfopen): New function, performs careful checking on
2307 hosts.equiv/.rhosts files. Disallows all the old forbidden
2308 stuff plus hard links to files.
2310 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
2312 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
2314 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
2316 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
2318 * sysdeps/i386/i486/bits/string.h: Fix typos.
2320 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
2322 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
2325 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
2327 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
2328 Added. Used by libm.so on alpha.
2330 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2332 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
2335 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
2337 * Makerules (object-suffixes-for-rules): Add .oS only for
2338 building shared library.
2339 Add ranlib rule for nonshared library.
2342 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
2343 into for shared library only.
2344 (CPPFLAGS-.oS): Add -DPIC.
2345 (libtypes): Use $(object-suffixes-for-rules) instead of
2348 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
2350 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
2351 and install lddlibc4.
2353 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
2355 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
2357 * iconvdata/gaptab.pl: Likewise.
2359 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
2361 * Rules: Allow Makefiles to specify test-static for tests which
2362 cannot be linked dynamically.
2363 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
2366 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
2368 * misc/error.c: Pretty print.
2370 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2372 * Makerules (libc_nonshared-name): Remove variable.
2373 (installed-libcs): Use libc-name instead.
2374 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
2377 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
2378 libc.a. Remove explicit reference to dynamic linker.
2380 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2382 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
2384 * iconv/iconv_prog.c: Correctly test for write failure.
2385 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
2386 * iconvdata/gconv-modules: Likewise.
2387 * iconvdata/euckr.c: New file.
2388 * iconvdata/johab.c: New file.
2389 * iconvdata/ksc5601.c: New file.
2390 * iconvdata/ksc5601.h: New file.
2391 * iconvdata/uhc.c: New file.
2392 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
2394 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
2395 * stdio/fopen.c: Correct handling of 'x' flag.
2396 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
2398 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2400 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
2401 * sunrpc/rpcsvc/key_prot.x: Likewise.
2402 * sunrpc/key_prot.c: Likewise.
2404 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
2406 * sysdeps/i386/bits/string.h: Correct things which never worked.
2407 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
2408 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2410 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
2412 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
2413 defined. Reported by Thorsten Kukuk.
2415 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
2417 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
2419 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2421 * manual/install.texi (Supported Configurations): Add
2422 arm-linuxaout and arm-none.
2424 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2426 * version.h (VERSION): Bump to 2.0.93.
2428 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
2430 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
2432 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
2434 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
2435 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
2437 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2439 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
2441 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2443 Put the static-only routines in a separate library.
2444 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
2446 (all-object-suffixes): Add .oS.
2447 * Makerules (libc_static-name): New variable.
2448 (installed-libcs): Add libc_nonshared.a.
2449 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
2450 (object-suffixes-for-rules): New variable. Use it instead of
2451 object-suffixes for generating compilation rules.
2452 (rmobjs): Also remove *.oS.
2453 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
2454 ($(objpfx)stamp.oS): New target.
2456 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
2458 * Makefile (FAQ): Automatically check in regenerated FAQ.
2460 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
2462 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
2464 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
2466 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
2467 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2469 * sysdeps/generic/stub_warning: Removed.
2471 * Makefile (distribute): Add include/des.h.
2473 * manual/Makefile (distribute): Change dir-add.texi to
2476 * glibcbug.in: Create files safely when mktemp is not available.
2478 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
2479 Patch by a sun <asun@saul1.u.washington.edu>.
2481 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2483 * libc.map: Rename getname to getnetname.
2485 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
2487 * manual/maint.texi: Use supported platform in examples.
2489 * manual/install.texi: Document some installation tips.
2491 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
2493 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
2494 Fix a bug so that it returns an error if a numeric parameter is
2495 unset and WRDE_UNDEF is set.
2496 Patch by Andreas Schwab and Tim Waugh.
2497 * posix/wordexp-test.c: Add new new test.
2499 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
2501 * posix/regex.c (regex_compile): Last patch wasn't entirely
2502 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
2504 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2506 * manual/filesys.texi (Scanning Directory Content): Fix typo.
2508 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2510 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
2511 clobbered registers don't appear as operands.
2513 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2515 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
2518 * posix/regex.c (regex_compile): Don't allow non-alphabet
2519 characters in character set name.
2521 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
2523 * posix/wordexp.c (w_newword): New function.
2524 (do_parse_glob): New function.
2525 (parse_glob): Use do_parse_glob. Now handles the case where a
2526 variable expansion causes a field-split.
2527 (wordexp): Use w_newword.
2528 (parse_arith): Likewise.
2529 (exec_comm): Likewise.
2530 (parse_comm): Likewise.
2531 (parse_param): Likewise.
2532 (parse_backtick): Likewise.
2534 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
2536 * posix/wordexp-tst.sh: Another test.
2538 * posix/wordexp-test.c: Two new tests.
2540 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
2541 directly (the code using realloc was buggy).
2542 (parse_param): Fix typo in comment.
2544 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2546 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
2548 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2550 * libc.map: Add more rpc auth functions/variables.
2552 * nscd/nscd.c: Add -g option to argp options.
2554 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2556 * configure.in: Be prepared for gcc 2.9.10 and up.
2557 * configure.in: Add missing disabling of quote characters in
2558 compiler version check. Reported by HJ Lu.
2560 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2562 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
2564 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2566 * intl/locale.alias: Fix spelling of romanian.
2568 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
2569 (distribute): Remove des.h.
2570 * include/des.h: New file.
2571 * sunrpc/des.h: Moved to ...
2572 * sunrpc/rpc/rpc_des.h: ...here.
2574 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
2576 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
2579 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2581 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
2582 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
2584 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
2586 * elf/ldsodesf.h: New file.
2587 * elf/Makefile (distribute): Add ldsodefs.h.
2588 * elf/link.h: Separate internal information in exter header.
2589 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
2590 * elf/dl-minimal.c: Likewise.
2591 * sysdeps/generic/dl-sysdep.c: Likewise.
2592 * elf/sprof.c: Likewise.
2593 * elf/dlsym.c: Likewise.
2594 * elf/dlvsym.c: Likewise.
2595 * elf/dlerror.c: Likewise.
2596 * elf/dladdr.c: Likewise.
2597 * elf/dlclose.c: Likewise.
2598 * elf/dlopen.c: Likewise.
2599 * elf/dl-addr.c: Likewise.
2600 * elf/dl-close.c: Likewise.
2601 * elf/dl-debug.c: Likewise.
2602 * elf/dl-deps.c: Likewise.
2603 * elf/dl-error.c: Likewise.
2604 * elf/dl-fini.c: Likewise.
2605 * elf/dl-init.c: Likewise.
2606 * elf/dl-load.c: Likewise.
2607 * elf/dl-lookup.c: Likewise.
2608 * elf/dl-object.c: Likewise.
2609 * elf/dl-open.c: Likewise.
2610 * elf/dl-profile.c: Likewise.
2611 * elf/dl-reloc.c: Likewise.
2612 * elf/dl-runtime.c: Likewise.
2613 * elf/dl-support.c: Likewise.
2614 * elf/dl-symbol.c: Likewise.
2615 * elf/dl-version.c: Likewise.
2616 * sysdeps/generic/dl-cache.c: Likewise.
2617 * sysdeps/generic/libc-start.c: Likewise.
2618 * iconv/gconv_dl.c: Likewise.
2619 * nss/nsswitch.c: Likewise.
2621 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
2623 * manual/nss.texi: The database is not called network but networks.
2624 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2626 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2628 * configure.in: Correct test for compiler version.
2629 Check that LD_LIBRARY_PATH doesn't contain current path.
2631 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
2633 * elf/dl-close.c (_dl_close): Fix byte count while removing
2634 the shared object from the global scope list and optimize
2637 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2639 * manual/filesys.texi (Scanning Directory Content): Add missing
2641 (Scanning Directory Content): Fix text.
2643 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2645 * manual/memory.texi (Heap Consistency Checking): Add paragraph
2646 explaining difference of -lmcheck and MALLOC_CHECK_.
2648 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2650 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
2653 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2655 * test-skeleton.c (main): Fix test for exit signal.
2657 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2659 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
2661 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2663 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
2666 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2668 * libc.map: Export __strtok_r.
2670 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
2672 * posix/regex.c (re_compile_fastmap): Remove unused variable
2673 num_regs and adjust comment.
2674 Patch by Jim Meyering <meyering@ascend.com>.
2676 * math/math.h (M_*l): Extend long double constants to be usable
2677 for 128 bit floats. Patch by Richard Henderson.
2679 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2681 * sysdeps/m68k/m68020/wordcopy.S: New file.
2683 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
2685 * posix/wordexp.c: Rewrite parse_param.
2686 Patch by Tim Waugh and Andreas Schwab.
2688 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
2690 * Rules: Update timestamps on empty object files.
2692 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
2694 * manual/filesys.texi (Scanning Directory Content): Add description
2695 of 64 bits scandir function and friends.
2697 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2699 * glibcbug.in: Use mktemp to generate unique file name for
2702 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
2703 ptsname_r. Use cast for execve call.
2705 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
2707 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
2708 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
2709 * io/sys/statvfs.h: New file.
2710 * sysdeps/generic/fstatvfs.h: New file.
2711 * sysdeps/generic/statvfs.h: New file.
2712 * sysdeps/generic/fstatvfs64.h: New file.
2713 * sysdeps/generic/statvfs64.h: New file.
2714 * sysdeps/generic/bits/statvfs.h: New file.
2715 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
2716 * sysdeps/unix/sysv/linux/statvfs.c: New file.
2717 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
2719 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
2720 and f_ffree elements.
2722 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
2723 mount options in enum.
2725 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2727 * configure.in: Check for recent egcs/gcc.
2729 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2731 * libc.map: Add alphasort64, scandir64, versionsort64.
2732 * dirent/Makefile (routines): Add scandir64, alphasort64, and
2734 * dirent/alphasort64.c: New file.
2735 * dirent/scandir64.c: New file.
2736 * dirent/versionsort64.c: New file.
2737 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
2739 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
2740 old name weak alias.
2741 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2743 * dirent/alphasort.c: Use strcoll instead of strcmp.
2745 * dirent/scandir.c: Optimize a bit.
2747 * dirent/versionsort.c: Pretty print.
2749 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2751 * string/string.h: Add prototype for __strtok_r.
2753 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2755 * posix/Makefile: Fix typo in last change.
2757 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
2759 * dirent/dirent.h (scandir): Make argument of select function const.
2760 * dirent/scandir.c (scandir): Likewise.
2761 Reported by David.Faure@insa-lyon.fr [PR libc/512].
2763 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
2765 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
2767 * sysdeps/i386/strtok_r.c: Likewise.
2769 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
2770 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
2771 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
2772 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
2773 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
2774 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
2776 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2778 * intl/localealias.c: Remove unneeded define for strdup.
2780 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
2782 * manual/argp.texi: Adjust for better TeX output.
2783 * manual/arith.texi: Likewise.
2784 * manual/conf.texi: Likewise.
2785 * manual/filesys.texi: Likewise.
2786 * manual/header.texi: Likewise.
2787 * manual/lgpl.texinfo: Likewise.
2788 * manual/math.texi: Likewise.
2789 * manual/message.texi: Likewise.
2790 * manual/pattern.texi: Likewise.
2791 * manual/process.texi: Likewise.
2792 * manual/signal.texi: Likewise.
2793 * manual/socket.texi: Likewise.
2794 * manual/startup.texi: Likewise.
2795 * manual/stdio.texi: Likewise.
2796 * manual/terminal.texi: Likewise.
2797 * manual/examples/rprintf.c: Likewise.
2798 * manual/examples/testopt.c: Likewise.
2799 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2801 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
2803 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
2804 parameter name after seeing a digit if it's enclosed in braces.
2806 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2808 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
2810 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2812 * manual/memory.texi (Heap Consistency Checking): Document
2813 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
2815 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
2817 * manual/Makefile: Add missing rules.
2819 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2821 * timezone/Makefile (generated): Define to remove all stamp files.
2823 * sysdeps/generic/strsep.c: Also undefine __strsep.
2825 * string/strdup.c: Undefine __strdup and strdup first.
2826 * string/strndup.c: Likewise.
2828 * string/bits/string2.h: Correct strtok_r and strsep.
2829 Add strndup optimization.
2831 * sysdeps/generic/strsep.c: Little optimization.
2833 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
2835 * string/bits/string2.h: Add optimization for strdup.
2836 Always define __strsep and __strtok_r and make real names available
2837 when feature select macros are defined.
2839 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2841 * manual/install.texi (Installation): Use i486-linux as example
2842 instead of the unsupported sunos4.
2843 (Reporting Bugs): Mention glibcbug script.
2844 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
2846 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2848 * posix/wordexp-tst.sh: Make portable. Add more tests.
2850 * posix/Makefile (do-globtest do-wordexp-test): New targets.
2852 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
2854 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
2855 * sysdeps/generic/libc-start.c: ...here, replacing former content.
2857 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
2860 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
2862 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2864 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
2865 in enumerator for strict standard compliance.
2866 * sysdeps/generic/bits/resource.h: Likewise.
2868 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
2870 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
2871 (PLTJMP): New macro.
2873 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
2874 longjmp() when floating point enabled.
2875 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
2876 * sysdeps/arm/__longjmp.S: Remove floating point code.
2877 * sysdeps/arm/setjmp.S: Likewise.
2879 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
2880 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2882 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
2885 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
2888 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
2890 Based on patches from Pat Beirne and Scott Bambrough:
2892 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
2894 * sysdeps/arm/bits/fenv.h: New file.
2896 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
2897 * sysdeps/arm/elf/setjmp.S: Likewise.
2898 * sysdeps/arm/elf/start.S: Likewise.
2899 * sysdeps/arm/init-first.c: Likewise.
2900 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
2901 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
2902 comment about floating point to reflect current reality.
2904 * sysdeps/unix/arm/brk.S: Support PIC.
2905 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
2907 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
2908 return; call syscall_error through PLT.
2909 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
2911 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
2913 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
2914 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
2915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
2917 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2919 * dirent/list.c (test): Return error value.
2920 (main): Exit with error value.
2922 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
2924 * Makefile (distribute): Add test-skeleton.c.
2925 * test-skeleton.c: New file.
2926 * dirent/Makefile (tests): Add opendir-tst1.
2927 * dirent/opendir-tst1.c: New file.
2929 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
2931 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
2932 Optimize memory handling.
2933 * sysdeps/unix/closedir.c: Optmize memory handling.
2935 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
2937 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
2938 handling. Optimize a bit.
2940 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2942 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
2943 (parse_param): Fold in Andreas' fixes to do with when the end of
2944 the parameter name has been reached, and quoting inside ${...}.
2945 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
2948 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
2950 * manual/maint.texi: Split out installation and contribution
2951 sections to their own appendices. Misc cleanups.
2952 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
2953 * manual/contrib.texi: New file.
2954 * manual/libc.texinfo: Pull in new appendices.
2955 * manual/header.texi: Correct node pointer.
2957 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2959 * manual/process.texi (Process Completion): Clarify return value
2960 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
2962 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2964 * posix/wordexp-test.c: Add more tests.
2965 (testit): Fix logic.
2967 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
2968 /dev/null instead of closing it, close pipe. Always chop off all
2969 trailing newlines. Kill and reap child before returning error.
2970 (w_addword, parse_glob): Fix memory leak.
2971 (wordexp): Fix dangling pointer problem.
2973 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
2975 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
2977 * posix/wordexp-test.c (main): Fix little thinkos and typos.
2979 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
2980 directory index by only the language.
2982 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
2984 * posix/wordexp-tst.sh: Store test results in the
2985 ${common_objpfx}posix directory.
2987 * posix/wordexp-test.c: Remove temporary directory afterwards.
2989 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2991 * libc.map: Export internal versions of cancelable functions.
2993 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2995 * Makerules (MAKEFLAGS): Append `r'.
2997 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2999 * Makeconfig: Define have-thread-library, shared-thread-library
3000 and static-thread-library if a thread library is available. Don't
3002 * nscd/Makefile: Compile nscd if have-thread-library. Rename
3003 nscd-routines to nscd-modules. Use shared-thread-library and
3004 static-thread-library in dependencies.
3005 * rt/Makefile: Only compile librt if have-thread-library is
3007 * Makefile (subdirs): Always include rt subdir.
3009 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3011 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
3013 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
3015 * configure.in: Recognize variations for 32 MIPS processors.
3016 Don't assume ELF systems always have .weak, test for .weakext.
3018 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
3020 * configure.in: Irix6 is an ELF platform.
3022 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
3024 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
3025 unmapping the last loaded segment.
3027 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
3029 * configure.in: Set base_os for Irix6.
3030 Correct test for .weakext.
3032 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3034 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
3035 (new_line) to _dl_debug_message call.
3037 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
3039 * posix/wordexp.c (parse_param): Perform field-splitting after
3040 expanding positional parameter.
3042 * posix/wordexp-tst.sh: Test that field-splitting is performed
3043 after expanding positional parameter.
3045 * posix/wordexp.c (parse_param): Fixed memory leak in
3046 field-splitting after parameter expansion.
3048 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
3050 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
3051 (get_toplvl_escape): Correctly terminate loop at EOF.
3052 Patch by Cristian Gafton <gafton@redhat.com>.
3054 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
3056 * string/tester.c (test_strpbrk): Add more strpbrk tests.
3057 (test_strsep): Likewise. Correct horrible bugs.
3059 * string/bits/string2.h (strcspn): Optimize also reject string of
3062 (strpbrk): Likewise.
3063 (strsep): Likewise. Correct bug with successive separators and
3064 separators at the end of the string.
3065 * sysdeps/generic/strsep.c: Correct bug with successive separators
3066 and separators at the end of the string.
3068 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
3070 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
3071 etc) now handled, as well as $$ (pid).
3073 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
3074 (distribute): Add wordexp-tst.sh.
3076 * posix/wordexp-tst.sh: New file.
3078 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
3079 number of positional parameters. Renamed substitute_length to
3081 Don't free(env) is env is NULL.
3083 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
3085 * libc.map: Add pthread_attr_init to GLIBC_2.1.
3087 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
3089 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
3090 for output file replacing gmon.out.
3091 Patch by Dean Gaudet <dgaudet@arctic.org>.
3093 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3095 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
3096 up namespace. Optimize finding end of line.
3098 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3100 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
3101 securely. Optimized.
3102 (process_dl_debug): Add ':' to list of separators. Optimized.
3104 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3106 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3107 isless, islessequal, islessgreater, isunordered): Return zero or
3110 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
3112 * posix/wordexp-test.c: More tests.
3113 (main): Set up arena for pathname expansion tests (in a temporary
3115 (testit): Don't check word count or word vector if return value is
3118 * posix/wordexp.c (exec_comm): Always chop off terminating
3119 linefeed (just like bash does).
3120 (parse_param): Change lots of occurrences of "if (!*env)" to "if
3122 (parse_param): For assignment inside parameter expansion, use all
3123 expanded words in assignment rather than just the first.
3124 (parse_param): Corrected return value for parameter expansion of
3125 an unset variable when WRDE_UNDEF is in effect.
3126 (parse_dollars): Don't field-split if quoted.
3127 (wordexp): Opening brace character isn't allowed unquoted.
3129 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3131 * elf/dlerror.c: Fix concurrency problems with error string and
3134 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
3135 filter/auxiliary are being loaded.
3137 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
3139 * elf/dlerror.c (last_object_name): Removed.
3140 (dlerror): Don't use last_object_name.
3141 (_dl_error_run): Omit second argument to _dl_catch_error.
3142 * elf/dl-error.c (struct catch): Remove objname member.
3143 (_dl_signal_error): Construct string including objname when given.
3144 (_dl_catch_error): Remove objname handling.
3145 * elf/link.h (_dl_catch_error): Fix prototype and comment.
3146 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
3147 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
3148 * nss/nsswitch.c (nss_dlerror_run): Likewise.
3149 * iconv/gconv_dl.c (dlerror_run): Likewise.
3150 [Corrects PR libc/501].
3152 1998-03-12 Matthias Urlichs <smurf@noris.de>
3154 * nscd/nscd.c: Ignore SIGPIPE.
3156 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3158 * nscd/nscd_getgr_r.c: Use __ protected names.
3159 * nscd/nscd_getpw_r.c: Likewise.
3161 1998-03-12 Matthias Urlichs <smurf@noris.de>
3163 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
3164 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
3165 null bytes are not transmitted.
3167 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3169 * powerpc/syscalls.list: Correct typo.
3170 * alpha/syscalls.list: Likewise.
3171 * mips/syscalls.list: Likewise.
3173 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
3175 * socket/sys/socket.h: Add prototype for __socket.
3177 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3179 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
3181 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
3184 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
3186 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
3189 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
3190 AF_* and PF_* constants.
3192 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
3194 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
3196 * elf/rtld.c: Update help message.
3197 Install link maps for preloaded objects using main_map as loader.
3199 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
3200 * elf/dl-profile.c: Likewise.
3202 * elf/dlsym.c: Little optimization.
3203 * elf/dlvsym.c: Likewise.
3205 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
3207 * posix/wordexp-test.c: Move test for parameter list at the very
3210 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3212 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
3213 WRDE_REUSE flag is set.
3214 (parse_param): Allow `*', `@', and numbers in parameter names.
3215 (parse_dollars): Differentiate between arithmetic expansion and a
3216 command substitution that starts immediately with a sub-shell
3217 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
3218 (parse_param): Memory allocated with __alloca in a block was
3219 referenced outside that block. Adjusted to use malloc/free.
3220 (parse_param): Adjusted field-splitting algorithm so that there is
3221 not necessarily a field split at the end of a parameter expansion.
3223 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
3225 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
3226 don't free words that have already been allocated.
3227 (parse_param): A dollar sign on its own will never have a pattern
3228 associated with it (like "${HOME%%/}" has), so don't try to free it.
3229 (parse_glob): Attempt to glob when an unquoted `[' is found
3230 (rather than an unquoted '{' (!)). Also for unquoted '?'.
3231 (parse_glob): Sorted out quoting in a glob-able word.
3232 (parse_param): Added $* and $@ handling.
3234 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
3236 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
3239 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3241 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
3244 1998-03-12 Matthias Urlichs <smurf@noris.de>
3246 * elf/dl-misc.c: Default for debug output should be stderr.
3247 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
3248 * elf/dl-lookup.c: reference_name may be NULL or empty.
3250 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3252 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
3254 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
3256 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
3258 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
3260 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3262 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
3263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
3265 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3267 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
3270 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3272 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
3275 * misc/syslog.c (vsyslog): Don't try to send if not connected to
3277 (closelog_internal): Don't do anything if not connected.
3279 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
3281 * libc.map: Add _dl_debug_message.
3282 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
3284 * elf/fini.c: Correctly use new _dl_debug_message function.
3285 * elf/init.c: Likewise.
3286 * elf/dl-lookup.c: Likewise.
3287 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3288 * elf/dl-load.c: Likewise. Add more debugging prints.
3289 * elf/dl-reloc.c: Likewise.
3290 * elf/dl-version.c: Likewise.
3291 * elf/dl-support.c: Add variables for debugging.
3292 * elf/rtld.c: Likewise. Recognize new debug options.
3293 * elf/link.h: Declare new variables.
3295 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
3297 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3299 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
3300 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
3302 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
3304 * posix/wordexp-test.c (command_line_test): New function to allow
3305 testing of specific cases from the command-line.
3307 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
3309 * elf/dl-init.c (_dl_init_next): Print nicer messages.
3310 * elf/dl-fini.c (_dl_fini): Likewise.
3311 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
3313 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
3314 symbol in debug message.
3315 (_dl_lookup_versioned_symbol_skip): Likewise.
3317 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
3319 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
3320 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3321 * manual/filesys/texi: Document this.
3323 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
3325 * manual/filesys.texi: Document the change below.
3327 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3329 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
3330 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
3332 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
3334 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
3335 instead scope. If debugging display information about symbol
3337 (_dl_lookup_symbol): Call do_lookup with correct parameters.
3338 (_dl_lookup_symbol_skip): Likewise.
3339 (_dl_lookup_versioned_symbol): Likewise.
3340 (_dl_lookup_versioned_symbol_skip): Likewise.
3341 * elf/dl-support.c: Define _dl_debug_symbols.
3342 * elf/link.h: Add declaration for _dl_debug_symbols.
3343 * elf/rtld.c: Define _dl_debug_symbols.
3344 (process_dl_debug): Recognize symbols option.
3346 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
3348 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
3350 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
3351 with correct parameters.
3352 [!PIC]: Initialize __libc_multiple_libcs.
3354 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
3356 * elf/dl-support.c (_dl_debug_bindings): Add definition.
3357 * elf/rtld.c (_dl_debug_bindings): Add definition.
3358 (process_dl_debug): Recognize bindings option. Update help message.
3359 * elf/link.h (struct link_map): Add l_versyms member.
3360 (_dl_debug_bindings): Add declaration.
3361 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
3362 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
3364 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
3365 (sym_val): Remove a member, add m as link_map.
3366 (do_lookup): Return result appropriately.
3367 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
3368 Call do_lookup correctly.
3369 (_dl_lookup_symbol_skip): Likewise.
3370 (_dl_lookup_versioned_symbol): Likewise.
3371 (_dl_lookup_versioned_symbol_skip): Likewise.
3373 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
3375 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
3376 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
3378 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
3379 * libc.map: Add chown to GLIBC_2.1.
3380 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
3381 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
3383 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3385 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
3387 * sysdeps/alpha/ffs.c: Likewise.
3388 * sysdeps/am29k/ffs.c: Likewise.
3389 * sysdeps/i386/ffs.c: Likewise.
3390 * sysdeps/i960/ffs.c: Likewise.
3391 * sysdeps/m68k/ffs.c: Likewise.
3392 * sysdeps/m88k/ffs.c: Likewise.
3393 * sysdeps/powerpc/ffs.c: Likewise.
3394 * sysdeps/rs6000/ffs.c: Likewise.
3395 * sysdeps/vax/ffs.s: Likewise.
3396 * string/string.h: Declare __ffs.
3397 * libc.map: Export it.
3398 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
3399 __builtin_ffs, which is not guaranteed to be namespace clean.
3401 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3403 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
3404 table, which is much more likely to exist than debugging symbols.
3405 (printsym): Remove const.
3406 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
3409 * libc.map: Export __profile_frequency, used by elf/sprof, to
3410 avoid infinite recursion during startup.
3412 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3414 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
3417 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
3419 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
3421 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
3423 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3425 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
3426 LD_PRELOAD, and LD_VERBOSE.
3427 (dl_main): Use global variables set by process_envvars instead of
3429 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
3430 LD_LIBRARY_PATH value, this comes with the parameter.
3431 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
3432 ("LD_LIBRARY_PATH") to _dl_init_paths.
3434 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
3436 * elf/rtld.c (dl_main): Delay initialization of path structure if
3437 the dynamically linker is invoked implicitly until we read the
3440 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
3442 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
3444 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3446 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
3449 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
3451 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
3453 * Makeconfig (nisobjdir): Set to path to nis directory.
3454 (rpath-link): Add nisobjdir.
3455 Patch by Sven Verdoolaege <skimo@kotnet.org>.
3457 * elf/Makefile: Pretty print.
3458 * elf/dl-lookup.c: Include unistd.h.
3459 * elf/dl-runtime.c: Likewise.
3461 * localedata/Makefile (test-srcs): Add tst-rpmatch.
3462 (distribute): Add tst-rpmatch.sh.
3463 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
3465 New tests for rpmatch function by
3466 Jochen Hein <jochen.hein@delphi.central.de>.
3467 * localedata/tst-rpmatch.c: New file.
3468 * localedata/tst-rpmatch.sh: New file.
3470 * localedata/locales/de_DE: Correct yesexpr and noexpr.
3471 * localedata/locales/de_AT: Likewise.
3473 * posix/getopt.c: Update contact address.
3474 * posix/getopt1.c: Pretty print.
3476 * sysdeps/generic/libc-start.c: Do most of the initialization now
3477 here instead of in start.S.
3478 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3479 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
3481 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
3482 profil_counter to be public.
3484 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
3486 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
3487 (parse_param): Coded parameter length expansion (${#var}).
3488 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
3489 (parse_param): Cleaned up (fixed) error handling.
3491 * posix/wordexp-test.c: IFS now includes non-whitespace character
3492 (comma). Added more tests.
3494 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
3496 * elf/link.h: Fix typos.
3497 Reported by Andreas Jaeger.
3499 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
3500 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
3502 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
3504 * argp/argp-help.c: Remove last bits of using gettext instead of
3507 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
3509 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
3511 * csu/Makefile (routines): Add libc-start.
3512 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
3513 * elf/dl-lookup.c: Likewise.
3514 * elf/dl-version.c: Likewise.
3515 * sysdeps/i386/dl-machine.h: Likewise.
3516 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
3517 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
3518 _dl_sysdep_message macros which use _dl_sysdep_output.
3519 * elf/dl-fini.c: Write out which destructor is called while debugging.
3520 * elf/dl-init.c: Likewise for constructor.
3521 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
3522 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
3523 _dl_sysdep_message. Add _dl_sysdep_output.
3524 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
3525 this file can be opened.
3526 For LD_DEBUG=libs also set _dl_debug_impcalls.
3527 * sysdeps/generic/dl-cache.c: Include unistd.h.
3528 * sysdeps/generic/libc-start.c: New file.
3529 * sysdeps/unix/sysv/linux/libc-start.c: New file.
3530 * sysdeps/i386/elf/start.S: Don't call main directly, call
3531 __libc_start_main instead.
3533 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
3535 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
3537 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
3539 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
3541 * argp/argp.h (struct argp): Add new field domain.
3542 * argp/argp-help.c: Change all gettext calls to dgettext and use
3543 domain field from appropriate argp in call.
3544 * argp/argp-parse.c: Likewise.
3546 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
3548 * posix/wordexp-test.c: Change testsuite so that it can run even
3551 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3553 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
3555 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3557 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3558 Don't store into global errno if we already store through
3560 * sysdeps/unix/i386/sysdep.S: Likewise.
3561 * sysdeps/unix/alpha/sysdep.S: Likewise.
3562 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3563 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
3565 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
3568 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3570 * sysdeps/generic/sysdep.h (L): Remove definition.
3571 * sysdeps/i386/sysdep.h (L): Define it here instead.
3573 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3575 * nis/nis_call.c (__do_niscall): Safe and reset errno.
3577 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
3579 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3581 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
3582 declaration style to avoid warnings.
3584 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
3586 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
3589 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3591 * posix/Makefile (tests): Add wordexp-test.
3592 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
3593 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
3595 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
3597 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
3600 * elf/link.h (struct r_search_path_elem): Add two new field for
3602 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
3603 variable accordingly.
3604 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
3605 is considered next along with information about load paths.
3606 * sysdeps/generic/dl-cache.c: Likewise.
3607 * elf/dl-support.c: Define _dl_debug_libs.
3608 * elf/genrtldtbl.awk: Add initializers for two new field in
3609 struct r_search_path_elem.
3611 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3613 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
3614 * sysdeps/m68k/lshift.S: Likewise.
3615 * sysdeps/m68k/rshift.S: Likewise.
3616 * sysdeps/m68k/sub_n.S: Likewise.
3617 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
3618 * sysdeps/m68k/m68020/mul_1.S: Likewise.
3619 * sysdeps/m68k/m68020/submul_1.S: Likewise.
3621 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
3622 [_LIBC_REENTRANT]: Don't store into global errno.
3624 * sysdeps/m68k/sysdep.h: New file.
3625 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
3626 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
3627 (DO_CALL): Change to expect syscall name as argument.
3628 (PSEUDO): Pass syscall_name to DO_CALL.
3629 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
3632 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3634 * elf/rtld.c: Speed up processing of environment variables. Do
3635 only one run on the environment by avoiding to call getenv.
3636 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
3637 function. Used by patch above.
3639 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3641 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
3643 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
3644 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
3645 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
3647 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
3649 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
3650 module cannot be found. Reported by Andreas Jaeger.
3652 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3654 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
3655 on platforms which default to unsigned chars.
3656 * nscd/nscd_getpw_r.c: Likewise.
3657 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
3660 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3662 * elf/Makefile (install-bin): Change = to += for sprof to install
3665 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
3667 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
3669 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
3671 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
3673 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3675 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
3676 that a failure to connect to nscd doesn't change errno.
3678 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3680 * manual/maint.texi (Reporting Bugs): Change
3681 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
3683 * locale/iso-4217.def: Likewise
3685 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
3687 * manual/texinfo.tex: Updated.
3689 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3691 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
3693 * sysdeps/posix/pathconf.c: Likewise.
3694 * posix/getconf.c: Print `undefined' if pathconf returns -1
3695 without setting errno.
3697 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
3699 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
3701 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
3702 Patches by Elliot Lee <sopwith@cuc.edu>.
3704 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
3706 * elf/link.h (struct link_map): Add new field l_reloc_result.
3707 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
3708 of relocation for the object to be profiled.
3709 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
3711 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
3713 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
3714 contains a result from a previous run use this instead of computing
3716 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
3718 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3720 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
3721 offsets into the GOT.
3722 (RTLD_START): Likewise.
3724 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
3726 * elf/sprof.c: Cleanup a bit.
3728 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
3730 * sysdeps/generic/sysdep.h (L): New. Define.
3732 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
3734 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
3736 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
3737 to have only one exit point for functions.
3738 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3739 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
3740 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
3741 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3742 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3744 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3746 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
3747 reset errno so that errno isn't set to ENOSYS in the first call.
3748 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
3749 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3750 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3751 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3753 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
3755 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
3756 * sysdeps/i386/addmul_1.S: Likewise.
3757 * sysdeps/i386/lshift.S: Likewise.
3758 * sysdeps/i386/mul_1.S: Likewise.
3759 * sysdeps/i386/rshift.S: Likewise.
3760 * sysdeps/i386/sub_n.S: Likewise.
3761 * sysdeps/i386/submul_1.S: Likewise.
3762 * sysdeps/i386/i586/add_n.S: Likewise.
3763 * sysdeps/i386/i586/addmul_1.S: Likewise.
3764 * sysdeps/i386/i586/lshift.S: Likewise.
3765 * sysdeps/i386/i586/mul_1.S: Likewise.
3766 * sysdeps/i386/i586/rshift.S: Likewise.
3767 * sysdeps/i386/i586/sub_n.S: Likewise.
3768 * sysdeps/i386/i586/submul_1.S: Likewise.
3770 * sysdeps/i386/sysdep.h: Extend last change.
3772 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
3773 to have only one exit point for functions.
3775 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3777 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
3780 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
3782 * Makerules: Generate libc.so with absolute paths for the used
3785 * config.make.in: Add MAKEINFO definition.
3787 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3789 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
3790 (ENTRY): Use STABS_FUN.
3791 (END): Use STABS_FUN_END.
3792 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
3794 * elf/Makefile: Add rules to build sprof program.
3795 * elf/sprof.c: New file.
3797 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3799 * misc/syslog.c (openlog_internal): Insert missing closing brace.
3801 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3803 * configure.in: Check for working msgfmt version (from GNU gettext
3806 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3808 * configure.in: Avoid //s in sysdirs.
3809 Patch by Roland McGrath.
3811 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
3813 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
3815 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
3816 setting _dl_global_scope for RTLD_GLOBAL.
3818 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3820 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
3821 possible lists of object-suffixes are taken care of.
3823 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
3825 * timezone/private.h: Update from tzcode1998c.
3826 * timezone/zic.c: Likewise.
3827 * timezone/antarctica: Updated from tzdata1998c.
3828 * timezone/asia: Likewise.
3829 * timezone/australasia: Likewise.
3830 * timezone/europe: Likewise.
3831 * timezone/southamerica: Likewise.
3833 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
3835 * posix/glob.c (glob_in_dir): Add support for cases insensitive
3836 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
3838 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
3840 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
3841 Changed type of TWO43, TWO52 from float to double.
3842 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
3843 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
3844 Changed type of TWO43 from float to double.
3845 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
3848 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
3850 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
3851 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
3852 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
3854 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
3856 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
3858 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
3859 Clean up random whitespace.
3860 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
3861 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
3862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
3863 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
3865 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
3867 * shlib-versions: Match alpha*.
3868 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
3869 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
3871 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
3872 Implement copysign* with and without __ prefix.
3873 Likewise for fabs; use builtin for gcc 2.8.
3877 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
3878 (R_SPARC*): Match current v9 ABI.
3880 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
3882 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
3883 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3884 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
3885 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
3886 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3887 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
3888 * sysdeps/unix/grantpt.c (argv): Fix consts.
3889 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
3890 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3892 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3894 * misc/syslog.c: Change to allow user the interpretation of the
3895 outcome even with syslog having no return value.
3897 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
3899 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
3900 that the number of program headers is >0 (which is wrong for the
3903 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3905 * Makefile (distribute): Add README.libm.
3907 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3909 * time/clocktest.c (main): Correct typo: "--" -> "==".
3911 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
3913 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
3915 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
3918 * math/libm.map (__atan2): Added.
3920 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3922 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
3923 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3925 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
3928 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3930 * manual/arith.texi (Old-style number conversion): Correct
3931 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3933 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3935 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
3936 but does not require it. Handle missing argv[] values gracefully.
3937 * posix/execl.c: Likewise.
3938 * posix/execle.c: Likewise.
3940 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3942 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
3944 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3946 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
3948 * libc.map: Add __adjtimex.
3950 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3952 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
3955 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
3957 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
3960 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
3962 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
3963 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
3965 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
3968 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
3970 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3971 Added adjtimex and old_adjtimex.
3973 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
3975 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
3976 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
3978 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
3979 symbols only for shared library.
3980 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3981 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3982 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3983 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3984 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3985 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3986 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3988 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
3989 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3990 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3991 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3992 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3993 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3994 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3995 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3997 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
4000 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
4002 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
4003 timex and __adjtimex, respectively.
4005 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
4007 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
4009 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
4011 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
4012 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
4014 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
4016 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
4018 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
4020 * Makefile.in: Disable built-in rules.
4022 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4024 * sysdeps/i386/fpu/t_exp.c: Move to ...
4025 * sysdeps/libm-i387/t_exp.c: ... here.
4027 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
4029 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
4030 from __exp2_deltatable.
4032 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
4034 * nis/ypclnt.c (yp_master): Check result of strdup.
4035 Patch by Thorsten Kukuk.
4037 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4039 * nis/ypclnt.c: Give clnt handle after error checking free, change
4040 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
4042 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
4044 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
4045 Patch by Joe Keane <jgk@jgk.org>.
4047 * misc/fstab.h (struct fstab): Change fs_type member to be const.
4048 * misc/fstab.c: Remove casts in fs_type assignments.
4050 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4052 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
4053 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
4054 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
4055 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
4056 * sysdeps/powerpc/bits/fenv.h: Likewise.
4057 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
4058 * sysdeps/generic/bits/fenv.h: Likewise.
4059 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4060 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
4061 * sysdeps/powerpc/test-arith.c (main): Likewise.
4063 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
4065 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
4066 the comparison macros.
4068 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
4070 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
4071 (__log2): Fixed return values.
4072 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
4074 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
4076 * math/math.h (isunordered): Rename local variables to ensure
4077 correct code. Reported by HJ Lu.
4079 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
4081 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
4082 isless, islessequal, islessgreater, isunordered): Fix syntax for
4083 fucompip instruction.
4084 (isless, islessequal): Fix logic.
4086 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4088 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
4089 (comparisons_test): New tests for comparison macros.
4091 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
4093 * Makeconfig: Filter out frame-pointer effecting options when
4094 compiling profiling or debugging code.
4095 * config.h.in (internal_function): Don't define here if PROF is
4097 * gmon/gmon.c (__moncontrol): Don't change state if already in error
4099 (__monstartup): If calloc fails set error state and mark array as
4101 (_mcleanup): Don't call write_gmon if in error state. Don't try
4102 to free array if not successfully allocated.
4104 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
4105 Include elf.h to get macro definitions.
4106 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
4108 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
4110 * elf/ldd.sh.in: Add compatibility for broken old shells.
4111 * elf/ldd.bash.in: Likewise.
4113 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
4115 * sunrpc/rpc_main.c (open_input): Check pipe return error.
4117 * time/clocktest.c (main): Check signal return error.
4119 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4121 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
4122 "/" and use do-install-program. Reported by Mark M. Kettenis.
4123 (subdir_install): Likewise.
4125 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4127 * sunrpc/rpc_sample.c: Fix typo.
4129 * nscd/connections.c: Use locale.
4130 * nscd/grpcache.c: Add debug messages, gidtbl should get the
4132 * nscd/nscd.c: Check if init functions fails.
4133 * nscd/nscd_conf.c: Allow disabling of group cache.
4134 * nscd/nscd_getgr_r.c: Fix return code if group not found.
4135 * nscd/pwdcache.c: Fix debug messages.
4137 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4139 * libc.map: Add __monstartup and _mcleanup for profiling support.
4141 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4143 * libc.map: Export __getpagesize, for binary compatibility with
4146 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4148 * posix/globtest.sh: Use --library-path instead of
4150 * localedata/sort-test.sh: Likewise.
4151 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
4153 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4155 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
4156 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
4157 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4159 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4160 kernel_sigaction): Define.
4161 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
4162 kernel_sigaction): Define.
4164 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4166 * math/libm-test.c: Change epsilons for libm-ieee754.
4168 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
4170 * sysdeps/i386/__longjmp.S: Fix race condition.
4171 Reported by Bruno Haible <haible@ilog.fr>.
4173 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
4175 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
4176 * iconvdata/8bit-gap.c: Likewise.
4177 * iconvdata/8bit-generic.c: Likewise.
4178 * iconvdata/iso6937.c: Likewise.
4179 * iconvdata/iso8859-1.c: Likewise.
4180 * iconvdata/sjis.c: Likewise.
4181 * iconvdata/t61.c: Likewise.
4183 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4185 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
4186 feature tests by positive feature tests.
4188 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4190 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
4192 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
4194 * elf/dlvsym.c (dlvsym_doit): More corrections.
4195 Patch by Andreas Jaeger.
4197 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
4199 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
4201 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
4203 * libc.map: More reordering for GLIBC_2.1 symbols.
4205 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4207 * libc.map: Move some functions from version GLIBC_2.0 to
4208 GLIBC_2.1, reorder declarations.
4210 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
4212 * resolv/gethnamaddr.c (addrsort): Make this function extern.
4213 Patch by zab@thebrain.grumblesmurf.net.
4215 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4217 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
4218 NIS+ functions with version GLIBC_2.1.
4220 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
4222 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
4223 with 2.0 binaries. Reported by Thorsten Kukuk.
4225 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4227 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
4229 * elf/dlsym.c (dlsym_doit): Likewise.
4231 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4233 * elf/link.h: Correct typos.
4235 * iconv/iconv_prog.c: Correct typo.
4237 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
4239 * iconv/Makefile: Add rules to build and install iconv program.
4240 * iconv/iconv_prog.c: New file.
4242 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
4244 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
4245 _dl_lookup_symbol_skip call.
4246 * elf/dlvsym.c (dlvsym_doit): Likewise.
4248 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
4250 * libio/iovsscanf.c: Do not include errno.h.
4252 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4254 * elf/dl-load.c (add_name_to_object): Don't translate strings.
4255 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
4256 pulling in the whole error list.
4257 (__dcgettext, dcgettext): Removed.
4258 * libc.map: Export _strerror_internal.
4260 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
4262 * sysdeps/i386/fpu/t_exp.c: New file.
4264 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4266 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add