Update.
[glibc.git] / ChangeLog
blob39e4021024a0869299af32ac7f22b111cd667928
1 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3         * locale/programs/localedef.c: Recognize repertoire-map option.
5 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
7         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
8         converting non-hex numbers.
9         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
11 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
13         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
14         check overflow.
15         * resolv/Makefile (tests): New, add tst-aton.
16         * resolv/tst-aton.c: New file.
18 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
20         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
21         semicolon.
23 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
25         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
26         by letting the later modify the variable computing the total directly.
27         * wcsmbs/mbsrtowcs.c: Likewise.
28         * wcsmbs/wcsnrtombs.c: Likewise.
29         * wcsmbs/wcsrtombs.c: Likewise.
31         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
32         it is not used.
33         * wcsmbs/wctoc.c: Likewise.
35         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
36         * wcsmbs/wcsrtombs.c: Likewise.
38         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
40 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
42         * iconv/skeleton.c: Correct counting of actually converted
43         characters.
45         * intl/localealias.c (read_alias_file): Use unsigned char for
46         local variables.  Remove unused variable tp.
47         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
48         for type of codeset.  For loosing Solaris systems.
49         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
50         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
51         len if not needed.
52         Patches by Jim Meyering.
54         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
55         wcsrtombs must put it into initial state.
57 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
59         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
60         argument of bswap_XX macro.
62 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
64         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
65         variable name.
67 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
69         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
70         semun and use stdarg macros to get the value.
71         * sysdeps/generic/semctl.c: Don't use union semun.
73         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
75         * string/basename.c [!_LIBC]: Define function as gnu_basename.
77         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
78         strings.h.
80         * stdlib/grouping.h: Accept ungrouped numbers even if locale
81         defines grouping.
83         * intl/hash-string.h: Don't include values.h.
85         * inet/Makefile (tests): Add tst-ether_aton.
86         * inet/tst-ether_aton.c: New file.
88         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
89         in hex conversion.
90         * inet/ether_aton.c (ether_aton): Declare result variable static.
91         Reported by ahyung@unixg.ubc.ca.
93         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
94         Define macro _SEM_SEMUN_UNDEFINED instead.
95         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
97         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
98         * stdio-common/Makefile (tests): Add tst-wc-printf.
100 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
102         * manual/stdio.texi (Variable Arguments Output): Correct variable
103         name.  Patch from Ewan Mellor <em@nexus.co.uk>
105 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
107         * intl/dcgettext.c: Remove unneeded definition of
108         internal_function.
110 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
112         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
113         instead of do-iconv-test.
114         ($(objpfx)gconv-modules): Define rule only if objpfx is not
115         empty.
117 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
119         * string/string.h: Fix feature test.
121 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
123         * iconvdata/iso646.c (BODY): Don't use character constants that
124         depend on signedness of char.
126 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
128         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
129         (sysdep_routines): Add s_pread64 and s_pwrite64.
131 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
133         * iconvdata/Makefile (distribute): Remove generated .h files.
134         * iconvdata/koi8-r.h: Removed.
135         * iconvdata/latin-greek-1.h: Removed.
136         * iconvdata/latin-greek.h: Removed.
138         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
139         * iconvdata/KOI-8: Likewise.
140         * iconvdata/KOI-8..UTF8: Likewise.
141         * iconvdata/KOI8-R: Likewise.
142         * iconvdata/KOI8-R..UTF8: Likewise.
144 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
146         * streams/Makefile (headers): Add sys/stropts.h.
147         * streams/sys/stropts.h: New file.
149 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
151         * sysdeps/unix/sysv/linux/ttyname.c,
152         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
153         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
155 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
157         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
158         argument of _itoa_word.
160 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
162         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
163         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
164         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
165         sigprocmask, resp., instead of EXTRA.
167         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
168         s_pread64 and s_pwrite64.
170 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
172         * iconvdata/Makefile: Correct rules to generate gap table.
173         * iconvdata/gap.pl: Simplify.
175         * iconvdata/TESTS: Name new tests.
176         * iconvdata/testdata/CP1250: New file.
177         * iconvdata/testdata/CP1250..UTF8: New file.
178         * iconvdata/testdata/CP1251: New file.
179         * iconvdata/testdata/CP1251..UTF8: New file.
180         * iconvdata/testdata/CP1252: New file.
181         * iconvdata/testdata/CP1252..UTF8: New file.
182         * iconvdata/testdata/CP1253: New file.
183         * iconvdata/testdata/CP1253..UTF8: New file.
184         * iconvdata/testdata/CP1254: New file.
185         * iconvdata/testdata/CP1254..UTF8: New file.
186         * iconvdata/testdata/CP1255: New file.
187         * iconvdata/testdata/CP1255..UTF8: New file.
188         * iconvdata/testdata/CP1256: New file.
189         * iconvdata/testdata/CP1256..UTF8: New file.
190         * iconvdata/testdata/CP1257: New file.
191         * iconvdata/testdata/CP1257..UTF8: New file.
193 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
195         * iconvdata/Makefile: Add rules for ISO-2022-KR.
196         * iconvdata/iso-2022-kr.c: New file.
198         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
199         and ISO-2022-KR.
201 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
203         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
204         iso8859-8 and iso8859-10.
205         * iconvdata/iso8859-5.c: Change to use gap method.
206         * iconvdata/iso8859-7.c: Likewise.
207         * iconvdata/iso8859-8.c: Likewise.
208         * iconvdata/iso8859-10.c: Likewise.
210         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
211         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
212         end of the loop.
213         * iconvdata/iso-2022-jp.c: New file.
215         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
216         * iconvdata/ksc5601.h: Unify function interfaces.
217         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
218         * iconvdata/uhc.c: Likewise.
220         * iconvdata/gb2312.h: Use correct types.
222         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
223         size elements of data.
225 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
227         * string/tst-svc.expect: Adapt for change in .input.
228         * string/tst-svc.input: More tests.
230 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
232         * iconvdata/Makefile: Add rules for new modules.
233         * iconvdata/gconv-modules: Likewise.
234         * iconvdata/cp737.c: New file.
235         * iconvdata/cp737.h: New file.
236         * iconvdata/cp775.c: New file.
237         * iconvdata/cp775.h: New file.
238         * iconvdata/cp874.c: New file.
239         * iconvdata/cp874.h: New file.
241 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
243         * iconvdata/Makefile: Create target directory before generating
244         headers.
246 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
248         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
249         __USER_LABEL_PREFIX__.
250         (__ASMNAME, __ASMNAME2): New macros.
252 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
254         * elf/dl-load.c: Include sys/param.h for MAX.
256 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
258         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
259         __ftruncate the strong symbol, and add weak alias.
260         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
262 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
264         * termios/cfsetspeed.c: Make code cleaner and add missing const.
265         Patch by Joe Keane <jgk@jgk.org>.
267         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
268         free()ing.
270 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
272         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
273         Patch by Thomas Bushnell, n/BSG.
275 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
277         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
279 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
281         * iconvdata/Makefile: Put generated headers in build directory.
283 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
285         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
286         strsep as current directory.
288         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
289         Java.  Add definitions for unicodelittle implementation.
290         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
291         * iconv/gconv_simple.c: Define unicodelittle functions.
293         * iconv/iconv_prog.c: Make program print information about position
294         of illegal character in input.
296         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
297         comparison of charset name.
298         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
299         * iconvdata/ebcdic-at-de-a.c: Likewise.
300         * iconvdata/ebcdic-at-de.c: Likewise.
301         * iconvdata/ebcdic-ca-fr.c: Likewise.
302         * iconvdata/euccn.c: Likewise.
303         * iconvdata/eucjp.c: Likewise.
304         * iconvdata/euckr.c: Likewise.
305         * iconvdata/euctw.c: Likewise.
306         * iconvdata/hp-roman8.c: Likewise.
307         * iconvdata/iso6937.c: Likewise.
308         * iconvdata/iso8859-1.c: Likewise.
309         * iconvdata/iso8859-10.c: Likewise.
310         * iconvdata/iso8859-2.c: Likewise.
311         * iconvdata/iso8859-3.c: Likewise.
312         * iconvdata/iso8859-4.c: Likewise.
313         * iconvdata/iso8859-5.c: Likewise.
314         * iconvdata/iso8859-6.c: Likewise.
315         * iconvdata/iso8859-7.c: Likewise.
316         * iconvdata/iso8859-8.c: Likewise.
317         * iconvdata/iso8859-9.c: Likewise.
318         * iconvdata/johab.c: Likewise.
319         * iconvdata/koi-8.c: Likewise.
320         * iconvdata/koi8-r.c: Likewise.
321         * iconvdata/latin-greek-1.c: Likewise.
322         * iconvdata/latin-greek.c: Likewise.
323         * iconvdata/sjis.c: Likewise.
324         * iconvdata/t61.c: Likewise.
325         * iconvdata/uhc.c: Likewise.
327         * iconvdata/iso646.c: Add support for more ISO 646 variants.
328         * iconvdata/TESTS: Add tests for ISO646 module.
329         * iconvdata/gconv-modules: Add new modules.
330         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
331         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
332         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
333         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
334         * iconvdata/testdate/DIN_66003: Likewise.
335         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
336         * iconvdata/testdate/DS_2089: Likewise.
337         * iconvdata/testdate/DS_2089..UTF8: Likewise.
338         * iconvdata/testdate/ES: Likewise.
339         * iconvdata/testdate/ES..UTF8: Likewise.
340         * iconvdata/testdate/ES2: Likewise.
341         * iconvdata/testdate/ES2..UTF8: Likewise.
342         * iconvdata/testdate/GB_1988-80: Likewise.
343         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
344         * iconvdata/testdate/IT: Likewise.
345         * iconvdata/testdate/IT..UTF8: Likewise.
346         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
347         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
348         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
349         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
350         * iconvdata/testdate/JUS_I.B1.002: Likewise.
351         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
352         * iconvdata/testdate/KSC5636: Likewise.
353         * iconvdata/testdate/KSC5636..UTF8: Likewise.
354         * iconvdata/testdate/MSZ_7795.3: Likewise.
355         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
356         * iconvdata/testdate/NC_NC00-10: Likewise.
357         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
358         * iconvdata/testdate/NF_Z_62-010: Likewise.
359         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
360         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
361         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
362         * iconvdata/testdate/NS_4551-1: Likewise.
363         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
364         * iconvdata/testdate/NS_4551-2: Likewise.
365         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
366         * iconvdata/testdate/PT: Likewise.
367         * iconvdata/testdate/PT..UTF8: Likewise.
368         * iconvdata/testdate/PT2: Likewise.
369         * iconvdata/testdate/PT2..UTF8: Likewise.
370         * iconvdata/testdate/SEN_850200_B: Likewise.
371         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
372         * iconvdata/testdate/SEN_850200_C: Likewise.
373         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
375         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
376         * iconvdata/cns11643l1.h: Likewise.
377         * iconvdata/latin-greek-1.h: Likewise.
378         * iconvdata/latin-greek.h: Likewise.
379         * iconvdata/koi8-r.h: Likewise.
380         * iconvdata/jis0212.h: Likewise.
381         * iconvdata/gb2312.h: Likewise.
382         * iconvdata/ksc5601.h: Likewise.
384         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
386         * iconvdata/Makefile: Add rules for lots of more modules.
387         * iconvdata/cp1250.c: New file.
388         * iconvdata/cp1251.c: New file.
389         * iconvdata/cp1252.c: New file.
390         * iconvdata/cp1253.c: New file.
391         * iconvdata/cp1254.c: New file.
392         * iconvdata/cp1255.c: New file.
393         * iconvdata/cp1256.c: New file.
394         * iconvdata/cp1257.c: New file.
395         * iconvdata/ebcdic-dk-no-a.c: New file.
396         * iconvdata/ebcdic-dk-no.c: New file.
397         * iconvdata/ebcdic-es-a.c: New file.
398         * iconvdata/ebcdic-es-s.c: New file.
399         * iconvdata/ebcdic-es.c: New file.
400         * iconvdata/ebcdic-fi-se-a.c: New file.
401         * iconvdata/ebcdic-fi-se.c: New file.
402         * iconvdata/ebcdic-fr.c: New file.
403         * iconvdata/ebcdic-is-friss.c: New file.
404         * iconvdata/ebcdic-it.c: New file.
405         * iconvdata/ebcdic-pt.c: New file.
406         * iconvdata/ebcdic-uk.c: New file.
407         * iconvdata/ebcdic-us.c: New file.
408         * iconvdata/ibm037.c: New file.
409         * iconvdata/ibm038.c: New file.
410         * iconvdata/ibm1004.c: New file.
411         * iconvdata/ibm1026.c: New file.
412         * iconvdata/ibm1047.c: New file.
413         * iconvdata/ibm256.c: New file.
414         * iconvdata/ibm273.c: New file.
415         * iconvdata/ibm274.c: New file.
416         * iconvdata/ibm275.c: New file.
417         * iconvdata/ibm277.c: New file.
418         * iconvdata/ibm278.c: New file.
419         * iconvdata/ibm280.c: New file.
420         * iconvdata/ibm281.c: New file.
421         * iconvdata/ibm284.c: New file.
422         * iconvdata/ibm285.c: New file.
423         * iconvdata/ibm290.c: New file.
424         * iconvdata/ibm297.c: New file.
425         * iconvdata/ibm420.c: New file.
426         * iconvdata/ibm423.c: New file.
427         * iconvdata/ibm424.c: New file.
428         * iconvdata/ibm437.c: New file.
429         * iconvdata/ibm500.c: New file.
430         * iconvdata/ibm850.c: New file.
431         * iconvdata/ibm851.c: New file.
432         * iconvdata/ibm852.c: New file.
433         * iconvdata/ibm855.c: New file.
434         * iconvdata/ibm857.c: New file.
435         * iconvdata/ibm860.c: New file.
436         * iconvdata/ibm861.c: New file.
437         * iconvdata/ibm862.c: New file.
438         * iconvdata/ibm863.c: New file.
439         * iconvdata/ibm864.c: New file.
440         * iconvdata/ibm865.c: New file.
441         * iconvdata/ibm868.c: New file.
442         * iconvdata/ibm869.c: New file.
443         * iconvdata/ibm870.c: New file.
444         * iconvdata/ibm871.c: New file.
445         * iconvdata/ibm875.c: New file.
446         * iconvdata/ibm880.c: New file.
447         * iconvdata/ibm891.c: New file.
448         * iconvdata/ibm903.c: New file.
449         * iconvdata/ibm904.c: New file.
450         * iconvdata/ibm905.c: New file.
451         * iconvdata/ibm918.c: New file.
453         * locale/iso-4217.def: Update.
454         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
456         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
457         formats.
459 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
461         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
462         LD_LIBRARY_PATH.
464 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
466         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
467         * Makefile: Likewise.
468         * posix/Makefile: Likewise.
469         * sysdeps/mach/hurd/Makefile: Likewise.
471 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
473         * sysdeps/mach/hurd/bits/dirent.h: New file.
474         * sysdeps/mach/hurd/readdir64.c: New file.
475         * sysdeps/mach/hurd/readdir64_r.c: New file.
477 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
479         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
480         dprintf): Synchronize declarations with libio/stdio.h.
482 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
484         * elf/dlerror.c (dlerror): Don't assume that
485         __libc_internal_tsd_get is defined.  __libc_getspecific is already
486         well-protected, so just use it directly.
488 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
490         * io/ftw.h (ftw): Fix typo.
492 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
494         * sysdeps/gnu/utmp_file.c: Fix typo.
496 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
498         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
499         one part of a test fails move on to the next test.
501 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
503         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
505 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
507         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
508         as pointers, not signed integers.
510 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
512         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
514 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
516         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
517         asm symbol name of functions.
518         * include/features.h: Kill redundant test.
520         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
521         * io/ftw.h: Likewise.
522         * io/sys/stat.h: Likewise.
523         * io/sys/statfs.h: Likewise.
524         * io/sys/statvfs.h: Likewise.
525         * libio/stdio.h: Likewise.
526         * resource/sys/resource.h: Likewise.
527         * rt/aio.h: Likewise.
529         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
530          __FAVOR_BSD.
531         * signal/signal.h: Use new macros for BSD vs. SysV signal().
533         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
534         a dummy library.
535         * misc/bsd-compat.c: Removed.
537 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
539         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
540         function declaration.
541         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
542         and use them in conversion function.
543         * iconvdata/Makefile (modules): Re-add ISO6446.
544         * iconvdata/TEST: Add tests for ASCII variants.
545         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
546         * iconvdata/testdata/ANSI_X3.4-1968: New file.
547         * iconvdata/testdata/BS_4730: New file.
548         * iconvdata/testdata/BS_4730..UTF8: New file.
550 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
552         * iconv/gconv.h (struct gconv_step): Add element stateful.
553         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
554         to zero for all internal conversions.
555         * iconv/skeleton.c: Initialize stateful depending on whether or not
556         RESET_STATE is defined to one or zero respectively.
557         * stdlib/mblen.c: Use stateful element of currently selected
558         converter for result if S is NULL.
559         * stdlib/mbtowc.c: Likewise.
560         * stdlib/wctomb.c: Likewise.
562 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
564         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
566         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
568         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
569         character in comparison with uint32_t.
570         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
571         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
572         Optimize BODY a bit.
574         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
575         be defined.
577         * iconv/skeleton.c: Also reset converted counter in case of an error.
578         Call reset function using correct value for output buffer start.
580         * iconvdata/Makefile: Re-enable tests.
582         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
583         value for to-conversion.
585         * iconvdata/TESTS: Add new third column.
586         * iconvdata/run-iconv-test.sh: Add support for charsets which are
587         not ASCII based.
588         * iconvdata/testdata/suntzus: New file.
590         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
591         while reading.  Correctly used base.  Little optimization.
592         (__strtoul_internal): Likewise.
594         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
595         was wrong.  Use explicit variable.
597 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
599         * configure.in: Check for awk.
600         * config.make.in: Add AWK to be substituted.
602         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
603         * manual/users.texi: Fix typo exposed by above rewrite.
605         * Makefile: Invoke awk using AWK variable.
606         * csu/Makefile: Likewise.
607         * elf/Makefile: Likewise.
608         * mach/Makefile: Likewise.
609         * manual/Makefile: Likewise.
610         * sysdeps/gnu/Makefile: Likewise.
611         * sysdeps/mach/hurd/Makefile: Likewise.
612         * sysdeps/unix/Makefile: Likewise.
613         * timezone/Makefile: Likewise.
615 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
617         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
618         array index translation.
619         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
620         these are defined.
622         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
624         * sysdeps/mach/hurd/errlist.c: New file.
625         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
626         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
627         semantics, so rename it.
629 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
631         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
632         conversions.
634 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
636         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
637         * wcsmbs/wcsnrtombs.c: Likewise.
639 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
641         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
643         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
645         * time/strftime.c (my_strftime): Initialize pad variable in
646         declaration.
648         * iconvdata/big5.c: Don't use character constants in comparisons
649         with unsigned value.
651 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
653         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
654         __libc_siglongjmp to GLIBC_2.1.
656         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
657         __strerror_r.
659         * iconv/Makefile: Don't run tests now.
661         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
662         with correct output buffer.
664         Major rewrite of the low-level gconv functionality.
665         * iconv/gconv.c: Rewritten.
666         * iconv/gconv.h: Likewise.
667         * iconv/gconv_builtin.c: Likewise.
668         * iconv/gconv_builtin.h: Likewise.
669         * iconv/gconv_conf.c: Likewise.
670         * iconv/gconv_int.h: Likewise.
671         * iconv/gconv_open.c: Likewise.
672         * iconv/gconv_simple.c: Likewise.
673         * iconv/iconv.c: Likewise.
674         * iconvdata/8bit-gap.c: Likewise.
675         * iconvdata/8bit-generic.c: Likewise.
676         * iconvdata/Makefile: Likewise.
677         * iconvdata/big5.c: Likewise.
678         * iconvdata/cns11643.c: Likewise.
679         * iconvdata/cns11643.h: Likewise.
680         * iconvdata/cns11643l1.c: Likewise.
681         * iconvdata/cns11643l1.h: Likewise.
682         * iconvdata/ebcdic-at-de-a.c: Likewise.
683         * iconvdata/ebcdic-at-de.c: Likewise.
684         * iconvdata/ebcdic-ca-fr.c: Likewise.
685         * iconvdata/euccn.c: Likewise.
686         * iconvdata/eucjp.c: Likewise.
687         * iconvdata/euckr.c: Likewise.
688         * iconvdata/euctw.c: Likewise.
689         * iconvdata/gb2312.c: Likewise.
690         * iconvdata/gb2312.h: Likewise.
691         * iconvdata/hp-roman8.c: Likewise.
692         * iconvdata/iso646.c: Likewise.
693         * iconvdata/iso6937.c: Likewise.
694         * iconvdata/iso8859-1.c: Likewise.
695         * iconvdata/iso8859-10.c: Likewise.
696         * iconvdata/iso8859-2.c: Likewise.
697         * iconvdata/iso8859-3.c: Likewise.
698         * iconvdata/iso8859-4.c: Likewise.
699         * iconvdata/iso8859-5.c: Likewise.
700         * iconvdata/iso8859-6.c: Likewise.
701         * iconvdata/iso8859-7.c: Likewise.
702         * iconvdata/iso8859-8.c: Likewise.
703         * iconvdata/iso8859-9.c: Likewise.
704         * iconvdata/jis0201.c: Likewise.
705         * iconvdata/jis0201.h: Likewise.
706         * iconvdata/jis0208.c: Likewise.
707         * iconvdata/jis0208.h: Likewise.
708         * iconvdata/jis0212.c: Likewise.
709         * iconvdata/jis0212.h: Likewise.
710         * iconvdata/johab.c: Likewise.
711         * iconvdata/koi-8.c: Likewise.
712         * iconvdata/koi8-r.c: Likewise.
713         * iconvdata/ksc5601.c: Likewise.
714         * iconvdata/ksc5601.h: Likewise.
715         * iconvdata/latin-greek-1.c: Likewise.
716         * iconvdata/latin-greek.c: Likewise.
717         * iconvdata/run-iconv-test.sh: Likewise.
718         * iconvdata/sjis.c: Likewise.
719         * iconvdata/t61.c: Likewise.
720         * iconvdata/uhc.c: Likewise.
721         * wcsmbs/btowc.c: Likewise.
722         * wcsmbs/mbrtowc.c: Likewise.
723         * wcsmbs/mbsnrtowcs.c: Likewise.
724         * wcsmbs/mbsrtowcs.c: Likewise.
725         * wcsmbs/wcrtomb.c: Likewise.
726         * wcsmbs/wcsmbsload.c: Likewise.
727         * wcsmbs/wcsnrtombs.c: Likewise.
728         * wcsmbs/wcsrtombs.c: Likewise.
729         * wcsmbs/wctob.c: Likewise.
730         * iconv/loop.c: New file.
731         * iconv/skeleton.c: New file.
733         * stdlib/mblen.c: Handle empty input string correctly.
734         * stdlib/mbtowc.c: Likewise.
736         * posix/getopt.c: Various cleanups.
738         * sysdeps/arm/bits/setjmp.h: Add copyright text.
739         * sysdeps/i386/bits/setjmp.h: Likewise.
740         * sysdeps/m68k/bits/setjmp.h: Likewise.
741         * sysdeps/powerpc/bits/setjmp.h: Likewise.
742         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
744         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
745         and make longjmp weak alias.
747 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
749         * iconv/Makefile (routines): Only include gconv_dl if building for
750         an ELF system - dynamic linking is not available on a.out.
751         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
752         due to above check.
753         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
754         routines from gconv_dl.
756 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
758         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
759         we can compile without libio.
761 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
763         * sysdeps/mach/hurd/Subdirs: Remove login.
765 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
767         * db2/compat.h: Include <errno.h>, to make sure we get the
768         definition of EFTYPE before we define it ourselves.
770 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
772         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
773         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
774         Fix typo to allow inclusion from sys/ioctl.h again.
776 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
778         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
780 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
782         * libc.map: Export __strerror_r.  Remove _strerror_internal.
784 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
786         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
787         Also undefine __strcasestr.
789 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
791         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
792         aliases do not work with global variables due to copy relocations.
794 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
796         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
798 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
800         * signal/sighold.c: Include stddef.h for NULL definition.
801         * signal/sigrelse.c: Likewise.
802         * sysdeps/posix/sigignore.c: Likewise.
803         * sysdeps/posix/sigset.c: Likewise.
804         * sysdeps/posix/waitid.c: Likewise.
805         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
806         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
807         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
808         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
809         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
811 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
813         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
814         * login/getutent.c (getutxent): Remove alias.
815         * login/getutent_r.c (setutxent, pututxline, endutxent):
816         Remove aliases.
817         * login/getutid.c (getutxid): Remove alias.
818         * login/getutline.c (getutxline): Remove alias.
819         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
820         __getutid, __getutline and __pututline.
821         * login/utmpx.h: Moved to ...
822         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
823         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
824         and updwtmpx.
825         * login/updwtmp.c: Moved to ...
826         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
827         allowing file name transformation.
828         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
829         additional file name transformation.
830         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
831         * login/utmp_file.c: Moved to ...
832         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
833         Generalized by allowing file name transformation.  Do not
834         print error message.  Library functions should not print them.
835         Reported by Jim Meyering.
836         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
837         with additional file name transformation.
838         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
839         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
840         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
841         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
842         and bits/utmpx.h.
843         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
844         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
845         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
846         Define if __USE_GNU.
847         * sysdeps/generic/setutxent.c: New file.
848         * sysdeps/generic/getutxent.c: New file.
849         * sysdeps/generic/endutxent.c: New file.
850         * sysdeps/generic/getutxid.c: New file.
851         * sysdeps/generic/getutxline.c: New file.
852         * sysdeps/generic/pututxline.c: New file.
853         * sysdeps/generic/utmpxname.c: New file.
854         * sysdeps/generic/updwtmpx.c: New file.
855         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
856         * sysdeps/generic/bits/utmpx.h: Remove.
858 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
860         * posix/wordexp-test.c (main): Initialize ifs element of ts for
861         ~root test.
863 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
865         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
867 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
869         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
870         variable using _G_stat64.
871         * libio/fileops.c: Remove macro definition of fstat, it is in the
872         global header.
873         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
875 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
877         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
878         <willy@odie.barnet.ac.uk>.
880 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
882         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
883         required by IPv6 Basic API.
884         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
885         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
886         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
887         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
889 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
891         Don't name internal representation since it might be different from
892         the external form (namely on little endian machines).
893         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
894         UCS4 into references to INTERNAL.
895         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
896         Add endianess support to UCS functions.  Change references to
897         UCS4 into references to INTERNAL.
898         * iconv/gconv_int.h: Change references to UCS4 into references to
899         INTERNAL.
900         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
901         * iconvdata/gconv-modules: Change accordingly.
902         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
904         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
905         overflow.
906         * iconvdata/8bit-gap.c: Likewise.
907         * iconvdata/8bit-generic.c: Likewise.
908         * iconvdata/big5.c: Likewise.
909         * iconvdata/euccn.c: Likewise.
910         * iconvdata/eucjp.c: Likewise.
911         * iconvdata/euckr.c: Likewise.
912         * iconvdata/euctw.c: Likewise.
913         * iconvdata/iso646.c: Likewise.
914         * iconvdata/iso6937.c: Likewise.
915         * iconvdata/iso8859-1.c: Likewise.
916         * iconvdata/johab.c: Likewise.
917         * iconvdata/sjis.c: Likewise.
918         * iconvdata/t61.c: Likewise.
919         * iconvdata/uhc.c: Likewise.
921         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
922         * iconvdata/8bit-generic.c: Likewise.
924         * iconvdata/TESTS: Add more tests.
926         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
928 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
930         * iconvdata/Makefile: Better rules to run tests.
932         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
933         * iconvdata/testdata/ISO-8859-10: Likewise.
934         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
935         * iconvdata/testdata/ISO-8859-2: Likewise.
936         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
937         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
938         * iconvdata/testdata/ISO-8859-3: Likewise.
939         * iconvdata/testdata/ISO-8859-4: Likewise.
940         * iconvdata/testdata/ISO-8859-5: Likewise.
941         * iconvdata/testdata/ISO-8859-6: Likewise.
942         * iconvdata/testdata/ISO-8859-7: Likewise.
943         * iconvdata/testdata/ISO-8859-8: Likewise.
944         * iconvdata/testdata/ISO-8859-9: Likewise.
946 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
948         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
949         intermediate result (if available).
951         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
952         last change.
954         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
955         (distribute): Add run-iconv-test.sh and testdata/*.
957         * stdlib/testmb.c (main): Simplify mbc array handling.
959 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
961         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
962         return value on overflow.
964 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
966         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
967         bits.
969 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
971         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
972         of non-standard function setbuffer.
974 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
976         * stdio-common/perror.c: Include <string.h> for __strerror_r.
978 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
980         * iconvdata/Makefile: Add rules to run tests.
981         * iconvdata/TESTS: New file.
982         * iconvdata/run-iconv-test.sh: New file.
983         * iconvdata/testdata/ISO-8859-1: New file.
985         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
986         not stdout.
988 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
990         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
991         counter element of step.
993         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
995         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
996         termination test.
997         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
998         ACTUALLY.
999         (__gconv_transform_utf8_ucs4): Correct test for empty input.
1001 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
1003         * Makefile: Include makeconfig before defining rule to regenerate
1004         configure files.
1006         * configure.in: Remove restriction on compiling without static
1007         libs.
1009 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
1011         * test-skeleton.c: Provide hook for initializing code before the fork.
1012         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
1013         removed.
1015         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
1016         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
1017         * libio/libioP.h: Adopt _IO_cleanup prototype.
1019         * stdlib/Makefile (tests): Add test-canon2.
1020         * stdlib/test-canon2.c: New file.
1021         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
1022         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
1023         symlink sequences.
1024         (__realpath): Make real function which checks RESOLVED parameter for
1025         not being NULL.
1027 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
1029         * catgets/open_catalog.c (__open_catalog): Fix problems with
1030         reading non-files.  Always close file.
1031         Reported by Cristian Gafton <gafton@redhat.com>.
1033         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
1035 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
1037         * libc.map: Add various low-level I/O functions.
1039 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
1041         * string/Makefile (routines): Remove strerror_r.
1042         * string/strerror_r.c: Removed.
1043         * string/strerror.c: Call __strerror_r for doing the real work.
1044         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
1045         add weak alias strerror_r.
1046         * sysdeps/mach/_strerror.c: Likewise.
1047         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
1048         * elf/dl-error.c (_dl_signal_error): Likewise.
1049         * elf/dl-profile.c (_dl_start_profile): Likewise.
1050         * gmon/gmon.c (write_gmon): Likewise.
1051         * stdio-common/perror.c: Likewise.
1052         * stdio-common/vfprintf.c: Likewise.
1054 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
1056         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
1057         (sysdep_headers): Add netatalk/at.h.
1059 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1061         * manual/socket.texi, manual/creature.texi, manual/time.texi:
1062         Formatting fixes.
1064 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1066         * posix/regex.c: Rename __re_syntax_options back to
1067         re_syntax_options, aliases do not work with global variables due
1068         to copy relocations.
1069         (regex_compile): Use syntax parameter instead of
1070         re_syntax_options.
1072 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1074         * configure.in: Document that enable-force-install is default.
1076 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
1078         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
1079         all needed 36 bits.
1080         * sysdeps/posix/mkstemp.c: Likewise.
1082 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
1084         * iconvdata/8bit-gap.c: Simplify step data handling.
1085         * iconvdata/8bit-generic.c: Likewise.
1086         * iconvdata/big5.c: Likewise.
1087         * iconvdata/euccn.c: Likewise.
1088         * iconvdata/eucjp.c: Likewise.
1089         * iconvdata/euckr.c: Likewise.
1090         * iconvdata/euctw.c: Likewise.
1091         * iconvdata/iso6937.c: Likewise.
1092         * iconvdata/iso8859-1.c: Likewise.
1093         * iconvdata/jis0208.h: Likewise.
1094         * iconvdata/jis0212.c: Likewise.
1095         * iconvdata/jis0212.h: Likewise.
1096         * iconvdata/johab.c: Likewise.
1097         * iconvdata/ksc5601.h: Likewise.
1098         * iconvdata/sjis.c: Likewise.
1099         * iconvdata/t61.c: Likewise.
1100         * iconvdata/uhc.c: Likewise.
1102 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
1104         * manual/texinfo.texi: Updated from last version.
1106 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
1108         * iconvdata/cns11643.c: New file.
1109         * iconvdata/cns11643.h: New file.
1110         * iconvdata/cns11643l1.c: New file.
1111         * iconvdata/cns11643l1.h: New file.
1112         * iconvdata/euctw.c: New file.
1113         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
1114         * iconvdata/gconv-modules: Likewise.
1116         * iconvdata/eucjp.c: Several bug fixes and improvements.
1117         * iconvdata/gb2312.h: Likewise.
1118         * iconvdata/jis0201.h: Likewise.
1119         * iconvdata/jis0208.h: Likewise.
1120         * iconvdata/jis0212.h: Likewise.
1122 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
1124         * iconvdata/eucjp.c: New file.
1125         * iconvdata/euccn.c: New file.
1126         * iconvdata/gb2312.h: New file.
1127         * iconvdata/gb2312.c: New file.
1128         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
1129         * iconvdata/gconv-modules: Likewise.
1131         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
1133 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
1135         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1136         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
1137         Patch by Mark Hatle <fray@kernel.crashing.org>.
1139 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
1141         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
1142         comment.
1143         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
1144         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
1146 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
1148         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
1150         * iconvdata/Makefile: Add rules for big5 conversion.
1151         * iconvdata/gconv-modules: Likewise.
1152         * iconvdata/big5.c: New file.
1154         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
1155         Patch by Jim Meyering.
1157 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
1159         * rt/tst-aio.c: Add test for aio_read and lio_listio.
1161         * rt/lio_listio.c: Correct total counter handling.
1163         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
1164         from request queue.
1166         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
1167         of signal on exit even more.
1169         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
1170         instead of call to pthread_cond_init.
1171         * rt/lio_listio.c (lio_listio): Likewise.
1172         * rt/lio_listio64.c (lio_listio64): Likewise.
1174         * nis/nis_findserv.c: Include sys/socket.h.
1176 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
1178         * Makeconfig (rtobjdir): New variable.
1179         (rpath-link): Add rtobjdir and thread directory, if available.
1181         * test-skeleton.c: Add support to remove temporary files.
1182         Always define test_dir.  Improve message about expected signal.
1184         * rt/Makefile (tests): Add tst-aio.
1185         Add rules for tst-aio to be linked with librt and thread library.
1186         * rt/aio_misc.c: Correct fundamental bugs.
1187         * rt/aio_suspend.c: Correct bug in test for available request.
1188         Initialize conditional variable.
1189         * rt/lio_listio.c: Initialize conditional variable.
1190         * rt/lio_listio64.c: Likewise.
1191         * rt/tst-aio.c: New file.
1193         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
1194         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
1195         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1196         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1197         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
1198         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1199         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1201 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
1203         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
1205 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
1207         * elf/dl-load.c (open_path): Use correct name for test whether
1208         directory in load path exists.
1210         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
1211         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
1212         Patches by Tom Rini <trini@kernel.crashing.org>.
1214         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
1215         * wcsmbs/wcstod_l.c: Likewise.
1216         * wcsmbs/wcstold_l.c: Likewise.
1218         * include/byteswap.h: New file.
1220         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
1221         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
1223         * inet/getnameinfo.c (getnameinfo): Change parameter to match
1224         declaration.  Patch by Richard Henderson.
1226 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1228         * manual/process.texi (SIGCHLD example): Save errno.
1230 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
1232         * posix/regex.c: Define regerror really as __regerror.
1233         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
1234         regerror and regfree.
1236         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
1237         * stdlib/strtod_l.c: Likewise.
1238         * stdlib/strtold_l.c: Likewise.
1240         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
1242         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
1244         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
1245         Patch by Christian Gafton.
1247 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
1249         * manual/socket.texi (Interface Naming): Correct @deftypefun line
1250         for if_indextoname.
1252 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1254         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
1256         * manual/socket.texi (Interface Naming): Fix typo.
1258 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1260         * manual/examples/filesrv.c (main): Remove filename first.
1262         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
1263         ?F_UNIX.
1265         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
1266         instead of PF_UNIX.
1268         * manual/examples/filecli.c (main): Use AF_LOCAL
1269         instead of AF_UNIX.
1271 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
1273         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
1274         signgam weak alias.
1275         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
1276         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1277         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1278         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1279         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1280         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1282         * login/utmp_daemon.c (open_socket): Use __connect not connect.
1284 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1286         * configure.in: Add new option --enable-force-install.  Substitute
1287         force_install.
1288         * config.make.in (force-install): Set from configure.
1289         * Makerules (force-install): New phony target.
1290         * Makeconfig (+force): New variable.
1291         * Makefile: Use it in dependency list of installation targets.
1292         * db/Makefile: Likewise.
1293         * db2/Makefile: Likewise.
1294         * elf/Makefile: Likewise.
1295         * hurd/Makefile: Likewise.
1296         * iconv/Makefile: Likewise.
1297         * iconvdata/Makefile: Likewise.
1298         * intl/Makefile: Likewise.
1299         * localedata/Makefile: Likewise.
1300         * login/Makefile: Likewise.
1301         * po/Makefile: Likewise.
1302         * sunrpc/Makefile: Likewise.
1303         * sysdeps/mach/hurd/Makefile: Likewise.
1304         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
1305         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1306         * timezone/Makefile: Likewise.
1308 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1310         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
1311         alloc_size.  Pass return value of getcwd syscall to realloc.
1313 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1315         * manual/socket.texi: Spelling fixes.
1317 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1319         * elf/dl-load.c (print_search_path): Remove unused variable.
1321 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
1323         * login/utmp_file.c: use __ftruncate not ftruncate.
1324         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
1325         for system call and make ftruncate weak alias.
1326         * posix/unistd.h: Add prototype for __ftruncate.
1327         * login/utmp_daemon.c (open_socket): Use __socket not socket.
1328         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
1329         instead of snprintf and readv.
1330         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
1331         snprintf.
1332         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
1333         directly.
1335 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
1337         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
1338         * iconv/gconv_db.c: Use __ protected regex functions.
1339         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
1340         * posix/getopt_init.c: Use __getpid not getpid.
1341         * posix/regex.c: Rename all global functions to start with __ and
1342         make old names weak aliases.
1343         * posix/regex.h: Adopt prototypes for this.
1344         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
1345         a weak alias and use __getcwd instead of getcwd.
1346         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
1347         * stdlib/strtod.c: Use __btowc instead of btowc.
1348         * stdlib/strtol.c: Likewise.
1349         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
1350         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
1351         and sys_errlist are weak.
1352         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
1353         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
1354         * wcsmbs/mbsnrtowcs.c: Likewise.
1355         * wcsmbs/mbsrtowcs.c: Likewise.
1356         * wcsmbs/wcsnrtombs.c: Likewise.
1357         * wcsmbs/wcsrtombs.c: Likewise.
1358         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
1359         weak alias.
1360         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
1361         * wctype/wctype.c: Define function as __wctype and make wctype
1362         weak alias.
1363         * wctype/wctype.h: Declare __wctype.
1365 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
1367         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
1369 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1371         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
1372         stat64.
1373         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
1374         functions.
1375         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
1376         for __llseek.
1377         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1378         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1379         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
1380         make it a weak alias.
1381         * posix/unistd.h: Declare __lseek64.
1383         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
1384         (_IO_file_stat): Fix typo.
1385         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
1386         block size from the file.  Use __mempcpy if _LIBC.
1388 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
1390         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
1391         * wcsmbs/mbrtowc.c: Likewise.
1392         * wcsmbs/mbsnrtowcs.c: Likewise.
1393         * wcsmbs/mbsrtowcs.c: Likewise.
1394         * wcsmbs/wcrtomb.c: Likewise.
1395         * wcsmbs/wcsnrtombs.c: Likewise.
1396         * wcsmbs/wcsrtombs.c: Likewise.
1397         * wcsmbs/wctob.c: Likewise.
1399         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
1400         position of next output character correctly.
1401         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
1403         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
1405         * stdlib/strtod.c: Don't use mbtowc.
1407 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
1409         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
1410         what we want is smaller than a buffer.
1412 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
1414         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
1415         this function.
1417 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
1419         * configure.in: Recognize --with-headers flag and determine
1420         commandline options to be used in compilation.
1421         * Makeconfig (+includes): Use $(sysincludes).
1422         * config.make.in (sysincludes): Define from SYSINCLUDES.
1423         * glibcbug.in: Use SYSINCLUDES information.
1424         Patches by Zack Weinberg.
1426 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1428         * glibcbug.in: On linux, report version of kernel headers seen
1429         by compiler.
1431 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
1433         * libc.map: Add __asprintf to GLIBC_2.1.
1434         * elf/dlerror.c: Use __asprintf, not asprintf.
1435         * libio/stdio.h: Declare __asprintf.
1436         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
1437         a weak alias.
1439         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
1440         to avoid inclusion from libc_pic.a.
1442         * elf/dl-runtime.c: Undo last patch.
1444         * stdlib/strtod.c: Don't use mbtowc, use btowc.
1446         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
1447         as default, use NULL.
1449 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1451         * resolv/Makefile: Include ../Makeconfig - needed for building
1452         static NSS module.
1454 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1456         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
1457         static-nss since we don't want hesiod in the static NSS.
1459         * nss/Makefile: Build only nss_files as static.
1461         * nss/function.def: Remove support for service db.
1463 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
1465         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
1467 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
1469         * posix/wordexp-test.c: Make IFS per test-case.
1471 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1473         * glibcbug.in: Report version of gcc in use.  Remove unused variable
1474         ENVIRONMENT.
1476 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
1478         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
1479         `-print-file-name' to find as and ld.
1481 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
1483         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
1484         template is wrong.  Remove unused varaible `ignored'.
1486 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1488         * libc.map: Export __libc_sa_len.
1490         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
1492 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
1494         * iconv/gconv.c: Take care for NULL arguments.
1495         * iconv/gconv_dl.c: Make find_func function global.
1496         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
1497         Add prototypes for ASCII conversion functions.
1498         * iconv/gconv_simple.c: Add ASCII conversion functions.
1499         * locale/C-ctype.c: Correct charset name.
1501         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
1502         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
1503         wcsmbsload.
1504         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
1505         * wcsmbs/mbrtowc.c: Likewise.
1506         * wcsmbs/mbsnrtowcs.c: Likewise.
1507         * wcsmbs/mbsrtowcs.c: Likewise.
1508         * wcsmbs/wcrtomb.c: Likewise.
1509         * wcsmbs/wcsnrtombs.c: Likewise.
1510         * wcsmbs/wcsrtombs.c: Likewise.
1511         * wcsmbs/wctob.c: Likewise.
1512         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
1513         prototypes for wmemr*.
1514         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
1515         * wcsmbs/wcsnlen.c: New file.
1516         * wcsmbs/wcsmbsload.c: New file.
1517         * wcsmbs/wcsmbsload.h: New file.
1519         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
1521         * manual/install.texi: Describe some more critical points.
1523         * string/string.h: Add prototype for __strnlen.
1524         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
1526         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
1527         much less predictable names.
1528         * sysdeps/posix/mkstemp.c: Likewise.
1530 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1532         * manual/libc.texinfo (Top): Change "file namespace" to "local
1533         namespace".
1535         * manual/socket.texi: Change file namespace to local namespace.
1536         (Out-of-Band Data): Remove unneeded variable link.
1537         (Host Address Functions): Use uint32_t consequently and add a
1538         number of clarifications for IPv4/IPv6, classless addresses.
1539         (Internet Namespace): Added some paragraphs about IPv6.
1540         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1542 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
1544         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
1546         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
1547         (NI_NUMERICHOST, et al.): Tidy up and add comments.
1548         (AI_NUMERICHOST): Define.
1549         (getnodebyname): New prototype.
1550         (AI_V4MAPPED, et al.): New constants.
1552         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
1553         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
1554         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
1555         for socket.
1556         * sysdeps/unix/sysv/linux/sa_len.c: New file.
1557         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
1559         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
1561         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
1562         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
1563         * socket/Makefile (headers): Add bits/sockunion.h.
1564         * socket/sys/socket.h: Include <bits/sockunion.h>
1565         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
1566         <sys/socket.h>, to avoid getting sockaddr_union defined.
1567         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
1568         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1569         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1571         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
1572         (2.2.x kernels won't have it).
1574 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
1576         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
1577         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
1578         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
1579         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
1581 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
1583         * manual/socket.texi (Socket Addresses): Fix a typo.
1584         (Interface Naming): New section.
1586 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1588         * configure.in: Check for CC using $ac_tool_prefix, to handle
1589         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
1590         * config.make.in: Add MIG to be substituted.
1591         * mach/Machrules: Don't define MIG variable.
1593         Patch by Gordon Matzigkeit <gord@profitpress.com>.
1595 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
1597         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
1598         strdupa to copy rpath.
1600 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1602         * configure.in: Fix gcc version check.
1604         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
1605         confusing.
1607 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
1609         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
1610         of ptsname_r.
1612         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
1613         like ttyname_r.
1614         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
1615         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
1616         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
1617         of __ptsname_r accordingly.
1618         * login/openpty.c (openpty): Likewise.
1620 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
1622         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
1624 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1626         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
1628         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
1630 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1632         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
1633         return value for better error checking.
1635 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1637         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
1638         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
1640         * elf/elf.h (EM_SPARC64): Remove.
1641         (EM_SPARC32PLUS, EM_SPARCV9): Add.
1642         (HWCAP_SPARC_V9): Add.
1644         * elf/ldsodefs.h (_dl_hwcap): Declare.
1645         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
1646         Weaken so dlopen from static progies works.
1647         (WEAKADDR): New macro.
1648         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
1649         (LD_SO_PRELOAD): New macro.
1650         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
1651         (elf_machine_rela): Weaken _dl_rtld_map.
1653         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
1654         to __clone, and remove the later's alias.
1655         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1657         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
1658         the kernel's structure.
1660         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
1661         Sparc needs a custom value of __KERNEL_NCCS.
1663 1998-04-06  Richard Henderson  <rth@cygnus.com>
1665         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
1667         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
1668         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1670 1998-04-06  Richard Henderson  <rth@cygnus.com>
1672         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
1673         as the buffer is not properly aligned.
1674         Reported by Juan Cespedes <cespedes@debian.org>.
1676 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1678         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
1679         instead of AF_FILE.
1681 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
1683         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
1684         and wc*tomb* functions.
1686 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
1688         * sysdeps/unix/start.c: Fix typo.
1690 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
1692         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
1694 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
1696         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
1697         expressions and using array variables.
1698         * sysdeps/libm-ieee754/e_asin.c: Likewise.
1699         * sysdeps/libm-ieee754/e_j0.c: Likewise.
1700         * sysdeps/libm-ieee754/e_j1.c: Likewise.
1701         * sysdeps/libm-ieee754/e_log.c: Likewise.
1702         * sysdeps/libm-ieee754/e_pow.c: Likewise.
1703         * sysdeps/libm-ieee754/k_cos.c: Likewise.
1704         * sysdeps/libm-ieee754/k_sin.c: Likewise.
1705         * sysdeps/libm-ieee754/k_tan.c: Likewise.
1706         * sysdeps/libm-ieee754/s_atan.c: Likewise.
1707         * sysdeps/libm-ieee754/s_erf.c: Likewise.
1708         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
1709         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
1710         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
1712 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
1714         * iconv/gconv.c: Rewrite of the low-level of gconv.
1715         * iconv/gconv.h: Likewise.
1716         * iconv/gconv_builtin.h: Likewise.
1717         * iconv/gconv_close.c: Likewise.
1718         * iconv/gconv_db.: Likewise.
1719         * iconv/gconv_dl.c: Likewise.
1720         * iconv/gconv_int.h: Likewise.
1721         * iconv/gconv_open.c: Likewise.
1722         * iconv/gconv_simple.c: Likewise.
1723         * iconvdata/8bit-gap.c: Adapt for rewrite.
1724         * iconvdata/8bit-generic.c: Likewise.
1725         * iconvdata/euckr.c: Likewise.
1726         * iconvdata/iso646.c: Likewise.
1727         * iconvdata/iso6937.c: Likewise.
1728         * iconvdata/iso8859-1.c: Likewise.
1729         * iconvdata/johab.c: Likewise.
1730         * iconvdata/sjis.c: Likewise.
1731         * iconvdata/t61.c: Likewise.
1732         * iconvdata/uhc.c: Likewise.
1734 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
1736         * iconv/gconv_int.h: New file.  Internal header.
1737         * iconv/Makefile (distribute): Add gconv_int.h.
1738         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
1739         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
1740         * iconv/gconv_close.c: Likewise.
1741         * iconv/gconv_conf.c: Likewise.
1742         * iconv/gconv_db.c: Likewise.
1743         * iconv/gconv_dl.c: Likewise.
1744         * iconv/gconv_int.h: Likewise.
1745         * iconv/gconv_open.c: Likewise.
1746         * iconv/iconv.c: Likewise.
1747         * iconv/iconv_close.c: Likewise.
1748         * iconv/iconv_open.c: Likewise.
1749         * iconv/iconv_prog.c: Likewise.
1751 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
1753         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
1754         missing braces.
1756 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1758         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
1760 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
1762         Based on patch from Pat Beirne:
1763         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
1764         PIC and non-PIC now.  Correctly negate error number.
1765         (errno): Use `%' not `@' in .type directives.
1767 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
1769         * sysdeps/i386/strtok.S: Change to use single exit point.
1770         * sysdeps/i386/i686/strtok.S: Likewise.
1772 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1774         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
1775         default.
1777 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1779         * Makerules (installed-libcs): Fix typo.
1781 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1783         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
1784         (UHC-routines): Remove ksc5601.
1786 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
1788         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
1789         introduced in last change.
1791 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
1793         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
1794         before 2.1.92.
1796 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
1798         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
1800         * stdlib/isomac.c: Use -isystem instead of -I for system include
1801         dir.
1803 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
1805         * resolv/res_comp.c (underscorechar): New.
1806         (middlechar): Allow '_'.
1808 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
1810         * intl/explodename.c (stdlib.h): Include that file only if
1811         STDC_HEADERS or _LIBC.
1812         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
1813         Patch by Philippe De Muyter <phdm@macqel.be>.
1815 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1817         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
1818         (AC_PROG_CHECK_VER): New macro.
1819         * configure.in: Use AC_PROG_CHECK_VER to check versions of
1820         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
1822 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
1824         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
1825         * sysdeps/i386/i686/strtok.S: New file
1826         * sysdeps/i386/i686/strtok_r.S: New file
1828 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
1830         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
1831         type to __off64_t.
1832         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
1833         parameter as __off64_t instead of __off_t.
1834         (ftello): Make alias for ftello64 instead of ftello.  Change
1835         return type to __off64_t.
1837 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
1839         * sysdeps/i386/bits/string.h: Fix various typos.
1840         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1842         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
1844 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
1846         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
1847         lchown syscall correctly.  [PR libc/541].
1849 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
1851         * localedata/Makefile: Correct testsuite rules.
1853         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
1854         * iconvdata/iso646.c: Fix conversion from UCS4.
1856         * elf/ldsodefs.h: Mark internal function with internal_function.
1857         * elf/dl-addr.c: Likewise.
1858         * elf/dl-close.c: Likewise.
1859         * elf/dl-debug.c: Likewise.
1860         * elf/dl-deps.c: Likewise.
1861         * elf/dl-error.c: Likewise.
1862         * elf/dl-fini.c: Likewise.
1863         * elf/dl-init.c: Likewise.
1864         * elf/dl-load.c: Likewise.
1865         * elf/dl-lookup.c: Likewise.
1866         * elf/dl-object.c: Likewise.
1867         * elf/dl-open.c: Likewise.
1868         * elf/dl-profile.c: Likewise.
1869         * elf/dl-reloc.c: Likewise.
1870         * elf/dl-runtime.c: Likewise.
1871         * elf/dl-symbol.c: Likewise.
1872         * elf/dl-version.c: Likewise.
1873         * elf/dlerror.c: Likewise.
1874         * sysdeps/generic/dl-sysdep.c: Likewise.
1875         * sysdeps/i386/dl-machine.h: Likewise.
1876         * intl/finddomain.c: Likewise.
1877         * intl/gettextP.h: Likewise.
1878         * intl/loadmsgcat.c: Likewise.
1880 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
1882         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
1883         * iconv/gconv_builtin.h: Add definitions for new builtins.
1884         * iconv/gconv.h: Add prototypes for new builtins.
1886         * iconvdata/Makefile (modules): Add ISO646.
1887         Add rules for ISO646 module.
1888         (distribute): Add iso646.c.
1889         * iconvdata/gconv-modules: Add module and alias definition for
1890         ISO646 charsets.
1891         * iconvdata/iso646.c: New file.
1893 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
1895         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
1896         * iconv/iconv_prog.c: Implement --list option to print available
1897         coded character sets.
1899 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1901         Make fread() read large blocks straight to the user buffer.
1903         * libio/fileops.c (_IO_file_xsgetn): New function.
1904         (_IO_file_jumps): Use it.
1905         * libio/libioP.h: Prototype it.
1907 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
1909         * iconv/gconv_conf.c (builtin_aliases): New variable.
1910         (__gconv_read_conf): Add builtin aliases.
1911         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
1912         noop macro before including gconv_builtin.h.
1913         * iconv/gconv_builtin.h: Add alias names.
1915         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
1916         number of converted bytes correctly.
1918 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1920         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
1921         we only wait for a replay.
1923 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
1925         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
1926         EUC-KR modules.
1928 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
1930         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
1931         use PLTJMP() rather than explicit (PLT).
1933         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
1934         __libc_start_main().
1936         Based on patch from Pat Beirne:
1937         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
1938         Always define, not only #ifndef PIC.
1939         (DO_CALL): Pass fifth argument correctly in R4.
1940         (PSEUDO): Correct test for error, call syscall_error through PLT
1941         if PIC.
1943 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
1945         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
1946         definitions.
1948 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
1950         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
1951         JOHAB.so.
1953 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
1955         * io/Makefile (static-only-routines): Add stat64, fstat64 and
1956         lstat64.
1958 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1960         * manual/Makefile: Use object-suffixes-for-libc instead of
1961         object-suffixes.
1962         * rpm/Makefile (install-lib): Likewise.
1964 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1966         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
1968         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
1969         `m68*', not only `m68k'.
1971 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1973         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
1975         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
1976         install lddlibc4.
1978 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
1980         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
1981         EUC-KR.
1983         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
1984         comment.
1986 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
1988         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
1989         the init stuff.
1991 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
1993         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
1994         adjtimex syscall.
1995         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1996         adjtimex.
1997         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
1999 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2001         * Makerules (install): Change comment for libc.so following the
2002         libc_nonshared changes.
2004 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2006         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
2008         * iconvdata/gap.pl: Avoid using %#06x.
2010 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2012         * Makerules: Use $? instead of S^ when invoking ar.
2014 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2016         * db2/compat.h: Allow EFTYPE being defined.
2017         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
2018         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
2019         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
2020         * sysdeps/mach/bits/libc-lock.h: Fix typo.
2021         (__libc_once): Correctly unlock semaphore.
2022         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
2023         * sysdeps/unix/bsd/getpt.c: Fix typo.
2024         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
2026 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
2028         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
2029         macros.
2031 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
2033         * include/mntent.h: New file.
2035         * elf/Makefile (trusted-dirs.h): Append slash to filename.
2036         * elf/dl-load.c: Rewrite search path handling.
2037         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
2038         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
2039         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
2040         * elf/ldsodefs.h: Add prototype.
2042 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
2044         * nss/nsswitch.c (__nss_lookup): Adjust comment.
2046         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
2047         function.
2049         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
2051         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
2052         New function.
2053         (HWCAP_IMPORTANT): New definition.
2055 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
2057         * elf/dl-open.c (_dl_open): Fix a typo.
2058         (_dl_global_scope_alloc): Make it static.
2060 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
2062         * Makerules: Remove duplicate rules to handle stamp.oS.
2064 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2066         * manual/examples/inetsrv.c (main): Change prototype of
2067         make_socket following change in mkisock.c.
2069         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
2070         example host.
2071         (main): Change prototype of init_sockaddr following change in
2072         isockadd.c.
2074         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
2075         * manual/examples/isockad.c (init_sockaddr): Likewise.
2077         * manual/examples/mkfsock.c (make_named_socket): Removed blank
2078         lines for clarification.
2079         (make_named_socket): Use strncpy instead of strcpy.
2080         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2082 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
2084         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
2085         determining libs to remove.
2086         (postclean): Add soversions.mk.
2087         * Makerules (common-mostlyclean): Add tests-static and generated
2088         files.
2090 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
2092         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
2093         scanning for \0.
2094         (__strncat_g): Add i686 specific code.
2096 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2098         * manual/install.texi (Reporting Bugs): Ask to include section
2099         names in reports.
2101 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2103         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
2104         guard against direct inclusion.
2106 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2108         Rework support for libc_nonshared.a:
2109         * Makeconfig (object-suffixes-for-libc): New variable.
2110         * Rules: Remove handling of static-only and shared-only routines.
2111         * Makerules: Handle them here instead.  Use
2112         object-suffixes-for-libc instead of object-suffixes when dealing
2113         with libc objects.
2114         (object-suffixes-for-rules): Remove variable.
2115         (elide-routines.oS): Elide all routines except static-only
2116         routines.
2117         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
2118         empty.
2119         (installed-libcs): Remove special case for .oS.
2120         (rmobjs): Likewise.
2122 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2124         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
2125         do-tst-rpmatch): New targets.
2126         (test): Use them.
2127         (install-locales): Ignore comment lines.
2129 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2131         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
2132         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
2133         ($(objpfx)rtldtbl.h): Likewise.
2134         (CPPFLAGS-dl-load.c): Fix reference to object directory.
2136 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
2138         * manual/string.texi (Finding Tokens in a String): Extend strsep
2139         description and correct example.
2141 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2143         * manual/socket.texi: Remove misguided explicit line breaks and
2144         fix the formatting problem instead by reformulating the
2145         paragraphs.
2146         * manual/filesys.texi: Likewise.
2147         * manual/conf.texi: Likewise.  Don't typeset table with index
2148         fonts, that looks worse than a minimally overfull line.
2150 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2152         * nscd/Makefile (nscd-modules): Move definition outside of
2153         conditional.
2155         * pwd/Makefile: Use have-thread-library to test for thread
2156         library.
2158 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2160         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
2162         * iconvdata/uhc.c (gconv): Remove unused variable idx.
2164 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
2166         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
2168 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
2170         * nss/getXXent_r.c: Correctly handle failing setXXent function.
2172         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
2173         Reported by Andreas Jaeger.
2175 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
2177         * elf/Makefile: Fix typo.
2178         (distribute): Add dl-librecon.h.
2179         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
2180         * elf/ldd.sh.in: Likewise.
2181         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
2182         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
2183         Use strsep correctly.
2184         (process_envvars): Allow platform specific variables.
2185         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
2186         (_dl_load_cache_lookup): Test cache IDs found against
2187         _dl_correct_cache_id.
2188         * sysdeps/generic/dl-librecon.h: New file.
2189         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
2191         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
2193 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
2195         * config.make.in (ldd-rewrite-script): New variable.
2196         * configure.in: Substitute ldd-rewrite-script.
2197         * elf/Makefile: Rewrite rules to generate ldd script.
2198         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
2199         * elf/ldd.sh.in: Likewise.
2200         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
2201         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
2202         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
2203         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
2204         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
2206 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2208         * inet/rcmd.c (iruserok): Remain setuid to the local user
2209         while .rhosts is actually read, to make .rhosts-over-NFS work
2210         (PR libc/524).  Use iruserfopen() for security checks on both
2211         hosts.equiv and .rhosts.  General cleanup.
2212         (iruserfopen): New function, performs careful checking on
2213         hosts.equiv/.rhosts files.  Disallows all the old forbidden
2214         stuff plus hard links to files.
2216 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
2218         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
2220         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
2222 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
2224         * sysdeps/i386/i486/bits/string.h: Fix typos.
2226 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
2228         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
2229         strong alias.
2231         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
2233         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
2234         Added.  Used by libm.so on alpha.
2236 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2238         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
2239         defined.
2241 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
2243         * Makerules (object-suffixes-for-rules): Add .oS only for
2244         building shared library.
2245         Add ranlib rule for nonshared library.
2246         (rmobjs): Fix typo.
2248         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
2249         into for shared library only.
2250         (CPPFLAGS-.oS): Add -DPIC.
2251         (libtypes): Use $(object-suffixes-for-rules) instead of
2252         $(object-suffixes).
2254 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
2256         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
2257         and install lddlibc4.
2259 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2261         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
2262         hash.
2263         * iconvdata/gaptab.pl: Likewise.
2265 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
2267         * Rules: Allow Makefiles to specify test-static for tests which
2268         cannot be linked dynamically.
2269         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
2270         tests-static.
2272         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
2274         * misc/error.c: Pretty print.
2276 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2278         * Makerules (libc_nonshared-name): Remove variable.
2279         (installed-libcs): Use libc-name instead.
2280         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
2281         dynamic linker.
2283         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
2284         libc.a.  Remove explicit reference to dynamic linker.
2286 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
2288         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
2289         to wchar_t.
2290         * iconv/iconv_prog.c: Correctly test for write failure.
2291         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
2292         * iconvdata/gconv-modules: Likewise.
2293         * iconvdata/euckr.c: New file.
2294         * iconvdata/johab.c: New file.
2295         * iconvdata/ksc5601.c: New file.
2296         * iconvdata/ksc5601.h: New file.
2297         * iconvdata/uhc.c: New file.
2298         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
2300         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
2301         * stdio/fopen.c: Correct handling of 'x' flag.
2302         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
2304 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2306         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
2307         * sunrpc/rpcsvc/key_prot.x: Likewise.
2308         * sunrpc/key_prot.c: Likewise.
2310 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
2312         * sysdeps/i386/bits/string.h: Correct things which never worked.
2313         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
2314         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2316 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
2318         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
2319         defined.  Reported by Thorsten Kukuk.
2321 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
2323         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
2325 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2327         * manual/install.texi (Supported Configurations): Add
2328         arm-linuxaout and arm-none.
2330 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2332         * version.h (VERSION): Bump to 2.0.93.
2334 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
2336         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
2338         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
2340         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
2341         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
2343 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2345         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
2347 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2349         Put the static-only routines in a separate library.
2350         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
2351         variables.
2352         (all-object-suffixes): Add .oS.
2353         * Makerules (libc_static-name): New variable.
2354         (installed-libcs): Add libc_nonshared.a.
2355         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
2356         (object-suffixes-for-rules): New variable.  Use it instead of
2357         object-suffixes for generating compilation rules.
2358         (rmobjs): Also remove *.oS.
2359         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
2360         ($(objpfx)stamp.oS): New target.
2362 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2364         * Makefile (FAQ): Automatically check in regenerated FAQ.
2366 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2368         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
2370 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
2372         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
2373         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2375         * sysdeps/generic/stub_warning: Removed.
2377         * Makefile (distribute): Add include/des.h.
2379         * manual/Makefile (distribute): Change dir-add.texi to
2380         dir-add.texinfo.
2382         * glibcbug.in: Create files safely when mktemp is not available.
2384         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
2385         Patch by a sun <asun@saul1.u.washington.edu>.
2387 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2389         * libc.map: Rename getname to getnetname.
2391 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
2393         * manual/maint.texi: Use supported platform in examples.
2395         * manual/install.texi: Document some installation tips.
2397 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
2399         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
2400         Fix a bug so that it returns an error if a numeric parameter is
2401         unset and WRDE_UNDEF is set.
2402         Patch by Andreas Schwab and Tim Waugh.
2403         * posix/wordexp-test.c: Add new new test.
2405 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
2407         * posix/regex.c (regex_compile): Last patch wasn't entirely
2408         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
2410 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2412         * manual/filesys.texi (Scanning Directory Content): Fix typo.
2414 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2416         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
2417         clobbered registers don't appear as operands.
2419 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2421         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
2422         Solaris' sake.
2424         * posix/regex.c (regex_compile): Don't allow non-alphabet
2425         characters in character set name.
2427 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
2429         * posix/wordexp.c (w_newword): New function.
2430         (do_parse_glob): New function.
2431         (parse_glob): Use do_parse_glob.  Now handles the case where a
2432         variable expansion causes a field-split.
2433         (wordexp): Use w_newword.
2434         (parse_arith): Likewise.
2435         (exec_comm): Likewise.
2436         (parse_comm): Likewise.
2437         (parse_param): Likewise.
2438         (parse_backtick): Likewise.
2440 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
2442         * posix/wordexp-tst.sh: Another test.
2444         * posix/wordexp-test.c: Two new tests.
2446         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
2447         directly (the code using realloc was buggy).
2448         (parse_param): Fix typo in comment.
2450 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2452         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
2454 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2456         * libc.map: Add more rpc auth functions/variables.
2458         * nscd/nscd.c: Add -g option to argp options.
2460 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2462         * configure.in: Be prepared for gcc 2.9.10 and up.
2463         * configure.in: Add missing disabling of quote characters in
2464         compiler version check.  Reported by HJ Lu.
2466 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2468         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
2470 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2472         * intl/locale.alias: Fix spelling of romanian.
2474         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
2475         (distribute): Remove des.h.
2476         * include/des.h: New file.
2477         * sunrpc/des.h: Moved to ...
2478         * sunrpc/rpc/rpc_des.h: ...here.
2480 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
2482         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
2483         Fix paren.
2485 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2487         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
2488         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
2490 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2492         * elf/ldsodesf.h: New file.
2493         * elf/Makefile (distribute): Add ldsodefs.h.
2494         * elf/link.h: Separate internal information in exter header.
2495         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
2496         * elf/dl-minimal.c: Likewise.
2497         * sysdeps/generic/dl-sysdep.c: Likewise.
2498         * elf/sprof.c: Likewise.
2499         * elf/dlsym.c: Likewise.
2500         * elf/dlvsym.c: Likewise.
2501         * elf/dlerror.c: Likewise.
2502         * elf/dladdr.c: Likewise.
2503         * elf/dlclose.c: Likewise.
2504         * elf/dlopen.c: Likewise.
2505         * elf/dl-addr.c: Likewise.
2506         * elf/dl-close.c: Likewise.
2507         * elf/dl-debug.c: Likewise.
2508         * elf/dl-deps.c: Likewise.
2509         * elf/dl-error.c: Likewise.
2510         * elf/dl-fini.c: Likewise.
2511         * elf/dl-init.c: Likewise.
2512         * elf/dl-load.c: Likewise.
2513         * elf/dl-lookup.c: Likewise.
2514         * elf/dl-object.c: Likewise.
2515         * elf/dl-open.c: Likewise.
2516         * elf/dl-profile.c: Likewise.
2517         * elf/dl-reloc.c: Likewise.
2518         * elf/dl-runtime.c: Likewise.
2519         * elf/dl-support.c: Likewise.
2520         * elf/dl-symbol.c: Likewise.
2521         * elf/dl-version.c: Likewise.
2522         * sysdeps/generic/dl-cache.c: Likewise.
2523         * sysdeps/generic/libc-start.c: Likewise.
2524         * iconv/gconv_dl.c: Likewise.
2525         * nss/nsswitch.c: Likewise.
2527 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
2529         * manual/nss.texi: The database is not called network but networks.
2530         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2532 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2534         * configure.in: Correct test for compiler version.
2535         Check that LD_LIBRARY_PATH doesn't contain current path.
2537 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
2539         * elf/dl-close.c (_dl_close): Fix byte count while removing
2540         the shared object from the global scope list and optimize
2541         a little bit.
2543 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2545         * manual/filesys.texi (Scanning Directory Content): Add missing
2546         closing brace.
2547         (Scanning Directory Content): Fix text.
2549 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2551         * manual/memory.texi (Heap Consistency Checking): Add paragraph
2552         explaining difference of -lmcheck and MALLOC_CHECK_.
2554 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2556         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
2557         typos in comments.
2559 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2561         * test-skeleton.c (main): Fix test for exit signal.
2563 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2565         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
2567 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2569         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
2570         appropriate.
2572 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2574         * libc.map: Export __strtok_r.
2576 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
2578         * posix/regex.c (re_compile_fastmap): Remove unused variable
2579         num_regs and adjust comment.
2580         Patch by Jim Meyering <meyering@ascend.com>.
2582         * math/math.h (M_*l): Extend long double constants to be usable
2583         for 128 bit floats.  Patch by Richard Henderson.
2585 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2587         * sysdeps/m68k/m68020/wordcopy.S: New file.
2589 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
2591         * posix/wordexp.c: Rewrite parse_param.
2592         Patch by Tim Waugh and Andreas Schwab.
2594 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2596         * Rules: Update timestamps on empty object files.
2598 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
2600         * manual/filesys.texi (Scanning Directory Content): Add description
2601         of 64 bits scandir function and friends.
2603 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2605         * glibcbug.in: Use mktemp to generate unique file name for
2606         temporary files.
2608         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
2609         ptsname_r.  Use cast for execve call.
2611 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
2613         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
2614         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
2615         * io/sys/statvfs.h: New file.
2616         * sysdeps/generic/fstatvfs.h: New file.
2617         * sysdeps/generic/statvfs.h: New file.
2618         * sysdeps/generic/fstatvfs64.h: New file.
2619         * sysdeps/generic/statvfs64.h: New file.
2620         * sysdeps/generic/bits/statvfs.h: New file.
2621         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
2622         * sysdeps/unix/sysv/linux/statvfs.c: New file.
2623         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
2625         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
2626         and f_ffree elements.
2628         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
2629         mount options in enum.
2631 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2633         * configure.in: Check for recent egcs/gcc.
2635 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2637         * libc.map: Add alphasort64, scandir64, versionsort64.
2638         * dirent/Makefile (routines): Add scandir64, alphasort64, and
2639         versionsort64.
2640         * dirent/alphasort64.c: New file.
2641         * dirent/scandir64.c: New file.
2642         * dirent/versionsort64.c: New file.
2643         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
2644         versionsort.
2645         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
2646         old name weak alias.
2647         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2649         * dirent/alphasort.c: Use strcoll instead of strcmp.
2651         * dirent/scandir.c: Optimize a bit.
2653         * dirent/versionsort.c: Pretty print.
2655 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2657         * string/string.h: Add prototype for __strtok_r.
2659 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2661         * posix/Makefile: Fix typo in last change.
2663 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2665         * dirent/dirent.h (scandir): Make argument of select function const.
2666         * dirent/scandir.c (scandir): Likewise.
2667         Reported by David.Faure@insa-lyon.fr [PR libc/512].
2669 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
2671         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
2672         weak alias.
2673         * sysdeps/i386/strtok_r.c: Likewise.
2675         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
2676         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
2677         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
2678         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
2679         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
2680         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
2682 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2684         * intl/localealias.c: Remove unneeded define for strdup.
2686 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
2688         * manual/argp.texi: Adjust for better TeX output.
2689         * manual/arith.texi: Likewise.
2690         * manual/conf.texi: Likewise.
2691         * manual/filesys.texi: Likewise.
2692         * manual/header.texi: Likewise.
2693         * manual/lgpl.texinfo: Likewise.
2694         * manual/math.texi: Likewise.
2695         * manual/message.texi: Likewise.
2696         * manual/pattern.texi: Likewise.
2697         * manual/process.texi: Likewise.
2698         * manual/signal.texi: Likewise.
2699         * manual/socket.texi: Likewise.
2700         * manual/startup.texi: Likewise.
2701         * manual/stdio.texi: Likewise.
2702         * manual/terminal.texi: Likewise.
2703         * manual/examples/rprintf.c: Likewise.
2704         * manual/examples/testopt.c: Likewise.
2705         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2707 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
2709         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
2710         parameter name after seeing a digit if it's enclosed in braces.
2712 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
2714         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
2716 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2718         * manual/memory.texi (Heap Consistency Checking): Document
2719         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
2721 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2723         * manual/Makefile: Add missing rules.
2725 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
2727         * timezone/Makefile (generated): Define to remove all stamp files.
2729         * sysdeps/generic/strsep.c: Also undefine __strsep.
2731         * string/strdup.c: Undefine __strdup and strdup first.
2732         * string/strndup.c: Likewise.
2734         * string/bits/string2.h: Correct strtok_r and strsep.
2735         Add strndup optimization.
2737         * sysdeps/generic/strsep.c: Little optimization.
2739 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
2741         * string/bits/string2.h: Add optimization for strdup.
2742         Always define __strsep and __strtok_r and make real names available
2743         when feature select macros are defined.
2745 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2747         * manual/install.texi (Installation): Use i486-linux as example
2748         instead of the unsupported sunos4.
2749         (Reporting Bugs): Mention glibcbug script.
2750         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
2752 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2754         * posix/wordexp-tst.sh: Make portable.  Add more tests.
2756         * posix/Makefile (do-globtest do-wordexp-test): New targets.
2758 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
2760         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
2761         * sysdeps/generic/libc-start.c: ...here, replacing former content.
2763         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
2764         netpacket/packet.h.
2766         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
2768 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2770         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
2771         in enumerator for strict standard compliance.
2772         * sysdeps/generic/bits/resource.h: Likewise.
2774 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
2776         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
2777         (PLTJMP): New macro.
2779         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
2780         longjmp() when floating point enabled.
2781         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
2782         * sysdeps/arm/__longjmp.S: Remove floating point code.
2783         * sysdeps/arm/setjmp.S: Likewise.
2785         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
2786         * sysdeps/arm/bsd-_setjmp.S: Likewise.
2788         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
2789         memset().
2791         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
2792         prototype.
2794 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
2796         Based on patches from Pat Beirne and Scott Bambrough:
2798         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
2800         * sysdeps/arm/bits/fenv.h: New file.
2802         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
2803         * sysdeps/arm/elf/setjmp.S: Likewise.
2804         * sysdeps/arm/elf/start.S: Likewise.
2805         * sysdeps/arm/init-first.c: Likewise.
2806         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
2807         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
2808         comment about floating point to reflect current reality.
2810         * sysdeps/unix/arm/brk.S: Support PIC.
2811         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
2812         re-entrant code.
2813         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
2814         return; call syscall_error through PLT.
2815         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
2817 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
2819         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
2820         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
2821         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
2823 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
2825         * dirent/list.c (test): Return error value.
2826         (main): Exit with error value.
2828         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
2830         * Makefile (distribute): Add test-skeleton.c.
2831         * test-skeleton.c: New file.
2832         * dirent/Makefile (tests): Add opendir-tst1.
2833         * dirent/opendir-tst1.c: New file.
2835 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
2837         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
2838         Optimize memory handling.
2839         * sysdeps/unix/closedir.c: Optmize memory handling.
2841 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
2843         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
2844         handling.  Optimize a bit.
2846 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
2848         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
2849         (parse_param): Fold in Andreas' fixes to do with when the end of
2850         the parameter name has been reached, and quoting inside ${...}.
2851         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
2852         $((echo);(ls)).
2854 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2856         * manual/maint.texi: Split out installation and contribution
2857         sections to their own appendices.  Misc cleanups.
2858         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
2859         * manual/contrib.texi: New file.
2860         * manual/libc.texinfo: Pull in new appendices.
2861         * manual/header.texi: Correct node pointer.
2863 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2865         * manual/process.texi (Process Completion): Clarify return value
2866         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
2868 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2870         * posix/wordexp-test.c: Add more tests.
2871         (testit): Fix logic.
2873         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
2874         /dev/null instead of closing it, close pipe.  Always chop off all
2875         trailing newlines.  Kill and reap child before returning error.
2876         (w_addword, parse_glob): Fix memory leak.
2877         (wordexp): Fix dangling pointer problem.
2879 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
2881         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
2883         * posix/wordexp-test.c (main): Fix little thinkos and typos.
2885         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
2886         directory index by only the language.
2888 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
2890         * posix/wordexp-tst.sh: Store test results in the
2891         ${common_objpfx}posix directory.
2893         * posix/wordexp-test.c: Remove temporary directory afterwards.
2895 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2897         * libc.map: Export internal versions of cancelable functions.
2899 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2901         * Makerules (MAKEFLAGS): Append `r'.
2903 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2905         * Makeconfig: Define have-thread-library, shared-thread-library
2906         and static-thread-library if a thread library is available.  Don't
2907         define rt.
2908         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
2909         nscd-routines to nscd-modules.  Use shared-thread-library and
2910         static-thread-library in dependencies.
2911         * rt/Makefile: Only compile librt if have-thread-library is
2912         defined.
2913         * Makefile (subdirs): Always include rt subdir.
2915 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2917         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
2919 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
2921         * configure.in: Recognize variations for 32 MIPS processors.
2922         Don't assume ELF systems always have .weak, test for .weakext.
2924 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
2926         * configure.in: Irix6 is an ELF platform.
2928 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
2930         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
2931         unmapping the last loaded segment.
2933 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
2935         * configure.in: Set base_os for Irix6.
2936         Correct test for .weakext.
2938 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2940         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
2941         (new_line) to _dl_debug_message call.
2943 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
2945         * posix/wordexp.c (parse_param): Perform field-splitting after
2946         expanding positional parameter.
2948         * posix/wordexp-tst.sh: Test that field-splitting is performed
2949         after expanding positional parameter.
2951         * posix/wordexp.c (parse_param): Fixed memory leak in
2952         field-splitting after parameter expansion.
2954 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
2956         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
2957         (get_toplvl_escape): Correctly terminate loop at EOF.
2958         Patch by Cristian Gafton <gafton@redhat.com>.
2960 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
2962         * string/tester.c (test_strpbrk): Add more strpbrk tests.
2963         (test_strsep): Likewise.  Correct horrible bugs.
2965         * string/bits/string2.h (strcspn): Optimize also reject string of
2966         length 2 and 3.
2967         (strspn): Likewise.
2968         (strpbrk): Likewise.
2969         (strsep): Likewise.  Correct bug with successive separators and
2970         separators at the end of the string.
2971         * sysdeps/generic/strsep.c: Correct bug with successive separators
2972         and separators at the end of the string.
2974 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
2976         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
2977         etc) now handled, as well as $$ (pid).
2979         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
2980         (distribute): Add wordexp-tst.sh.
2982         * posix/wordexp-tst.sh: New file.
2984         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
2985         number of positional parameters.  Renamed substitute_length to
2986         seen_hash.
2987         Don't free(env) is env is NULL.
2989 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
2991         * libc.map: Add pthread_attr_init to GLIBC_2.1.
2993 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
2995         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
2996         for output file replacing gmon.out.
2997         Patch by Dean Gaudet <dgaudet@arctic.org>.
2999 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3001         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
3002         up namespace.  Optimize finding end of line.
3004 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3006         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
3007         securely.  Optimized.
3008         (process_dl_debug): Add ':' to list of separators.  Optimized.
3010 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3012         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3013         isless, islessequal, islessgreater, isunordered): Return zero or
3014         one.
3016 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
3018         * posix/wordexp-test.c: More tests.
3019         (main): Set up arena for pathname expansion tests (in a temporary
3020         directory).
3021         (testit): Don't check word count or word vector if return value is
3022         non-zero.
3024         * posix/wordexp.c (exec_comm): Always chop off terminating
3025         linefeed (just like bash does).
3026         (parse_param): Change lots of occurrences of "if (!*env)" to "if
3027         (!env || !*env)".
3028         (parse_param): For assignment inside parameter expansion, use all
3029         expanded words in assignment rather than just the first.
3030         (parse_param): Corrected return value for parameter expansion of
3031         an unset variable when WRDE_UNDEF is in effect.
3032         (parse_dollars): Don't field-split if quoted.
3033         (wordexp): Opening brace character isn't allowed unquoted.
3035 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
3037         * elf/dlerror.c: Fix concurrency problems with error string and
3038         number.
3040         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
3041         filter/auxiliary are being loaded.
3043 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
3045         * elf/dlerror.c (last_object_name): Removed.
3046         (dlerror): Don't use last_object_name.
3047         (_dl_error_run): Omit second argument to _dl_catch_error.
3048         * elf/dl-error.c (struct catch): Remove objname member.
3049         (_dl_signal_error): Construct string including objname when given.
3050         (_dl_catch_error): Remove objname handling.
3051         * elf/link.h (_dl_catch_error): Fix prototype and comment.
3052         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
3053         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
3054         * nss/nsswitch.c (nss_dlerror_run): Likewise.
3055         * iconv/gconv_dl.c (dlerror_run): Likewise.
3056         [Corrects PR libc/501].
3058 1998-03-12  Matthias Urlichs <smurf@noris.de>
3060         * nscd/nscd.c: Ignore SIGPIPE.
3062 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
3064         * nscd/nscd_getgr_r.c: Use __ protected names.
3065         * nscd/nscd_getpw_r.c: Likewise.
3067 1998-03-12  Matthias Urlichs <smurf@noris.de>
3069         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
3070         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
3071         null bytes are not transmitted.
3073 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3075         * powerpc/syscalls.list: Correct typo.
3076         * alpha/syscalls.list: Likewise.
3077         * mips/syscalls.list: Likewise.
3079 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
3081         * socket/sys/socket.h: Add prototype for __socket.
3083 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3085         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
3087         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
3088         constants.
3090         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
3091         definition here.
3092         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
3093         definition here.
3095         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
3096         AF_* and PF_* constants.
3098         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
3100 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
3102         * elf/rtld.c: Update help message.
3103         Install link maps for preloaded objects using main_map as loader.
3105         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
3106         * elf/dl-profile.c: Likewise.
3108         * elf/dlsym.c: Little optimization.
3109         * elf/dlvsym.c: Likewise.
3111 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
3113         * posix/wordexp-test.c: Move test for parameter list at the very
3114         beginning.
3116 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
3118         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
3119         WRDE_REUSE flag is set.
3120         (parse_param): Allow `*', `@', and numbers in parameter names.
3121         (parse_dollars): Differentiate between arithmetic expansion and a
3122         command substitution that starts immediately with a sub-shell
3123         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
3124         (parse_param): Memory allocated with __alloca in a block was
3125         referenced outside that block.  Adjusted to use malloc/free.
3126         (parse_param): Adjusted field-splitting algorithm so that there is
3127         not necessarily a field split at the end of a parameter expansion.
3129 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
3131         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
3132         don't free words that have already been allocated.
3133         (parse_param): A dollar sign on its own will never have a pattern
3134         associated with it (like "${HOME%%/}" has), so don't try to free it.
3135         (parse_glob): Attempt to glob when an unquoted `[' is found
3136         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
3137         (parse_glob): Sorted out quoting in a glob-able word.
3138         (parse_param): Added $* and $@ handling.
3140 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
3142         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
3143         parsing it.
3145 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3147         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
3148         _dl_debug_message.
3150 1998-03-12  Matthias Urlichs  <smurf@noris.de>
3152         * elf/dl-misc.c: Default for debug output should be stderr.
3153         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
3154         * elf/dl-lookup.c: reference_name may be NULL or empty.
3156 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3158         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
3160 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
3162         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
3164         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
3166 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3168         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
3169         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
3171 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3173         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
3174         init stuff.
3176 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3178         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
3179         flag.
3181         * misc/syslog.c (vsyslog): Don't try to send if not connected to
3182         syslog daemon.
3183         (closelog_internal): Don't do anything if not connected.
3185 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
3187         * libc.map: Add _dl_debug_message.
3188         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
3189         before every line.
3190         * elf/fini.c: Correctly use new _dl_debug_message function.
3191         * elf/init.c: Likewise.
3192         * elf/dl-lookup.c: Likewise.
3193         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3194         * elf/dl-load.c: Likewise.  Add more debugging prints.
3195         * elf/dl-reloc.c: Likewise.
3196         * elf/dl-version.c: Likewise.
3197         * elf/dl-support.c: Add variables for debugging.
3198         * elf/rtld.c: Likewise.  Recognize new debug options.
3199         * elf/link.h: Declare new variables.
3201         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
3203 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3205         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
3206         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
3208 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
3210         * posix/wordexp-test.c (command_line_test): New function to allow
3211         testing of specific cases from the command-line.
3213 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3215         * elf/dl-init.c (_dl_init_next): Print nicer messages.
3216         * elf/dl-fini.c (_dl_fini): Likewise.
3217         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
3219         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
3220         symbol in debug message.
3221         (_dl_lookup_versioned_symbol_skip): Likewise.
3223 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
3225         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
3226         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3227         * manual/filesys/texi: Document this.
3229 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
3231         * manual/filesys.texi: Document the change below.
3233 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3235         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
3236         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
3238 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
3240         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
3241         instead scope.  If debugging display information about symbol
3242         resolving.
3243         (_dl_lookup_symbol): Call do_lookup with correct parameters.
3244         (_dl_lookup_symbol_skip): Likewise.
3245         (_dl_lookup_versioned_symbol): Likewise.
3246         (_dl_lookup_versioned_symbol_skip): Likewise.
3247         * elf/dl-support.c: Define _dl_debug_symbols.
3248         * elf/link.h: Add declaration for _dl_debug_symbols.
3249         * elf/rtld.c: Define _dl_debug_symbols.
3250         (process_dl_debug): Recognize symbols option.
3252 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
3254         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
3255         in correct format.
3256         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
3257         with correct parameters.
3258         [!PIC]: Initialize __libc_multiple_libcs.
3260 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
3262         * elf/dl-support.c (_dl_debug_bindings): Add definition.
3263         * elf/rtld.c (_dl_debug_bindings): Add definition.
3264         (process_dl_debug): Recognize bindings option.  Update help message.
3265         * elf/link.h (struct link_map): Add l_versyms member.
3266         (_dl_debug_bindings): Add declaration.
3267         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
3268         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
3269         and l_reloc_result.
3270         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
3271         (sym_val): Remove a member, add m as link_map.
3272         (do_lookup): Return result appropriately.
3273         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
3274         Call do_lookup correctly.
3275         (_dl_lookup_symbol_skip): Likewise.
3276         (_dl_lookup_versioned_symbol): Likewise.
3277         (_dl_lookup_versioned_symbol_skip): Likewise.
3279 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
3281         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
3282         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
3284         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
3285         * libc.map: Add chown to GLIBC_2.1.
3286         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
3287         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
3289 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3291         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
3292         weak alias.
3293         * sysdeps/alpha/ffs.c: Likewise.
3294         * sysdeps/am29k/ffs.c: Likewise.
3295         * sysdeps/i386/ffs.c: Likewise.
3296         * sysdeps/i960/ffs.c: Likewise.
3297         * sysdeps/m68k/ffs.c: Likewise.
3298         * sysdeps/m88k/ffs.c: Likewise.
3299         * sysdeps/powerpc/ffs.c: Likewise.
3300         * sysdeps/rs6000/ffs.c: Likewise.
3301         * sysdeps/vax/ffs.s: Likewise.
3302         * string/string.h: Declare __ffs.
3303         * libc.map: Export it.
3304         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
3305         __builtin_ffs, which is not guaranteed to be namespace clean.
3307 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3309         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
3310         table, which is much more likely to exist than debugging symbols.
3311         (printsym): Remove const.
3312         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
3313         header table.
3315         * libc.map: Export __profile_frequency, used by elf/sprof, to
3316         avoid infinite recursion during startup.
3318 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3320         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
3321         Readd lost negate.
3323         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
3325 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
3327         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
3329 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
3331         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
3332         LD_PRELOAD, and LD_VERBOSE.
3333         (dl_main): Use global variables set by process_envvars instead of
3334         calling getenv.
3335         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
3336         LD_LIBRARY_PATH value, this comes with the parameter.
3337         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
3338         ("LD_LIBRARY_PATH") to _dl_init_paths.
3340 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
3342         * elf/rtld.c (dl_main): Delay initialization of path structure if
3343         the dynamically linker is invoked implicitly until we read the
3344         dynamic section.
3346 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
3348         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
3350 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3352         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
3353         Linux 2.0 and 2.1.
3355         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
3357 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
3359         * Makeconfig (nisobjdir): Set to path to nis directory.
3360         (rpath-link): Add nisobjdir.
3361         Patch by Sven Verdoolaege <skimo@kotnet.org>.
3363         * elf/Makefile: Pretty print.
3364         * elf/dl-lookup.c: Include unistd.h.
3365         * elf/dl-runtime.c: Likewise.
3367         * localedata/Makefile (test-srcs): Add tst-rpmatch.
3368         (distribute): Add tst-rpmatch.sh.
3369         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
3371         New tests for rpmatch function by
3372         Jochen Hein <jochen.hein@delphi.central.de>.
3373         * localedata/tst-rpmatch.c: New file.
3374         * localedata/tst-rpmatch.sh: New file.
3376         * localedata/locales/de_DE: Correct yesexpr and noexpr.
3377         * localedata/locales/de_AT: Likewise.
3379         * posix/getopt.c: Update contact address.
3380         * posix/getopt1.c: Pretty print.
3382         * sysdeps/generic/libc-start.c: Do most of the initialization now
3383         here instead of in start.S.
3384         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3385         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
3387         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
3388         profil_counter to be public.
3390 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
3392         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
3393         (parse_param): Coded parameter length expansion (${#var}).
3394         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
3395         (parse_param): Cleaned up (fixed) error handling.
3397         * posix/wordexp-test.c: IFS now includes non-whitespace character
3398         (comma).  Added more tests.
3400 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
3402         * elf/link.h: Fix typos.
3403         Reported by Andreas Jaeger.
3405         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
3406         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
3408 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
3410         * argp/argp-help.c: Remove last bits of using gettext instead of
3411         dgettext.
3413 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
3415         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
3416         __libc_start_main.
3417         * csu/Makefile (routines): Add libc-start.
3418         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
3419         * elf/dl-lookup.c: Likewise.
3420         * elf/dl-version.c: Likewise.
3421         * sysdeps/i386/dl-machine.h: Likewise.
3422         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
3423         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
3424         _dl_sysdep_message macros which use _dl_sysdep_output.
3425         * elf/dl-fini.c: Write out which destructor is called while debugging.
3426         * elf/dl-init.c: Likewise for constructor.
3427         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
3428         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
3429         _dl_sysdep_message.  Add _dl_sysdep_output.
3430         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
3431         this file can be opened.
3432         For LD_DEBUG=libs also set _dl_debug_impcalls.
3433         * sysdeps/generic/dl-cache.c: Include unistd.h.
3434         * sysdeps/generic/libc-start.c: New file.
3435         * sysdeps/unix/sysv/linux/libc-start.c: New file.
3436         * sysdeps/i386/elf/start.S: Don't call main directly, call
3437         __libc_start_main instead.
3439         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
3441 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
3443         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
3445 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
3447         * argp/argp.h (struct argp): Add new field domain.
3448         * argp/argp-help.c: Change all gettext calls to dgettext and use
3449         domain field from appropriate argp in call.
3450         * argp/argp-parse.c: Likewise.
3452 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
3454         * posix/wordexp-test.c: Change testsuite so that it can run even
3455         for ~root != /root.
3457 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3459         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
3461 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3463         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3464         Don't store into global errno if we already store through
3465         __errno_location.
3466         * sysdeps/unix/i386/sysdep.S: Likewise.
3467         * sysdeps/unix/alpha/sysdep.S: Likewise.
3468         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3469         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
3471         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
3472         PIC).
3474 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3476         * sysdeps/generic/sysdep.h (L): Remove definition.
3477         * sysdeps/i386/sysdep.h (L): Define it here instead.
3479 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3481         * nis/nis_call.c (__do_niscall): Safe and reset errno.
3483         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
3485 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3487         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
3488         declaration style to avoid warnings.
3490 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
3492         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
3493         "LD_DEBUG".
3495 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3497         * posix/Makefile (tests): Add wordexp-test.
3498         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
3499         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
3501 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
3503         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
3504         dependencies.
3506         * elf/link.h (struct r_search_path_elem): Add two new field for
3507         lib path debugging.
3508         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
3509         variable accordingly.
3510         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
3511         is considered next along with information about load paths.
3512         * sysdeps/generic/dl-cache.c: Likewise.
3513         * elf/dl-support.c: Define _dl_debug_libs.
3514         * elf/genrtldtbl.awk: Add initializers for two new field in
3515         struct r_search_path_elem.
3517 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3519         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
3520         * sysdeps/m68k/lshift.S: Likewise.
3521         * sysdeps/m68k/rshift.S: Likewise.
3522         * sysdeps/m68k/sub_n.S: Likewise.
3523         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
3524         * sysdeps/m68k/m68020/mul_1.S: Likewise.
3525         * sysdeps/m68k/m68020/submul_1.S: Likewise.
3527         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
3528         [_LIBC_REENTRANT]: Don't store into global errno.
3530         * sysdeps/m68k/sysdep.h: New file.
3531         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
3532         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
3533         (DO_CALL): Change to expect syscall name as argument.
3534         (PSEUDO): Pass syscall_name to DO_CALL.
3535         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
3536         errno.
3538 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3540         * elf/rtld.c: Speed up processing of environment variables.  Do
3541         only one run on the environment by avoiding to call getenv.
3542         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
3543         function.  Used by patch above.
3545 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3547         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
3548         running nscd.
3549         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
3550         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
3551         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
3553 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3555         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
3556         module cannot be found.  Reported by Andreas Jaeger.
3558 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3560         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
3561         on platforms which default to unsigned chars.
3562         * nscd/nscd_getpw_r.c: Likewise.
3563         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
3564         defining it.
3566 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3568         * elf/Makefile (install-bin): Change = to += for sprof to install
3569         ldd also.
3571 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
3573         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
3575 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
3577         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
3579 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3581         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
3582         that a failure to connect to nscd doesn't change errno.
3584 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3586         * manual/maint.texi (Reporting Bugs): Change
3587         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
3589         * locale/iso-4217.def: Likewise
3591 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
3593         * manual/texinfo.tex: Updated.
3595 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3597         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
3598         value.
3599         * sysdeps/posix/pathconf.c: Likewise.
3600         * posix/getconf.c: Print `undefined' if pathconf returns -1
3601         without setting errno.
3603 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
3605         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
3606         problem.
3607         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
3608         Patches by Elliot Lee <sopwith@cuc.edu>.
3610 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
3612         * elf/link.h (struct link_map): Add new field l_reloc_result.
3613         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
3614         of relocation for the object to be profiled.
3615         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
3616         to NULL.
3617         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
3618         array here.
3619         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
3620         contains a result from a previous run use this instead of computing
3621         the value again.
3622         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
3624 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3626         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
3627         offsets into the GOT.
3628         (RTLD_START): Likewise.
3630 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
3632         * elf/sprof.c: Cleanup a bit.
3634 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
3636         * sysdeps/generic/sysdep.h (L): New. Define.
3638         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
3640         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
3642         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
3643         to have only one exit point for functions.
3644         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3645         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
3646         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
3647         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3648         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3650 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3652         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
3653         reset errno so that errno isn't set to ENOSYS in the first call.
3654         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
3655         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3656         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3657         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3659 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
3661         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
3662         * sysdeps/i386/addmul_1.S: Likewise.
3663         * sysdeps/i386/lshift.S: Likewise.
3664         * sysdeps/i386/mul_1.S: Likewise.
3665         * sysdeps/i386/rshift.S: Likewise.
3666         * sysdeps/i386/sub_n.S: Likewise.
3667         * sysdeps/i386/submul_1.S: Likewise.
3668         * sysdeps/i386/i586/add_n.S: Likewise.
3669         * sysdeps/i386/i586/addmul_1.S: Likewise.
3670         * sysdeps/i386/i586/lshift.S: Likewise.
3671         * sysdeps/i386/i586/mul_1.S: Likewise.
3672         * sysdeps/i386/i586/rshift.S: Likewise.
3673         * sysdeps/i386/i586/sub_n.S: Likewise.
3674         * sysdeps/i386/i586/submul_1.S: Likewise.
3676         * sysdeps/i386/sysdep.h: Extend last change.
3678         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
3679         to have only one exit point for functions.
3681 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3683         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
3684         search.
3686 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
3688         * Makerules: Generate libc.so with absolute paths for the used
3689         shared objects.
3691         * config.make.in: Add MAKEINFO definition.
3693 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3695         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
3696         (ENTRY): Use STABS_FUN.
3697         (END): Use STABS_FUN_END.
3698         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
3700         * elf/Makefile: Add rules to build sprof program.
3701         * elf/sprof.c: New file.
3703 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3705         * misc/syslog.c (openlog_internal): Insert missing closing brace.
3707 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3709         * configure.in: Check for working msgfmt version (from GNU gettext
3710         0.10 or later).
3712 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3714         * configure.in: Avoid //s in sysdirs.
3715         Patch by Roland McGrath.
3717         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
3719 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
3721         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
3722         setting _dl_global_scope for RTLD_GLOBAL.
3724 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3726         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
3727         possible lists of object-suffixes are taken care of.
3729 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
3731         * timezone/private.h: Update from tzcode1998c.
3732         * timezone/zic.c: Likewise.
3733         * timezone/antarctica: Updated from tzdata1998c.
3734         * timezone/asia: Likewise.
3735         * timezone/australasia: Likewise.
3736         * timezone/europe: Likewise.
3737         * timezone/southamerica: Likewise.
3739 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3741         * posix/glob.c (glob_in_dir): Add support for cases insensitive
3742         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
3744 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
3746         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
3747         Changed type of TWO43, TWO52 from float to double.
3748         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
3749         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
3750         Changed type of TWO43 from float to double.
3751         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
3752         Use __isinff.
3754 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
3756         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
3757         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
3758         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
3760 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
3762         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
3763         kernel_termios.h.
3764         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
3765         Clean up random whitespace.
3766         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
3767         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
3768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
3769         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
3771 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
3773         * shlib-versions: Match alpha*.
3774         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
3775         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
3777         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
3778         Implement copysign* with and without __ prefix.
3779         Likewise for fabs; use builtin for gcc 2.8.
3780         (floor*): New.
3781         (fdim*): New.
3783         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
3784         (R_SPARC*): Match current v9 ABI.
3786         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
3788         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
3789         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3790         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
3791         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
3792         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3793         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
3794         * sysdeps/unix/grantpt.c (argv): Fix consts.
3795         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
3796         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3798 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3800         * misc/syslog.c: Change to allow user the interpretation of the
3801         outcome even with syslog having no return value.
3803 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3805         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
3806         that the number of program headers is >0 (which is wrong for the
3807         loader itself).
3809 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3811         * Makefile (distribute): Add README.libm.
3813 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3815         * time/clocktest.c (main): Correct typo: "--" -> "==".
3817 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
3819         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
3820         inline function.
3821         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
3822         inline functions.
3824         * math/libm.map (__atan2): Added.
3826 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3828         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
3829         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3831         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
3832         bug.
3834 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3836         * manual/arith.texi (Old-style number conversion): Correct
3837         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3839 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3841         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
3842         but does not require it.  Handle missing argv[] values gracefully.
3843         * posix/execl.c: Likewise.
3844         * posix/execle.c: Likewise.
3846 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3848         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
3849         bit.
3850         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3852 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3854         * libc.map: Add __adjtimex.
3856 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3858         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
3859         Remove memset.
3861 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
3863         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
3864         to 64.
3866         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
3868         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
3869         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
3871         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
3872         for shared library.
3874         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
3876         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3877         Added adjtimex and old_adjtimex.
3879         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
3880         New.
3881         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
3882         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
3884         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
3885         symbols only for shared library.
3886         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3887         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3888         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3889         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3890         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3891         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3892         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3894         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
3895         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3896         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3897         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3898         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3899         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3900         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3901         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3903         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
3904         rusage pointer.
3906         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
3907         New macros.
3908         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
3909         timex and __adjtimex, respectively.
3911         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
3913         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
3915 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
3917         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
3918         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
3920 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
3922         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
3924 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3926         * Makefile.in: Disable built-in rules.
3928 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3930         * sysdeps/i386/fpu/t_exp.c: Move to ...
3931         * sysdeps/libm-i387/t_exp.c: ... here.
3933 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
3935         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
3936         from __exp2_deltatable.
3938 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
3940         * nis/ypclnt.c (yp_master): Check result of strdup.
3941         Patch by Thorsten Kukuk.
3943 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3945         * nis/ypclnt.c: Give clnt handle after error checking free, change
3946         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
3948 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
3950         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
3951         Patch by Joe Keane <jgk@jgk.org>.
3953         * misc/fstab.h (struct fstab): Change fs_type member to be const.
3954         * misc/fstab.c: Remove casts in fs_type assignments.
3956 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3958         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
3959         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
3960         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
3961         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
3962         * sysdeps/powerpc/bits/fenv.h: Likewise.
3963         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
3964         * sysdeps/generic/bits/fenv.h: Likewise.
3965         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3966         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
3967         * sysdeps/powerpc/test-arith.c (main): Likewise.
3969 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
3971         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
3972         the comparison macros.
3974 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
3976         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
3977         (__log2): Fixed return values.
3978         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
3980 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
3982         * math/math.h (isunordered): Rename local variables to ensure
3983         correct code.  Reported by HJ Lu.
3985 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
3987         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3988         isless, islessequal, islessgreater, isunordered): Fix syntax for
3989         fucompip instruction.
3990         (isless, islessequal): Fix logic.
3992 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3994         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
3995         (comparisons_test): New tests for comparison macros.
3997 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
3999         * Makeconfig: Filter out frame-pointer effecting options when
4000         compiling profiling or debugging code.
4001         * config.h.in (internal_function): Don't define here if PROF is
4002         defined.
4003         * gmon/gmon.c (__moncontrol): Don't change state if already in error
4004         state.
4005         (__monstartup): If calloc fails set error state and mark array as
4006         not allocated.
4007         (_mcleanup): Don't call write_gmon if in error state.  Don't try
4008         to free array if not  successfully allocated.
4010         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
4011         Include elf.h to get macro definitions.
4012         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
4014 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
4016         * elf/ldd.sh.in: Add compatibility for broken old shells.
4017         * elf/ldd.bash.in: Likewise.
4019 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
4021         * sunrpc/rpc_main.c (open_input): Check pipe return error.
4023         * time/clocktest.c (main): Check signal return error.
4025 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4027         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
4028         "/" and use do-install-program. Reported by Mark M. Kettenis.
4029         (subdir_install):  Likewise.
4031 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4033         * sunrpc/rpc_sample.c: Fix typo.
4035         * nscd/connections.c: Use locale.
4036         * nscd/grpcache.c: Add debug messages, gidtbl should get the
4037           calloc result.
4038         * nscd/nscd.c: Check if init functions fails.
4039         * nscd/nscd_conf.c: Allow disabling of group cache.
4040         * nscd/nscd_getgr_r.c: Fix return code if group not found.
4041         * nscd/pwdcache.c: Fix debug messages.
4043 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4045         * libc.map: Add __monstartup and _mcleanup for profiling support.
4047 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4049         * libc.map: Export __getpagesize, for binary compatibility with
4050         2.0.
4052 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4054         * posix/globtest.sh: Use --library-path instead of
4055         LD_LIBRARY_PATH.
4056         * localedata/sort-test.sh: Likewise.
4057         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
4059 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4061         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
4062         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
4063         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4065         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
4066         kernel_sigaction): Define.
4067         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
4068         kernel_sigaction): Define.
4070 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4072         * math/libm-test.c: Change epsilons for libm-ieee754.
4074 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
4076         * sysdeps/i386/__longjmp.S: Fix race condition.
4077         Reported by Bruno Haible <haible@ilog.fr>.
4079 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
4081         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
4082         * iconvdata/8bit-gap.c: Likewise.
4083         * iconvdata/8bit-generic.c: Likewise.
4084         * iconvdata/iso6937.c: Likewise.
4085         * iconvdata/iso8859-1.c: Likewise.
4086         * iconvdata/sjis.c: Likewise.
4087         * iconvdata/t61.c: Likewise.
4089 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4091         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
4092         feature tests by positive feature tests.
4094 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4096         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
4098 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
4100         * elf/dlvsym.c (dlvsym_doit): More corrections.
4101         Patch by Andreas Jaeger.
4103 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
4105         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
4107 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
4109         * libc.map: More reordering for GLIBC_2.1 symbols.
4111 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4113         * libc.map: Move some functions from version GLIBC_2.0 to
4114         GLIBC_2.1, reorder declarations.
4116 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
4118         * resolv/gethnamaddr.c (addrsort): Make this function extern.
4119         Patch by zab@thebrain.grumblesmurf.net.
4121 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4123         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
4124         NIS+ functions with version GLIBC_2.1.
4126 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
4128         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
4129         with 2.0 binaries.  Reported by Thorsten Kukuk.
4131 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4133         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
4135         * elf/dlsym.c (dlsym_doit): Likewise.
4137 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4139         * elf/link.h: Correct typos.
4141         * iconv/iconv_prog.c: Correct typo.
4143 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
4145         * iconv/Makefile: Add rules to build and install iconv program.
4146         * iconv/iconv_prog.c: New file.
4148 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
4150         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
4151         _dl_lookup_symbol_skip call.
4152         * elf/dlvsym.c (dlvsym_doit): Likewise.
4154 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
4156         * libio/iovsscanf.c: Do not include errno.h.
4158 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4160         * elf/dl-load.c (add_name_to_object): Don't translate strings.
4161         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
4162         pulling in the whole error list.
4163         (__dcgettext, dcgettext): Removed.
4164         * libc.map: Export _strerror_internal.
4166 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
4168         * sysdeps/i386/fpu/t_exp.c: New file.
4170 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4172         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
4173         everything with version GLIBC_2.1.
4174         * hesiod/libnss_hesiod.map: Likewise.
4176 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4178         * manual/arith.texi (Old-style number conversion): This node is a
4179         section, not a subsection.
4181 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4183         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
4185 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4187         * elf/rtld.c (dl_main): Make sure that the library search paths
4188         have been initialized before the first call to _dl_map_object.
4190 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4192         * Makerules (common-generated): Add libc_pic.os.
4194 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4196         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
4197         of the executable.
4199 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4201         * sysdeps/m68k/fpu/t_exp.c: New file.
4203 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4205         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
4206         to global errno variable anymore.
4208 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
4210         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
4211         If PRELOADED is nonzero check in case of an SUID application
4212         whether the shared object has the SUID bit set.
4213         Fix some other problems with handling shared objects in system
4214         specific directories.
4215         (_dl_map_object): Also take extra parameter and pass it to open_path.
4216         * elf/link.h (_dl_map_object): Correct prototype and comment.
4217         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
4218         * elf/dl-open.c (_dl_open): Likewise.
4219         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
4221         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
4223 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4225         * math/libm-test.c (modf_test): Add test for 1.5.
4227         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
4228         0 to get always an int.
4230 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4232         * math/libm.map: Move all symbols that are new in glibc 2.1 to
4233         version GLIBC_2.1.
4235 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4237         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
4238         trying to read another character.
4240 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4242         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
4243         name to lowercase.
4245         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
4246         name to lowercase, add test for big enough buffer.
4248 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4250         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
4251         Make compatible with older kernels.  Patch by Richard Henderson.
4253 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
4255         * elf/dl-load.c (open_path): Use __xstat instead of stat.
4257         * localedata/tst-locale.sh: Comment out first test for now.
4259 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
4261         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
4262         as 1.
4263         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4264         Likewise.
4266         * libio/iogetline.c (_IO_getline_info): Renamed from
4267         _IO_getline.
4268         (_IO_getline): Just call _IO_getline_info.
4270         * libio/libioP.h (_IO_getline_info): New declaration.
4272         * libc.map (_IO_getline_info, __write): Added.
4274 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4276         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
4277         const char* to shut up gcc.
4279 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
4281         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
4282         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
4284         * math/math.h: Define M_* constants always as `double' and add new
4285         macros M_*l which are of type `long double'.
4286         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
4287         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
4288         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
4289         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
4290         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
4291         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
4292         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
4293         * math/libm-tst.c: Likewise.
4295         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
4296         define as long double unconditionally.
4298 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4300         * manual/arith.texi (Old-style number conversion): Correct some
4301         typos.
4303 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
4305         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
4306         Restore.
4308         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
4310 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
4312         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
4313         on $(rtld-ldscript).
4315         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
4316         starting from 0 not only from `from'.
4317         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4319 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
4321         * elf/rtld.c (dl_main): Recognize --library-path parameter and
4322         pass value (or NULL) to _dl_init_paths.
4323         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
4324         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
4325         environment variable.
4326         * elf/link.h: Change prototype for _dl_init_paths.
4327         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
4329         * localedata/Makefile (distribute): Add test files.
4331 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4333         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
4334         test1.def, test2.def, test3.def, test4.def}: Simple input files
4335         for localedef. Contributed by Yung-Ching Hsiao
4336         <yhsiao@cae.wisc.edu>.
4338         * localedata/Makefile (tests): Call tst-locale.sh.
4340         * localedata/tst-locale.sh: New file, regression tests for some
4341         localedef problems.
4343 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4345         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
4347         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
4348         terminated.
4349         * nis/nss_nisplus/nisplus-network.c: Likewise.
4350         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4351         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4352         * nis/nss_nisplus/nisplus-service.c: Likewise.
4354         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
4355         and support generating thread safe RPC code.
4356         * sunrpc/rpc_main.c: Add changes.
4357         * sunrpc/rpc_clntout.c: Likewise.
4358         * sunrpc/rpc_cout.c: Likewise.
4359         * sunrpc/rpc_hout.c: Likewise.
4360         * sunrpc/rpc_parse.c: Likewise.
4361         * sunrpc/rpc_sample.c: Likewise.
4362         * sunrpc/rpc_scan.c: Likewise.
4363         * sunrpc/rpc_svcout.c: Likewise.
4364         * sunrpc/rpc_util.c: Likewise.
4365         * sunrpc/rpc_util.h: Add new structs and prototypes.
4366         * sunrpc/proto.h: Remove prototypes for static functions.
4368 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4370         * locale/programs/ld-messages.c (messages_finish): Don't skip
4371         error checking when being quiet.
4372         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
4373         (set_class_defaults): Likewise.
4374         * locale/programs/charmap.c (parse_charmap): Likewise.
4375         * locale/programs/ld-collate.c (collate_finish): Likewise.
4376         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
4377         * locale/programs/ld-time.c (time_finish): Likewise.
4378         * locale/programs/locfile.c (write_locale_data): Likewise.
4380         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
4381         unknown characters and empty ranges.
4382         * locale/programs/ld-collate.c (collate_order_elem): When
4383         processing an ellipsis properly form a linked list in the result
4384         table, fix typo when allocating ordering array.
4385         [PR libc/419]
4387 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4389         * elf/Makefile (ld-map): Define.
4390         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
4391         `$(rtld-ldscript)'.
4392         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
4393         on $(ld-map).
4394         (rtld-link): Combine the two versions of this definition.  Fixed
4395         to make it work when no symbol versioning is used.
4397 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
4399         * Makeconfig (build-program-cmd): Use --library-path parameter to
4400         ld.so instead of environment variable.
4402         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
4403         * sunrpc/rpc_main.c: Remove support for -$$ option again.
4405 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4407         * Make-dist: Respect with-cvs setting.
4408         * MakeTAGS (all-pot): Likewise.
4409         * sysdeps/sparc/sparc32/Makefile: Likewise.
4410         * sysdeps/mach/hurd/Makefile: Likewise.
4411         * stdlib/Makefile: Likewise.
4412         * posix/Makefile: Likewise.
4413         * intl/Makefile: Likewise.
4414         * po/Makefile (linguas): Likewise
4416 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4418         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
4420 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
4422         * libc.map: Add __strcasecmp.
4424         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
4425         module.
4427         * nss/getXXent_r.c: If no more module is found don't try to call
4428         setXXent functions but leave unsuccessfully.
4430         * malloc/obstack.h: Cleanups.
4432         * sysdeps/wordsize-32/stdint.h: New file.
4433         * sysdeps/wordsize-64/stdint.h: New file.
4434         * sysdeps/generic/stdint.h: New file.
4435         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
4436         * sysdeps/wordsize-64/inttypes.h: Likewise.
4437         * stdlib/Makefile (headers): Add stdint.h.
4439 1998-02-03  Paul Eggert  <eggert@twinsun.com>
4441         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
4443 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4445         * timezone: New directory.
4446         * time/README, time/africa, time/antarctica, time/asia,
4447         time/australasia, time/backward, time/checktab.awk,
4448         time/etcetera, time/europe, time/factory, time/ialloc.c,
4449         time/iso3166.tab, time/leapseconds, time/northamerica,
4450         time/pacificnew, time/private.h, time/scheck.c,
4451         time/solar87, time/solar88, time/solar89, time/southamerica,
4452         time/systemv, time/test-tz.c, time/tzfile.h,
4453         time/tzselect.ksh, time/yearistype, time/zdump.c,
4454         time/zic.c, time/zone.tab: Moved to timezone.
4455         * time/tzfile.c: Include tzfile.h from timezone subdir.
4456         * time/tzset.c: Likewise.
4457         * time/Makefile: Cut out all code relating to timezones...
4458         * timezone/Makefile: ...and paste it in here.
4459         * Makefile (subdirs): Add timezone.
4461 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
4463         * libc.map (_sys_nerr): Added.
4465         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
4466         versioned symbol.
4468 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
4470         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
4471         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
4472         Reported by Craig Metz <cmetz@inner.net>.
4474 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4476         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
4477         instead of strcasecmp.
4478         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
4480         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
4482 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
4484         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
4485         Patch by Dean Gaudet <dgaudet@arctic.org>.
4487 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
4489         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
4491 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4493         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
4494         with no poll syscall, just include the BSD version.
4495         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
4496         kernel without the syscall, include the stub version.
4497         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
4498         * sysdeps/generic/getresuid.c: New file.
4499         * sysdeps/generic/getresgid.c: New file.
4501 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
4503         * stdio-common/vfscanf.c: Correct last change a bit.
4505 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
4507         * elf/Makefile: Don't use --version-script parameter to link ld.so
4508         unconditionally.
4510 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
4512         * math/Makefile: Add t_exp.
4513         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
4514         constants.
4515         * math/test-reduce.c: Remove temporarily, it seems to be broken.
4516         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
4517         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
4518         better accuracy.
4519         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
4520         algorithm for very large/very small arguments.
4521         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
4522         correct algorithm for very large/very small arguments; adjust for
4523         new table.
4524         * sysdeps/libm-ieee754/t_exp.c: New file.
4525         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
4527         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
4528         back, with comment that explains what breaks when you remove it :-(.
4530         * localedata/xfrm-test.c: Avoid integer overflow.
4532         * stdlib/strfmon.c: char is unsigned, sometimes.
4534         * sysdeps/powerpc/Makefile: Remove quad float support.
4535         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
4536         * sysdeps/powerpc/quad_float.h: Likewise.
4537         * sysdeps/powerpc/test-arith.c: Likewise.
4538         * sysdeps/powerpc/test-arithf.c: Likewise.
4540         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
4541         * sysdeps/generic/s_exp2f.c: Likewise.
4543         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
4544         don't try anything if _SOFT_FLOAT.
4546 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4548         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
4549         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
4550         * wctype/wctype.c: Likewise.
4551         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
4552         changed.  They are incompatible with the _ISxxx values from
4553         <ctype.h> on little endian machines.
4554         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
4555         bit number.  This fixes the real bug and restores the integrity of
4556         the ctype locale file.
4557         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
4558         * wctype/wcfuncs_l.c: Likewise.
4559         * wctype/wcextra.c: Likewise.
4560         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
4561         byte swapping.
4563 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
4566         into .bss segment instead of .common, so that aliases on it work.
4568         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
4569         .size directives, put into .bss segment instead of initializing it
4570         to 4.
4572 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
4574         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
4576         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
4577         functions.
4578         Make names without __ weak aliases.
4579         (__libc_release, __libc_version): Make them static.
4581         * include/gnu/libc-version.h: New file.
4582         * Makefile (headers): Add gnu/libc-version.h.
4584 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
4586         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
4587         and use x for member name.
4588         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
4590         * stdlib/drand48.c: Change according to member name change.
4591         * stdlib/drand48_r.c: Likewise.
4592         * stdlib/lcong48_r.c: Likewise.
4593         * stdlib/lrand48.c: Likewise.
4594         * stdlib/lrand48_r.c: Likewise.
4595         * stdlib/mrand48.c: Likewise.
4596         * stdlib/mrand48_r.c: Likewise.
4597         * stdlib/seed48.c: Likewise.
4598         * stdlib/seed48_r.c: Likewise.
4599         * stdlib/srand48_r.c: Likewise.
4601 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4603         * nss/test-netdb.c: Add some more test cases.
4605 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
4607         * libio/iovsscanf.c: Undo last change modifying errno.
4609 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4611         * stdio-common/vfscanf.c: Never try to read another character
4612         after EOF.  Don't decrement read_in after EOF, it wasn't
4613         incremented in the first place.
4614         (NEXT_WIDE_CHAR): Set First, not first.
4616 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
4618         * db/Makefile ($(inst_libdir)/libndbm.a,
4619         $(inst_libdir)/libndbm.so): New targets.
4620         * db2/Makefile: Likewise.
4622 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
4624         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
4625         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
4627 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4629         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
4630         <streambuf.h>.
4631         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4633 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4635         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
4636         versioned symbols.
4638 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
4640         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
4641         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
4642         Added for libdl.so.
4644 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4646         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
4647         extra syscall.
4649         * grp/Makefile: Fix logic when checking for thread package.
4650         * pwd/Makefile: Likewise.
4652 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
4654         * elf/Makefile (rtld-map): Replaced by libc-map.
4656         * elf/rtld.map: Removed.
4658         * libc.map (__libc_enable_secure, _dl_catch_error,
4659         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
4660         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
4661         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
4662         _dl_object_relocation_scope, _dl_relocate_object,
4663         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
4664         _r_debug): Added for ld.so.
4666 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
4668         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
4669         DO_VERSIONING.
4670         * libio/iofdopen.c: Ditto.
4671         * libio/iofopen.c: Ditto.
4672         * libio/oldfileops.c: Ditto.
4674         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
4675         version GLIBC_2.1.
4677         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
4678         oldsiglist from sysdep_routines and shared-only-routines.
4680         * sysdeps/unix/sysv/linux/errlist.c: New.
4681         * sysdeps/unix/sysv/linux/errlist.h: New.
4682         * sysdeps/unix/sysv/linux/sizes.h: New.
4683         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
4684         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
4686         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
4688         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
4689         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
4690         directive.
4692         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
4694         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
4695         (oldsiglist.c): Removed.
4697         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
4698         (_sys_siglist): Use SYS_SIGLIST instead.
4699         (_sys_nerr): Use SYS_NERR instead.
4701         * sysdeps/gnu/errlist.c: Rebuilt.
4703 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
4705         * elf/Makefile (others-static): New, set to ldconfig.
4706         ($(objpfx)ldconfig): Removed.
4708         * Rules (binaries-all, binaries-static, binaries-shared): New.
4709         Create targets for $(binaries-static) and $(binaries-shared).
4711         * Makeconfig (+link-static, link-libc-static,
4712         link-extra-libs-static): New for static linking.
4714 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4716         * manual/memory.texi (Using the Memory Debugger): Fix typo.
4718         * math/libm-test.c (modf_test): Add one more test for modf.
4720 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
4722         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
4723         Rename from __libc_have_rt_sigs and leave as COMMON data.
4725 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
4727         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
4728         of __finite.
4730 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
4732         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
4734 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
4736         * misc/tst-efgcvt.c: Add yet more tests.
4737         * misc/efgcvt_r.c: And correct for these tests again.
4738         Reported by HJ Lu.
4740         * isomac.c: Move to...
4741         * stdlib/isomac.c: ...here.
4742         * Makefile: Move rules for handling isomac...
4743         * stdlib/Makefile: ...to here.
4745 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
4747         * misc/tst-efgcvt.c: Add more tests.
4748         * misc/efgcvt_r.c: Correct result for above new tests.
4750 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
4752         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
4753         NDIGIT <= 0.
4755 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
4757         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
4758         if the programs weren't built.
4760 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
4762         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
4763         FE_TONEAREST, soldier on regardless and do the best we can.
4764         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
4766 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
4768         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
4769         _STDIO_H, before including <bits/stdio_lim.h>.
4771         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
4773         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
4774         exist.
4776         * sysdeps/arm/sys/ucontext.h: New file.
4778 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
4780         * manual/stdio.texi (Formatted Output Functions): Explicitly say
4781         that the return value from snprintf() does not count the
4782         terminating NUL as a character.
4784 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
4786         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
4787         add description for sete[ug]id and general cleanup.
4788         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4790 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4792         * Makefile (parent-clean): Don't remove makefile fragments here.
4793         (postclean): New variable.
4794         (clean): Remove makefile fragments here.
4795         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
4796         (generated): Add isomac and isomanc.out.
4797         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
4798         avoid-generated is set.
4799         (postclean-generated): Add soversion.mk.
4800         ($(common-objpfx)version.mk): Don't include if avoid-generated is
4801         set.
4802         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
4803         avoid-generated is set.
4804         (common-generated): Add libc.so and libc.so$(libc.so-version).
4805         (generated): Add versioned libraries.
4806         (common-mostlyclean): Also remove %.so and %_pic.a.
4807         * csu/Makefile (generated): Add abi-tag.h.
4808         * db2/Makefile (extra-objs): Add getlong.o.
4809         * elf/Makefile (generated): Add ld.so, ldd and
4810         $(rtld-installed-name).
4811         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
4812         * malloc/Makefile (generated): Add mtrace.
4813         * po/Makefile: Don't include version.mk, not needed any more.
4814         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
4815         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
4816         syscall.h -> sys/syscall.h.
4817         (common-generated): Add s-proto.d.
4818         (postclean-generated): Add sysd-syscalls.
4819         * localedata/Makefile (test-output): Add all output files.
4820         (generated): Add test-input and test-output.
4821         (generated-dirs): Add all the dirs.
4823 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4825         * Makefile (test-output, generated, generated-dirs): New
4826         variables.
4828 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
4830         * resolv/nss_dns/dns-host.c: Various code cleanups.
4832 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
4834         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
4835         From Philip Blundell <pb@nexus.co.uk>.
4836         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
4838 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4840         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
4841         Suggested by debian/sparc porters.
4843 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4845         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
4846         for ecvt and fcvt.
4848 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
4850         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
4851         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
4853         * signal/signal.h: Always define sigset_t if __need_sigset_t is
4854         defined even if __USE_POSIX is not defined.
4856 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4858         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
4859         to support obsolete tty major numbers correctly.
4861 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
4863         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
4864         directory first and ignore install error.
4866         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
4867         128 from ptyno and fix a typo for the BSD style pty.
4869 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4871         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
4872         syscalls.list's.
4874 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4876         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4877         getresuid and getresgid.
4879         * sysdeps/unix/sysv/linux/getresuid.c: New file.
4880         * sysdeps/unix/sysv/linux/getresgid.c: New file.
4882         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
4883         s_getres[ug]id.
4885         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
4886         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4887         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4888         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4890 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
4892         * nscd/grpcache.c: Include <stdlib.h>.
4894 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
4896         * stdlib/atoll.c: Fix comments.
4898         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
4899         * sysdeps/posix/ttyname_r.c: Ditto.
4901 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4903         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
4904         __USE_MISC, independent of __USE_UNIX98.
4906 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
4908         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
4909         Rename from __libc_have_rt_sigs and leave as COMMON data.
4911 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
4913         * Makeconfig (CFLAGS-.os): Kill -fno-common.
4914         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
4916         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
4917         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
4918         version symbols.
4919         * include/libc-symbols.h (symbol_version, default_symbol_version):
4920         Provide asm versions and correct !DO_VERSIONING versions.
4921         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
4922         the weak symbol list.
4924         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
4925         Rename from __libc_have_rt_sigs and leave as COMMON data.
4926         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4927         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4928         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4930 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4932         * sunrpc/Makefile: Correct dependencies of rpcgen.
4934 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
4936         * nscd/Makefile: Fix test for available linuxthreads add-on.
4937         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4939 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4941         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
4943 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4945         * sysdeps/gnu/Makefile: Respect with-cvs variable.
4947         * manual/errno.texi (Error Messages): Correct description of
4948         strerror_r.  Pointed out by jonas@bagge.se.
4950 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4952         * manual/socket.texi (Host Address Functions): Clarify description
4953         of inet_network.
4955 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4957         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
4958         (grantpt): Delete superfluous cast.
4960 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4962         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
4963         elf/ldso_install instead of elf/subdir_install.
4964         (elf/ldso_install): New target.
4966         * elf/Makefile (ldso_install): New target.
4968 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4970         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
4971         of 1998-01-06.
4973 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4975         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
4976         constant expressions.
4978 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4980         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
4981         for __nss_configure_lookup.
4982         (output_hostent): Remove unused variable.
4984 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4986         * string/tst-inlcall.c: Fix format string.
4988 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4990         * inet/netinet/in.h: Rename second parameter of bindresvport to
4991         avoid buggy gcc warning. [PR libc/412]
4993 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
4995         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
4996         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
4998         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
4999         Follow POSIX and make tv_sec a time_t.
5000         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
5001         new tv64 syscall as well as fall back to tv32.
5002         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5003         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5004         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5005         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5006         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5007         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5008         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5009         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
5011         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
5012         * include/rpcsvc/nis_tags.h: Likewise.
5013         * include/rpcsvc/nislib.h: Likewise.
5015 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
5017         * libc.map: Add _h_errno.
5018         * inet/herrno.c: Make _h_errno weak alias.
5020         * login/Makefile (distribute): Add pty-internal.h.
5022         * nscd/Makefile (distribute): Add all the files missing.
5024         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
5025         are available.
5027         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
5028         and report status at the end.
5030         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
5032         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
5033         variable.
5034         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
5035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
5036         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
5038 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
5040         * configure.in: Fix --enable-add-ons code.
5042 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5044         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
5045         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
5046         [PR libc/441]
5048         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
5049         occurence in cache.  Reported by Rudolf Leitgeb
5050         <leitgeb@leland.stanford.edu>.
5051         [PR libc/440]
5053 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
5055         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
5056         that it never is EINTR (which is tested for in _IO_vfscanf).
5058         * Makefile.in: Call sub-make with CVSOPTS.
5060         * elf/Makefile (distribute): Add dl-procinfo.h.
5062         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
5064 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
5066         * version.h (VERSION): Bump to 2.0.92.
5068 1998-01-31  Phil Blundell  <philb@gnu.org>
5070         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
5071         alias for __new_sys_siglist.
5073 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
5075         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
5076         getgrgid_r.c if thread package is available.
5077         * pwd/Makefile: Likewise.
5078         * grp/getgrnam_r.c: Remove USE_NSCD definition.
5079         * grp/getgrgid_r.c: Likewise.
5080         * pwd/getpwnam_r.c: Likewise.
5081         * pwd/getpwuid_r.c: Likewise.
5083 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
5085         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
5086         with error to allow user intervention.
5087         * nss/getXXent_r.c: Likewise.
5089 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
5091         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
5092         AT_PLATFORM string.  Pretty print AT_BASE info.
5094         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
5095         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
5096         * sysdeps/generic/dl-procinfo.h: New file.
5097         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
5099 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
5101         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
5103         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
5104         thread and not pthread_detach.
5106         * nscd/nscd.c: Rewrite to use argp instead of getopt.
5108 1998-01-31  Phil Blundell  <philb@gnu.org>
5110         * configure.in: Add --without-cvs option to suppress automatic
5111         checkin of regenerated files.
5112         * config.make.in: Likewise.
5113         * Makefile: Respect with-cvs setting.
5114         * Makerules: Likewise.
5116         * configure.in: Allow the standalone ARM port to be configured.
5118 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5120         * grp/getgrgid_r.c: Define USE_NSCD.
5121         * grp/getgrnam_r.c: Likewise.
5122         * pwd/getpwuid_r.c: Likewise.
5123         * pwd/getpwnam_r.c: Likewise.
5125         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
5127         * nss/getXXbyYY_r.c: Try at first nscd.
5129         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
5130         * nscd/connections.c: New file.
5131         * nscd/dbg_log.c: New file.
5132         * nscd/dbg_log.h: New file.
5133         * nscd/grpcache.c: New file.
5134         * nscd/nscd.c: New file.
5135         * nscd/nscd.h: New file.
5136         * nscd/nscd_conf.c: New file.
5137         * nscd/nscd_stat.c: New file.
5138         * nscd/pwdcache.c: New file.
5140         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
5141         * nscd/nscd_getpw_r.c: Likewise.
5142         * nscd/nscd_proto.h: New, prototypes for client functions.
5144         * nscd/nscd.conf: New, example for a configuration file.
5145         * nscd/nscd.init: New, example for a startup script.
5147         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
5148         avoid deadlocks.
5149         * nscd/getgrnam_r.c: Likewise.
5150         * nscd/getpwnam_r.c: Likewise.
5151         * nscd/getpwuid_r.c: Likewise.
5153 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
5155         * intl/Makefile: Use CVSOPTS in cvs invocation.
5156         * po/Makefile: Likewise.
5157         * posix/Makefile: Likewise.
5158         * stdlib/Makefile: Likewise.
5160 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
5162         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
5163         [PR libc/410]
5164         * misc/Makefile (tests): Add tst-efgcvt.
5165         * misc/tst-efgcvt.c: New file.
5167 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
5169         * posix/regex.c: Add some more cleanups by Akim Demaille.
5171 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
5173         * signal/signal.h: Revert last change.
5174         * string/strsignal.c: Regard signal number NSGI as illegal.
5175         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
5176         members.
5178 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
5180         * Makefile.in: Add comment about CVSOPTS Makefile variable.
5181         * Makerules: Use CVSOPTS in cvs invocation.
5182         * Makefile: Likewise.
5183         * MakeTAGS: Likewise.
5184         * Make-dist: Likewise.
5186 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
5188         * sysdeps/generic/memmem.c: Correct last change.
5190 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
5192         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
5193         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
5195 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5197         * nis/ypclnt.c: Try at first to use the binding file from ypbind
5198         before using RPC.
5200 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5202         * manual/memory.texi (Heap Consistency Checking): mcheck is
5203         declared in <mcheck.h>.
5204         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
5206 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5208         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
5209         beginning of haystack.
5211 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5213         * nss/nss_files/files-service.c: Correct last patch.
5215 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
5217         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
5218         __libc_have_rt_sigs.
5219         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
5220         including <bits/setjmp.h>.
5221         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5222         Patch from the Debian glibc/SPARC package.
5224 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
5226         * sysdeps/alpha/bzero.S: Fix a typo.
5227         * sysdeps/alpha/htonl.S: Ditto.
5228         * sysdeps/alpha/htons.S: Ditto.
5230 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5232         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
5234 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
5236         * include/cpio.h: Move to ...
5237         * posix/cpio.h: ...here.
5239         * locale/programs/ld-collate.c: Fix typo.
5241         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
5243         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
5245         * login/utmp_file.c (pututline_file): Don't always report success
5246         if similar entry is found.  Patch by Mark M. Kettenis.
5248 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
5250         * manual/Makefile: Don't try to install the info files if makeinfo
5251         is not available.
5253 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
5255         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
5256         kernel's network ioctls, rather than using <linux/sockios.h> to
5257         get them.  This way we are sure of maintaining compatibility if
5258         the kernel interface should change.
5260 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
5262         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
5264 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
5266         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
5267         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5269 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5271         Implement System V pseudoterminal handling.
5273         * login/Makefile
5274         (routines): Add getpt, grantpt, unlockpt, ptsname.
5275         (libutil-routines): Remove pty. Add openpty, forkpty.
5276         (distribute): New internal header pty-internal.h.
5277         (others): Add the helper program, pt_chown.
5278         (install-others): Install it, in $(libexecdir), mode 4755.
5280         * login/pty-internal.h: New file.
5281         * login/openpty.c: New file.
5282         * login/forkpty.c: New file.
5283         * login/programs/pt_chown.c: New file.
5285         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
5286         * stdlib/stdlib.h: Prototype them.
5288         * config.make.in: Define $(libexecdir).
5289         * Makeconfig: Define $(inst_libexecdir).
5291         * sysdeps/generic/pty.c: Removed.
5292         * sysdeps/unix/sysv/linux/pty.c: Removed.
5294         * sysdeps/generic/getpt.c: Stub out.
5295         * sysdeps/generic/grantpt.c: Likewise.
5296         * sysdeps/generic/ptsname.c: Likewise.
5297         * sysdeps/generic/unlockpt.c: Likewise.
5299         * sysdeps/unix/grantpt.c: New file.
5300         * sysdeps/unix/bsd/getpt.c: New file.
5301         * sysdeps/unix/bsd/unlockpt.c: New file.
5302         * sysdeps/unix/sysv/linux/getpt.c: New file.
5303         * sysdeps/unix/sysv/linux/ptsname.c: New file.
5304         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
5306 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
5308         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
5310 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5312         * nss/Makefile (tests): Add rule for test-netdb.c.
5314         * nss/test-netdb.c: New file.
5316 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
5318         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
5319         really kept as a variable.  Patch by Richard Henderson,
5320         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5322         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
5323         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
5324         entries as not existing.
5326 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5328         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
5329         zero in alternate form with precision of zero, which must produce
5330         "0".  Add braces to avoid ambiguous `else'.
5332 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5334         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
5335         problem with strncpy.
5336         * nis/nss_compat/compat-pwd.c: Likewise.
5337         * nis/nss_compat/comapt-spwd.c: Likewise.
5339 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5341         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
5342         by uch@nop.or.jp. [PR libc/437]
5344 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5346         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
5348 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5350         * stdio-common/test-popen.c: Include <errno.h>.
5352         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
5353         close.
5355         * inet/getnetgrent_r.c: Include <errno.h>.
5357         * db2/db/db_conv.c: Include <string.h> for memcpy.
5359         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
5360         so that memcpy is declared.
5362         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
5364         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
5366 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5368         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
5369         overflow while reading line with fgets.
5370         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5372 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
5374         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
5375         unsigned short, not short.
5376         Reported by Andreas Jaeger.
5378 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5380         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
5381         (ccept->accept).
5383         * sysdeps/generic/inttypes.h: Fix spelling.
5385 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5387         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
5389         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
5391 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
5393         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
5394         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
5395         field for hh modifier.
5396         * stdio-common/vfprint.c: Use is_char field and do not depend in
5397         is_short having the value 2.
5398         Bug reported by Andreas Jaeger.
5400 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5402         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
5403         PIC && DO_VERSIONING.
5405 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5407         * Rules: Add rules for $(common-objpfx)dummy$o.
5409 1998-01-26  Richard Henderson  <rth@cygnus.com>
5411         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
5412         unimplemented OSF/1 definitions so that they are not accidentally seen.
5414         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
5415         of the trampoline function into the macro.
5416         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
5417         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
5418         kernel 2.1.82 has this fixed.
5420         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
5421         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
5423 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
5425         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
5426         support sigaction on kernels > 2.1.7x.
5428 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
5430         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
5431         if it is empty.
5433         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
5434         Patch by David Engel <david@sw.ods.com>.
5436         * configure.in: Fix another typo in --enable-add-ons code.
5438 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
5440         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
5442 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5444         * nss/nss_files/files-network.c: Correct order of parameters for
5445         getnetbyaddr.
5447 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
5449         * db2/Makefile (routines): Add os_alloc.
5450         * db2/db.h: Update from db-2.3.16.
5451         * db2/db_185.h: Likewise.
5452         * db2/db_int.h: Likewise.
5453         * db2/btree/bt_close.c: Likewise.
5454         * db2/btree/bt_cursor.c: Likewise.
5455         * db2/btree/bt_delete.c: Likewise.
5456         * db2/btree/bt_open.c: Likewise.
5457         * db2/btree/bt_page.c: Likewise.
5458         * db2/btree/bt_put.c: Likewise.
5459         * db2/btree/bt_rec.c: Likewise.
5460         * db2/btree/bt_recno.c: Likewise.
5461         * db2/btree/btree_auto.c: Likewise.
5462         * db2/common/db_appinit.c: Likewise.
5463         * db2/common/db_apprec.c: Likewise.
5464         * db2/common/db_err.c: Likewise.
5465         * db2/common/db_region.c: Likewise.
5466         * db2/common/db_shash.c: Likewise.
5467         * db2/db/db.c: Likewise.
5468         * db2/db/db_auto.c: Likewise.
5469         * db2/db/db_conv.c: Likewise.
5470         * db2/db/db_dispatch.c: Likewise.
5471         * db2/db/db_dup.c: Likewise.
5472         * db2/db/db_pr.c: Likewise.
5473         * db2/db/db_rec.c: Likewise.
5474         * db2/db185/db185.c: Likewise.
5475         * db2/dbm/dbm.c: Likewise.
5476         * db2/hash/hash.c: Likewise.
5477         * db2/hash/hash_auto.c: Likewise.
5478         * db2/hash/hash_dup.c: Likewise.
5479         * db2/hash/hash_page.c: Likewise.
5480         * db2/hash/hash_rec.c: Likewise.
5481         * db2/include/btree_ext.h: Likewise.
5482         * db2/include/clib_ext.h: Likewise.
5483         * db2/include/common_ext.h: Likewise.
5484         * db2/include/db.h.src: Likewise.
5485         * db2/include/db_185.h.src: Likewise.
5486         * db2/include/db_am.h: Likewise.
5487         * db2/include/db_ext.h: Likewise.
5488         * db2/include/db_int.h.src: Likewise.
5489         * db2/include/hash_ext.h: Likewise.
5490         * db2/include/lock_ext.h: Likewise.
5491         * db2/include/log.h: Likewise.
5492         * db2/include/log_auto.h: Likewise.
5493         * db2/include/log_ext.h: Likewise.
5494         * db2/include/mp.h: Likewise.
5495         * db2/include/mp_ext.h: Likewise.
5496         * db2/include/mutex_ext.h: Likewise.
5497         * db2/include/os_ext.h: Likewise.
5498         * db2/include/os_func.h: Likewise.
5499         * db2/include/txn_ext.h: Likewise.
5500         * db2/lock/lock.c: Likewise.
5501         * db2/lock/lock_util.c: Likewise.
5502         * db2/log/log.c: Likewise.
5503         * db2/log/log.src: Likewise.
5504         * db2/log/log_archive.c: Likewise.
5505         * db2/log/log_auto.c: Likewise.
5506         * db2/log/log_get.c: Likewise.
5507         * db2/log/log_put.c: Likewise.
5508         * db2/log/log_rec.c: Likewise.
5509         * db2/log/log_register.c: Likewise.
5510         * db2/mp/mp_bh.c: Likewise.
5511         * db2/mp/mp_fget.c: Likewise.
5512         * db2/mp/mp_fopen.c: Likewise.
5513         * db2/mp/mp_fput.c: Likewise.
5514         * db2/mp/mp_pr.c: Likewise.
5515         * db2/mp/mp_sync.c: Likewise.
5516         * db2/mutex/mutex.c: Likewise.
5517         * db2/os/os_alloc.c: Likewise.
5518         * db2/os/os_config.c: Likewise.
5519         * db2/os/os_stat.c: Likewise.
5520         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
5521         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
5522         * db2/progs/db_load/db_load.c: Likewise.
5523         * db2/progs/db_printlog/db_printlog.c: Likewise.
5524         * db2/progs/db_recover/db_recover.c: Likewise.
5525         * db2/progs/db_stat/db_stat.c: Likewise.
5526         * db2/txn/txn.c: Likewise.
5528         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
5529         Unmap memory blocks in reverse order of allocation.
5530         Call munmap with load address added to offset.
5531         Bug reported by Miguel de Icaza.
5533         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
5534         up weight array.
5536         * localedata/locales/cs_CZ: Update by Michael Mraka
5537         <michael@informatics.muni.cz>.
5539         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
5540         __USE_BSD.
5542         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
5543         reading line with fgets.
5544         * nis/nss_compat/compat-pwd.c: Likewise.
5545         * nis/nss_compat/compat-spwd.c: Likewise.
5546         * nss/nss_files/files-XXX.c: Likewise.
5547         * nss/nss_files/files-alias.c: Likewise.
5548         * shadow/fgetspent_r.c: Likewise.
5550         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
5552         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
5553         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5554         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5556         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
5557         FP register content in ucontext_t.
5559 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5561         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
5562         calculation.  Patch by Markus Schoder
5563         <Markus.Schoder@dresdner-bank.de>.
5565         * math/libm-test.c (modf_test): Add more tests for modf.
5567         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
5568         munlock according to Unix98.
5570 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5572         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
5573         AF_INET.
5575 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
5577         * sysdeps/posix/ttyname.c: Handle symbolic links.
5578         * sysdeps/posix/ttyname_r.c: Ditto.
5580 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
5582         * db2/makedb.c (process_input): Write terminating \0 for value.
5583         (print_database): Simply print value string, don't use length.
5585 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5587         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
5588         exit of loop.
5590 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5592         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
5593         close all sockets.
5595 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
5597         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
5598         sigset.
5599         * signal/sighold.c: New file.
5600         * signal/sigrelse.c: New file.
5601         * sysdeps/generic/sigignore.c: New file.
5602         * sysdeps/generic/sigset.c: New file.
5603         * sysdeps/posix/sigignore.c: New file.
5604         * sysdeps/posix/sigset.c: New file.
5605         * signal/signal.h: Add prototypes for new functions.
5607         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
5608         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
5609         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
5610         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
5612 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5614         * posix/wordexp.c: Added IFS field-splitting in parameter and
5615         command substitution.  Fixed an IFS-related bug that caused an
5616         infinite loop.
5618 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
5620         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
5621         and swapcontext.
5622         * stdlib/ucontext.h: Correct prototypes.
5623         * sysdeps/generic/getcontext.c: New file.
5624         * sysdeps/generic/setcontext.c: New file.
5625         * sysdeps/generic/makecontext.c: New file.
5626         * sysdeps/generic/swapcontext.c: New file.
5627         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
5629 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
5631         * resource/sys/resource.h: Remove #include of ulimit.h which is
5632         not allowed by SUSv2 and not available on other systems.
5633         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
5635         * streams/Makefile: New file.
5636         * streams/stropts.h: New file.
5637         * sysdeps/generic/bits/stropts.h: New file.
5638         * sysdeps/generic/isastream.c: New file.
5639         * sysdeps/generic/getmsg.c: New file.
5640         * sysdeps/generic/getpmsg.c: New file.
5641         * sysdeps/generic/putmsg.c: New file.
5642         * sysdeps/generic/putpmsg.c: New file.
5643         * sysdeps/generic/fattach.c: New file.
5644         * sysdeps/generic/fdetach.c: New file.
5645         * sysdeps/unix/inet/Subdirs: Add streams.
5646         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
5647         __t_uscalar_t.
5648         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5649         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5650         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5651         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
5653         * sysdeps/mach/_strerror.c: Follow changes of generic version to
5654         handle small buffers correctly.
5656 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
5658         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5659         Remove the 3rd arg and add declaration for _dl_runtime_resolve
5660         and _dl_runtime_profile.
5662 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
5664         * include/cpio.h: New file.  Mainly copied from GNU cpio.
5665         * posix/Makefile (headers): Add cpio.h.
5667 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5669         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
5670         to routines.
5671         * nis/nis_cache.c: New file.
5672         * nis/nis_cache2.h: New file.
5673         * nis/nis_cache2_xdr.c: New file.
5674         * nis/nis_call.c: Changes for cache2_info parameter.
5675         * nis/nis_checkpoint.c: Likewise.
5676         * nis/nis_intern.h: Likewise.
5677         * nis/nis_mkdir.c: Likewise.
5678         * nis/nis_ping.c: Likewise.
5679         * nis/nis_rmdir.c: Likewise.
5680         * nis/nis_server.c: Likewise.
5681         * nis/nis_util.c: Likewise.
5683 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5685         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
5686         return/errnop codes.
5687         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5688         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5689         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5690         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5691         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5692         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5693         * nis/nss_nisplus/nisplus-rpc.c: Likewise
5694         * nis/nss_nisplus/nisplus-service.c: Likewise.
5695         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5697 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5699         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
5700         * nis/nss_nis/nis-ethers.c: Likewise.
5701         * nis/nss_nis/nis-grp.c: Likewise.
5702         * nis/nss_nis/nis-hosts.c: Likewise.
5703         * nis/nss_nis/nis-network.c: Likewise.
5704         * nis/nss_nis/nis-proto.c: Likewise.
5705         * nis/nss_nis/nis-hosts.c: Likewise.
5706         * nis/nss_nis/nis-network.c: Likewise.
5707         * nis/nss_nis/nis-proto.c: Likewise.
5708         * nis/nss_nis/nis-publickey.c: Likewise.
5709         * nis/nss_nis/nis-pwd.c: Likewise.
5710         * nis/nss_nis/nis-rpc.c: Likewise.
5711         * nis/nss_nis/nis-service.c: Likewise.
5712         * nis/nss_nis/nis-spwd.c: Likewise.
5714 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
5716         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
5717         Added to follow latest kernel development.
5719 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
5721         * nss/db-Makefile: Handle empty and comment lines better.
5722         ($(VAR_DB)/services.db): Generate entries with missing protocol
5723         value.
5725 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5727         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
5728           NULL.
5729           (getservbyname): Allow proto == NULL.
5730           Pointed out by David N. Welton <davidw@gate.cks.com>.
5731           [PR libc/430].
5733 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
5735         * nis/nislib/nislib.h: Finally removed.
5737         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
5738         C compiler.  From Kaveh Ghazi.
5739         (TYPE_MINIMUM): Define.
5740         (TYPE_MAXIMUM): Define.
5741         (TIME_T_MIN): Use TYPE_MINIMUM.
5742         (TIME_T_MAX): Use TYPE_MAXIMUM.
5743         Patch by Jim Meyering <meyering@ascend.com>.
5745 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
5747         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
5748         __pread64, __pwrite64, and __getpid.
5750         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
5751         versions.
5753 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5755         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
5756         cancelable socket functions as __libc_xxx with __xxx as weak
5757         alias.
5758         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5759         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5761         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
5762         redefined.
5763         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5764         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
5765         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
5766         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5768         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
5769         and __xxx a weak alias.
5770         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5771         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5772         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5773         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5774         * sysdeps/unix/sysv/linux/send.S: Likewise.
5775         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5776         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5778 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5780         * locale/langinfo.h: Add defines.
5782         * dirent/dirent.h: Add defines for DT_*, check also for
5783         _DIRENT_HAVE_D_TYPE.
5784         Suggested by Roland McGrath.
5786 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5788         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
5789         Update from Linux 2.1.73+79.
5791         * README.template: Update information about possible
5792         configurations.
5794         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
5795         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
5796         [PR libc/417].
5798         * manual/time.texi (Priority): Correct description of
5799         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
5800         [PR libc/416].
5802 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
5804         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
5805         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
5807 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
5809         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
5810         Andreas Jaeger.
5812 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
5814         * locale/programs/ld-collate.c: Little optimizations.
5816         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
5818         * string/Makefile (tests): Add tst-inlcall.
5819         * string/tst-inlcall.c: New file.
5821         * string/strsignal.c: Add support for real-time signals.
5823         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
5824         presense of small buffer.
5826         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
5828         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
5829         for i686.
5831         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
5832         _NSIG + 1.
5834 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
5836         * Rules: Add explicit rule for dummy.o; at least one library needs
5837           it and it isn't autogenerated by the default rules.
5839 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5841         * math/libm-test.c: Tweak epsilons.
5843 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5845         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
5846         child.
5847         (feenv_mask_test): Likewise.
5849 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5851         * Makeconfig: Don't export CPPFLAGS.
5853 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5855         * sunrpc/rpc_main.c (parseargs): Use perror to print error
5856         message.
5858 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5860         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
5861         terminating null in key size.
5863 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5865         * nss/nss_files/files-service.c: Fix allocation size to include
5866         length of PROTO.
5868         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
5869         applicable.  Fix return value and error checking.
5870         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
5871         unparsable lines.
5872         (DB_LOOKUP): Allocate space for terminating null byte.
5874         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
5875         uids specially.
5877         * db2/makedb.c (process_input): Continue processing if a duplicate
5878         key is encountered.
5880 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
5882         * time/tzfile.h: Updated from tzcode1998b.
5883         * time/zdump.c: Likewise.
5884         * time/zic.c: Likewise.
5885         * time/africa: Update from tzdata1998b.
5886         * time/antarctica: Likewise.
5887         * time/asia: Likewise.
5888         * time/australasia: Likewise.
5889         * time/etcetera: Likewise.
5890         * time/europe: Likewise.
5891         * time/leapseconds: Likewise.
5892         * time/northamerica: Likewise.
5893         * time/southamerica: Likewise.
5895 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5897         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
5898         lookups ignoring case.
5899         * nss/nss_files/files-network.c: Do network lookups ignoring
5900         case.
5901         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
5902         case.
5903         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
5904         case insensitive comparing.
5905         Patches by Cristian Gafton <gafton@redhat.com>.
5907 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5909         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
5910         by Roland McGrath. [PR libc/395]
5912 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5914         * manual/arith.texi (Parsing of Integers): Correct description of
5915         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
5916         [PR libc/396]
5918 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
5920         * misc/lsearch.c (lsearch): Return a pointer to the new element
5921         if one was "allocated".
5923 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5925         * string/strsignal.c: NSIG is not a valid index into
5926         _sys_siglist.  Don't zap the last character of the "Unknown
5927         signal" message.
5929 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
5931         * locale/programs/charmap.c (parse_charmap): Correct parsing of
5932         ellipsis expressions.
5934         * locale/programs/charset.c (insert_char): Correctly insert value
5935         of eliipsis expression.
5937 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
5939         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
5940         <bits/setjmp.h>.
5941         * sysdeps/powerpc/setjmp.S: Likewise.
5942         Patches by Matt McLean <keys@keys.got.net>.
5944         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
5946         * Makefile: Undo last patch.
5947         (distribute): Add test-installation.pl.
5949         * configure.in: Correct handling of --enable-add-ons without parameter.
5950         Correct address of WWW pages.
5952         * libc.map: Add _nl_domain_bindings.
5954         * db2/mutex/tsl_parisc.s: New file.
5956         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
5957         and extra-module.mk.
5959         * localedata/Makefile (distribute): New.  Add all the files.
5961         * stdlib/Makefile (headers): Add inttypes.h.
5962         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
5963         * sysdeps/generic/inttypes.h: New file.
5964         * sysdeps/generic/strtoimax.c: New file.
5965         * sysdeps/generic/strtoumax.c: New file.
5966         * sysdeps/generic/wcstoimax.c: New file.
5967         * sysdeps/generic/wcstoumax.c: New file.
5968         * sysdeps/wordsize-32/Dist: Removed.
5969         * sysdeps/wordsize-32/Makefile: Removed.
5970         * sysdeps/wordsize-64/Dist: Removed.
5971         * sysdeps/wordsize-64/Makefile: Removed.
5972         * sysdeps/generic/bits/environments.h: New file.
5974         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
5975         header is still not correct.
5977         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
5978         * posix/unistd.h: Likewise.
5979         * sysdeps/generic/sys/mman.h: Likewise.
5980         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
5982         * manual/arith.texi: Change definition of mul macro.
5983         * manual/math.texi: Likewise.
5985         * misc/Makefile (routines): Add mmap64.
5986         * sysdeps/generic/mmap64.c: New file.
5987         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
5988         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
5989         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
5990         aliases to mmap.
5991         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5993         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
5995         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
5997         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
5999         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
6000         FOPEN_MAX also when included by limits.h.
6001         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6003         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
6004         and netrom/netrom.h.
6005         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
6006         oldsiglist to sysdep_routines, not aux.
6007         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
6009         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
6010         and SOL_NETROM definition.
6012         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
6014         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
6015         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
6017 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
6019         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
6021         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
6022         sa_handler with k_sa_handler.
6023         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
6024         strong alias.
6025         Reported by a sun.
6027         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
6028         __libc_have_rt_sigs here.
6029         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
6030         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6031         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
6032         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6034 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
6036         * sysdeps/powerpc/atomicity.h: New file.
6037         * sysdeps/mach/powerpc/machine-lock.h: New file.
6039         * Rules: Use -fpic to build anything that might end up in a users'
6040         shared library.
6042         * sysdeps/powerpc/s_fdim.c: New file.
6043         * sysdeps/powerpc/s_fdimf.c: New file.
6044         * sysdeps/powerpc/s_fmax.S: New file.
6045         * sysdeps/powerpc/s_fmaxf.S: New file.
6046         * sysdeps/powerpc/s_fmin.S: New file.
6047         * sysdeps/powerpc/s_fminf.S: New file.
6048         * sysdeps/powerpc/s_llrint.c: Now is for double.
6049         * sysdeps/powerpc/s_llrintf.c: New file.
6050         * sysdeps/powerpc/s_llround.c: Now is for double.
6051         * sysdeps/powerpc/s_llroundf.c: New file.
6052         * sysdeps/powerpc/s_lrint.c: Now is for double.
6053         * sysdeps/powerpc/s_lrintf.S: New file.
6054         * sysdeps/powerpc/s_lround.c: Now is for double.
6055         * sysdeps/powerpc/s_lroundf.c: New file.
6056         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
6057         lrintf, fdim, fdimf.
6059         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
6060         file directly, use its parent.
6062         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
6063         (for the third time).
6065 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
6067         * posix/sched.h: timespec is in <time.h>.
6069         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
6071 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
6073         * configure.in: Stop with error if --disable-static is used when
6074         the shared lib uses this library.
6076         * gen-FAQ.pl: I've perl installed in /usr/bin.
6078         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
6080         Fix Unix98 conformance problems in the headers.
6081         * catgets/nl_types.h: Define nl_item.
6082         * grp/grp.h: Define gid_t.
6083         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
6084         * include/nl_types.h: New file.
6085         * include/ulimit.h: New file.
6086         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
6087         constants in POSIX mode.
6088         * io/utime.h: Get definition for time_t.
6089         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
6090         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
6091         * libio/stdio.h: Define va_list.  Make snprintf also available is
6092         __USE_UNIX98.  Declare getopt function and variables.
6093         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
6094         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
6095         * math/math.h: Defined M_* constants as double for Unix98 mode.
6096         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
6097         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
6098         * posix/regex.h: Define REG_NOSYS.
6099         * posix/wordexp.h: Define WRDE_NOSYS.
6100         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
6101         500 for Unix98.
6102         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
6103         somewhere else as well.  Define clock_t for Unix98.
6104         * posix/sys/wait.h: Define pid_t.
6105         * pwd/pwd.h: Define gid_t, uid_t.
6106         * resource/Makefile (headers): Add ulimit.h.
6107         * resource/ulimit.h: New file.
6108         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
6109         instead of second argument.
6110         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
6111         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
6112         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
6113         * signal/signal.h: Define pid_t.
6114         * string/string.h: Don't declare BSD string functions in POSIX mode.
6115         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
6116         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
6117         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
6118         and POSIX.
6120         * inet/test_ifindex.c: Change test so that it does not fail for
6121         interface aliases.
6123         * locale/programs/locale.c (show_info): Use correct cast sequence
6124         for 64bit machines.
6126         * malloc/malloc.c: __malloc_initialized now signals three states:
6127         uninitialized, initializing, initialized.  Used in mcheck.
6128         * malloc/mcheck.c (mabort): Add '\n' to messages.
6129         (mcheck): Allow installation when malloc is uninitialized or is
6130         just initializing.
6132         * manual/memory.texi: Explain mtrace output a bit more.
6134         * math/libm-test.c: Add more epsilons.
6136         * misc/regexp.h (compile): Remove __ prefix from parameter names.
6138         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
6139         instead of strcpy for security.
6140         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
6141         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
6142         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
6144         * nss/digits_dots.c: Pretty print.
6146         * posix/getconf.c (vars): Add symbols for programming environment
6147         recognition.  Recognize --version.
6149         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
6150         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
6151         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
6153         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
6154         __need_FOPEN_MAX.
6155         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
6156         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
6157         __need_FOPEN_MAX.
6159         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
6160         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
6162         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
6163         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6164         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6165         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
6166         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6167         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
6169         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
6170         SCNu*.
6171         * sysdeps/wordsize-64/inttypes.h: Likewise.
6173         * time/africa: Update from tzdata1997j.
6174         * time/antarctica: Likewise.
6175         * time/asia: Likewise.
6176         * time/australasia: Likewise.
6177         * time/backward: Likewise.
6178         * time/etcetera: Likewise.
6179         * time/europe: Likewise.
6180         * time/factory: Likewise.
6181         * time/northamerica: Likewise.
6182         * time/pacificnew: Likewise.
6183         * time/southamerica: Likewise.
6185         * time/tzfile.h: Update from tzcode1997h.
6186         * time/zic.c: Likewise.
6188         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
6189         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
6190         isw*() functions for Unix98.
6191         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
6192         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
6193         is defined.
6195 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6197         * locale/duplocale.c: Increase usage_count only if less than
6198         MAX_USAGE_COUNT.
6199         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
6200         MAX_USAGE_COUNT.
6201         * locale/setlocale.c: Likewise.
6203 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6205         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
6206         dependency to make it easier to install it selectively.
6208         * Makerules (.SUFFIXES): Don't define any suffixes.
6210 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6212         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
6213         * sysdeps/generic/statfs64.c: Emulate using statfs.
6214         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
6215         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
6216         * sysdpes/generic/ftruncate64.c: New file.
6217         * sysdpes/generic/truncate64.c: New file.
6219         * sysdeps/generic/bits/stat.h: Add LFS support.
6220         * sysdeps/generic/bits/statfs.h: Likewise.
6222         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
6223         [__USE_FILE_OFFSET64]: Make long long constant.
6224         (RLIM64_INFINITY): Likewise.
6226         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
6227         for LFS support.
6228         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
6229         * sysdeps/generic/bits/resource.h: Likewise.
6231         * misc/Makefile (routines): Add truncate64 and ftruncate64.
6233         * include/features.h: Don't prevent LFS support from defining BSD
6234         and SYSV things.
6236         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
6237         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
6238         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
6240         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
6241         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
6242         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6244         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
6245         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
6246         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
6247         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
6248         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
6249         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
6250         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
6251         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
6252         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
6253         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
6254         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
6255         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
6256         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
6257         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
6258         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
6259         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
6260         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
6261         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
6262         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
6263         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
6265         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
6266         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
6267         * sysdeps/unix/sysv/linux/xstat64.c: New file.
6268         * sysdeps/unix/sysv/linux/readdir64.c: New file.
6269         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
6271         * sysdeps/unix/sysv/linux/getdents64.c: New file.
6272         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6273         [$(subdir)=dirent]: Add getdents64.
6274         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
6276         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
6278 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
6280         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
6282         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
6283         * sysdeps/generic/getrlimit64.c: Likewise.
6284         * sysdeps/generic/setrlimit.c: Likewise.
6285         * sysdeps/generic/setrlimit64.c: Likewise.
6287 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
6289         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
6290         using versioning.
6292         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
6294         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
6296 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6298         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
6299         after the codeset name.
6301 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6303         * libc.map: Add get_kernel_syms.
6305 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6307         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
6308         static.
6309         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
6310         Likewise.  Fix condition.
6312 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6314         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
6316 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6318         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
6319         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
6321 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6323         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
6324         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
6325         instead.  Oops.
6327 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6329         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
6331 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6333         * math/libm-test.c (catanh_test): Change epsilon.
6334         Reported by H.J. Lu.
6336 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
6338         * libc.map (__getpid): Added for linuxthreads.
6340 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
6342         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
6343         it if gcc uses static variable in DWARF2 unwind information
6344         for exception support.
6346         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
6348         * elf/soinit.c (__libc_global_ctors, _fini): Handle
6349         HAVE_DWARF2_UNWIND_INFO_STATIC.
6351         * libc.map (__register_frame*, __deregister_frame*): Make them
6352         global.
6354 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6356         * math/libm-test.c: Add more tests for "normal" values.
6358 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6360         * stdio-common/printf_fphex.c: Fix printing of long double number
6361         with a biased exponent of zero.  Fix rounding.
6363 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6365         * sunrpc/rpc_main.c: Accept new flag -$.
6366         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
6368 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6370         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
6371         dynamic linker first, in case the interface has changed.
6373 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6375         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
6376         order.
6378 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6380         * math/tgmath.h: Check for double first, for architectures where
6381         sizeof (long double) == sizeof (double).
6383 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6385         * math/libm-test.c: New tests for "normal" values added for most
6386         functions.
6388 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
6390         * version.h (VERSION): Bump to 2.0.91.
6392         * db2/makedb.c (process_input): Fix typo in message.
6393         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
6395         * elf/dynamic-link.h: Pretty print.
6397         * elf/rtld.c: Allow multiple preloading of a shared object.
6399         * include/limits.h: Prevent multiple inclusion.
6401         * malloc/Makefile (headers): Add mcheck.h.
6402         (distribute): Remove it here.
6403         * malloc/mcheck.h: Pretty print.
6404         * malloc/mtrace.c (mallenv): Make `const'.
6405         * malloc/mtrace.pl: Don't print table head for memory leaks if there
6406         are none.
6407         * manual/memory.texi: Update descriptor of malloc hooks.
6409         * posix/Makefile (routines): Add waitid.
6410         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
6411         on __id_t.
6412         * posix/sys/wait.h: Define idtype_t type.
6413         Add prototype for waitid.
6414         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
6415         * sysdeps/generic/waitid.c: Stub for waitid.
6416         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
6417         the __need_siginfo_t defined.
6418         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
6419         * sysdeps/generic/bits/types.h: Define __id_t.
6420         Correct definition of __FDMASK.
6421         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6422         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6423         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6425         * sysdeps/posix/waitid.c: New file.
6426         Provided by Zack Weinberg.
6428         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
6430         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6431         Add missing parameters.
6433         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
6434         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
6435         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
6436         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
6437         initialized.
6439         * sysdeps/i386/dl-machine.h: Little cleanup.
6441         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
6442         (__finite): Mark function as const.
6443         Add inline code for __ieee754_atan2.
6445         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
6446         (but don't use it now).
6447         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
6448         __atan.
6449         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
6450         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
6451         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
6452         real part.
6453         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
6454         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
6455         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
6456         __ieee754_atan2 to base 10.
6457         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
6458         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
6460         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
6461         old_kernel_sigaction.
6463         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
6465         * wctype/Makefile (routines): Add wctype_l.
6466         * wctype/wctype.h: Add declaration of __wctype_l.
6467         * wctype/wctype_l.c: New file.
6469 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
6471         * locale/C-ctype.c: Correct data for isw* functions.
6472         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
6473         byte order.
6474         * wctype/test_wctype.c: Add test for isw* functions.
6475         * wctype/wctype.c: Return value with expected byte order.
6477 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6479         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
6481 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
6483         * iconvdata/Makefile: Fix a typo.
6485         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
6486         oldsiglist for shared library.
6488         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
6489         sys_sigabbrev): Make them as the default version GLIBC_2.1.
6491         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
6492         sys_siglist, sys_sigabbrev): New file. Make them as the old
6493         version GLIBC_2.0.
6495         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
6496         to GLIBC_2.1.
6498 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
6500         * libio/iofgets.c (_IO_fgets): Return an error only if there
6501         is a new error.
6502         * libio/iogets.c (_IO_gets): Ditto.
6504 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
6506         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
6508         * libio/Makefile (routines, shared-only-routines): Add
6509         oldiofdopen.
6511         * libio/fileops.c: Don't use _IO_FILE_complete.
6512         * libio/iofdopen.c: Ditto.
6513         * libio/iofopen.c: Ditto.
6514         * libio/iofopen64.c: Ditto.
6515         * libio/iopopen.c: Ditto.
6516         * libio/iovdprintf.c: Ditto.
6518         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
6520         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
6521         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
6523         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
6524         _IO_old_fdopen, _IO_new_fdopen): New declaration.
6526         * libio/libio.h (_IO_FILE): Add more fields.
6527         (_IO_FILE_complete): Defined and make _IO_FILE be the old
6528         one if _IO_USE_OLD_IO_FILE is defined
6529         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
6530         them _IO_FILE_complete.
6532         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
6533         to adjust vtable.
6534         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
6535         _IO_JUMPS.
6536         (_IO_FILE_complete): Commented out.
6538         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
6539         * libio/oldiofclose.c: Ditto.
6540         * libio/oldiofopen.c: Ditto.
6541         * libio/oldstdfiles.c: Ditto.
6543         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
6544         for the old _IO_FILE.
6546         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
6547         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
6548         and stderr.
6550         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
6551         and remove INAME.
6553         * libio/stdio.c (stdin, stdout, stdin): Don't use
6554         _IO_FILE_complete.
6556         * libio/oldiofdopen.c: New.
6558         * stdio-common/vfprintf.c (buffered_vfprintf): Set
6559         hp->_vtable_offset to 0.
6561 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
6563         * libc.map (_IO_file_open): Added.
6565         * libio/libioP.h (_IO_file_open): Declared.
6567         * libio/fileops.c (_IO_file_open): New.
6568         (_IO_file_fopen): Call _IO_file_open ().
6570         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
6571         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
6573 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6575         * signal/signal.h: Fix selection of signal semantics to match
6576         comment.
6578 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6580         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
6581         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
6582         rt_sigreturn.
6583         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6584         [$(subdir)=signal]: Remove rt_sigreturn.
6585         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
6586         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
6587         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
6589 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6591         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
6592         declarations.
6594 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6596         * iconvdata/extra-module.mk: Expand extra-objs now.
6598 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6600         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
6601         inline functions by feature tests to avoid warning about missing
6602         prototype declarations.
6604 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6606         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
6607         return code for non existent +name entries.
6608         * nis/nss_compat/compat-pwd.c: Likewise.
6609         * nis/nss_compat/compat-spwd.c: Likewise.
6611 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
6613         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
6614         (EIO): Likewise.
6615         (ENOSPC): Likewise.
6616         (EEXIST): Likewise.
6617         (__errno_location): Likewise.
6619         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
6621         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
6623 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6625         * sunrpc/publickey.c: Use new NSS interface.
6627 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
6629         * manual/malloc.texi: Document mtrace/muntrace and the concept.
6631 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6633         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
6634         value, to match spirit of the standard.
6635         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
6636         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
6637         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
6639 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6641         * manual/signal.texi (Signal Stack): Remove spurious @item.
6643 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6645         * rt/aio.h: Remove double semicolon.
6647         * rt/librt.map: Add aio_init.
6649 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
6651         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
6652         * Makefile (subdirs): Replace rt by $(rt).
6654         * shlib-versions: Use version .2 for NSS modules.
6656         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
6657         argument.
6658         * pwd/fgetpwent_r.c: Likewise.
6659         * spwd/fgetspent_r.c: Likewise.
6660         * spwd/sgetspent_r.c: Likewise.
6661         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
6662         Store error number in *ERRNOP.  Little optimization.
6663         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
6664         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
6665         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
6666         (__internal_getnetgrent_r): New argument.
6667         Call __internal_setnetgrent_reuse with new argument.
6668         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
6669         * inet/netgroup.h: Add argument to prototypes.
6670         * nis/nisplus-parser.h: Likewise.
6671         * nis/nss_compat/compat-grp.c: Change everything to store error
6672         code through provided pointer and not use errno.
6673         * nis/nss_compat/compat-pwd.c: Likewise.
6674         * nis/nss_compat/compat-spwd.c: Likewise.
6675         * nis/nss_nis/nis-alias.c: Likewise.
6676         * nis/nss_nis/nis-ethers.c: Likewise.
6677         * nis/nss_nis/nis-grp.c: Likewise.
6678         * nis/nss_nis/nis-hosts.c: Likewise.
6679         * nis/nss_nis/nis-netgrp.c: Likewise.
6680         * nis/nss_nis/nis-network.c: Likewise.
6681         * nis/nss_nis/nis-proto.c: Likewise.
6682         * nis/nss_nis/nis-publickey.c: Likewise.
6683         * nis/nss_nis/nis-pwd.c: Likewise.
6684         * nis/nss_nis/nis-rpc.c: Likewise.
6685         * nis/nss_nis/nis-service.c: Likewise.
6686         * nis/nss_nis/nis-spwd.c: Likewise.
6687         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6688         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6689         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6690         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6691         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6692         * nis/nss_nisplus/nisplus-network.c: Likewise.
6693         * nis/nss_nisplus/nisplus-parser.c: Likewise.
6694         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6695         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6696         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6697         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6698         * nis/nss_nisplus/nisplus-service.c: Likewise.
6699         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6700         * nss/nss_db/db-XXX.c: Likewise.
6701         * nss/nss_db/db-alias.c: Likewise.
6702         * nss/nss_db/db-netgrp.c: Likewise.
6703         * nss/nss_files/files-XXX.c: Likewise
6704         * nss/nss_files/files-alias.c: Likewise
6705         * nss/nss_files/files-netgrp.c: Likewise
6706         * nss/nss_files/files-parse.c: Likewise
6707         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
6708         parameter of get functions.
6709         * nss/getXXent_r.c: Likewise.
6711         * localedata/tst-fmon.c: Print debug info if test fails.
6713         * rt/Makefile (routines): Add aio_notify.
6714         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
6715         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
6716         * rt/aio_fsync.c: Likewise.
6717         * rt/aio_misc.c: Likewise.
6718         * rt/aio_misc.h: Likewise.
6719         * rt/aio_read.c: Likewise.
6720         * rt/aio_read64.c: Likewise.
6721         * rt/aio_suspend.c: Likewise.
6722         * rt/aio_write.c: Likewise.
6723         * rt/aio_write64.c: Likewise.
6724         * rt/lio_listio.c: Likewise.
6725         * rt/lio_listio64.c: Likewise.
6726         * rt/aio_notify.c: New file.
6728         * sysdeps/generic/bits/sigset.h: Pretty print.
6730         * sysdeps/posix/pwrite.c: Define weak alias only if function is
6731         really defined as __pwrite.
6733         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
6734         instead of pread64.
6735         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6737         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
6738         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
6739         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
6740         size in syscall.
6741         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6742         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6743         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
6744         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6745         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6746         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6747         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
6748         for ACT being NULL.
6749         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
6750         RT signals.
6751         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
6752         __NR_pread is not defined.
6753         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
6754         __NR_pwrite is not defined.
6756 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6758         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
6759         handle for /etc/group back in some more cases.
6760         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
6761         handle for /etc/passwd back in some more cases.
6762         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
6763         handle for /etc/shadow back in some more cases.
6765 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
6767         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
6768         beyound its size.
6769         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
6770         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
6772 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
6774         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
6775         handling.  Don't use macros, we need functions.  Use inline functions
6776         for optimization.
6777         * sysdeps/wordsize-64/inttypes.h: Likewise.
6778         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
6779         and wcstoumax.
6780         * sysdeps/wordsize-64/Makefile: Likewise.
6781         * sysdeps/wordsize-32/Dist: Likewise.
6782         * sysdeps/wordsize-64/Dist: Likewise.
6783         * sysdeps/wordsize-32/strtoimax.c: New file.
6784         * sysdeps/wordsize-32/strtoumax.c: New file.
6785         * sysdeps/wordsize-32/wcstoimax.c: New file.
6786         * sysdeps/wordsize-32/wcstoumax.c: New file.
6787         * sysdeps/wordsize-64/strtoimax.c: New file.
6788         * sysdeps/wordsize-64/strtoumax.c: New file.
6789         * sysdeps/wordsize-64/wcstoimax.c: New file.
6790         * sysdeps/wordsize-64/wcstoumax.c: New file.
6792 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
6794         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
6795         that transparent union works.
6796         * sysdeps/generic/wait4.c (__wait4): Likewise.
6797         * sysdeps/generic/wait.c (__wait): Likewise.
6799         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
6800         size_t.
6802         * sysdeps/generic/syscall.c (syscall): Return value and arg are
6803         long, to match prototype.
6805         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
6806         have mremap() yet.
6808         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
6810         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
6812         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
6814         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
6815         __rlim_t.
6817         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
6819         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
6821         * io/sys/stat.h (S_ISLNK): Always false if we don't have
6822         __S_IFLNK.
6824         * sysdeps/standalone/close.c (_STDIO_H): Define before including
6825         <bits/stdio_lim.h>.
6826         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
6828 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
6830         * posix/sys/wait.h: Don't use transparent unions in C++.
6832 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6834         * time/time.h: Add strfxtime.
6836         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
6837         sysv_signal, strfxtime, pread64, pwrite64.
6839 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
6841         Alpha changes for EGCS:
6842         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
6843         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
6844         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
6845         (_start): Likewise.
6846         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
6848 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
6850         The kernel expects the arguments in a different order.
6851         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
6852         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
6854         * FAQ.in: New file.
6855         * gen-FAQ.pl: New file.
6856         * Makefile (FAQ): Add rule to generate from FAQ.in.
6858         * iconvdata/Makefile: Treat libJIS like the other modules.
6860         * rt/librt.map: New file.
6862         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
6863         inclusion.
6864         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
6865         comment.
6867 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
6869         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
6870         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
6871         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
6872         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
6874 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6876         * string/bits/string2.h: Fix spellings.
6878         * string/string.h: Fix spellings.
6880 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6882         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
6883         declaration to __syscall_rt_sigaction.
6885         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
6886         non-existant <sigcontext.h>.
6888 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6890         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
6891         typo.
6893 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6895         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
6897         * Makeconfig (shared-thread-library): Correct spelling.
6899         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
6900         <asm/pci.h>.
6902 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6904         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
6905         constants from Linux headers. Pointed out by
6906         csmall@scooter.o.i.net. [PR libc/369]
6908 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6910         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
6912 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6914         * configure.in: If --enable-add-ons is given without an
6915         argument, set the addons list to all subdirs with a configure
6916         script.
6918 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
6920         * Makeconfig: Add shared-thread-library variable.
6922         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
6923         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
6924         here.
6925         * sysdeps/m68k/fpu/e_acos.c: Likewise.
6926         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
6927         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6928         * sysdeps/m68k/fpu/e_pow.c: Likewise.
6929         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
6930         * sysdeps/m68k/fpu/k_cos.c: Likewise.
6931         * sysdeps/m68k/fpu/k_sin.c: Likewise.
6932         * sysdeps/m68k/fpu/k_tan.c: Likewise.
6933         * sysdeps/m68k/fpu/s_atan.c: Likewise.
6934         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
6935         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
6936         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
6937         * sysdeps/m68k/fpu/s_csin.c: Likewise.
6938         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
6939         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
6940         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
6941         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
6942         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
6943         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
6944         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
6945         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
6946         * sysdeps/m68k/fpu/s_modf.c: Likewise.
6947         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
6948         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
6949         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
6951         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
6952         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
6953         * signal/Makefile (headers): Add bits/siginfo.h.
6954         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
6955         (distribute): Add testrtsig.h.
6956         * signal/allocrtsig.c: New file.
6957         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
6958         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
6959         __libc_current_sigrtmax.
6960         * sysdeps/generic/sigqueue.c: New file.
6961         * sysdeps/generic/sigtimedwait.c: New file.
6962         * sysdeps/generic/sigwaitinfo.c: New file.
6963         * sysdeps/generic/testrtsig.h: New file.
6964         * sysdeps/generic/bits/siginfo.h: New file.
6965         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
6966         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
6967         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
6968         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
6969         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
6970         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
6971         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
6972         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
6973         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
6974         * sysdeps/unix/sysv/linux/sigpending.c: New file.
6975         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
6976         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
6977         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
6978         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
6979         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
6980         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
6981         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
6982         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
6983         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
6984         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
6985         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
6986         and _POSIX_REALTIME_SIGNALS.
6987         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
6988         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
6989         update _NSIG.
6990         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
6991         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
6992         definitions.
6994         * Makefile (subdirs): Add rt.
6995         * shlib-versions: Add entry for librt.
6996         * rt/Makefile: New file.
6997         * rt/aio.h: New file.
6998         * rt/aio_cancel.c: New file.
6999         * rt/aio_error.c: New file.
7000         * rt/aio_fsync.c: New file.
7001         * rt/aio_misc.c: New file.
7002         * rt/aio_misc.h: New file.
7003         * rt/aio_read.c: New file.
7004         * rt/aio_read64.c: New file.
7005         * rt/aio_return.c: New file.
7006         * rt/aio_suspend.c: New file.
7007         * rt/aio_write.c: New file.
7008         * rt/aio_write64.c: New file.
7009         * rt/lio_listio.c: New file.
7010         * rt/lio_listio64.c: New file.
7011         * sysdeps/generic/aio_sigqueue.c: New file.
7012         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
7013         * sysdeps/unix/sysv/linux/Dist: Add new files
7014         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7015         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
7016         rt_sigqueueinfo, rt_sigaction.
7018         * posix/Makefile (headers): Add bits/environments.h.
7019         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
7020         and _CS_LFS_CFLAGS on 64bit platforms.
7021         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
7022         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
7023         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
7024         compilation modules.
7025         * sysdeps/wordsize-32/bits/environments.h: New file.
7026         * sysdeps/wordsize-64/bits/environments.h: New file.
7028         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
7029         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
7030         __libc_pid.
7031         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
7032         0xf00baa.
7034         * string/string.h: Add declaration of __strverscmp.
7035         * string/strverscmp.c: Rename function ot __strverscmp and make old
7036         name weak alias.
7038         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
7039         * sysdeps/generic/enbl-secure.c: Likewise.
7040         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7042         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
7044         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
7046 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
7048         * posix/sys/wait.h: Use __transparent_union__ instead of
7049         transparent_union.  Reported by Roland McGrath.
7051 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7053         * resolv/inet_neta.c (inet_neta): Change type of first parameter
7054         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
7055         [PR libc/366].
7057         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
7059         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
7061 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7063         * grp/initgroups.c: Increase buffer if it is too small.
7065 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
7067         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
7068         fields, this is no ISO C.  Reported by Andreas Jaeger.
7070 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7072         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
7074 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
7076         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
7077         _SYS_UTSNAME_H not _UTSNAME_H.
7079 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7081         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
7082         computing s_scale.
7084 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7086         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
7087         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
7088         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
7090         * math/libm-test.c (csqrt_test): Add testcase.
7092 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
7094         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
7095         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
7096         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
7098 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7100         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
7102 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7104         * math/libm-test.c (acos_test): Add more tests.
7105         (asin_test): Likewise.
7106         (atan_test): Likewise.
7107         (exp_test): Likewise.
7108         (sin_test): Likewise.
7109         (sqrt_test): Likewise.
7110         (cpow_test): Likewise.
7111         (csqrt_test): Likewise.
7112         (cexp_test): Correct typo in gcc version test.
7114 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
7116         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
7117         <bits/setjmp.h>.
7118         * sysdeps/arm/setjmp.S: Likewise.
7120         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
7122 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
7124         * stdio/stdio.h: Add prototype for tmpfile64().
7126 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
7128         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
7129         prototype to keep in step with libio version.
7131         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
7133 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
7135         * sysdeps/generic/Makefile: Don't try to use make_siglist if
7136         cross-compiling.
7138 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
7140         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
7141         load GOT ptr before jumping to _exit.
7142         Reported by Xavier Leroy.
7144 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
7146         * Makefile (subdirs): Add iconvdata and localedata.
7148         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
7150         * iconv/gconv_conf.c (read_conf_file): Little optimization.
7152         * iconvdata/8bit-gap.c: New file.
7153         * iconvdata/8bit-generic.c: Renamed from ...
7154         * iconvdata/iso8859-generic.c: ...this.
7155         * iconvdata/configure: Removed.
7156         * iconvdata/Makefile: Add new modules and better rules.
7157         * iconvdata/iso6937.c: Minor bug fixes.
7158         * iconvdata/iso8859-1.c: Likewise.
7159         * iconvdata/t61.c: Likewise.
7160         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
7161         Minor bug fixes.
7162         * iconvdata/iso8859-3.c: Likewise.
7163         * iconvdata/iso8859-4.c: Likewise.
7164         * iconvdata/iso8859-5.c: Likewise.
7165         * iconvdata/iso8859-6.c: Likewise.
7166         * iconvdata/iso8859-7.c: Likewise.
7167         * iconvdata/iso8859-8.c: Likewise.
7168         * iconvdata/iso8859-9.c: Likewise.
7169         * iconvdata/iso8859-10.c: Likewise.
7170         * iconvdata/ebcdic-at-de-a.c: New file.
7171         * iconvdata/ebcdic-at-de.c: New file.
7172         * iconvdata/ebcdic-ca-fr.c: New file.
7173         * iconvdata/hp-roman8.c: New file.
7174         * iconvdata/koi-8.c: New file.
7175         * iconvdata/koi8-r.c: New file.
7176         * iconvdata/koi8-h.c: New file.
7177         * iconvdata/latin-greek-1.c: New file.
7178         * iconvdata/latin-greek-1.h: New file.
7179         * iconvdata/latin-greek.c: New file.
7180         * iconvdata/latin-greek.h: New file.
7181         * iconvdata/jis0201.c: New file.
7182         * iconvdata/jis0201.h: New file.
7183         * iconvdata/jis0208.c: New file.
7184         * iconvdata/jis0208.h: New file.
7185         * iconvdata/jis0212.c: New file.
7186         * iconvdata/jis0212.h: New file.
7187         * iconvdata/sjis.c: New file.
7188         * iconvdata/gap.pl: New file.  Script to generate table header.
7189         * iconvdata/gaptab.pl: New file.
7190         * iconvdata/gconv-modules: Add info about new modules.
7192         * locale/programs/charmap.c: Also examine alias names given in charmap
7193         files.
7195         * localedata/*: Add to here from add-on.  We need the information
7196         to generate tables for iconv.
7198         Update from db-2.3.14.
7199         * db2/Makefile: Updated.
7200         * db2/config.h: Likewise.
7201         * db2/db.h: Likewise.
7202         * db2/db_int.h: Likewise.
7203         * db2/btree/bt_cursor.c: Likewise.
7204         * db2/btree/bt_delete.c: Likewise.
7205         * db2/btree/bt_put.c: Likewise.
7206         * db2/btree/bt_search.c: Likewise.
7207         * db2/btree/bt_split.c: Likewise.
7208         * db2/btree/btree_auto.c: Likewise.
7209         * db2/common/db_appinit.c: Likewise.
7210         * db2/common/db_apprec.c: Likewise.
7211         * db2/common/db_err.c: Likewise.
7212         * db2/common/db_region.c: Likewise.
7213         * db2/db/db_auto.c: Likewise.
7214         * db2/db/db_dispatch.c: Likewise.
7215         * db2/db/db_ret.c: Likewise.
7216         * db2/dbm/dbm.c: Likewise.
7217         * db2/hash/hash_auto.c: Likewise.
7218         * db2/include/btree_ext.h: Likewise.
7219         * db2/include/common_ext.h: Likewise.
7220         * db2/include/db.h.src: Likewise.
7221         * db2/include/db_cxx.h: Likewise.
7222         * db2/include/db_ext.h: Likewise.
7223         * db2/include/db_int.h.src: Likewise.
7224         * db2/include/lock.h: Likewise.
7225         * db2/include/log.h: Likewise.
7226         * db2/include/mp.h: Likewise.
7227         * db2/include/mp_ext.h: Likewise.
7228         * db2/include/os_ext.h: Likewise.
7229         * db2/include/os_func.h: Likewise.
7230         * db2/lock/lock.c: Likewise.
7231         * db2/lock/lock_deadlock.c: Likewise.
7232         * db2/log/log.c: Likewise.
7233         * db2/log/log_archive.c: Likewise.
7234         * db2/log/log_auto.c: Likewise.
7235         * db2/log/log_get.c: Likewise.
7236         * db2/log/log_put.c: Likewise.
7237         * db2/mp/mp_bh.c: Likewise.
7238         * db2/mp/mp_fget.c: Likewise.
7239         * db2/mp/mp_fopen.c: Likewise.
7240         * db2/mp/mp_fput.c: Likewise.
7241         * db2/mp/mp_fset.c: Likewise.
7242         * db2/mp/mp_open.c: Likewise.
7243         * db2/mp/mp_pr.c: Likewise.
7244         * db2/mp/mp_region.c: Likewise.
7245         * db2/mp/mp_sync.c: Likewise.
7246         * db2/mutex/README: Likewise.
7247         * db2/mutex/mutex.c: Likewise.
7248         * db2/os/os_open.c: Likewise.
7249         * db2/os/os_func.c: Removed.
7250         * db2/os/os_config.c: New file.
7251         * db2/os/os_spin.c: New file.
7252         * db2/txn/txn.c: Likewise.
7253         * db2/txn/txn_auto.c: Likewise.
7255 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
7257         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
7258         __typeof for C++ since this fails for class members.
7259         Reported by Neal Becker <neal@ctd.comsat.com>.
7261 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7263         * configure.in: Check for a working makeinfo (3.11 or better).
7264         * config.make.in: Add MAKEINFO to be substituted.
7265         * manual/Makefile: Don't update info if makeinfo is too old.
7267 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
7269         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
7270         * sysdeps/alpha/__longjmp.S: Likewise.
7271         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
7272         not <bits/termios.h>.
7274         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
7275         __llseek and make llseek and lseek64 weak aliases.
7276         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7277         Patches by a sun <asun@zoology.washington.edu>.
7279 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7281         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
7282         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7283         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7284         * misc/sys/syslog.h: Clean up BSD header.
7286 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7288         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
7290         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
7291         for ctan(+-inf,x).
7292         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
7293         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
7295         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
7296         csqrt (-1), ctanh(i*pi/4).
7298 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7300         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
7302 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
7304         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
7306 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7308         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
7310 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
7312         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
7313         and use.  Define GETCWD_RETURN_TYPE instead and use it.
7314         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
7315         of GETCWD_STORYGE_CLASS and put the return type and the
7316         `internal_function' in the right order for gcc 2.7.2.
7318 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7320         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
7321         incompatible with Linux 2.1.x.  Packages using modules
7322         (e.g. modutils) should/do provide their own version.  Suggested by
7323         Richard Henderson.
7325         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
7327         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7328         [$(subdir)=socket]: Remove sys/module.h.
7330 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
7332         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
7333         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
7335         * iconv/gconv_close.c: Correct freeing of descriptor data.
7336         * iconv/gconv_simple.c: Return correct error values for illegal or
7337         incomplete characters.
7339         * Makefile (iconvdata/%): Special goal to simplify iconvdata
7340         development.
7341         * iconvdata/Makefile: New file.
7342         * iconvdata/configure: Likewise.
7343         * iconvdata/extra-module.mk: Likewise.
7344         * iconvdata/gconv-modules: Likewise.
7345         * iconvdata/iso6937.c: Likewise.
7346         * iconvdata/iso8859-1.c: Likewise.
7347         * iconvdata/iso8859-10.c: Likewise.
7348         * iconvdata/iso8859-10.h: Likewise.
7349         * iconvdata/iso8859-2.c: Likewise.
7350         * iconvdata/iso8859-2.h: Likewise.
7351         * iconvdata/iso8859-3.c: Likewise.
7352         * iconvdata/iso8859-3.h: Likewise.
7353         * iconvdata/iso8859-4.c: Likewise.
7354         * iconvdata/iso8859-4.h: Likewise.
7355         * iconvdata/iso8859-5.c: Likewise.
7356         * iconvdata/iso8859-5.h: Likewise.
7357         * iconvdata/iso8859-6.c: Likewise.
7358         * iconvdata/iso8859-6.h: Likewise.
7359         * iconvdata/iso8859-7.c: Likewise.
7360         * iconvdata/iso8859-7.h: Likewise.
7361         * iconvdata/iso8859-8.c: Likewise.
7362         * iconvdata/iso8859-8.h: Likewise.
7363         * iconvdata/iso8859-9.c: Likewise.
7364         * iconvdata/iso8859-9.h: Likewise.
7365         * iconvdata/iso8859-generic.c: Likewise.
7366         * iconvdata/t61.c: Likewise.
7368         * string/Makefile (routines): Add strcasestr.
7369         * string/string.h: Add prototype for strcasestr.
7370         * sysdeps/generic/strcasestr.c: New file.
7371         * wcsmbs/mbrtowc.c: Simplify special case a bit.
7372         * wcsmbs/wcrtomb.c: Likewise.
7373         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
7374         * wcsmbs/wcsnrtombs.c: Likewise.
7375         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
7376         partial character is read.
7377         * wcsmbs/wcsrtombs.c: Likewise.
7378         * wcsmbs/wmemrtombs.c: Likewise.
7379         * wcsmbs/wmemrtowcs.c: Likewise.
7381         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
7382         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
7383         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
7384         * sysdeps/i386/elf/setjmp.S: Likewise.
7385         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
7386         <bits/termios.h>.
7388         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
7389         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
7391         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
7392         * sysvipc/sys/ipc.h: Likewise.
7393         * sysvipc/sys/msg.h: Likewise.
7394         * sysvipc/sys/sem.h: Likewise.
7395         * sysvipc/sys/shm.h: Likewise.
7397         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
7398         used directly.
7399         * sysdeps/alpha/bits/setjmp.h: Likewise.
7400         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7401         * sysdeps/arm/bits/endian.h: Likewise.
7402         * sysdeps/arm/bits/setjmp.h: Likewise.
7403         * sysdeps/generic/bits/byteswap.h: Likewise.
7404         * sysdeps/generic/bits/confname.h: Likewise.
7405         * sysdeps/generic/bits/dirent.h: Likewise.
7406         * sysdeps/generic/bits/dlfcn.h: Likewise.
7407         * sysdeps/generic/bits/endian.h: Likewise.
7408         * sysdeps/generic/bits/fenv.h: Likewise.
7409         * sysdeps/generic/bits/huge_val.h: Likewise.
7410         * sysdeps/generic/bits/in.h: Likewise.
7411         * sysdeps/generic/bits/ioctl-types.h: Likewise.
7412         * sysdeps/generic/bits/ioctls.h: Likewise.
7413         * sysdeps/generic/bits/ipc.h: Likewise.
7414         * sysdeps/generic/bits/msq.h: Likewise.
7415         * sysdeps/generic/bits/poll.h: Likewise.
7416         * sysdeps/generic/bits/resource.h: Likewise.
7417         * sysdeps/generic/bits/sched.h: Likewise.
7418         * sysdeps/generic/bits/sem.h: Likewise.
7419         * sysdeps/generic/bits/setjmp.h: Likewise.
7420         * sysdeps/generic/bits/shm.h: Likewise.
7421         * sysdeps/generic/bits/sigaction.h: Likewise.
7422         * sysdeps/generic/bits/sigcontext.h: Likewise.
7423         * sysdeps/generic/bits/socket.h: Likewise.
7424         * sysdeps/generic/bits/stat.h: Likewise.
7425         * sysdeps/generic/bits/statfs.h: Likewise.
7426         * sysdeps/generic/bits/stdio_lim.h: Likewise.
7427         * sysdeps/generic/bits/termios.h: Likewise.
7428         * sysdeps/generic/bits/time.h: Likewise.
7429         * sysdeps/generic/bits/uio.h: Likewise.
7430         * sysdeps/generic/bits/utmp.h: Likewise.
7431         * sysdeps/generic/bits/utmpx.h: Likewise.
7432         * sysdeps/generic/bits/utsname.h: Likewise.
7433         * sysdeps/generic/bits/waitflags.h: Likewise.
7434         * sysdeps/generic/bits/waitstatus.h: Likewise.
7435         * sysdeps/gnu/bits/utmp.h: Likewise.
7436         * sysdeps/gnu/bits/utmpx.h: Likewise.
7437         * sysdeps/i386/bits/byteswap.h: Likewise.
7438         * sysdeps/i386/bits/endian.h: Likewise.
7439         * sysdeps/i386/bits/huge_val.h: Likewise.
7440         * sysdeps/i386/bits/setjmp.h: Likewise.
7441         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7442         * sysdeps/ieee754/bits/huge_val.h: Likewise.
7443         * sysdeps/m68k/bits/byteswap.h: Likewise.
7444         * sysdeps/m68k/bits/endian.h: Likewise.
7445         * sysdeps/m68k/bits/setjmp.h: Likewise.
7446         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7447         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
7448         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
7449         * sysdeps/mach/hurd/bits/stat.h: Likewise.
7450         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
7451         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
7452         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
7453         * sysdeps/mips/bits/dlfcn.h: Likewise.
7454         * sysdeps/mips/bits/endian.h: Likewise.
7455         * sysdeps/mips/bits/setjmp.h: Likewise.
7456         * sysdeps/mips/dec/bits/endian.h: Likewise.
7457         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
7458         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
7459         * sysdeps/mips/p40/bits/endian.h: Likewise.
7460         * sysdeps/powerpc/bits/endian.h: Likewise.
7461         * sysdeps/powerpc/bits/fenv.h: Likewise.
7462         * sysdeps/powerpc/bits/setjmp.h: Likewise.
7463         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
7464         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
7465         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7466         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
7467         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7468         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
7469         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7470         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
7471         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
7472         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
7473         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
7474         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
7475         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
7476         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
7477         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
7478         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
7479         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
7480         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
7481         * sysdeps/unix/common/bits/dirent.h: Likewise.
7482         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
7483         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7484         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7485         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7486         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
7487         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
7488         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
7489         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
7490         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
7491         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
7492         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7493         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7494         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7495         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
7496         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7497         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
7498         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
7499         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7500         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7501         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
7502         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7503         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7504         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7505         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7506         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
7507         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
7508         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7509         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7510         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
7511         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7512         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7513         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7514         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
7515         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
7516         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7517         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7518         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7519         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
7520         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
7521         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
7522         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
7523         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7524         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7525         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
7526         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
7527         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7528         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
7529         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7530         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
7531         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
7532         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7533         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7534         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
7535         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7536         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7537         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7538         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
7539         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
7540         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
7541         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
7542         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
7543         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
7544         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
7545         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
7546         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
7547         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7548         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7549         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
7550         * sysdeps/vax/bits/huge_val.h: Likewise.
7551         * sysdeps/vax/bits/setjmp.h: Likewise.
7552         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
7553         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
7555 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7557         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
7559 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
7561         * strftime.c (strftime):
7562         No longer any need to undef or declare if emacs is defined.
7563         (my_strftime): When checking a -1 returned by mktime, don't blow up
7564         if localtime_r returns NULL.
7566 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7568         * README.template: Fix spelling.
7570 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7572         * configure.in: Enhance --enable-add-ons description a wee bit.
7574 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7576         * glibcbug.in: Add more information of build environment and flags.
7578 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7580         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
7581         it into ENOENT.
7583 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
7585         * elf/dl-support.c: Call __libc_init_secure to make sure
7586         __libc_enable_secure is defined early.
7587         * sysdeps/generic/enbl-secure.c: Change function name to
7588         __libc_init_secure and make it global instead of a constructor.
7590         * iconv/gconv.c: Fix lots of bugs.
7591         * iconv/gconv.h: Likewise.
7592         * iconv/gconv_builtin.h: Likewise.
7593         * iconv/gconv_close.c: Likewise.
7594         * iconv/gconv_conf.c: Likewise.
7595         * iconv/gconv_db.c: Likewise.
7596         * iconv/gconv_dl.c: Likewise.
7597         * iconv/gconv_open.c: Likewise.
7598         * iconv/gconv_simple.c: Likewise.
7599         * iconv/iconv.c: Likewise.
7600         * iconv/iconv_close.c: Likewise.
7601         * iconv/iconv_open.c: Likewise.
7603         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
7604         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
7605         * wcsmbs/wmemrtombs.c: New file.
7606         * wcsmbs/wmemrtowcs.c: New file.
7608 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
7610         * iconv/gconv_simple.c: Fix lots of bugs.
7611         * iconv/iconv_open.c: Normalize names before passing them to
7612         __gconv_open.
7614         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
7616         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
7617         * stdio-common/test-popen.c: Add test for above change.
7619         * math/libm-test.c: Print test results also using %a format,
7620         specified in PRINTF_XEXPR macro.
7621         * math/test-double.c: Define PRINTF_XEXPR.
7622         * math/test-float.c: Likewise.
7623         * math/test-ldouble.c: Likewise.
7624         * math/test-idouble.c: Likewise.
7625         * math/test-ifloat.c: Likewise.
7626         * math/test-ildoubl.c: Likewise.
7628         * stdio-common/vfscanf.c: Recognize a in format specifier only as
7629         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
7630         FP number format.
7632         * stdlib/strtod.c: Little code cleanup.
7634         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
7635         compiling in math subdir.
7637         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
7638         instead of __LIBC_M81_MATH_INLINES.
7639         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7640         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7641         * sysdeps/m68k/fpu/e_pow.c: Likewise.
7642         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7643         * sysdeps/m68k/fpu/k_cos.c: Likewise.
7644         * sysdeps/m68k/fpu/k_sin.c: Likewise.
7645         * sysdeps/m68k/fpu/k_tan.c: Likewise.
7646         * sysdeps/m68k/fpu/s_atan.c: Likewise.
7647         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7648         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7649         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7650         * sysdeps/m68k/fpu/s_csin.c: Likewise.
7651         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7652         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7653         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7654         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7655         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7656         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7657         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7658         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7659         * sysdeps/m68k/fpu/s_modf.c: Likewise.
7660         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7661         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7662         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7663         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
7664         __LIBC_INTERNAL_MATH_INLINES is defined.
7666         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
7667         of compare macros from ISO C 9X.  Optimize generic versions a bit.
7668         Define __signbit inline functions and __ieee754_sqrt which can be
7669         used if the ompiler is fixed.
7671         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
7673 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7675         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
7676         sysdeps/generic in the whole dep file, not only in the first line.
7678 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7680         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
7682 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7684         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
7685         place.
7687 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7689         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
7690         is non-empty.
7692 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
7694         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
7695         return value.
7697 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
7699         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
7700         readlink succeeds but the return value is too long.
7702         * stdio-common/printf_fphex.c: Determine sign of number correctly.
7704 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
7706         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
7707         __remqu for Alpha.
7709 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
7711         * sysdeps/generic/sys/ucontext.h: Stub context file.
7713         * libio/iofprintf.c: Removed.  We use the stdio-common version.
7715         * manual/Makefile (distribute): Add stdio-fp.c.
7717         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
7719         * db2/Makefile (distribute): Add include/os_func.h, README and
7720         mutex/tsl_parisc.s.
7722         * hesiod/Makefile (distribute): Add README.hesiod.
7724 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
7726         * iconv/gconv.c: Correctly call transformation function.
7728         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
7730 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7732         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
7733         wrong results for e.g. remquo (3,2, &x)).
7734         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
7735         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
7737 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7739         * configure.in (ld --version-script): Test if the same symbol
7740         maybe defined in all versions (needed by recent changes to
7741         libc.map and supported with binutils 2.8.1.0.17) and issue warning
7742         if versioning is not supported/enabled.
7743         (bash test): Correct test case.
7745         * math/libm-test.c: Added counting/reporting of number of test cases.
7747         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
7748         use awk instead.
7750         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
7752 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7754         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
7756 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
7758         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
7759         Replace revoke call by use of REVOKE.
7760         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
7761         empty and #include generic version.
7762         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7764 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
7766         * libc.map: Add socket functions with __libc_* names.
7767         Reported by Andreas Jaeger.
7769 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7771         * libc.map: Tidy up (remove duplicates, sort entries).
7773 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7775         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
7777 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
7779         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
7780         again after successful call.
7781         Patch by Marc Lehmann <pcg@goof.com>.
7783 1997-11-17  Paul Eggert  <eggert@twinsun.com>
7785         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
7786         as some hosts need this to declare localtime_r properly.
7788 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
7790         * libc.map: Add iconv_open, iconv, and iconv_close.
7792 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
7794         * iconv/Makefile: New file.
7795         * iconv/gconv.c: New file.
7796         * iconv/gconv.h: New file.
7797         * iconv/gconv_builtin.c: New file.
7798         * iconv/gconv_builtin.h: New file.
7799         * iconv/gconv_close.c: New file.
7800         * iconv/gconv_conf.c: New file.
7801         * iconv/gconv_db.c: New file.
7802         * iconv/gconv_dl.c: New file.
7803         * iconv/gconv_open.c: New file.
7804         * iconv/gconv_simple.c: New file.
7805         * iconv/iconv.c: New file.
7806         * iconv/iconv.h: New file.
7807         * iconv/iconv_close.c: New file.
7808         * iconv/iconv_open.c: New file.
7809         * include/gconv.h: New file.
7811         * Makeconfig: Define gconvdir.
7812         * Makefile (subdirs): Add iconv.
7814         * string/bits/string2.h: Add optimization for strtok_r.
7816         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
7817         for NULL.
7818         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7819         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
7821         * configure.in: Correct test for bash2.
7822         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7824         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
7825         (CFLAGS-locfile.c): Likewise.
7826         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7828         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
7829         non-existing entry if the table is full.
7831         * posix/regex.h: Pretty print.
7833         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
7835         * sysdeps/posix/ctermid.c: Simplify a bit.
7837         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
7839 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7841         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
7842         <sys/types.h> instead of <asm/types.h>.
7844 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7846         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
7848 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
7850         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
7851         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
7852         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
7853         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
7854         fclose): Added to GLIBC_2.1.
7856         * libio/Makefile (routines, shared-only-routines): Add
7857         oldiofclose.  Remove oldfreopen.
7859         * libio/freopen.c (freopen): When PIC is defined, call
7860         _IO_old_freopen () for old stdio.
7862         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
7863         (_IO_fclose, fclose): Use _IO_new_fclose as default version
7864         for GLIBC_2.1.
7866         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
7867         instead of _IO_file_close_it.
7869         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
7870         to _IO_2_1_stdxxx_.
7871         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
7872         is defined.
7874         * libio/libioP.h (_IO_old_do_flush): New.
7876         * libio/oldfileops.c (_IO_old_file_close_it,
7877         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
7878         Call _IO_old_do_flush () instead of _IO_do_flush ().
7879         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
7880         _IO_do_write ().
7882         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
7883         instead of _IO_file_init ().
7884         Bind old symbols to version GLIBC_2.0.
7886         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
7887         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
7888         _IO_stdxxx_.
7889         (_IO_check_libio): New function in .init.
7891         * libio/oldiofclose.c: New file.
7893         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
7894         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
7895         (DEF_STDFILE): Don't use default_symbol_version.
7897         * libio/stdio.c (stdin, stdout, stderr): Set to
7898         _IO_2_1_stdxxx_._
7899         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
7900         stdxxx.
7902         * csu/Makefile (distribute): Add init.c.
7903         (extra-objs): Add init.o for ELF.
7904         (start-installed-name): Add $(objpfx)init.o.
7906         * csu/init.c: New file.
7908 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
7910         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
7911         definition as the default.
7913 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
7915         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
7917 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7919         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
7920         (PR 351).
7922 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
7924         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
7925         to preserve condition codes on function call.
7927 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7929         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
7931 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7933         * math/libm-test.c (asin_test): Add epsilon for float.
7934         (tan_test): Add epsilon for float.
7935         (log1p_test): Add epsilon for float.
7936         (inverse_functions): Add epsilons.
7938         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
7939         net/if_packet.h.
7941         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
7943 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7945         * md5-crypt/Makefile (extra-objs): Make recursively expanded
7946         variable, since $(object-suffixes) is not defined yet.
7948 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7950         * db2/Makefile (distribute): db185/db185_int.src ->
7951         db185/db185_int.h.
7953 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7955         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
7956         exactly one.
7958 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7960         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
7961         name.
7962         * sysdeps/generic/e_acosl.c: Likewise.
7963         * sysdeps/generic/e_asinl.c: Likewise.
7964         * sysdeps/generic/e_atan2l.c: Likewise.
7965         * sysdeps/generic/e_expl.c: Likewise.
7966         * sysdeps/generic/e_fmodl.c: Likewise.
7967         * sysdeps/generic/e_j0l.c: Likewise.
7968         * sysdeps/generic/e_j1l.c: Likewise.
7969         * sysdeps/generic/e_jnl.c: Likewise.
7970         * sysdeps/generic/e_lgammal_r.c: Likewise.
7971         * sysdeps/generic/e_log10l.c: Likewise.
7972         * sysdeps/generic/e_logl.c: Likewise.
7973         * sysdeps/generic/e_powl.c: Likewise.
7974         * sysdeps/generic/e_sqrtl.c: Likewise.
7975         * sysdeps/generic/e_exp2l.c: Likewise.
7977 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7979         * Make-dist (+sysdep-names): Remove extra paren.
7980         * Makefile (distribute): Add stub-tag.h.
7981         * elf/Makefile (distribute): Add atomicity.h.
7982         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
7983         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7984         [$(subdir)=socket]: Add net/if_packet.h.
7985         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
7986         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
7987         net/if_packet.h, scsi/sg.h.
7989 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7991         * Makefile (install): Quote $(CC) expansion.
7993 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7995         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
7996         working /proc cwd and no restrictions on path length.  Following
7997         some ideas from Andi Kleen <ak@muc.de> (PR 350).
7999 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8001         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
8002         * nis/nss_compat/compat-pwd.c: Likewise.
8003         * nis/nss_compat/compat-spwd.c: Likewise.
8005 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
8007         * sysdeps/libm-i387/s_fdim.S: New file.
8008         * sysdeps/libm-i387/s_fdimf.S: New file.
8009         * sysdeps/libm-i387/s_fdiml.S: New file.
8010         * sysdeps/libm-i387/i686/s_fdim.S: New file.
8011         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
8012         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
8014 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8016         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
8017         pointer to unsigned char.
8019 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8021         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
8023         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
8025         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
8027 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8029         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
8030         ilogb(0/NaN).
8031         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
8032         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
8034 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
8036         * sysdeps/libm-i387/s_fmin.S: New file.
8037         * sysdeps/libm-i387/s_fminf.S: New file.
8038         * sysdeps/libm-i387/s_fminl.S: New file.
8039         * sysdeps/libm-i387/s_fmax.S: New file.
8040         * sysdeps/libm-i387/s_fmaxf.S: New file.
8041         * sysdeps/libm-i387/s_fmaxl.S: New file.
8042         * sysdeps/libm-i387/i686/s_fmin.S: New file.
8043         * sysdeps/libm-i387/i686/s_fminf.S: New file.
8044         * sysdeps/libm-i387/i686/s_fminl.S: New file.
8045         * sysdeps/libm-i387/i686/s_fmax.S: New file.
8046         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
8047         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
8049 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
8051         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
8052         * sysdeps/unix/sysv/linux/send.S: Likewise.
8053         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8054         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8055         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8056         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8057         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8058         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8059         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
8061 See ChangeLog.7 for earlier changes.