Update.
[glibc.git] / ChangeLog
blobbb5d89dc36204e749b72615feead6c3748c36d6e
1 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
4         iso8859-8 and iso8859-10.
5         * iconvdata/iso8859-5.c: Change to use gap method.
6         * iconvdata/iso8859-7.c: Likewise.
7         * iconvdata/iso8859-8.c: Likewise.
8         * iconvdata/iso8859-10.c: Likewise.
10         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
11         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
12         end of the loop.
13         * iconvdata/iso-2022-jp.c: New file.
15         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
16         * iconvdata/ksc5601.h: Unify function interfaces.
17         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
18         * iconvdata/uhc.c: Likewise.
20         * iconvdata/gb2312.h: Use correct types.
22         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
23         size elements of data.
25 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
27         * string/tst-svc.expect: Adapt for change in .input.
28         * string/tst-svc.input: More tests.
30 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
32         * iconvdata/Makefile: Add rules for new modules.
33         * iconvdata/gconv-modules: Likewise.
34         * iconvdata/cp737.c: New file.
35         * iconvdata/cp737.h: New file.
36         * iconvdata/cp775.c: New file.
37         * iconvdata/cp775.h: New file.
38         * iconvdata/cp874.c: New file.
39         * iconvdata/cp874.h: New file.
41 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
43         * iconvdata/Makefile: Create target directory before generating
44         headers.
46 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
48         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
49         __USER_LABEL_PREFIX__.
50         (__ASMNAME, __ASMNAME2): New macros.
52 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
54         * elf/dl-load.c: Include sys/param.h for MAX.
56 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
58         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
59         __ftruncate the strong symbol, and add weak alias.
60         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
62 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
64         * termios/cfsetspeed.c: Make code cleaner and add missing const.
65         Patch by Joe Keane <jgk@jgk.org>.
67         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
68         free()ing.
70 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
72         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
73         Patch by Thomas Bushnell, n/BSG.
75 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
77         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
79 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
81         * iconvdata/Makefile: Put generated headers in build directory.
83 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
85         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
86         strsep as current directory.
88         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
89         Java.  Add definitions for unicodelittle implementation.
90         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
91         * iconv/gconv_simple.c: Define unicodelittle functions.
93         * iconv/iconv_prog.c: Make program print information about position
94         of illegal character in input.
96         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
97         comparison of charset name.
98         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
99         * iconvdata/ebcdic-at-de-a.c: Likewise.
100         * iconvdata/ebcdic-at-de.c: Likewise.
101         * iconvdata/ebcdic-ca-fr.c: Likewise.
102         * iconvdata/euccn.c: Likewise.
103         * iconvdata/eucjp.c: Likewise.
104         * iconvdata/euckr.c: Likewise.
105         * iconvdata/euctw.c: Likewise.
106         * iconvdata/hp-roman8.c: Likewise.
107         * iconvdata/iso6937.c: Likewise.
108         * iconvdata/iso8859-1.c: Likewise.
109         * iconvdata/iso8859-10.c: Likewise.
110         * iconvdata/iso8859-2.c: Likewise.
111         * iconvdata/iso8859-3.c: Likewise.
112         * iconvdata/iso8859-4.c: Likewise.
113         * iconvdata/iso8859-5.c: Likewise.
114         * iconvdata/iso8859-6.c: Likewise.
115         * iconvdata/iso8859-7.c: Likewise.
116         * iconvdata/iso8859-8.c: Likewise.
117         * iconvdata/iso8859-9.c: Likewise.
118         * iconvdata/johab.c: Likewise.
119         * iconvdata/koi-8.c: Likewise.
120         * iconvdata/koi8-r.c: Likewise.
121         * iconvdata/latin-greek-1.c: Likewise.
122         * iconvdata/latin-greek.c: Likewise.
123         * iconvdata/sjis.c: Likewise.
124         * iconvdata/t61.c: Likewise.
125         * iconvdata/uhc.c: Likewise.
127         * iconvdata/iso646.c: Add support for more ISO 646 variants.
128         * iconvdata/TESTS: Add tests for ISO646 module.
129         * iconvdata/gconv-modules: Add new modules.
130         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
131         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
132         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
133         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
134         * iconvdata/testdate/DIN_66003: Likewise.
135         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
136         * iconvdata/testdate/DS_2089: Likewise.
137         * iconvdata/testdate/DS_2089..UTF8: Likewise.
138         * iconvdata/testdate/ES: Likewise.
139         * iconvdata/testdate/ES..UTF8: Likewise.
140         * iconvdata/testdate/ES2: Likewise.
141         * iconvdata/testdate/ES2..UTF8: Likewise.
142         * iconvdata/testdate/GB_1988-80: Likewise.
143         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
144         * iconvdata/testdate/IT: Likewise.
145         * iconvdata/testdate/IT..UTF8: Likewise.
146         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
147         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
148         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
149         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
150         * iconvdata/testdate/JUS_I.B1.002: Likewise.
151         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
152         * iconvdata/testdate/KSC5636: Likewise.
153         * iconvdata/testdate/KSC5636..UTF8: Likewise.
154         * iconvdata/testdate/MSZ_7795.3: Likewise.
155         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
156         * iconvdata/testdate/NC_NC00-10: Likewise.
157         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
158         * iconvdata/testdate/NF_Z_62-010: Likewise.
159         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
160         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
161         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
162         * iconvdata/testdate/NS_4551-1: Likewise.
163         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
164         * iconvdata/testdate/NS_4551-2: Likewise.
165         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
166         * iconvdata/testdate/PT: Likewise.
167         * iconvdata/testdate/PT..UTF8: Likewise.
168         * iconvdata/testdate/PT2: Likewise.
169         * iconvdata/testdate/PT2..UTF8: Likewise.
170         * iconvdata/testdate/SEN_850200_B: Likewise.
171         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
172         * iconvdata/testdate/SEN_850200_C: Likewise.
173         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
175         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
176         * iconvdata/cns11643l1.h: Likewise.
177         * iconvdata/latin-greek-1.h: Likewise.
178         * iconvdata/latin-greek.h: Likewise.
179         * iconvdata/koi8-r.h: Likewise.
180         * iconvdata/jis0212.h: Likewise.
181         * iconvdata/gb2312.h: Likewise.
182         * iconvdata/ksc5601.h: Likewise.
184         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
186         * iconvdata/Makefile: Add rules for lots of more modules.
187         * iconvdata/cp1250.c: New file.
188         * iconvdata/cp1251.c: New file.
189         * iconvdata/cp1252.c: New file.
190         * iconvdata/cp1253.c: New file.
191         * iconvdata/cp1254.c: New file.
192         * iconvdata/cp1255.c: New file.
193         * iconvdata/cp1256.c: New file.
194         * iconvdata/cp1257.c: New file.
195         * iconvdata/ebcdic-dk-no-a.c: New file.
196         * iconvdata/ebcdic-dk-no.c: New file.
197         * iconvdata/ebcdic-es-a.c: New file.
198         * iconvdata/ebcdic-es-s.c: New file.
199         * iconvdata/ebcdic-es.c: New file.
200         * iconvdata/ebcdic-fi-se-a.c: New file.
201         * iconvdata/ebcdic-fi-se.c: New file.
202         * iconvdata/ebcdic-fr.c: New file.
203         * iconvdata/ebcdic-is-friss.c: New file.
204         * iconvdata/ebcdic-it.c: New file.
205         * iconvdata/ebcdic-pt.c: New file.
206         * iconvdata/ebcdic-uk.c: New file.
207         * iconvdata/ebcdic-us.c: New file.
208         * iconvdata/ibm037.c: New file.
209         * iconvdata/ibm038.c: New file.
210         * iconvdata/ibm1004.c: New file.
211         * iconvdata/ibm1026.c: New file.
212         * iconvdata/ibm1047.c: New file.
213         * iconvdata/ibm256.c: New file.
214         * iconvdata/ibm273.c: New file.
215         * iconvdata/ibm274.c: New file.
216         * iconvdata/ibm275.c: New file.
217         * iconvdata/ibm277.c: New file.
218         * iconvdata/ibm278.c: New file.
219         * iconvdata/ibm280.c: New file.
220         * iconvdata/ibm281.c: New file.
221         * iconvdata/ibm284.c: New file.
222         * iconvdata/ibm285.c: New file.
223         * iconvdata/ibm290.c: New file.
224         * iconvdata/ibm297.c: New file.
225         * iconvdata/ibm420.c: New file.
226         * iconvdata/ibm423.c: New file.
227         * iconvdata/ibm424.c: New file.
228         * iconvdata/ibm437.c: New file.
229         * iconvdata/ibm500.c: New file.
230         * iconvdata/ibm850.c: New file.
231         * iconvdata/ibm851.c: New file.
232         * iconvdata/ibm852.c: New file.
233         * iconvdata/ibm855.c: New file.
234         * iconvdata/ibm857.c: New file.
235         * iconvdata/ibm860.c: New file.
236         * iconvdata/ibm861.c: New file.
237         * iconvdata/ibm862.c: New file.
238         * iconvdata/ibm863.c: New file.
239         * iconvdata/ibm864.c: New file.
240         * iconvdata/ibm865.c: New file.
241         * iconvdata/ibm868.c: New file.
242         * iconvdata/ibm869.c: New file.
243         * iconvdata/ibm870.c: New file.
244         * iconvdata/ibm871.c: New file.
245         * iconvdata/ibm875.c: New file.
246         * iconvdata/ibm880.c: New file.
247         * iconvdata/ibm891.c: New file.
248         * iconvdata/ibm903.c: New file.
249         * iconvdata/ibm904.c: New file.
250         * iconvdata/ibm905.c: New file.
251         * iconvdata/ibm918.c: New file.
253         * locale/iso-4217.def: Update.
254         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
256         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
257         formats.
259 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
261         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
262         LD_LIBRARY_PATH.
264 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
266         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
267         * Makefile: Likewise.
268         * posix/Makefile: Likewise.
269         * sysdeps/mach/hurd/Makefile: Likewise.
271 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
273         * sysdeps/mach/hurd/bits/dirent.h: New file.
274         * sysdeps/mach/hurd/readdir64.c: New file.
275         * sysdeps/mach/hurd/readdir64_r.c: New file.
277 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
279         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
280         dprintf): Synchronize declarations with libio/stdio.h.
282 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
284         * elf/dlerror.c (dlerror): Don't assume that
285         __libc_internal_tsd_get is defined.  __libc_getspecific is already
286         well-protected, so just use it directly.
288 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
290         * io/ftw.h (ftw): Fix typo.
292 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
294         * sysdeps/gnu/utmp_file.c: Fix typo.
296 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
298         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
299         one part of a test fails move on to the next test.
301 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
303         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
305 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
307         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
308         as pointers, not signed integers.
310 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
312         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
314 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
316         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
317         asm symbol name of functions.
318         * include/features.h: Kill redundant test.
320         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
321         * io/ftw.h: Likewise.
322         * io/sys/stat.h: Likewise.
323         * io/sys/statfs.h: Likewise.
324         * io/sys/statvfs.h: Likewise.
325         * libio/stdio.h: Likewise.
326         * resource/sys/resource.h: Likewise.
327         * rt/aio.h: Likewise.
329         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
330          __FAVOR_BSD.
331         * signal/signal.h: Use new macros for BSD vs. SysV signal().
333         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
334         a dummy library.
335         * misc/bsd-compat.c: Removed.
337 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
339         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
340         function declaration.
341         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
342         and use them in conversion function.
343         * iconvdata/Makefile (modules): Re-add ISO6446.
344         * iconvdata/TEST: Add tests for ASCII variants.
345         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
346         * iconvdata/testdata/ANSI_X3.4-1968: New file.
347         * iconvdata/testdata/BS_4730: New file.
348         * iconvdata/testdata/BS_4730..UTF8: New file.
350 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
352         * iconv/gconv.h (struct gconv_step): Add element stateful.
353         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
354         to zero for all internal conversions.
355         * iconv/skeleton.c: Initialize stateful depending on whether or not
356         RESET_STATE is defined to one or zero respectively.
357         * stdlib/mblen.c: Use stateful element of currently selected
358         converter for result if S is NULL.
359         * stdlib/mbtowc.c: Likewise.
360         * stdlib/wctomb.c: Likewise.
362 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
364         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
366         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
368         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
369         character in comparison with uint32_t.
370         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
371         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
372         Optimize BODY a bit.
374         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
375         be defined.
377         * iconv/skeleton.c: Also reset converted counter in case of an error.
378         Call reset function using correct value for output buffer start.
380         * iconvdata/Makefile: Re-enable tests.
382         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
383         value for to-conversion.
385         * iconvdata/TESTS: Add new third column.
386         * iconvdata/run-iconv-test.sh: Add support for charsets which are
387         not ASCII based.
388         * iconvdata/testdata/suntzus: New file.
390         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
391         while reading.  Correctly used base.  Little optimization.
392         (__strtoul_internal): Likewise.
394         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
395         was wrong.  Use explicit variable.
397 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
399         * configure.in: Check for awk.
400         * config.make.in: Add AWK to be substituted.
402         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
403         * manual/users.texi: Fix typo exposed by above rewrite.
405         * Makefile: Invoke awk using AWK variable.
406         * csu/Makefile: Likewise.
407         * elf/Makefile: Likewise.
408         * mach/Makefile: Likewise.
409         * manual/Makefile: Likewise.
410         * sysdeps/gnu/Makefile: Likewise.
411         * sysdeps/mach/hurd/Makefile: Likewise.
412         * sysdeps/unix/Makefile: Likewise.
413         * timezone/Makefile: Likewise.
415 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
417         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
418         array index translation.
419         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
420         these are defined.
422         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
424         * sysdeps/mach/hurd/errlist.c: New file.
425         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
426         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
427         semantics, so rename it.
429 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
431         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
432         conversions.
434 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
436         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
437         * wcsmbs/wcsnrtombs.c: Likewise.
439 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
441         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
443         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
445         * time/strftime.c (my_strftime): Initialize pad variable in
446         declaration.
448         * iconvdata/big5.c: Don't use character constants in comparisons
449         with unsigned value.
451 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
453         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
454         __libc_siglongjmp to GLIBC_2.1.
456         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
457         __strerror_r.
459         * iconv/Makefile: Don't run tests now.
461         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
462         with correct output buffer.
464         Major rewrite of the low-level gconv functionality.
465         * iconv/gconv.c: Rewritten.
466         * iconv/gconv.h: Likewise.
467         * iconv/gconv_builtin.c: Likewise.
468         * iconv/gconv_builtin.h: Likewise.
469         * iconv/gconv_conf.c: Likewise.
470         * iconv/gconv_int.h: Likewise.
471         * iconv/gconv_open.c: Likewise.
472         * iconv/gconv_simple.c: Likewise.
473         * iconv/iconv.c: Likewise.
474         * iconvdata/8bit-gap.c: Likewise.
475         * iconvdata/8bit-generic.c: Likewise.
476         * iconvdata/Makefile: Likewise.
477         * iconvdata/big5.c: Likewise.
478         * iconvdata/cns11643.c: Likewise.
479         * iconvdata/cns11643.h: Likewise.
480         * iconvdata/cns11643l1.c: Likewise.
481         * iconvdata/cns11643l1.h: Likewise.
482         * iconvdata/ebcdic-at-de-a.c: Likewise.
483         * iconvdata/ebcdic-at-de.c: Likewise.
484         * iconvdata/ebcdic-ca-fr.c: Likewise.
485         * iconvdata/euccn.c: Likewise.
486         * iconvdata/eucjp.c: Likewise.
487         * iconvdata/euckr.c: Likewise.
488         * iconvdata/euctw.c: Likewise.
489         * iconvdata/gb2312.c: Likewise.
490         * iconvdata/gb2312.h: Likewise.
491         * iconvdata/hp-roman8.c: Likewise.
492         * iconvdata/iso646.c: Likewise.
493         * iconvdata/iso6937.c: Likewise.
494         * iconvdata/iso8859-1.c: Likewise.
495         * iconvdata/iso8859-10.c: Likewise.
496         * iconvdata/iso8859-2.c: Likewise.
497         * iconvdata/iso8859-3.c: Likewise.
498         * iconvdata/iso8859-4.c: Likewise.
499         * iconvdata/iso8859-5.c: Likewise.
500         * iconvdata/iso8859-6.c: Likewise.
501         * iconvdata/iso8859-7.c: Likewise.
502         * iconvdata/iso8859-8.c: Likewise.
503         * iconvdata/iso8859-9.c: Likewise.
504         * iconvdata/jis0201.c: Likewise.
505         * iconvdata/jis0201.h: Likewise.
506         * iconvdata/jis0208.c: Likewise.
507         * iconvdata/jis0208.h: Likewise.
508         * iconvdata/jis0212.c: Likewise.
509         * iconvdata/jis0212.h: Likewise.
510         * iconvdata/johab.c: Likewise.
511         * iconvdata/koi-8.c: Likewise.
512         * iconvdata/koi8-r.c: Likewise.
513         * iconvdata/ksc5601.c: Likewise.
514         * iconvdata/ksc5601.h: Likewise.
515         * iconvdata/latin-greek-1.c: Likewise.
516         * iconvdata/latin-greek.c: Likewise.
517         * iconvdata/run-iconv-test.sh: Likewise.
518         * iconvdata/sjis.c: Likewise.
519         * iconvdata/t61.c: Likewise.
520         * iconvdata/uhc.c: Likewise.
521         * wcsmbs/btowc.c: Likewise.
522         * wcsmbs/mbrtowc.c: Likewise.
523         * wcsmbs/mbsnrtowcs.c: Likewise.
524         * wcsmbs/mbsrtowcs.c: Likewise.
525         * wcsmbs/wcrtomb.c: Likewise.
526         * wcsmbs/wcsmbsload.c: Likewise.
527         * wcsmbs/wcsnrtombs.c: Likewise.
528         * wcsmbs/wcsrtombs.c: Likewise.
529         * wcsmbs/wctob.c: Likewise.
530         * iconv/loop.c: New file.
531         * iconv/skeleton.c: New file.
533         * stdlib/mblen.c: Handle empty input string correctly.
534         * stdlib/mbtowc.c: Likewise.
536         * posix/getopt.c: Various cleanups.
538         * sysdeps/arm/bits/setjmp.h: Add copyright text.
539         * sysdeps/i386/bits/setjmp.h: Likewise.
540         * sysdeps/m68k/bits/setjmp.h: Likewise.
541         * sysdeps/powerpc/bits/setjmp.h: Likewise.
542         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
544         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
545         and make longjmp weak alias.
547 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
549         * iconv/Makefile (routines): Only include gconv_dl if building for
550         an ELF system - dynamic linking is not available on a.out.
551         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
552         due to above check.
553         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
554         routines from gconv_dl.
556 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
558         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
559         we can compile without libio.
561 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
563         * sysdeps/mach/hurd/Subdirs: Remove login.
565 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
567         * db2/compat.h: Include <errno.h>, to make sure we get the
568         definition of EFTYPE before we define it ourselves.
570 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
572         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
573         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
574         Fix typo to allow inclusion from sys/ioctl.h again.
576 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
578         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
580 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
582         * libc.map: Export __strerror_r.  Remove _strerror_internal.
584 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
586         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
587         Also undefine __strcasestr.
589 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
591         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
592         aliases do not work with global variables due to copy relocations.
594 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
596         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
598 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
600         * signal/sighold.c: Include stddef.h for NULL definition.
601         * signal/sigrelse.c: Likewise.
602         * sysdeps/posix/sigignore.c: Likewise.
603         * sysdeps/posix/sigset.c: Likewise.
604         * sysdeps/posix/waitid.c: Likewise.
605         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
606         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
607         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
608         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
609         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
611 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
613         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
614         * login/getutent.c (getutxent): Remove alias.
615         * login/getutent_r.c (setutxent, pututxline, endutxent):
616         Remove aliases.
617         * login/getutid.c (getutxid): Remove alias.
618         * login/getutline.c (getutxline): Remove alias.
619         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
620         __getutid, __getutline and __pututline.
621         * login/utmpx.h: Moved to ...
622         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
623         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
624         and updwtmpx.
625         * login/updwtmp.c: Moved to ...
626         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
627         allowing file name transformation.
628         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
629         additional file name transformation.
630         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
631         * login/utmp_file.c: Moved to ...
632         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
633         Generalized by allowing file name transformation.  Do not
634         print error message.  Library functions should not print them.
635         Reported by Jim Meyering.
636         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
637         with additional file name transformation.
638         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
639         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
640         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
641         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
642         and bits/utmpx.h.
643         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
644         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
645         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
646         Define if __USE_GNU.
647         * sysdeps/generic/setutxent.c: New file.
648         * sysdeps/generic/getutxent.c: New file.
649         * sysdeps/generic/endutxent.c: New file.
650         * sysdeps/generic/getutxid.c: New file.
651         * sysdeps/generic/getutxline.c: New file.
652         * sysdeps/generic/pututxline.c: New file.
653         * sysdeps/generic/utmpxname.c: New file.
654         * sysdeps/generic/updwtmpx.c: New file.
655         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
656         * sysdeps/generic/bits/utmpx.h: Remove.
658 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
660         * posix/wordexp-test.c (main): Initialize ifs element of ts for
661         ~root test.
663 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
665         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
667 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
669         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
670         variable using _G_stat64.
671         * libio/fileops.c: Remove macro definition of fstat, it is in the
672         global header.
673         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
675 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
677         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
678         <willy@odie.barnet.ac.uk>.
680 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
682         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
683         required by IPv6 Basic API.
684         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
685         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
686         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
687         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
689 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
691         Don't name internal representation since it might be different from
692         the external form (namely on little endian machines).
693         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
694         UCS4 into references to INTERNAL.
695         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
696         Add endianess support to UCS functions.  Change references to
697         UCS4 into references to INTERNAL.
698         * iconv/gconv_int.h: Change references to UCS4 into references to
699         INTERNAL.
700         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
701         * iconvdata/gconv-modules: Change accordingly.
702         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
704         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
705         overflow.
706         * iconvdata/8bit-gap.c: Likewise.
707         * iconvdata/8bit-generic.c: Likewise.
708         * iconvdata/big5.c: Likewise.
709         * iconvdata/euccn.c: Likewise.
710         * iconvdata/eucjp.c: Likewise.
711         * iconvdata/euckr.c: Likewise.
712         * iconvdata/euctw.c: Likewise.
713         * iconvdata/iso646.c: Likewise.
714         * iconvdata/iso6937.c: Likewise.
715         * iconvdata/iso8859-1.c: Likewise.
716         * iconvdata/johab.c: Likewise.
717         * iconvdata/sjis.c: Likewise.
718         * iconvdata/t61.c: Likewise.
719         * iconvdata/uhc.c: Likewise.
721         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
722         * iconvdata/8bit-generic.c: Likewise.
724         * iconvdata/TESTS: Add more tests.
726         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
728 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
730         * iconvdata/Makefile: Better rules to run tests.
732         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
733         * iconvdata/testdata/ISO-8859-10: Likewise.
734         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
735         * iconvdata/testdata/ISO-8859-2: Likewise.
736         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
737         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
738         * iconvdata/testdata/ISO-8859-3: Likewise.
739         * iconvdata/testdata/ISO-8859-4: Likewise.
740         * iconvdata/testdata/ISO-8859-5: Likewise.
741         * iconvdata/testdata/ISO-8859-6: Likewise.
742         * iconvdata/testdata/ISO-8859-7: Likewise.
743         * iconvdata/testdata/ISO-8859-8: Likewise.
744         * iconvdata/testdata/ISO-8859-9: Likewise.
746 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
748         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
749         intermediate result (if available).
751         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
752         last change.
754         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
755         (distribute): Add run-iconv-test.sh and testdata/*.
757         * stdlib/testmb.c (main): Simplify mbc array handling.
759 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
761         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
762         return value on overflow.
764 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
766         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
767         bits.
769 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
771         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
772         of non-standard function setbuffer.
774 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
776         * stdio-common/perror.c: Include <string.h> for __strerror_r.
778 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
780         * iconvdata/Makefile: Add rules to run tests.
781         * iconvdata/TESTS: New file.
782         * iconvdata/run-iconv-test.sh: New file.
783         * iconvdata/testdata/ISO-8859-1: New file.
785         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
786         not stdout.
788 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
790         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
791         counter element of step.
793         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
795         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
796         termination test.
797         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
798         ACTUALLY.
799         (__gconv_transform_utf8_ucs4): Correct test for empty input.
801 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
803         * Makefile: Include makeconfig before defining rule to regenerate
804         configure files.
806         * configure.in: Remove restriction on compiling without static
807         libs.
809 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
811         * test-skeleton.c: Provide hook for initializing code before the fork.
812         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
813         removed.
815         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
816         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
817         * libio/libioP.h: Adopt _IO_cleanup prototype.
819         * stdlib/Makefile (tests): Add test-canon2.
820         * stdlib/test-canon2.c: New file.
821         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
822         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
823         symlink sequences.
824         (__realpath): Make real function which checks RESOLVED parameter for
825         not being NULL.
827 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
829         * catgets/open_catalog.c (__open_catalog): Fix problems with
830         reading non-files.  Always close file.
831         Reported by Cristian Gafton <gafton@redhat.com>.
833         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
835 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
837         * libc.map: Add various low-level I/O functions.
839 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
841         * string/Makefile (routines): Remove strerror_r.
842         * string/strerror_r.c: Removed.
843         * string/strerror.c: Call __strerror_r for doing the real work.
844         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
845         add weak alias strerror_r.
846         * sysdeps/mach/_strerror.c: Likewise.
847         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
848         * elf/dl-error.c (_dl_signal_error): Likewise.
849         * elf/dl-profile.c (_dl_start_profile): Likewise.
850         * gmon/gmon.c (write_gmon): Likewise.
851         * stdio-common/perror.c: Likewise.
852         * stdio-common/vfprintf.c: Likewise.
854 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
856         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
857         (sysdep_headers): Add netatalk/at.h.
859 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
861         * manual/socket.texi, manual/creature.texi, manual/time.texi:
862         Formatting fixes.
864 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
866         * posix/regex.c: Rename __re_syntax_options back to
867         re_syntax_options, aliases do not work with global variables due
868         to copy relocations.
869         (regex_compile): Use syntax parameter instead of
870         re_syntax_options.
872 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
874         * configure.in: Document that enable-force-install is default.
876 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
878         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
879         all needed 36 bits.
880         * sysdeps/posix/mkstemp.c: Likewise.
882 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
884         * iconvdata/8bit-gap.c: Simplify step data handling.
885         * iconvdata/8bit-generic.c: Likewise.
886         * iconvdata/big5.c: Likewise.
887         * iconvdata/euccn.c: Likewise.
888         * iconvdata/eucjp.c: Likewise.
889         * iconvdata/euckr.c: Likewise.
890         * iconvdata/euctw.c: Likewise.
891         * iconvdata/iso6937.c: Likewise.
892         * iconvdata/iso8859-1.c: Likewise.
893         * iconvdata/jis0208.h: Likewise.
894         * iconvdata/jis0212.c: Likewise.
895         * iconvdata/jis0212.h: Likewise.
896         * iconvdata/johab.c: Likewise.
897         * iconvdata/ksc5601.h: Likewise.
898         * iconvdata/sjis.c: Likewise.
899         * iconvdata/t61.c: Likewise.
900         * iconvdata/uhc.c: Likewise.
902 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
904         * manual/texinfo.texi: Updated from last version.
906 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
908         * iconvdata/cns11643.c: New file.
909         * iconvdata/cns11643.h: New file.
910         * iconvdata/cns11643l1.c: New file.
911         * iconvdata/cns11643l1.h: New file.
912         * iconvdata/euctw.c: New file.
913         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
914         * iconvdata/gconv-modules: Likewise.
916         * iconvdata/eucjp.c: Several bug fixes and improvements.
917         * iconvdata/gb2312.h: Likewise.
918         * iconvdata/jis0201.h: Likewise.
919         * iconvdata/jis0208.h: Likewise.
920         * iconvdata/jis0212.h: Likewise.
922 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
924         * iconvdata/eucjp.c: New file.
925         * iconvdata/euccn.c: New file.
926         * iconvdata/gb2312.h: New file.
927         * iconvdata/gb2312.c: New file.
928         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
929         * iconvdata/gconv-modules: Likewise.
931         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
933 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
935         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
936         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
937         Patch by Mark Hatle <fray@kernel.crashing.org>.
939 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
941         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
942         comment.
943         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
944         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
946 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
948         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
950         * iconvdata/Makefile: Add rules for big5 conversion.
951         * iconvdata/gconv-modules: Likewise.
952         * iconvdata/big5.c: New file.
954         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
955         Patch by Jim Meyering.
957 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
959         * rt/tst-aio.c: Add test for aio_read and lio_listio.
961         * rt/lio_listio.c: Correct total counter handling.
963         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
964         from request queue.
966         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
967         of signal on exit even more.
969         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
970         instead of call to pthread_cond_init.
971         * rt/lio_listio.c (lio_listio): Likewise.
972         * rt/lio_listio64.c (lio_listio64): Likewise.
974         * nis/nis_findserv.c: Include sys/socket.h.
976 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
978         * Makeconfig (rtobjdir): New variable.
979         (rpath-link): Add rtobjdir and thread directory, if available.
981         * test-skeleton.c: Add support to remove temporary files.
982         Always define test_dir.  Improve message about expected signal.
984         * rt/Makefile (tests): Add tst-aio.
985         Add rules for tst-aio to be linked with librt and thread library.
986         * rt/aio_misc.c: Correct fundamental bugs.
987         * rt/aio_suspend.c: Correct bug in test for available request.
988         Initialize conditional variable.
989         * rt/lio_listio.c: Initialize conditional variable.
990         * rt/lio_listio64.c: Likewise.
991         * rt/tst-aio.c: New file.
993         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
994         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
995         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
996         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
997         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
998         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
999         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1001 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
1003         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
1005 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
1007         * elf/dl-load.c (open_path): Use correct name for test whether
1008         directory in load path exists.
1010         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
1011         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
1012         Patches by Tom Rini <trini@kernel.crashing.org>.
1014         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
1015         * wcsmbs/wcstod_l.c: Likewise.
1016         * wcsmbs/wcstold_l.c: Likewise.
1018         * include/byteswap.h: New file.
1020         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
1021         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
1023         * inet/getnameinfo.c (getnameinfo): Change parameter to match
1024         declaration.  Patch by Richard Henderson.
1026 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1028         * manual/process.texi (SIGCHLD example): Save errno.
1030 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
1032         * posix/regex.c: Define regerror really as __regerror.
1033         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
1034         regerror and regfree.
1036         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
1037         * stdlib/strtod_l.c: Likewise.
1038         * stdlib/strtold_l.c: Likewise.
1040         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
1042         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
1044         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
1045         Patch by Christian Gafton.
1047 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
1049         * manual/socket.texi (Interface Naming): Correct @deftypefun line
1050         for if_indextoname.
1052 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1054         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
1056         * manual/socket.texi (Interface Naming): Fix typo.
1058 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1060         * manual/examples/filesrv.c (main): Remove filename first.
1062         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
1063         ?F_UNIX.
1065         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
1066         instead of PF_UNIX.
1068         * manual/examples/filecli.c (main): Use AF_LOCAL
1069         instead of AF_UNIX.
1071 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
1073         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
1074         signgam weak alias.
1075         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
1076         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
1077         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
1078         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
1079         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1080         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1082         * login/utmp_daemon.c (open_socket): Use __connect not connect.
1084 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1086         * configure.in: Add new option --enable-force-install.  Substitute
1087         force_install.
1088         * config.make.in (force-install): Set from configure.
1089         * Makerules (force-install): New phony target.
1090         * Makeconfig (+force): New variable.
1091         * Makefile: Use it in dependency list of installation targets.
1092         * db/Makefile: Likewise.
1093         * db2/Makefile: Likewise.
1094         * elf/Makefile: Likewise.
1095         * hurd/Makefile: Likewise.
1096         * iconv/Makefile: Likewise.
1097         * iconvdata/Makefile: Likewise.
1098         * intl/Makefile: Likewise.
1099         * localedata/Makefile: Likewise.
1100         * login/Makefile: Likewise.
1101         * po/Makefile: Likewise.
1102         * sunrpc/Makefile: Likewise.
1103         * sysdeps/mach/hurd/Makefile: Likewise.
1104         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
1105         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1106         * timezone/Makefile: Likewise.
1108 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1110         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
1111         alloc_size.  Pass return value of getcwd syscall to realloc.
1113 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1115         * manual/socket.texi: Spelling fixes.
1117 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1119         * elf/dl-load.c (print_search_path): Remove unused variable.
1121 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
1123         * login/utmp_file.c: use __ftruncate not ftruncate.
1124         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
1125         for system call and make ftruncate weak alias.
1126         * posix/unistd.h: Add prototype for __ftruncate.
1127         * login/utmp_daemon.c (open_socket): Use __socket not socket.
1128         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
1129         instead of snprintf and readv.
1130         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
1131         snprintf.
1132         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
1133         directly.
1135 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
1137         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
1138         * iconv/gconv_db.c: Use __ protected regex functions.
1139         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
1140         * posix/getopt_init.c: Use __getpid not getpid.
1141         * posix/regex.c: Rename all global functions to start with __ and
1142         make old names weak aliases.
1143         * posix/regex.h: Adopt prototypes for this.
1144         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
1145         a weak alias and use __getcwd instead of getcwd.
1146         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
1147         * stdlib/strtod.c: Use __btowc instead of btowc.
1148         * stdlib/strtol.c: Likewise.
1149         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
1150         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
1151         and sys_errlist are weak.
1152         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
1153         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
1154         * wcsmbs/mbsnrtowcs.c: Likewise.
1155         * wcsmbs/mbsrtowcs.c: Likewise.
1156         * wcsmbs/wcsnrtombs.c: Likewise.
1157         * wcsmbs/wcsrtombs.c: Likewise.
1158         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
1159         weak alias.
1160         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
1161         * wctype/wctype.c: Define function as __wctype and make wctype
1162         weak alias.
1163         * wctype/wctype.h: Declare __wctype.
1165 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
1167         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
1169 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1171         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
1172         stat64.
1173         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
1174         functions.
1175         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
1176         for __llseek.
1177         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1178         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1179         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
1180         make it a weak alias.
1181         * posix/unistd.h: Declare __lseek64.
1183         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
1184         (_IO_file_stat): Fix typo.
1185         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
1186         block size from the file.  Use __mempcpy if _LIBC.
1188 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
1190         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
1191         * wcsmbs/mbrtowc.c: Likewise.
1192         * wcsmbs/mbsnrtowcs.c: Likewise.
1193         * wcsmbs/mbsrtowcs.c: Likewise.
1194         * wcsmbs/wcrtomb.c: Likewise.
1195         * wcsmbs/wcsnrtombs.c: Likewise.
1196         * wcsmbs/wcsrtombs.c: Likewise.
1197         * wcsmbs/wctob.c: Likewise.
1199         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
1200         position of next output character correctly.
1201         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
1203         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
1205         * stdlib/strtod.c: Don't use mbtowc.
1207 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
1209         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
1210         what we want is smaller than a buffer.
1212 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
1214         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
1215         this function.
1217 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
1219         * configure.in: Recognize --with-headers flag and determine
1220         commandline options to be used in compilation.
1221         * Makeconfig (+includes): Use $(sysincludes).
1222         * config.make.in (sysincludes): Define from SYSINCLUDES.
1223         * glibcbug.in: Use SYSINCLUDES information.
1224         Patches by Zack Weinberg.
1226 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1228         * glibcbug.in: On linux, report version of kernel headers seen
1229         by compiler.
1231 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
1233         * libc.map: Add __asprintf to GLIBC_2.1.
1234         * elf/dlerror.c: Use __asprintf, not asprintf.
1235         * libio/stdio.h: Declare __asprintf.
1236         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
1237         a weak alias.
1239         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
1240         to avoid inclusion from libc_pic.a.
1242         * elf/dl-runtime.c: Undo last patch.
1244         * stdlib/strtod.c: Don't use mbtowc, use btowc.
1246         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
1247         as default, use NULL.
1249 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1251         * resolv/Makefile: Include ../Makeconfig - needed for building
1252         static NSS module.
1254 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1256         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
1257         static-nss since we don't want hesiod in the static NSS.
1259         * nss/Makefile: Build only nss_files as static.
1261         * nss/function.def: Remove support for service db.
1263 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
1265         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
1267 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
1269         * posix/wordexp-test.c: Make IFS per test-case.
1271 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1273         * glibcbug.in: Report version of gcc in use.  Remove unused variable
1274         ENVIRONMENT.
1276 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
1278         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
1279         `-print-file-name' to find as and ld.
1281 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
1283         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
1284         template is wrong.  Remove unused varaible `ignored'.
1286 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1288         * libc.map: Export __libc_sa_len.
1290         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
1292 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
1294         * iconv/gconv.c: Take care for NULL arguments.
1295         * iconv/gconv_dl.c: Make find_func function global.
1296         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
1297         Add prototypes for ASCII conversion functions.
1298         * iconv/gconv_simple.c: Add ASCII conversion functions.
1299         * locale/C-ctype.c: Correct charset name.
1301         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
1302         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
1303         wcsmbsload.
1304         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
1305         * wcsmbs/mbrtowc.c: Likewise.
1306         * wcsmbs/mbsnrtowcs.c: Likewise.
1307         * wcsmbs/mbsrtowcs.c: Likewise.
1308         * wcsmbs/wcrtomb.c: Likewise.
1309         * wcsmbs/wcsnrtombs.c: Likewise.
1310         * wcsmbs/wcsrtombs.c: Likewise.
1311         * wcsmbs/wctob.c: Likewise.
1312         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
1313         prototypes for wmemr*.
1314         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
1315         * wcsmbs/wcsnlen.c: New file.
1316         * wcsmbs/wcsmbsload.c: New file.
1317         * wcsmbs/wcsmbsload.h: New file.
1319         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
1321         * manual/install.texi: Describe some more critical points.
1323         * string/string.h: Add prototype for __strnlen.
1324         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
1326         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
1327         much less predictable names.
1328         * sysdeps/posix/mkstemp.c: Likewise.
1330 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1332         * manual/libc.texinfo (Top): Change "file namespace" to "local
1333         namespace".
1335         * manual/socket.texi: Change file namespace to local namespace.
1336         (Out-of-Band Data): Remove unneeded variable link.
1337         (Host Address Functions): Use uint32_t consequently and add a
1338         number of clarifications for IPv4/IPv6, classless addresses.
1339         (Internet Namespace): Added some paragraphs about IPv6.
1340         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1342 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
1344         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
1346         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
1347         (NI_NUMERICHOST, et al.): Tidy up and add comments.
1348         (AI_NUMERICHOST): Define.
1349         (getnodebyname): New prototype.
1350         (AI_V4MAPPED, et al.): New constants.
1352         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
1353         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
1354         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
1355         for socket.
1356         * sysdeps/unix/sysv/linux/sa_len.c: New file.
1357         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
1359         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
1361         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
1362         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
1363         * socket/Makefile (headers): Add bits/sockunion.h.
1364         * socket/sys/socket.h: Include <bits/sockunion.h>
1365         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
1366         <sys/socket.h>, to avoid getting sockaddr_union defined.
1367         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
1368         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1369         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1371         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
1372         (2.2.x kernels won't have it).
1374 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
1376         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
1377         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
1378         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
1379         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
1381 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
1383         * manual/socket.texi (Socket Addresses): Fix a typo.
1384         (Interface Naming): New section.
1386 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1388         * configure.in: Check for CC using $ac_tool_prefix, to handle
1389         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
1390         * config.make.in: Add MIG to be substituted.
1391         * mach/Machrules: Don't define MIG variable.
1393         Patch by Gordon Matzigkeit <gord@profitpress.com>.
1395 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
1397         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
1398         strdupa to copy rpath.
1400 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1402         * configure.in: Fix gcc version check.
1404         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
1405         confusing.
1407 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
1409         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
1410         of ptsname_r.
1412         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
1413         like ttyname_r.
1414         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
1415         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
1416         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
1417         of __ptsname_r accordingly.
1418         * login/openpty.c (openpty): Likewise.
1420 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
1422         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
1424 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1426         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
1428         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
1430 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1432         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
1433         return value for better error checking.
1435 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
1437         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
1438         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
1440         * elf/elf.h (EM_SPARC64): Remove.
1441         (EM_SPARC32PLUS, EM_SPARCV9): Add.
1442         (HWCAP_SPARC_V9): Add.
1444         * elf/ldsodefs.h (_dl_hwcap): Declare.
1445         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
1446         Weaken so dlopen from static progies works.
1447         (WEAKADDR): New macro.
1448         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
1449         (LD_SO_PRELOAD): New macro.
1450         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
1451         (elf_machine_rela): Weaken _dl_rtld_map.
1453         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
1454         to __clone, and remove the later's alias.
1455         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1457         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
1458         the kernel's structure.
1460         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
1461         Sparc needs a custom value of __KERNEL_NCCS.
1463 1998-04-06  Richard Henderson  <rth@cygnus.com>
1465         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
1467         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
1468         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1470 1998-04-06  Richard Henderson  <rth@cygnus.com>
1472         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
1473         as the buffer is not properly aligned.
1474         Reported by Juan Cespedes <cespedes@debian.org>.
1476 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1478         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
1479         instead of AF_FILE.
1481 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
1483         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
1484         and wc*tomb* functions.
1486 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
1488         * sysdeps/unix/start.c: Fix typo.
1490 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
1492         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
1494 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
1496         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
1497         expressions and using array variables.
1498         * sysdeps/libm-ieee754/e_asin.c: Likewise.
1499         * sysdeps/libm-ieee754/e_j0.c: Likewise.
1500         * sysdeps/libm-ieee754/e_j1.c: Likewise.
1501         * sysdeps/libm-ieee754/e_log.c: Likewise.
1502         * sysdeps/libm-ieee754/e_pow.c: Likewise.
1503         * sysdeps/libm-ieee754/k_cos.c: Likewise.
1504         * sysdeps/libm-ieee754/k_sin.c: Likewise.
1505         * sysdeps/libm-ieee754/k_tan.c: Likewise.
1506         * sysdeps/libm-ieee754/s_atan.c: Likewise.
1507         * sysdeps/libm-ieee754/s_erf.c: Likewise.
1508         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
1509         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
1510         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
1512 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
1514         * iconv/gconv.c: Rewrite of the low-level of gconv.
1515         * iconv/gconv.h: Likewise.
1516         * iconv/gconv_builtin.h: Likewise.
1517         * iconv/gconv_close.c: Likewise.
1518         * iconv/gconv_db.: Likewise.
1519         * iconv/gconv_dl.c: Likewise.
1520         * iconv/gconv_int.h: Likewise.
1521         * iconv/gconv_open.c: Likewise.
1522         * iconv/gconv_simple.c: Likewise.
1523         * iconvdata/8bit-gap.c: Adapt for rewrite.
1524         * iconvdata/8bit-generic.c: Likewise.
1525         * iconvdata/euckr.c: Likewise.
1526         * iconvdata/iso646.c: Likewise.
1527         * iconvdata/iso6937.c: Likewise.
1528         * iconvdata/iso8859-1.c: Likewise.
1529         * iconvdata/johab.c: Likewise.
1530         * iconvdata/sjis.c: Likewise.
1531         * iconvdata/t61.c: Likewise.
1532         * iconvdata/uhc.c: Likewise.
1534 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
1536         * iconv/gconv_int.h: New file.  Internal header.
1537         * iconv/Makefile (distribute): Add gconv_int.h.
1538         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
1539         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
1540         * iconv/gconv_close.c: Likewise.
1541         * iconv/gconv_conf.c: Likewise.
1542         * iconv/gconv_db.c: Likewise.
1543         * iconv/gconv_dl.c: Likewise.
1544         * iconv/gconv_int.h: Likewise.
1545         * iconv/gconv_open.c: Likewise.
1546         * iconv/iconv.c: Likewise.
1547         * iconv/iconv_close.c: Likewise.
1548         * iconv/iconv_open.c: Likewise.
1549         * iconv/iconv_prog.c: Likewise.
1551 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
1553         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
1554         missing braces.
1556 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1558         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
1560 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
1562         Based on patch from Pat Beirne:
1563         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
1564         PIC and non-PIC now.  Correctly negate error number.
1565         (errno): Use `%' not `@' in .type directives.
1567 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
1569         * sysdeps/i386/strtok.S: Change to use single exit point.
1570         * sysdeps/i386/i686/strtok.S: Likewise.
1572 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1574         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
1575         default.
1577 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1579         * Makerules (installed-libcs): Fix typo.
1581 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1583         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
1584         (UHC-routines): Remove ksc5601.
1586 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
1588         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
1589         introduced in last change.
1591 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
1593         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
1594         before 2.1.92.
1596 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
1598         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
1600         * stdlib/isomac.c: Use -isystem instead of -I for system include
1601         dir.
1603 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
1605         * resolv/res_comp.c (underscorechar): New.
1606         (middlechar): Allow '_'.
1608 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
1610         * intl/explodename.c (stdlib.h): Include that file only if
1611         STDC_HEADERS or _LIBC.
1612         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
1613         Patch by Philippe De Muyter <phdm@macqel.be>.
1615 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1617         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
1618         (AC_PROG_CHECK_VER): New macro.
1619         * configure.in: Use AC_PROG_CHECK_VER to check versions of
1620         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
1622 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
1624         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
1625         * sysdeps/i386/i686/strtok.S: New file
1626         * sysdeps/i386/i686/strtok_r.S: New file
1628 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
1630         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
1631         type to __off64_t.
1632         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
1633         parameter as __off64_t instead of __off_t.
1634         (ftello): Make alias for ftello64 instead of ftello.  Change
1635         return type to __off64_t.
1637 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
1639         * sysdeps/i386/bits/string.h: Fix various typos.
1640         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1642         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
1644 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
1646         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
1647         lchown syscall correctly.  [PR libc/541].
1649 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
1651         * localedata/Makefile: Correct testsuite rules.
1653         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
1654         * iconvdata/iso646.c: Fix conversion from UCS4.
1656         * elf/ldsodefs.h: Mark internal function with internal_function.
1657         * elf/dl-addr.c: Likewise.
1658         * elf/dl-close.c: Likewise.
1659         * elf/dl-debug.c: Likewise.
1660         * elf/dl-deps.c: Likewise.
1661         * elf/dl-error.c: Likewise.
1662         * elf/dl-fini.c: Likewise.
1663         * elf/dl-init.c: Likewise.
1664         * elf/dl-load.c: Likewise.
1665         * elf/dl-lookup.c: Likewise.
1666         * elf/dl-object.c: Likewise.
1667         * elf/dl-open.c: Likewise.
1668         * elf/dl-profile.c: Likewise.
1669         * elf/dl-reloc.c: Likewise.
1670         * elf/dl-runtime.c: Likewise.
1671         * elf/dl-symbol.c: Likewise.
1672         * elf/dl-version.c: Likewise.
1673         * elf/dlerror.c: Likewise.
1674         * sysdeps/generic/dl-sysdep.c: Likewise.
1675         * sysdeps/i386/dl-machine.h: Likewise.
1676         * intl/finddomain.c: Likewise.
1677         * intl/gettextP.h: Likewise.
1678         * intl/loadmsgcat.c: Likewise.
1680 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
1682         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
1683         * iconv/gconv_builtin.h: Add definitions for new builtins.
1684         * iconv/gconv.h: Add prototypes for new builtins.
1686         * iconvdata/Makefile (modules): Add ISO646.
1687         Add rules for ISO646 module.
1688         (distribute): Add iso646.c.
1689         * iconvdata/gconv-modules: Add module and alias definition for
1690         ISO646 charsets.
1691         * iconvdata/iso646.c: New file.
1693 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
1695         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
1696         * iconv/iconv_prog.c: Implement --list option to print available
1697         coded character sets.
1699 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1701         Make fread() read large blocks straight to the user buffer.
1703         * libio/fileops.c (_IO_file_xsgetn): New function.
1704         (_IO_file_jumps): Use it.
1705         * libio/libioP.h: Prototype it.
1707 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
1709         * iconv/gconv_conf.c (builtin_aliases): New variable.
1710         (__gconv_read_conf): Add builtin aliases.
1711         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
1712         noop macro before including gconv_builtin.h.
1713         * iconv/gconv_builtin.h: Add alias names.
1715         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
1716         number of converted bytes correctly.
1718 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1720         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
1721         we only wait for a replay.
1723 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
1725         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
1726         EUC-KR modules.
1728 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
1730         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
1731         use PLTJMP() rather than explicit (PLT).
1733         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
1734         __libc_start_main().
1736         Based on patch from Pat Beirne:
1737         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
1738         Always define, not only #ifndef PIC.
1739         (DO_CALL): Pass fifth argument correctly in R4.
1740         (PSEUDO): Correct test for error, call syscall_error through PLT
1741         if PIC.
1743 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
1745         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
1746         definitions.
1748 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
1750         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
1751         JOHAB.so.
1753 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
1755         * io/Makefile (static-only-routines): Add stat64, fstat64 and
1756         lstat64.
1758 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1760         * manual/Makefile: Use object-suffixes-for-libc instead of
1761         object-suffixes.
1762         * rpm/Makefile (install-lib): Likewise.
1764 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1766         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
1768         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
1769         `m68*', not only `m68k'.
1771 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1773         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
1775         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
1776         install lddlibc4.
1778 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
1780         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
1781         EUC-KR.
1783         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
1784         comment.
1786 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
1788         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
1789         the init stuff.
1791 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
1793         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
1794         adjtimex syscall.
1795         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
1796         adjtimex.
1797         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
1799 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1801         * Makerules (install): Change comment for libc.so following the
1802         libc_nonshared changes.
1804 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
1806         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
1808         * iconvdata/gap.pl: Avoid using %#06x.
1810 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1812         * Makerules: Use $? instead of S^ when invoking ar.
1814 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
1816         * db2/compat.h: Allow EFTYPE being defined.
1817         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
1818         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
1819         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
1820         * sysdeps/mach/bits/libc-lock.h: Fix typo.
1821         (__libc_once): Correctly unlock semaphore.
1822         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
1823         * sysdeps/unix/bsd/getpt.c: Fix typo.
1824         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
1826 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
1828         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
1829         macros.
1831 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
1833         * include/mntent.h: New file.
1835         * elf/Makefile (trusted-dirs.h): Append slash to filename.
1836         * elf/dl-load.c: Rewrite search path handling.
1837         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
1838         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
1839         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
1840         * elf/ldsodefs.h: Add prototype.
1842 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
1844         * nss/nsswitch.c (__nss_lookup): Adjust comment.
1846         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
1847         function.
1849         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
1851         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
1852         New function.
1853         (HWCAP_IMPORTANT): New definition.
1855 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
1857         * elf/dl-open.c (_dl_open): Fix a typo.
1858         (_dl_global_scope_alloc): Make it static.
1860 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
1862         * Makerules: Remove duplicate rules to handle stamp.oS.
1864 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1866         * manual/examples/inetsrv.c (main): Change prototype of
1867         make_socket following change in mkisock.c.
1869         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
1870         example host.
1871         (main): Change prototype of init_sockaddr following change in
1872         isockadd.c.
1874         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
1875         * manual/examples/isockad.c (init_sockaddr): Likewise.
1877         * manual/examples/mkfsock.c (make_named_socket): Removed blank
1878         lines for clarification.
1879         (make_named_socket): Use strncpy instead of strcpy.
1880         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
1882 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
1884         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
1885         determining libs to remove.
1886         (postclean): Add soversions.mk.
1887         * Makerules (common-mostlyclean): Add tests-static and generated
1888         files.
1890 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
1892         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
1893         scanning for \0.
1894         (__strncat_g): Add i686 specific code.
1896 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1898         * manual/install.texi (Reporting Bugs): Ask to include section
1899         names in reports.
1901 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1903         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
1904         guard against direct inclusion.
1906 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1908         Rework support for libc_nonshared.a:
1909         * Makeconfig (object-suffixes-for-libc): New variable.
1910         * Rules: Remove handling of static-only and shared-only routines.
1911         * Makerules: Handle them here instead.  Use
1912         object-suffixes-for-libc instead of object-suffixes when dealing
1913         with libc objects.
1914         (object-suffixes-for-rules): Remove variable.
1915         (elide-routines.oS): Elide all routines except static-only
1916         routines.
1917         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
1918         empty.
1919         (installed-libcs): Remove special case for .oS.
1920         (rmobjs): Likewise.
1922 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1924         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
1925         do-tst-rpmatch): New targets.
1926         (test): Use them.
1927         (install-locales): Ignore comment lines.
1929 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1931         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
1932         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
1933         ($(objpfx)rtldtbl.h): Likewise.
1934         (CPPFLAGS-dl-load.c): Fix reference to object directory.
1936 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
1938         * manual/string.texi (Finding Tokens in a String): Extend strsep
1939         description and correct example.
1941 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1943         * manual/socket.texi: Remove misguided explicit line breaks and
1944         fix the formatting problem instead by reformulating the
1945         paragraphs.
1946         * manual/filesys.texi: Likewise.
1947         * manual/conf.texi: Likewise.  Don't typeset table with index
1948         fonts, that looks worse than a minimally overfull line.
1950 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1952         * nscd/Makefile (nscd-modules): Move definition outside of
1953         conditional.
1955         * pwd/Makefile: Use have-thread-library to test for thread
1956         library.
1958 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1960         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
1962         * iconvdata/uhc.c (gconv): Remove unused variable idx.
1964 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
1966         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
1968 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
1970         * nss/getXXent_r.c: Correctly handle failing setXXent function.
1972         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
1973         Reported by Andreas Jaeger.
1975 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
1977         * elf/Makefile: Fix typo.
1978         (distribute): Add dl-librecon.h.
1979         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
1980         * elf/ldd.sh.in: Likewise.
1981         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
1982         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
1983         Use strsep correctly.
1984         (process_envvars): Allow platform specific variables.
1985         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
1986         (_dl_load_cache_lookup): Test cache IDs found against
1987         _dl_correct_cache_id.
1988         * sysdeps/generic/dl-librecon.h: New file.
1989         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
1991         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
1993 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
1995         * config.make.in (ldd-rewrite-script): New variable.
1996         * configure.in: Substitute ldd-rewrite-script.
1997         * elf/Makefile: Rewrite rules to generate ldd script.
1998         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
1999         * elf/ldd.sh.in: Likewise.
2000         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
2001         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
2002         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
2003         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
2004         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
2006 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2008         * inet/rcmd.c (iruserok): Remain setuid to the local user
2009         while .rhosts is actually read, to make .rhosts-over-NFS work
2010         (PR libc/524).  Use iruserfopen() for security checks on both
2011         hosts.equiv and .rhosts.  General cleanup.
2012         (iruserfopen): New function, performs careful checking on
2013         hosts.equiv/.rhosts files.  Disallows all the old forbidden
2014         stuff plus hard links to files.
2016 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
2018         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
2020         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
2022 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
2024         * sysdeps/i386/i486/bits/string.h: Fix typos.
2026 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
2028         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
2029         strong alias.
2031         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
2033         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
2034         Added.  Used by libm.so on alpha.
2036 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2038         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
2039         defined.
2041 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
2043         * Makerules (object-suffixes-for-rules): Add .oS only for
2044         building shared library.
2045         Add ranlib rule for nonshared library.
2046         (rmobjs): Fix typo.
2048         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
2049         into for shared library only.
2050         (CPPFLAGS-.oS): Add -DPIC.
2051         (libtypes): Use $(object-suffixes-for-rules) instead of
2052         $(object-suffixes).
2054 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
2056         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
2057         and install lddlibc4.
2059 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2061         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
2062         hash.
2063         * iconvdata/gaptab.pl: Likewise.
2065 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
2067         * Rules: Allow Makefiles to specify test-static for tests which
2068         cannot be linked dynamically.
2069         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
2070         tests-static.
2072         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
2074         * misc/error.c: Pretty print.
2076 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2078         * Makerules (libc_nonshared-name): Remove variable.
2079         (installed-libcs): Use libc-name instead.
2080         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
2081         dynamic linker.
2083         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
2084         libc.a.  Remove explicit reference to dynamic linker.
2086 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
2088         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
2089         to wchar_t.
2090         * iconv/iconv_prog.c: Correctly test for write failure.
2091         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
2092         * iconvdata/gconv-modules: Likewise.
2093         * iconvdata/euckr.c: New file.
2094         * iconvdata/johab.c: New file.
2095         * iconvdata/ksc5601.c: New file.
2096         * iconvdata/ksc5601.h: New file.
2097         * iconvdata/uhc.c: New file.
2098         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
2100         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
2101         * stdio/fopen.c: Correct handling of 'x' flag.
2102         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
2104 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2106         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
2107         * sunrpc/rpcsvc/key_prot.x: Likewise.
2108         * sunrpc/key_prot.c: Likewise.
2110 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
2112         * sysdeps/i386/bits/string.h: Correct things which never worked.
2113         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
2114         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2116 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
2118         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
2119         defined.  Reported by Thorsten Kukuk.
2121 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
2123         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
2125 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2127         * manual/install.texi (Supported Configurations): Add
2128         arm-linuxaout and arm-none.
2130 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2132         * version.h (VERSION): Bump to 2.0.93.
2134 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
2136         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
2138         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
2140         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
2141         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
2143 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2145         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
2147 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2149         Put the static-only routines in a separate library.
2150         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
2151         variables.
2152         (all-object-suffixes): Add .oS.
2153         * Makerules (libc_static-name): New variable.
2154         (installed-libcs): Add libc_nonshared.a.
2155         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
2156         (object-suffixes-for-rules): New variable.  Use it instead of
2157         object-suffixes for generating compilation rules.
2158         (rmobjs): Also remove *.oS.
2159         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
2160         ($(objpfx)stamp.oS): New target.
2162 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
2164         * Makefile (FAQ): Automatically check in regenerated FAQ.
2166 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2168         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
2170 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
2172         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
2173         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
2175         * sysdeps/generic/stub_warning: Removed.
2177         * Makefile (distribute): Add include/des.h.
2179         * manual/Makefile (distribute): Change dir-add.texi to
2180         dir-add.texinfo.
2182         * glibcbug.in: Create files safely when mktemp is not available.
2184         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
2185         Patch by a sun <asun@saul1.u.washington.edu>.
2187 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2189         * libc.map: Rename getname to getnetname.
2191 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
2193         * manual/maint.texi: Use supported platform in examples.
2195         * manual/install.texi: Document some installation tips.
2197 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
2199         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
2200         Fix a bug so that it returns an error if a numeric parameter is
2201         unset and WRDE_UNDEF is set.
2202         Patch by Andreas Schwab and Tim Waugh.
2203         * posix/wordexp-test.c: Add new new test.
2205 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
2207         * posix/regex.c (regex_compile): Last patch wasn't entirely
2208         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
2210 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2212         * manual/filesys.texi (Scanning Directory Content): Fix typo.
2214 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2216         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
2217         clobbered registers don't appear as operands.
2219 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2221         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
2222         Solaris' sake.
2224         * posix/regex.c (regex_compile): Don't allow non-alphabet
2225         characters in character set name.
2227 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
2229         * posix/wordexp.c (w_newword): New function.
2230         (do_parse_glob): New function.
2231         (parse_glob): Use do_parse_glob.  Now handles the case where a
2232         variable expansion causes a field-split.
2233         (wordexp): Use w_newword.
2234         (parse_arith): Likewise.
2235         (exec_comm): Likewise.
2236         (parse_comm): Likewise.
2237         (parse_param): Likewise.
2238         (parse_backtick): Likewise.
2240 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
2242         * posix/wordexp-tst.sh: Another test.
2244         * posix/wordexp-test.c: Two new tests.
2246         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
2247         directly (the code using realloc was buggy).
2248         (parse_param): Fix typo in comment.
2250 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2252         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
2254 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2256         * libc.map: Add more rpc auth functions/variables.
2258         * nscd/nscd.c: Add -g option to argp options.
2260 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2262         * configure.in: Be prepared for gcc 2.9.10 and up.
2263         * configure.in: Add missing disabling of quote characters in
2264         compiler version check.  Reported by HJ Lu.
2266 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2268         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
2270 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2272         * intl/locale.alias: Fix spelling of romanian.
2274         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
2275         (distribute): Remove des.h.
2276         * include/des.h: New file.
2277         * sunrpc/des.h: Moved to ...
2278         * sunrpc/rpc/rpc_des.h: ...here.
2280 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
2282         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
2283         Fix paren.
2285 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2287         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
2288         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
2290 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
2292         * elf/ldsodesf.h: New file.
2293         * elf/Makefile (distribute): Add ldsodefs.h.
2294         * elf/link.h: Separate internal information in exter header.
2295         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
2296         * elf/dl-minimal.c: Likewise.
2297         * sysdeps/generic/dl-sysdep.c: Likewise.
2298         * elf/sprof.c: Likewise.
2299         * elf/dlsym.c: Likewise.
2300         * elf/dlvsym.c: Likewise.
2301         * elf/dlerror.c: Likewise.
2302         * elf/dladdr.c: Likewise.
2303         * elf/dlclose.c: Likewise.
2304         * elf/dlopen.c: Likewise.
2305         * elf/dl-addr.c: Likewise.
2306         * elf/dl-close.c: Likewise.
2307         * elf/dl-debug.c: Likewise.
2308         * elf/dl-deps.c: Likewise.
2309         * elf/dl-error.c: Likewise.
2310         * elf/dl-fini.c: Likewise.
2311         * elf/dl-init.c: Likewise.
2312         * elf/dl-load.c: Likewise.
2313         * elf/dl-lookup.c: Likewise.
2314         * elf/dl-object.c: Likewise.
2315         * elf/dl-open.c: Likewise.
2316         * elf/dl-profile.c: Likewise.
2317         * elf/dl-reloc.c: Likewise.
2318         * elf/dl-runtime.c: Likewise.
2319         * elf/dl-support.c: Likewise.
2320         * elf/dl-symbol.c: Likewise.
2321         * elf/dl-version.c: Likewise.
2322         * sysdeps/generic/dl-cache.c: Likewise.
2323         * sysdeps/generic/libc-start.c: Likewise.
2324         * iconv/gconv_dl.c: Likewise.
2325         * nss/nsswitch.c: Likewise.
2327 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
2329         * manual/nss.texi: The database is not called network but networks.
2330         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2332 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2334         * configure.in: Correct test for compiler version.
2335         Check that LD_LIBRARY_PATH doesn't contain current path.
2337 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
2339         * elf/dl-close.c (_dl_close): Fix byte count while removing
2340         the shared object from the global scope list and optimize
2341         a little bit.
2343 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2345         * manual/filesys.texi (Scanning Directory Content): Add missing
2346         closing brace.
2347         (Scanning Directory Content): Fix text.
2349 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2351         * manual/memory.texi (Heap Consistency Checking): Add paragraph
2352         explaining difference of -lmcheck and MALLOC_CHECK_.
2354 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2356         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
2357         typos in comments.
2359 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2361         * test-skeleton.c (main): Fix test for exit signal.
2363 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2365         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
2367 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2369         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
2370         appropriate.
2372 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2374         * libc.map: Export __strtok_r.
2376 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
2378         * posix/regex.c (re_compile_fastmap): Remove unused variable
2379         num_regs and adjust comment.
2380         Patch by Jim Meyering <meyering@ascend.com>.
2382         * math/math.h (M_*l): Extend long double constants to be usable
2383         for 128 bit floats.  Patch by Richard Henderson.
2385 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2387         * sysdeps/m68k/m68020/wordcopy.S: New file.
2389 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
2391         * posix/wordexp.c: Rewrite parse_param.
2392         Patch by Tim Waugh and Andreas Schwab.
2394 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2396         * Rules: Update timestamps on empty object files.
2398 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
2400         * manual/filesys.texi (Scanning Directory Content): Add description
2401         of 64 bits scandir function and friends.
2403 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2405         * glibcbug.in: Use mktemp to generate unique file name for
2406         temporary files.
2408         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
2409         ptsname_r.  Use cast for execve call.
2411 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
2413         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
2414         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
2415         * io/sys/statvfs.h: New file.
2416         * sysdeps/generic/fstatvfs.h: New file.
2417         * sysdeps/generic/statvfs.h: New file.
2418         * sysdeps/generic/fstatvfs64.h: New file.
2419         * sysdeps/generic/statvfs64.h: New file.
2420         * sysdeps/generic/bits/statvfs.h: New file.
2421         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
2422         * sysdeps/unix/sysv/linux/statvfs.c: New file.
2423         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
2425         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
2426         and f_ffree elements.
2428         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
2429         mount options in enum.
2431 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2433         * configure.in: Check for recent egcs/gcc.
2435 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2437         * libc.map: Add alphasort64, scandir64, versionsort64.
2438         * dirent/Makefile (routines): Add scandir64, alphasort64, and
2439         versionsort64.
2440         * dirent/alphasort64.c: New file.
2441         * dirent/scandir64.c: New file.
2442         * dirent/versionsort64.c: New file.
2443         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
2444         versionsort.
2445         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
2446         old name weak alias.
2447         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2449         * dirent/alphasort.c: Use strcoll instead of strcmp.
2451         * dirent/scandir.c: Optimize a bit.
2453         * dirent/versionsort.c: Pretty print.
2455 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2457         * string/string.h: Add prototype for __strtok_r.
2459 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2461         * posix/Makefile: Fix typo in last change.
2463 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
2465         * dirent/dirent.h (scandir): Make argument of select function const.
2466         * dirent/scandir.c (scandir): Likewise.
2467         Reported by David.Faure@insa-lyon.fr [PR libc/512].
2469 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
2471         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
2472         weak alias.
2473         * sysdeps/i386/strtok_r.c: Likewise.
2475         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
2476         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
2477         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
2478         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
2479         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
2480         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
2482 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2484         * intl/localealias.c: Remove unneeded define for strdup.
2486 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
2488         * manual/argp.texi: Adjust for better TeX output.
2489         * manual/arith.texi: Likewise.
2490         * manual/conf.texi: Likewise.
2491         * manual/filesys.texi: Likewise.
2492         * manual/header.texi: Likewise.
2493         * manual/lgpl.texinfo: Likewise.
2494         * manual/math.texi: Likewise.
2495         * manual/message.texi: Likewise.
2496         * manual/pattern.texi: Likewise.
2497         * manual/process.texi: Likewise.
2498         * manual/signal.texi: Likewise.
2499         * manual/socket.texi: Likewise.
2500         * manual/startup.texi: Likewise.
2501         * manual/stdio.texi: Likewise.
2502         * manual/terminal.texi: Likewise.
2503         * manual/examples/rprintf.c: Likewise.
2504         * manual/examples/testopt.c: Likewise.
2505         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2507 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
2509         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
2510         parameter name after seeing a digit if it's enclosed in braces.
2512 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
2514         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
2516 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2518         * manual/memory.texi (Heap Consistency Checking): Document
2519         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
2521 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2523         * manual/Makefile: Add missing rules.
2525 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
2527         * timezone/Makefile (generated): Define to remove all stamp files.
2529         * sysdeps/generic/strsep.c: Also undefine __strsep.
2531         * string/strdup.c: Undefine __strdup and strdup first.
2532         * string/strndup.c: Likewise.
2534         * string/bits/string2.h: Correct strtok_r and strsep.
2535         Add strndup optimization.
2537         * sysdeps/generic/strsep.c: Little optimization.
2539 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
2541         * string/bits/string2.h: Add optimization for strdup.
2542         Always define __strsep and __strtok_r and make real names available
2543         when feature select macros are defined.
2545 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2547         * manual/install.texi (Installation): Use i486-linux as example
2548         instead of the unsupported sunos4.
2549         (Reporting Bugs): Mention glibcbug script.
2550         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
2552 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2554         * posix/wordexp-tst.sh: Make portable.  Add more tests.
2556         * posix/Makefile (do-globtest do-wordexp-test): New targets.
2558 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
2560         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
2561         * sysdeps/generic/libc-start.c: ...here, replacing former content.
2563         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
2564         netpacket/packet.h.
2566         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
2568 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2570         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
2571         in enumerator for strict standard compliance.
2572         * sysdeps/generic/bits/resource.h: Likewise.
2574 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
2576         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
2577         (PLTJMP): New macro.
2579         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
2580         longjmp() when floating point enabled.
2581         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
2582         * sysdeps/arm/__longjmp.S: Remove floating point code.
2583         * sysdeps/arm/setjmp.S: Likewise.
2585         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
2586         * sysdeps/arm/bsd-_setjmp.S: Likewise.
2588         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
2589         memset().
2591         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
2592         prototype.
2594 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
2596         Based on patches from Pat Beirne and Scott Bambrough:
2598         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
2600         * sysdeps/arm/bits/fenv.h: New file.
2602         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
2603         * sysdeps/arm/elf/setjmp.S: Likewise.
2604         * sysdeps/arm/elf/start.S: Likewise.
2605         * sysdeps/arm/init-first.c: Likewise.
2606         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
2607         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
2608         comment about floating point to reflect current reality.
2610         * sysdeps/unix/arm/brk.S: Support PIC.
2611         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
2612         re-entrant code.
2613         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
2614         return; call syscall_error through PLT.
2615         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
2617 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
2619         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
2620         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
2621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
2623 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
2625         * dirent/list.c (test): Return error value.
2626         (main): Exit with error value.
2628         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
2630         * Makefile (distribute): Add test-skeleton.c.
2631         * test-skeleton.c: New file.
2632         * dirent/Makefile (tests): Add opendir-tst1.
2633         * dirent/opendir-tst1.c: New file.
2635 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
2637         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
2638         Optimize memory handling.
2639         * sysdeps/unix/closedir.c: Optmize memory handling.
2641 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
2643         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
2644         handling.  Optimize a bit.
2646 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
2648         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
2649         (parse_param): Fold in Andreas' fixes to do with when the end of
2650         the parameter name has been reached, and quoting inside ${...}.
2651         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
2652         $((echo);(ls)).
2654 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2656         * manual/maint.texi: Split out installation and contribution
2657         sections to their own appendices.  Misc cleanups.
2658         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
2659         * manual/contrib.texi: New file.
2660         * manual/libc.texinfo: Pull in new appendices.
2661         * manual/header.texi: Correct node pointer.
2663 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2665         * manual/process.texi (Process Completion): Clarify return value
2666         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
2668 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2670         * posix/wordexp-test.c: Add more tests.
2671         (testit): Fix logic.
2673         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
2674         /dev/null instead of closing it, close pipe.  Always chop off all
2675         trailing newlines.  Kill and reap child before returning error.
2676         (w_addword, parse_glob): Fix memory leak.
2677         (wordexp): Fix dangling pointer problem.
2679 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
2681         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
2683         * posix/wordexp-test.c (main): Fix little thinkos and typos.
2685         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
2686         directory index by only the language.
2688 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
2690         * posix/wordexp-tst.sh: Store test results in the
2691         ${common_objpfx}posix directory.
2693         * posix/wordexp-test.c: Remove temporary directory afterwards.
2695 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2697         * libc.map: Export internal versions of cancelable functions.
2699 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2701         * Makerules (MAKEFLAGS): Append `r'.
2703 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2705         * Makeconfig: Define have-thread-library, shared-thread-library
2706         and static-thread-library if a thread library is available.  Don't
2707         define rt.
2708         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
2709         nscd-routines to nscd-modules.  Use shared-thread-library and
2710         static-thread-library in dependencies.
2711         * rt/Makefile: Only compile librt if have-thread-library is
2712         defined.
2713         * Makefile (subdirs): Always include rt subdir.
2715 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2717         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
2719 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
2721         * configure.in: Recognize variations for 32 MIPS processors.
2722         Don't assume ELF systems always have .weak, test for .weakext.
2724 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
2726         * configure.in: Irix6 is an ELF platform.
2728 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
2730         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
2731         unmapping the last loaded segment.
2733 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
2735         * configure.in: Set base_os for Irix6.
2736         Correct test for .weakext.
2738 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2740         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
2741         (new_line) to _dl_debug_message call.
2743 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
2745         * posix/wordexp.c (parse_param): Perform field-splitting after
2746         expanding positional parameter.
2748         * posix/wordexp-tst.sh: Test that field-splitting is performed
2749         after expanding positional parameter.
2751         * posix/wordexp.c (parse_param): Fixed memory leak in
2752         field-splitting after parameter expansion.
2754 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
2756         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
2757         (get_toplvl_escape): Correctly terminate loop at EOF.
2758         Patch by Cristian Gafton <gafton@redhat.com>.
2760 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
2762         * string/tester.c (test_strpbrk): Add more strpbrk tests.
2763         (test_strsep): Likewise.  Correct horrible bugs.
2765         * string/bits/string2.h (strcspn): Optimize also reject string of
2766         length 2 and 3.
2767         (strspn): Likewise.
2768         (strpbrk): Likewise.
2769         (strsep): Likewise.  Correct bug with successive separators and
2770         separators at the end of the string.
2771         * sysdeps/generic/strsep.c: Correct bug with successive separators
2772         and separators at the end of the string.
2774 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
2776         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
2777         etc) now handled, as well as $$ (pid).
2779         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
2780         (distribute): Add wordexp-tst.sh.
2782         * posix/wordexp-tst.sh: New file.
2784         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
2785         number of positional parameters.  Renamed substitute_length to
2786         seen_hash.
2787         Don't free(env) is env is NULL.
2789 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
2791         * libc.map: Add pthread_attr_init to GLIBC_2.1.
2793 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
2795         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
2796         for output file replacing gmon.out.
2797         Patch by Dean Gaudet <dgaudet@arctic.org>.
2799 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2801         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
2802         up namespace.  Optimize finding end of line.
2804 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2806         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
2807         securely.  Optimized.
2808         (process_dl_debug): Add ':' to list of separators.  Optimized.
2810 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2812         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
2813         isless, islessequal, islessgreater, isunordered): Return zero or
2814         one.
2816 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
2818         * posix/wordexp-test.c: More tests.
2819         (main): Set up arena for pathname expansion tests (in a temporary
2820         directory).
2821         (testit): Don't check word count or word vector if return value is
2822         non-zero.
2824         * posix/wordexp.c (exec_comm): Always chop off terminating
2825         linefeed (just like bash does).
2826         (parse_param): Change lots of occurrences of "if (!*env)" to "if
2827         (!env || !*env)".
2828         (parse_param): For assignment inside parameter expansion, use all
2829         expanded words in assignment rather than just the first.
2830         (parse_param): Corrected return value for parameter expansion of
2831         an unset variable when WRDE_UNDEF is in effect.
2832         (parse_dollars): Don't field-split if quoted.
2833         (wordexp): Opening brace character isn't allowed unquoted.
2835 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
2837         * elf/dlerror.c: Fix concurrency problems with error string and
2838         number.
2840         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
2841         filter/auxiliary are being loaded.
2843 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
2845         * elf/dlerror.c (last_object_name): Removed.
2846         (dlerror): Don't use last_object_name.
2847         (_dl_error_run): Omit second argument to _dl_catch_error.
2848         * elf/dl-error.c (struct catch): Remove objname member.
2849         (_dl_signal_error): Construct string including objname when given.
2850         (_dl_catch_error): Remove objname handling.
2851         * elf/link.h (_dl_catch_error): Fix prototype and comment.
2852         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
2853         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
2854         * nss/nsswitch.c (nss_dlerror_run): Likewise.
2855         * iconv/gconv_dl.c (dlerror_run): Likewise.
2856         [Corrects PR libc/501].
2858 1998-03-12  Matthias Urlichs <smurf@noris.de>
2860         * nscd/nscd.c: Ignore SIGPIPE.
2862 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
2864         * nscd/nscd_getgr_r.c: Use __ protected names.
2865         * nscd/nscd_getpw_r.c: Likewise.
2867 1998-03-12  Matthias Urlichs <smurf@noris.de>
2869         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
2870         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
2871         null bytes are not transmitted.
2873 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2875         * powerpc/syscalls.list: Correct typo.
2876         * alpha/syscalls.list: Likewise.
2877         * mips/syscalls.list: Likewise.
2879 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
2881         * socket/sys/socket.h: Add prototype for __socket.
2883 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
2885         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
2887         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
2888         constants.
2890         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
2891         definition here.
2892         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
2893         definition here.
2895         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
2896         AF_* and PF_* constants.
2898         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
2900 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
2902         * elf/rtld.c: Update help message.
2903         Install link maps for preloaded objects using main_map as loader.
2905         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
2906         * elf/dl-profile.c: Likewise.
2908         * elf/dlsym.c: Little optimization.
2909         * elf/dlvsym.c: Likewise.
2911 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
2913         * posix/wordexp-test.c: Move test for parameter list at the very
2914         beginning.
2916 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
2918         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
2919         WRDE_REUSE flag is set.
2920         (parse_param): Allow `*', `@', and numbers in parameter names.
2921         (parse_dollars): Differentiate between arithmetic expansion and a
2922         command substitution that starts immediately with a sub-shell
2923         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
2924         (parse_param): Memory allocated with __alloca in a block was
2925         referenced outside that block.  Adjusted to use malloc/free.
2926         (parse_param): Adjusted field-splitting algorithm so that there is
2927         not necessarily a field split at the end of a parameter expansion.
2929 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
2931         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
2932         don't free words that have already been allocated.
2933         (parse_param): A dollar sign on its own will never have a pattern
2934         associated with it (like "${HOME%%/}" has), so don't try to free it.
2935         (parse_glob): Attempt to glob when an unquoted `[' is found
2936         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
2937         (parse_glob): Sorted out quoting in a glob-able word.
2938         (parse_param): Added $* and $@ handling.
2940 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
2942         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
2943         parsing it.
2945 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2947         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
2948         _dl_debug_message.
2950 1998-03-12  Matthias Urlichs  <smurf@noris.de>
2952         * elf/dl-misc.c: Default for debug output should be stderr.
2953         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
2954         * elf/dl-lookup.c: reference_name may be NULL or empty.
2956 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2958         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
2960 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
2962         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
2964         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
2966 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2968         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
2969         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
2971 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2973         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
2974         init stuff.
2976 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
2978         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
2979         flag.
2981         * misc/syslog.c (vsyslog): Don't try to send if not connected to
2982         syslog daemon.
2983         (closelog_internal): Don't do anything if not connected.
2985 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
2987         * libc.map: Add _dl_debug_message.
2988         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
2989         before every line.
2990         * elf/fini.c: Correctly use new _dl_debug_message function.
2991         * elf/init.c: Likewise.
2992         * elf/dl-lookup.c: Likewise.
2993         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
2994         * elf/dl-load.c: Likewise.  Add more debugging prints.
2995         * elf/dl-reloc.c: Likewise.
2996         * elf/dl-version.c: Likewise.
2997         * elf/dl-support.c: Add variables for debugging.
2998         * elf/rtld.c: Likewise.  Recognize new debug options.
2999         * elf/link.h: Declare new variables.
3001         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
3003 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3005         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
3006         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
3008 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
3010         * posix/wordexp-test.c (command_line_test): New function to allow
3011         testing of specific cases from the command-line.
3013 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
3015         * elf/dl-init.c (_dl_init_next): Print nicer messages.
3016         * elf/dl-fini.c (_dl_fini): Likewise.
3017         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
3019         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
3020         symbol in debug message.
3021         (_dl_lookup_versioned_symbol_skip): Likewise.
3023 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
3025         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
3026         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
3027         * manual/filesys/texi: Document this.
3029 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
3031         * manual/filesys.texi: Document the change below.
3033 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3035         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
3036         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
3038 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
3040         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
3041         instead scope.  If debugging display information about symbol
3042         resolving.
3043         (_dl_lookup_symbol): Call do_lookup with correct parameters.
3044         (_dl_lookup_symbol_skip): Likewise.
3045         (_dl_lookup_versioned_symbol): Likewise.
3046         (_dl_lookup_versioned_symbol_skip): Likewise.
3047         * elf/dl-support.c: Define _dl_debug_symbols.
3048         * elf/link.h: Add declaration for _dl_debug_symbols.
3049         * elf/rtld.c: Define _dl_debug_symbols.
3050         (process_dl_debug): Recognize symbols option.
3052 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
3054         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
3055         in correct format.
3056         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
3057         with correct parameters.
3058         [!PIC]: Initialize __libc_multiple_libcs.
3060 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
3062         * elf/dl-support.c (_dl_debug_bindings): Add definition.
3063         * elf/rtld.c (_dl_debug_bindings): Add definition.
3064         (process_dl_debug): Recognize bindings option.  Update help message.
3065         * elf/link.h (struct link_map): Add l_versyms member.
3066         (_dl_debug_bindings): Add declaration.
3067         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
3068         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
3069         and l_reloc_result.
3070         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
3071         (sym_val): Remove a member, add m as link_map.
3072         (do_lookup): Return result appropriately.
3073         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
3074         Call do_lookup correctly.
3075         (_dl_lookup_symbol_skip): Likewise.
3076         (_dl_lookup_versioned_symbol): Likewise.
3077         (_dl_lookup_versioned_symbol_skip): Likewise.
3079 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
3081         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
3082         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
3084         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
3085         * libc.map: Add chown to GLIBC_2.1.
3086         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
3087         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
3089 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3091         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
3092         weak alias.
3093         * sysdeps/alpha/ffs.c: Likewise.
3094         * sysdeps/am29k/ffs.c: Likewise.
3095         * sysdeps/i386/ffs.c: Likewise.
3096         * sysdeps/i960/ffs.c: Likewise.
3097         * sysdeps/m68k/ffs.c: Likewise.
3098         * sysdeps/m88k/ffs.c: Likewise.
3099         * sysdeps/powerpc/ffs.c: Likewise.
3100         * sysdeps/rs6000/ffs.c: Likewise.
3101         * sysdeps/vax/ffs.s: Likewise.
3102         * string/string.h: Declare __ffs.
3103         * libc.map: Export it.
3104         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
3105         __builtin_ffs, which is not guaranteed to be namespace clean.
3107 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3109         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
3110         table, which is much more likely to exist than debugging symbols.
3111         (printsym): Remove const.
3112         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
3113         header table.
3115         * libc.map: Export __profile_frequency, used by elf/sprof, to
3116         avoid infinite recursion during startup.
3118 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3120         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
3121         Readd lost negate.
3123         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
3125 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
3127         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
3129 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
3131         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
3132         LD_PRELOAD, and LD_VERBOSE.
3133         (dl_main): Use global variables set by process_envvars instead of
3134         calling getenv.
3135         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
3136         LD_LIBRARY_PATH value, this comes with the parameter.
3137         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
3138         ("LD_LIBRARY_PATH") to _dl_init_paths.
3140 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
3142         * elf/rtld.c (dl_main): Delay initialization of path structure if
3143         the dynamically linker is invoked implicitly until we read the
3144         dynamic section.
3146 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
3148         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
3150 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3152         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
3153         Linux 2.0 and 2.1.
3155         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
3157 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
3159         * Makeconfig (nisobjdir): Set to path to nis directory.
3160         (rpath-link): Add nisobjdir.
3161         Patch by Sven Verdoolaege <skimo@kotnet.org>.
3163         * elf/Makefile: Pretty print.
3164         * elf/dl-lookup.c: Include unistd.h.
3165         * elf/dl-runtime.c: Likewise.
3167         * localedata/Makefile (test-srcs): Add tst-rpmatch.
3168         (distribute): Add tst-rpmatch.sh.
3169         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
3171         New tests for rpmatch function by
3172         Jochen Hein <jochen.hein@delphi.central.de>.
3173         * localedata/tst-rpmatch.c: New file.
3174         * localedata/tst-rpmatch.sh: New file.
3176         * localedata/locales/de_DE: Correct yesexpr and noexpr.
3177         * localedata/locales/de_AT: Likewise.
3179         * posix/getopt.c: Update contact address.
3180         * posix/getopt1.c: Pretty print.
3182         * sysdeps/generic/libc-start.c: Do most of the initialization now
3183         here instead of in start.S.
3184         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
3185         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
3187         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
3188         profil_counter to be public.
3190 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
3192         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
3193         (parse_param): Coded parameter length expansion (${#var}).
3194         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
3195         (parse_param): Cleaned up (fixed) error handling.
3197         * posix/wordexp-test.c: IFS now includes non-whitespace character
3198         (comma).  Added more tests.
3200 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
3202         * elf/link.h: Fix typos.
3203         Reported by Andreas Jaeger.
3205         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
3206         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
3208 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
3210         * argp/argp-help.c: Remove last bits of using gettext instead of
3211         dgettext.
3213 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
3215         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
3216         __libc_start_main.
3217         * csu/Makefile (routines): Add libc-start.
3218         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
3219         * elf/dl-lookup.c: Likewise.
3220         * elf/dl-version.c: Likewise.
3221         * sysdeps/i386/dl-machine.h: Likewise.
3222         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
3223         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
3224         _dl_sysdep_message macros which use _dl_sysdep_output.
3225         * elf/dl-fini.c: Write out which destructor is called while debugging.
3226         * elf/dl-init.c: Likewise for constructor.
3227         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
3228         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
3229         _dl_sysdep_message.  Add _dl_sysdep_output.
3230         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
3231         this file can be opened.
3232         For LD_DEBUG=libs also set _dl_debug_impcalls.
3233         * sysdeps/generic/dl-cache.c: Include unistd.h.
3234         * sysdeps/generic/libc-start.c: New file.
3235         * sysdeps/unix/sysv/linux/libc-start.c: New file.
3236         * sysdeps/i386/elf/start.S: Don't call main directly, call
3237         __libc_start_main instead.
3239         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
3241 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
3243         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
3245 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
3247         * argp/argp.h (struct argp): Add new field domain.
3248         * argp/argp-help.c: Change all gettext calls to dgettext and use
3249         domain field from appropriate argp in call.
3250         * argp/argp-parse.c: Likewise.
3252 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
3254         * posix/wordexp-test.c: Change testsuite so that it can run even
3255         for ~root != /root.
3257 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3259         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
3261 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3263         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3264         Don't store into global errno if we already store through
3265         __errno_location.
3266         * sysdeps/unix/i386/sysdep.S: Likewise.
3267         * sysdeps/unix/alpha/sysdep.S: Likewise.
3268         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3269         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
3271         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
3272         PIC).
3274 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3276         * sysdeps/generic/sysdep.h (L): Remove definition.
3277         * sysdeps/i386/sysdep.h (L): Define it here instead.
3279 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3281         * nis/nis_call.c (__do_niscall): Safe and reset errno.
3283         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
3285 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3287         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
3288         declaration style to avoid warnings.
3290 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
3292         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
3293         "LD_DEBUG".
3295 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3297         * posix/Makefile (tests): Add wordexp-test.
3298         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
3299         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
3301 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
3303         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
3304         dependencies.
3306         * elf/link.h (struct r_search_path_elem): Add two new field for
3307         lib path debugging.
3308         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
3309         variable accordingly.
3310         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
3311         is considered next along with information about load paths.
3312         * sysdeps/generic/dl-cache.c: Likewise.
3313         * elf/dl-support.c: Define _dl_debug_libs.
3314         * elf/genrtldtbl.awk: Add initializers for two new field in
3315         struct r_search_path_elem.
3317 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3319         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
3320         * sysdeps/m68k/lshift.S: Likewise.
3321         * sysdeps/m68k/rshift.S: Likewise.
3322         * sysdeps/m68k/sub_n.S: Likewise.
3323         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
3324         * sysdeps/m68k/m68020/mul_1.S: Likewise.
3325         * sysdeps/m68k/m68020/submul_1.S: Likewise.
3327         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
3328         [_LIBC_REENTRANT]: Don't store into global errno.
3330         * sysdeps/m68k/sysdep.h: New file.
3331         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
3332         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
3333         (DO_CALL): Change to expect syscall name as argument.
3334         (PSEUDO): Pass syscall_name to DO_CALL.
3335         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
3336         errno.
3338 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3340         * elf/rtld.c: Speed up processing of environment variables.  Do
3341         only one run on the environment by avoiding to call getenv.
3342         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
3343         function.  Used by patch above.
3345 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3347         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
3348         running nscd.
3349         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
3350         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
3351         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
3353 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
3355         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
3356         module cannot be found.  Reported by Andreas Jaeger.
3358 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3360         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
3361         on platforms which default to unsigned chars.
3362         * nscd/nscd_getpw_r.c: Likewise.
3363         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
3364         defining it.
3366 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3368         * elf/Makefile (install-bin): Change = to += for sprof to install
3369         ldd also.
3371 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
3373         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
3375 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
3377         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
3379 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3381         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
3382         that a failure to connect to nscd doesn't change errno.
3384 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3386         * manual/maint.texi (Reporting Bugs): Change
3387         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
3389         * locale/iso-4217.def: Likewise
3391 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
3393         * manual/texinfo.tex: Updated.
3395 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3397         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
3398         value.
3399         * sysdeps/posix/pathconf.c: Likewise.
3400         * posix/getconf.c: Print `undefined' if pathconf returns -1
3401         without setting errno.
3403 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
3405         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
3406         problem.
3407         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
3408         Patches by Elliot Lee <sopwith@cuc.edu>.
3410 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
3412         * elf/link.h (struct link_map): Add new field l_reloc_result.
3413         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
3414         of relocation for the object to be profiled.
3415         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
3416         to NULL.
3417         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
3418         array here.
3419         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
3420         contains a result from a previous run use this instead of computing
3421         the value again.
3422         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
3424 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3426         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
3427         offsets into the GOT.
3428         (RTLD_START): Likewise.
3430 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
3432         * elf/sprof.c: Cleanup a bit.
3434 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
3436         * sysdeps/generic/sysdep.h (L): New. Define.
3438         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
3440         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
3442         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
3443         to have only one exit point for functions.
3444         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3445         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
3446         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
3447         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3448         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3450 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3452         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
3453         reset errno so that errno isn't set to ENOSYS in the first call.
3454         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
3455         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3456         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3457         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3459 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
3461         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
3462         * sysdeps/i386/addmul_1.S: Likewise.
3463         * sysdeps/i386/lshift.S: Likewise.
3464         * sysdeps/i386/mul_1.S: Likewise.
3465         * sysdeps/i386/rshift.S: Likewise.
3466         * sysdeps/i386/sub_n.S: Likewise.
3467         * sysdeps/i386/submul_1.S: Likewise.
3468         * sysdeps/i386/i586/add_n.S: Likewise.
3469         * sysdeps/i386/i586/addmul_1.S: Likewise.
3470         * sysdeps/i386/i586/lshift.S: Likewise.
3471         * sysdeps/i386/i586/mul_1.S: Likewise.
3472         * sysdeps/i386/i586/rshift.S: Likewise.
3473         * sysdeps/i386/i586/sub_n.S: Likewise.
3474         * sysdeps/i386/i586/submul_1.S: Likewise.
3476         * sysdeps/i386/sysdep.h: Extend last change.
3478         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
3479         to have only one exit point for functions.
3481 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3483         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
3484         search.
3486 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
3488         * Makerules: Generate libc.so with absolute paths for the used
3489         shared objects.
3491         * config.make.in: Add MAKEINFO definition.
3493 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3495         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
3496         (ENTRY): Use STABS_FUN.
3497         (END): Use STABS_FUN_END.
3498         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
3500         * elf/Makefile: Add rules to build sprof program.
3501         * elf/sprof.c: New file.
3503 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3505         * misc/syslog.c (openlog_internal): Insert missing closing brace.
3507 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3509         * configure.in: Check for working msgfmt version (from GNU gettext
3510         0.10 or later).
3512 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3514         * configure.in: Avoid //s in sysdirs.
3515         Patch by Roland McGrath.
3517         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
3519 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
3521         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
3522         setting _dl_global_scope for RTLD_GLOBAL.
3524 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3526         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
3527         possible lists of object-suffixes are taken care of.
3529 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
3531         * timezone/private.h: Update from tzcode1998c.
3532         * timezone/zic.c: Likewise.
3533         * timezone/antarctica: Updated from tzdata1998c.
3534         * timezone/asia: Likewise.
3535         * timezone/australasia: Likewise.
3536         * timezone/europe: Likewise.
3537         * timezone/southamerica: Likewise.
3539 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
3541         * posix/glob.c (glob_in_dir): Add support for cases insensitive
3542         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
3544 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
3546         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
3547         Changed type of TWO43, TWO52 from float to double.
3548         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
3549         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
3550         Changed type of TWO43 from float to double.
3551         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
3552         Use __isinff.
3554 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
3556         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
3557         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
3558         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
3560 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
3562         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
3563         kernel_termios.h.
3564         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
3565         Clean up random whitespace.
3566         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
3567         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
3568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
3569         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
3571 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
3573         * shlib-versions: Match alpha*.
3574         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
3575         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
3577         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
3578         Implement copysign* with and without __ prefix.
3579         Likewise for fabs; use builtin for gcc 2.8.
3580         (floor*): New.
3581         (fdim*): New.
3583         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
3584         (R_SPARC*): Match current v9 ABI.
3586         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
3588         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
3589         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3590         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
3591         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
3592         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3593         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
3594         * sysdeps/unix/grantpt.c (argv): Fix consts.
3595         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
3596         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3598 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3600         * misc/syslog.c: Change to allow user the interpretation of the
3601         outcome even with syslog having no return value.
3603 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3605         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
3606         that the number of program headers is >0 (which is wrong for the
3607         loader itself).
3609 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3611         * Makefile (distribute): Add README.libm.
3613 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3615         * time/clocktest.c (main): Correct typo: "--" -> "==".
3617 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
3619         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
3620         inline function.
3621         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
3622         inline functions.
3624         * math/libm.map (__atan2): Added.
3626 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3628         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
3629         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3631         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
3632         bug.
3634 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3636         * manual/arith.texi (Old-style number conversion): Correct
3637         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
3639 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3641         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
3642         but does not require it.  Handle missing argv[] values gracefully.
3643         * posix/execl.c: Likewise.
3644         * posix/execle.c: Likewise.
3646 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3648         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
3649         bit.
3650         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
3652 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
3654         * libc.map: Add __adjtimex.
3656 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3658         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
3659         Remove memset.
3661 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
3663         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
3664         to 64.
3666         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
3668         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
3669         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
3671         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
3672         for shared library.
3674         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
3676         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3677         Added adjtimex and old_adjtimex.
3679         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
3680         New.
3681         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
3682         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
3684         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
3685         symbols only for shared library.
3686         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3687         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3688         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3689         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3690         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3691         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3692         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3694         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
3695         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3696         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3697         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3698         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3699         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3700         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3701         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3703         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
3704         rusage pointer.
3706         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
3707         New macros.
3708         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
3709         timex and __adjtimex, respectively.
3711         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
3713         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
3715 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
3717         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
3718         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
3720 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
3722         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
3724 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3726         * Makefile.in: Disable built-in rules.
3728 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3730         * sysdeps/i386/fpu/t_exp.c: Move to ...
3731         * sysdeps/libm-i387/t_exp.c: ... here.
3733 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
3735         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
3736         from __exp2_deltatable.
3738 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
3740         * nis/ypclnt.c (yp_master): Check result of strdup.
3741         Patch by Thorsten Kukuk.
3743 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3745         * nis/ypclnt.c: Give clnt handle after error checking free, change
3746         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
3748 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
3750         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
3751         Patch by Joe Keane <jgk@jgk.org>.
3753         * misc/fstab.h (struct fstab): Change fs_type member to be const.
3754         * misc/fstab.c: Remove casts in fs_type assignments.
3756 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3758         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
3759         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
3760         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
3761         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
3762         * sysdeps/powerpc/bits/fenv.h: Likewise.
3763         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
3764         * sysdeps/generic/bits/fenv.h: Likewise.
3765         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3766         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
3767         * sysdeps/powerpc/test-arith.c (main): Likewise.
3769 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
3771         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
3772         the comparison macros.
3774 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
3776         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
3777         (__log2): Fixed return values.
3778         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
3780 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
3782         * math/math.h (isunordered): Rename local variables to ensure
3783         correct code.  Reported by HJ Lu.
3785 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
3787         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
3788         isless, islessequal, islessgreater, isunordered): Fix syntax for
3789         fucompip instruction.
3790         (isless, islessequal): Fix logic.
3792 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3794         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
3795         (comparisons_test): New tests for comparison macros.
3797 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
3799         * Makeconfig: Filter out frame-pointer effecting options when
3800         compiling profiling or debugging code.
3801         * config.h.in (internal_function): Don't define here if PROF is
3802         defined.
3803         * gmon/gmon.c (__moncontrol): Don't change state if already in error
3804         state.
3805         (__monstartup): If calloc fails set error state and mark array as
3806         not allocated.
3807         (_mcleanup): Don't call write_gmon if in error state.  Don't try
3808         to free array if not  successfully allocated.
3810         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
3811         Include elf.h to get macro definitions.
3812         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
3814 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
3816         * elf/ldd.sh.in: Add compatibility for broken old shells.
3817         * elf/ldd.bash.in: Likewise.
3819 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
3821         * sunrpc/rpc_main.c (open_input): Check pipe return error.
3823         * time/clocktest.c (main): Check signal return error.
3825 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3827         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
3828         "/" and use do-install-program. Reported by Mark M. Kettenis.
3829         (subdir_install):  Likewise.
3831 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3833         * sunrpc/rpc_sample.c: Fix typo.
3835         * nscd/connections.c: Use locale.
3836         * nscd/grpcache.c: Add debug messages, gidtbl should get the
3837           calloc result.
3838         * nscd/nscd.c: Check if init functions fails.
3839         * nscd/nscd_conf.c: Allow disabling of group cache.
3840         * nscd/nscd_getgr_r.c: Fix return code if group not found.
3841         * nscd/pwdcache.c: Fix debug messages.
3843 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3845         * libc.map: Add __monstartup and _mcleanup for profiling support.
3847 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3849         * libc.map: Export __getpagesize, for binary compatibility with
3850         2.0.
3852 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3854         * posix/globtest.sh: Use --library-path instead of
3855         LD_LIBRARY_PATH.
3856         * localedata/sort-test.sh: Likewise.
3857         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
3859 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3861         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
3862         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
3863         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3865         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
3866         kernel_sigaction): Define.
3867         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
3868         kernel_sigaction): Define.
3870 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3872         * math/libm-test.c: Change epsilons for libm-ieee754.
3874 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
3876         * sysdeps/i386/__longjmp.S: Fix race condition.
3877         Reported by Bruno Haible <haible@ilog.fr>.
3879 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
3881         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
3882         * iconvdata/8bit-gap.c: Likewise.
3883         * iconvdata/8bit-generic.c: Likewise.
3884         * iconvdata/iso6937.c: Likewise.
3885         * iconvdata/iso8859-1.c: Likewise.
3886         * iconvdata/sjis.c: Likewise.
3887         * iconvdata/t61.c: Likewise.
3889 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3891         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
3892         feature tests by positive feature tests.
3894 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3896         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
3898 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
3900         * elf/dlvsym.c (dlvsym_doit): More corrections.
3901         Patch by Andreas Jaeger.
3903 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
3905         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
3907 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
3909         * libc.map: More reordering for GLIBC_2.1 symbols.
3911 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3913         * libc.map: Move some functions from version GLIBC_2.0 to
3914         GLIBC_2.1, reorder declarations.
3916 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
3918         * resolv/gethnamaddr.c (addrsort): Make this function extern.
3919         Patch by zab@thebrain.grumblesmurf.net.
3921 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3923         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
3924         NIS+ functions with version GLIBC_2.1.
3926 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
3928         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
3929         with 2.0 binaries.  Reported by Thorsten Kukuk.
3931 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3933         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
3935         * elf/dlsym.c (dlsym_doit): Likewise.
3937 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3939         * elf/link.h: Correct typos.
3941         * iconv/iconv_prog.c: Correct typo.
3943 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
3945         * iconv/Makefile: Add rules to build and install iconv program.
3946         * iconv/iconv_prog.c: New file.
3948 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
3950         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
3951         _dl_lookup_symbol_skip call.
3952         * elf/dlvsym.c (dlvsym_doit): Likewise.
3954 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
3956         * libio/iovsscanf.c: Do not include errno.h.
3958 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3960         * elf/dl-load.c (add_name_to_object): Don't translate strings.
3961         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
3962         pulling in the whole error list.
3963         (__dcgettext, dcgettext): Removed.
3964         * libc.map: Export _strerror_internal.
3966 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
3968         * sysdeps/i386/fpu/t_exp.c: New file.
3970 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3972         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
3973         everything with version GLIBC_2.1.
3974         * hesiod/libnss_hesiod.map: Likewise.
3976 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3978         * manual/arith.texi (Old-style number conversion): This node is a
3979         section, not a subsection.
3981 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3983         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
3985 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3987         * elf/rtld.c (dl_main): Make sure that the library search paths
3988         have been initialized before the first call to _dl_map_object.
3990 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3992         * Makerules (common-generated): Add libc_pic.os.
3994 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3996         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
3997         of the executable.
3999 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4001         * sysdeps/m68k/fpu/t_exp.c: New file.
4003 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4005         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
4006         to global errno variable anymore.
4008 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
4010         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
4011         If PRELOADED is nonzero check in case of an SUID application
4012         whether the shared object has the SUID bit set.
4013         Fix some other problems with handling shared objects in system
4014         specific directories.
4015         (_dl_map_object): Also take extra parameter and pass it to open_path.
4016         * elf/link.h (_dl_map_object): Correct prototype and comment.
4017         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
4018         * elf/dl-open.c (_dl_open): Likewise.
4019         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
4021         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
4023 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4025         * math/libm-test.c (modf_test): Add test for 1.5.
4027         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
4028         0 to get always an int.
4030 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4032         * math/libm.map: Move all symbols that are new in glibc 2.1 to
4033         version GLIBC_2.1.
4035 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
4037         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
4038         trying to read another character.
4040 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4042         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
4043         name to lowercase.
4045         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
4046         name to lowercase, add test for big enough buffer.
4048 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4050         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
4051         Make compatible with older kernels.  Patch by Richard Henderson.
4053 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
4055         * elf/dl-load.c (open_path): Use __xstat instead of stat.
4057         * localedata/tst-locale.sh: Comment out first test for now.
4059 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
4061         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
4062         as 1.
4063         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4064         Likewise.
4066         * libio/iogetline.c (_IO_getline_info): Renamed from
4067         _IO_getline.
4068         (_IO_getline): Just call _IO_getline_info.
4070         * libio/libioP.h (_IO_getline_info): New declaration.
4072         * libc.map (_IO_getline_info, __write): Added.
4074 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4076         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
4077         const char* to shut up gcc.
4079 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
4081         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
4082         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
4084         * math/math.h: Define M_* constants always as `double' and add new
4085         macros M_*l which are of type `long double'.
4086         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
4087         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
4088         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
4089         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
4090         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
4091         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
4092         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
4093         * math/libm-tst.c: Likewise.
4095         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
4096         define as long double unconditionally.
4098 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4100         * manual/arith.texi (Old-style number conversion): Correct some
4101         typos.
4103 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
4105         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
4106         Restore.
4108         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
4110 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
4112         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
4113         on $(rtld-ldscript).
4115         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
4116         starting from 0 not only from `from'.
4117         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4119 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
4121         * elf/rtld.c (dl_main): Recognize --library-path parameter and
4122         pass value (or NULL) to _dl_init_paths.
4123         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
4124         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
4125         environment variable.
4126         * elf/link.h: Change prototype for _dl_init_paths.
4127         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
4129         * localedata/Makefile (distribute): Add test files.
4131 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4133         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
4134         test1.def, test2.def, test3.def, test4.def}: Simple input files
4135         for localedef. Contributed by Yung-Ching Hsiao
4136         <yhsiao@cae.wisc.edu>.
4138         * localedata/Makefile (tests): Call tst-locale.sh.
4140         * localedata/tst-locale.sh: New file, regression tests for some
4141         localedef problems.
4143 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4145         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
4147         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
4148         terminated.
4149         * nis/nss_nisplus/nisplus-network.c: Likewise.
4150         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4151         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4152         * nis/nss_nisplus/nisplus-service.c: Likewise.
4154         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
4155         and support generating thread safe RPC code.
4156         * sunrpc/rpc_main.c: Add changes.
4157         * sunrpc/rpc_clntout.c: Likewise.
4158         * sunrpc/rpc_cout.c: Likewise.
4159         * sunrpc/rpc_hout.c: Likewise.
4160         * sunrpc/rpc_parse.c: Likewise.
4161         * sunrpc/rpc_sample.c: Likewise.
4162         * sunrpc/rpc_scan.c: Likewise.
4163         * sunrpc/rpc_svcout.c: Likewise.
4164         * sunrpc/rpc_util.c: Likewise.
4165         * sunrpc/rpc_util.h: Add new structs and prototypes.
4166         * sunrpc/proto.h: Remove prototypes for static functions.
4168 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4170         * locale/programs/ld-messages.c (messages_finish): Don't skip
4171         error checking when being quiet.
4172         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
4173         (set_class_defaults): Likewise.
4174         * locale/programs/charmap.c (parse_charmap): Likewise.
4175         * locale/programs/ld-collate.c (collate_finish): Likewise.
4176         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
4177         * locale/programs/ld-time.c (time_finish): Likewise.
4178         * locale/programs/locfile.c (write_locale_data): Likewise.
4180         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
4181         unknown characters and empty ranges.
4182         * locale/programs/ld-collate.c (collate_order_elem): When
4183         processing an ellipsis properly form a linked list in the result
4184         table, fix typo when allocating ordering array.
4185         [PR libc/419]
4187 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4189         * elf/Makefile (ld-map): Define.
4190         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
4191         `$(rtld-ldscript)'.
4192         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
4193         on $(ld-map).
4194         (rtld-link): Combine the two versions of this definition.  Fixed
4195         to make it work when no symbol versioning is used.
4197 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
4199         * Makeconfig (build-program-cmd): Use --library-path parameter to
4200         ld.so instead of environment variable.
4202         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
4203         * sunrpc/rpc_main.c: Remove support for -$$ option again.
4205 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4207         * Make-dist: Respect with-cvs setting.
4208         * MakeTAGS (all-pot): Likewise.
4209         * sysdeps/sparc/sparc32/Makefile: Likewise.
4210         * sysdeps/mach/hurd/Makefile: Likewise.
4211         * stdlib/Makefile: Likewise.
4212         * posix/Makefile: Likewise.
4213         * intl/Makefile: Likewise.
4214         * po/Makefile (linguas): Likewise
4216 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4218         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
4220 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
4222         * libc.map: Add __strcasecmp.
4224         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
4225         module.
4227         * nss/getXXent_r.c: If no more module is found don't try to call
4228         setXXent functions but leave unsuccessfully.
4230         * malloc/obstack.h: Cleanups.
4232         * sysdeps/wordsize-32/stdint.h: New file.
4233         * sysdeps/wordsize-64/stdint.h: New file.
4234         * sysdeps/generic/stdint.h: New file.
4235         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
4236         * sysdeps/wordsize-64/inttypes.h: Likewise.
4237         * stdlib/Makefile (headers): Add stdint.h.
4239 1998-02-03  Paul Eggert  <eggert@twinsun.com>
4241         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
4243 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4245         * timezone: New directory.
4246         * time/README, time/africa, time/antarctica, time/asia,
4247         time/australasia, time/backward, time/checktab.awk,
4248         time/etcetera, time/europe, time/factory, time/ialloc.c,
4249         time/iso3166.tab, time/leapseconds, time/northamerica,
4250         time/pacificnew, time/private.h, time/scheck.c,
4251         time/solar87, time/solar88, time/solar89, time/southamerica,
4252         time/systemv, time/test-tz.c, time/tzfile.h,
4253         time/tzselect.ksh, time/yearistype, time/zdump.c,
4254         time/zic.c, time/zone.tab: Moved to timezone.
4255         * time/tzfile.c: Include tzfile.h from timezone subdir.
4256         * time/tzset.c: Likewise.
4257         * time/Makefile: Cut out all code relating to timezones...
4258         * timezone/Makefile: ...and paste it in here.
4259         * Makefile (subdirs): Add timezone.
4261 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
4263         * libc.map (_sys_nerr): Added.
4265         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
4266         versioned symbol.
4268 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
4270         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
4271         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
4272         Reported by Craig Metz <cmetz@inner.net>.
4274 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4276         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
4277         instead of strcasecmp.
4278         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
4280         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
4282 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
4284         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
4285         Patch by Dean Gaudet <dgaudet@arctic.org>.
4287 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
4289         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
4291 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4293         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
4294         with no poll syscall, just include the BSD version.
4295         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
4296         kernel without the syscall, include the stub version.
4297         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
4298         * sysdeps/generic/getresuid.c: New file.
4299         * sysdeps/generic/getresgid.c: New file.
4301 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
4303         * stdio-common/vfscanf.c: Correct last change a bit.
4305 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
4307         * elf/Makefile: Don't use --version-script parameter to link ld.so
4308         unconditionally.
4310 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
4312         * math/Makefile: Add t_exp.
4313         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
4314         constants.
4315         * math/test-reduce.c: Remove temporarily, it seems to be broken.
4316         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
4317         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
4318         better accuracy.
4319         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
4320         algorithm for very large/very small arguments.
4321         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
4322         correct algorithm for very large/very small arguments; adjust for
4323         new table.
4324         * sysdeps/libm-ieee754/t_exp.c: New file.
4325         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
4327         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
4328         back, with comment that explains what breaks when you remove it :-(.
4330         * localedata/xfrm-test.c: Avoid integer overflow.
4332         * stdlib/strfmon.c: char is unsigned, sometimes.
4334         * sysdeps/powerpc/Makefile: Remove quad float support.
4335         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
4336         * sysdeps/powerpc/quad_float.h: Likewise.
4337         * sysdeps/powerpc/test-arith.c: Likewise.
4338         * sysdeps/powerpc/test-arithf.c: Likewise.
4340         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
4341         * sysdeps/generic/s_exp2f.c: Likewise.
4343         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
4344         don't try anything if _SOFT_FLOAT.
4346 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4348         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
4349         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
4350         * wctype/wctype.c: Likewise.
4351         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
4352         changed.  They are incompatible with the _ISxxx values from
4353         <ctype.h> on little endian machines.
4354         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
4355         bit number.  This fixes the real bug and restores the integrity of
4356         the ctype locale file.
4357         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
4358         * wctype/wcfuncs_l.c: Likewise.
4359         * wctype/wcextra.c: Likewise.
4360         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
4361         byte swapping.
4363 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4365         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
4366         into .bss segment instead of .common, so that aliases on it work.
4368         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
4369         .size directives, put into .bss segment instead of initializing it
4370         to 4.
4372 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
4374         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
4376         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
4377         functions.
4378         Make names without __ weak aliases.
4379         (__libc_release, __libc_version): Make them static.
4381         * include/gnu/libc-version.h: New file.
4382         * Makefile (headers): Add gnu/libc-version.h.
4384 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
4386         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
4387         and use x for member name.
4388         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
4390         * stdlib/drand48.c: Change according to member name change.
4391         * stdlib/drand48_r.c: Likewise.
4392         * stdlib/lcong48_r.c: Likewise.
4393         * stdlib/lrand48.c: Likewise.
4394         * stdlib/lrand48_r.c: Likewise.
4395         * stdlib/mrand48.c: Likewise.
4396         * stdlib/mrand48_r.c: Likewise.
4397         * stdlib/seed48.c: Likewise.
4398         * stdlib/seed48_r.c: Likewise.
4399         * stdlib/srand48_r.c: Likewise.
4401 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4403         * nss/test-netdb.c: Add some more test cases.
4405 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
4407         * libio/iovsscanf.c: Undo last change modifying errno.
4409 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4411         * stdio-common/vfscanf.c: Never try to read another character
4412         after EOF.  Don't decrement read_in after EOF, it wasn't
4413         incremented in the first place.
4414         (NEXT_WIDE_CHAR): Set First, not first.
4416 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
4418         * db/Makefile ($(inst_libdir)/libndbm.a,
4419         $(inst_libdir)/libndbm.so): New targets.
4420         * db2/Makefile: Likewise.
4422 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
4424         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
4425         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
4427 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4429         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
4430         <streambuf.h>.
4431         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4433 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4435         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
4436         versioned symbols.
4438 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
4440         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
4441         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
4442         Added for libdl.so.
4444 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4446         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
4447         extra syscall.
4449         * grp/Makefile: Fix logic when checking for thread package.
4450         * pwd/Makefile: Likewise.
4452 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
4454         * elf/Makefile (rtld-map): Replaced by libc-map.
4456         * elf/rtld.map: Removed.
4458         * libc.map (__libc_enable_secure, _dl_catch_error,
4459         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
4460         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
4461         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
4462         _dl_object_relocation_scope, _dl_relocate_object,
4463         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
4464         _r_debug): Added for ld.so.
4466 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
4468         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
4469         DO_VERSIONING.
4470         * libio/iofdopen.c: Ditto.
4471         * libio/iofopen.c: Ditto.
4472         * libio/oldfileops.c: Ditto.
4474         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
4475         version GLIBC_2.1.
4477         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
4478         oldsiglist from sysdep_routines and shared-only-routines.
4480         * sysdeps/unix/sysv/linux/errlist.c: New.
4481         * sysdeps/unix/sysv/linux/errlist.h: New.
4482         * sysdeps/unix/sysv/linux/sizes.h: New.
4483         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
4484         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
4486         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
4488         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
4489         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
4490         directive.
4492         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
4494         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
4495         (oldsiglist.c): Removed.
4497         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
4498         (_sys_siglist): Use SYS_SIGLIST instead.
4499         (_sys_nerr): Use SYS_NERR instead.
4501         * sysdeps/gnu/errlist.c: Rebuilt.
4503 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
4505         * elf/Makefile (others-static): New, set to ldconfig.
4506         ($(objpfx)ldconfig): Removed.
4508         * Rules (binaries-all, binaries-static, binaries-shared): New.
4509         Create targets for $(binaries-static) and $(binaries-shared).
4511         * Makeconfig (+link-static, link-libc-static,
4512         link-extra-libs-static): New for static linking.
4514 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4516         * manual/memory.texi (Using the Memory Debugger): Fix typo.
4518         * math/libm-test.c (modf_test): Add one more test for modf.
4520 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
4522         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
4523         Rename from __libc_have_rt_sigs and leave as COMMON data.
4525 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
4527         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
4528         of __finite.
4530 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
4532         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
4534 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
4536         * misc/tst-efgcvt.c: Add yet more tests.
4537         * misc/efgcvt_r.c: And correct for these tests again.
4538         Reported by HJ Lu.
4540         * isomac.c: Move to...
4541         * stdlib/isomac.c: ...here.
4542         * Makefile: Move rules for handling isomac...
4543         * stdlib/Makefile: ...to here.
4545 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
4547         * misc/tst-efgcvt.c: Add more tests.
4548         * misc/efgcvt_r.c: Correct result for above new tests.
4550 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
4552         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
4553         NDIGIT <= 0.
4555 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
4557         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
4558         if the programs weren't built.
4560 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
4562         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
4563         FE_TONEAREST, soldier on regardless and do the best we can.
4564         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
4566 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
4568         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
4569         _STDIO_H, before including <bits/stdio_lim.h>.
4571         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
4573         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
4574         exist.
4576         * sysdeps/arm/sys/ucontext.h: New file.
4578 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
4580         * manual/stdio.texi (Formatted Output Functions): Explicitly say
4581         that the return value from snprintf() does not count the
4582         terminating NUL as a character.
4584 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
4586         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
4587         add description for sete[ug]id and general cleanup.
4588         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4590 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4592         * Makefile (parent-clean): Don't remove makefile fragments here.
4593         (postclean): New variable.
4594         (clean): Remove makefile fragments here.
4595         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
4596         (generated): Add isomac and isomanc.out.
4597         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
4598         avoid-generated is set.
4599         (postclean-generated): Add soversion.mk.
4600         ($(common-objpfx)version.mk): Don't include if avoid-generated is
4601         set.
4602         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
4603         avoid-generated is set.
4604         (common-generated): Add libc.so and libc.so$(libc.so-version).
4605         (generated): Add versioned libraries.
4606         (common-mostlyclean): Also remove %.so and %_pic.a.
4607         * csu/Makefile (generated): Add abi-tag.h.
4608         * db2/Makefile (extra-objs): Add getlong.o.
4609         * elf/Makefile (generated): Add ld.so, ldd and
4610         $(rtld-installed-name).
4611         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
4612         * malloc/Makefile (generated): Add mtrace.
4613         * po/Makefile: Don't include version.mk, not needed any more.
4614         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
4615         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
4616         syscall.h -> sys/syscall.h.
4617         (common-generated): Add s-proto.d.
4618         (postclean-generated): Add sysd-syscalls.
4619         * localedata/Makefile (test-output): Add all output files.
4620         (generated): Add test-input and test-output.
4621         (generated-dirs): Add all the dirs.
4623 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4625         * Makefile (test-output, generated, generated-dirs): New
4626         variables.
4628 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
4630         * resolv/nss_dns/dns-host.c: Various code cleanups.
4632 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
4634         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
4635         From Philip Blundell <pb@nexus.co.uk>.
4636         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
4638 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4640         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
4641         Suggested by debian/sparc porters.
4643 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4645         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
4646         for ecvt and fcvt.
4648 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
4650         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
4651         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
4653         * signal/signal.h: Always define sigset_t if __need_sigset_t is
4654         defined even if __USE_POSIX is not defined.
4656 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4658         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
4659         to support obsolete tty major numbers correctly.
4661 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
4663         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
4664         directory first and ignore install error.
4666         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
4667         128 from ptyno and fix a typo for the BSD style pty.
4669 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4671         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
4672         syscalls.list's.
4674 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4676         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4677         getresuid and getresgid.
4679         * sysdeps/unix/sysv/linux/getresuid.c: New file.
4680         * sysdeps/unix/sysv/linux/getresgid.c: New file.
4682         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
4683         s_getres[ug]id.
4685         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
4686         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4687         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4688         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4690 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
4692         * nscd/grpcache.c: Include <stdlib.h>.
4694 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
4696         * stdlib/atoll.c: Fix comments.
4698         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
4699         * sysdeps/posix/ttyname_r.c: Ditto.
4701 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4703         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
4704         __USE_MISC, independent of __USE_UNIX98.
4706 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
4708         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
4709         Rename from __libc_have_rt_sigs and leave as COMMON data.
4711 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
4713         * Makeconfig (CFLAGS-.os): Kill -fno-common.
4714         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
4716         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
4717         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
4718         version symbols.
4719         * include/libc-symbols.h (symbol_version, default_symbol_version):
4720         Provide asm versions and correct !DO_VERSIONING versions.
4721         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
4722         the weak symbol list.
4724         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
4725         Rename from __libc_have_rt_sigs and leave as COMMON data.
4726         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4727         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4728         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4730 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4732         * sunrpc/Makefile: Correct dependencies of rpcgen.
4734 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
4736         * nscd/Makefile: Fix test for available linuxthreads add-on.
4737         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4739 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4741         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
4743 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4745         * sysdeps/gnu/Makefile: Respect with-cvs variable.
4747         * manual/errno.texi (Error Messages): Correct description of
4748         strerror_r.  Pointed out by jonas@bagge.se.
4750 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4752         * manual/socket.texi (Host Address Functions): Clarify description
4753         of inet_network.
4755 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4757         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
4758         (grantpt): Delete superfluous cast.
4760 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4762         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
4763         elf/ldso_install instead of elf/subdir_install.
4764         (elf/ldso_install): New target.
4766         * elf/Makefile (ldso_install): New target.
4768 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4770         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
4771         of 1998-01-06.
4773 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4775         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
4776         constant expressions.
4778 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4780         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
4781         for __nss_configure_lookup.
4782         (output_hostent): Remove unused variable.
4784 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4786         * string/tst-inlcall.c: Fix format string.
4788 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4790         * inet/netinet/in.h: Rename second parameter of bindresvport to
4791         avoid buggy gcc warning. [PR libc/412]
4793 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
4795         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
4796         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
4798         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
4799         Follow POSIX and make tv_sec a time_t.
4800         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
4801         new tv64 syscall as well as fall back to tv32.
4802         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4803         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4804         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4805         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4806         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4807         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4808         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4809         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
4811         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
4812         * include/rpcsvc/nis_tags.h: Likewise.
4813         * include/rpcsvc/nislib.h: Likewise.
4815 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
4817         * libc.map: Add _h_errno.
4818         * inet/herrno.c: Make _h_errno weak alias.
4820         * login/Makefile (distribute): Add pty-internal.h.
4822         * nscd/Makefile (distribute): Add all the files missing.
4824         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
4825         are available.
4827         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
4828         and report status at the end.
4830         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
4832         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
4833         variable.
4834         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
4835         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
4836         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
4838 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
4840         * configure.in: Fix --enable-add-ons code.
4842 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4844         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
4845         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
4846         [PR libc/441]
4848         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
4849         occurence in cache.  Reported by Rudolf Leitgeb
4850         <leitgeb@leland.stanford.edu>.
4851         [PR libc/440]
4853 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
4855         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
4856         that it never is EINTR (which is tested for in _IO_vfscanf).
4858         * Makefile.in: Call sub-make with CVSOPTS.
4860         * elf/Makefile (distribute): Add dl-procinfo.h.
4862         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
4864 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
4866         * version.h (VERSION): Bump to 2.0.92.
4868 1998-01-31  Phil Blundell  <philb@gnu.org>
4870         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
4871         alias for __new_sys_siglist.
4873 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
4875         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
4876         getgrgid_r.c if thread package is available.
4877         * pwd/Makefile: Likewise.
4878         * grp/getgrnam_r.c: Remove USE_NSCD definition.
4879         * grp/getgrgid_r.c: Likewise.
4880         * pwd/getpwnam_r.c: Likewise.
4881         * pwd/getpwuid_r.c: Likewise.
4883 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
4885         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
4886         with error to allow user intervention.
4887         * nss/getXXent_r.c: Likewise.
4889 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
4891         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
4892         AT_PLATFORM string.  Pretty print AT_BASE info.
4894         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
4895         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
4896         * sysdeps/generic/dl-procinfo.h: New file.
4897         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
4899 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
4901         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
4903         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
4904         thread and not pthread_detach.
4906         * nscd/nscd.c: Rewrite to use argp instead of getopt.
4908 1998-01-31  Phil Blundell  <philb@gnu.org>
4910         * configure.in: Add --without-cvs option to suppress automatic
4911         checkin of regenerated files.
4912         * config.make.in: Likewise.
4913         * Makefile: Respect with-cvs setting.
4914         * Makerules: Likewise.
4916         * configure.in: Allow the standalone ARM port to be configured.
4918 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4920         * grp/getgrgid_r.c: Define USE_NSCD.
4921         * grp/getgrnam_r.c: Likewise.
4922         * pwd/getpwuid_r.c: Likewise.
4923         * pwd/getpwnam_r.c: Likewise.
4925         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
4927         * nss/getXXbyYY_r.c: Try at first nscd.
4929         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
4930         * nscd/connections.c: New file.
4931         * nscd/dbg_log.c: New file.
4932         * nscd/dbg_log.h: New file.
4933         * nscd/grpcache.c: New file.
4934         * nscd/nscd.c: New file.
4935         * nscd/nscd.h: New file.
4936         * nscd/nscd_conf.c: New file.
4937         * nscd/nscd_stat.c: New file.
4938         * nscd/pwdcache.c: New file.
4940         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
4941         * nscd/nscd_getpw_r.c: Likewise.
4942         * nscd/nscd_proto.h: New, prototypes for client functions.
4944         * nscd/nscd.conf: New, example for a configuration file.
4945         * nscd/nscd.init: New, example for a startup script.
4947         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
4948         avoid deadlocks.
4949         * nscd/getgrnam_r.c: Likewise.
4950         * nscd/getpwnam_r.c: Likewise.
4951         * nscd/getpwuid_r.c: Likewise.
4953 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
4955         * intl/Makefile: Use CVSOPTS in cvs invocation.
4956         * po/Makefile: Likewise.
4957         * posix/Makefile: Likewise.
4958         * stdlib/Makefile: Likewise.
4960 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
4962         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
4963         [PR libc/410]
4964         * misc/Makefile (tests): Add tst-efgcvt.
4965         * misc/tst-efgcvt.c: New file.
4967 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
4969         * posix/regex.c: Add some more cleanups by Akim Demaille.
4971 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
4973         * signal/signal.h: Revert last change.
4974         * string/strsignal.c: Regard signal number NSGI as illegal.
4975         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
4976         members.
4978 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
4980         * Makefile.in: Add comment about CVSOPTS Makefile variable.
4981         * Makerules: Use CVSOPTS in cvs invocation.
4982         * Makefile: Likewise.
4983         * MakeTAGS: Likewise.
4984         * Make-dist: Likewise.
4986 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
4988         * sysdeps/generic/memmem.c: Correct last change.
4990 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
4992         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
4993         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
4995 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4997         * nis/ypclnt.c: Try at first to use the binding file from ypbind
4998         before using RPC.
5000 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5002         * manual/memory.texi (Heap Consistency Checking): mcheck is
5003         declared in <mcheck.h>.
5004         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
5006 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5008         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
5009         beginning of haystack.
5011 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5013         * nss/nss_files/files-service.c: Correct last patch.
5015 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
5017         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
5018         __libc_have_rt_sigs.
5019         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
5020         including <bits/setjmp.h>.
5021         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5022         Patch from the Debian glibc/SPARC package.
5024 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
5026         * sysdeps/alpha/bzero.S: Fix a typo.
5027         * sysdeps/alpha/htonl.S: Ditto.
5028         * sysdeps/alpha/htons.S: Ditto.
5030 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5032         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
5034 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
5036         * include/cpio.h: Move to ...
5037         * posix/cpio.h: ...here.
5039         * locale/programs/ld-collate.c: Fix typo.
5041         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
5043         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
5045         * login/utmp_file.c (pututline_file): Don't always report success
5046         if similar entry is found.  Patch by Mark M. Kettenis.
5048 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
5050         * manual/Makefile: Don't try to install the info files if makeinfo
5051         is not available.
5053 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
5055         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
5056         kernel's network ioctls, rather than using <linux/sockios.h> to
5057         get them.  This way we are sure of maintaining compatibility if
5058         the kernel interface should change.
5060 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
5062         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
5064 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
5066         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
5067         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5069 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5071         Implement System V pseudoterminal handling.
5073         * login/Makefile
5074         (routines): Add getpt, grantpt, unlockpt, ptsname.
5075         (libutil-routines): Remove pty. Add openpty, forkpty.
5076         (distribute): New internal header pty-internal.h.
5077         (others): Add the helper program, pt_chown.
5078         (install-others): Install it, in $(libexecdir), mode 4755.
5080         * login/pty-internal.h: New file.
5081         * login/openpty.c: New file.
5082         * login/forkpty.c: New file.
5083         * login/programs/pt_chown.c: New file.
5085         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
5086         * stdlib/stdlib.h: Prototype them.
5088         * config.make.in: Define $(libexecdir).
5089         * Makeconfig: Define $(inst_libexecdir).
5091         * sysdeps/generic/pty.c: Removed.
5092         * sysdeps/unix/sysv/linux/pty.c: Removed.
5094         * sysdeps/generic/getpt.c: Stub out.
5095         * sysdeps/generic/grantpt.c: Likewise.
5096         * sysdeps/generic/ptsname.c: Likewise.
5097         * sysdeps/generic/unlockpt.c: Likewise.
5099         * sysdeps/unix/grantpt.c: New file.
5100         * sysdeps/unix/bsd/getpt.c: New file.
5101         * sysdeps/unix/bsd/unlockpt.c: New file.
5102         * sysdeps/unix/sysv/linux/getpt.c: New file.
5103         * sysdeps/unix/sysv/linux/ptsname.c: New file.
5104         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
5106 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
5108         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
5110 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5112         * nss/Makefile (tests): Add rule for test-netdb.c.
5114         * nss/test-netdb.c: New file.
5116 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
5118         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
5119         really kept as a variable.  Patch by Richard Henderson,
5120         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
5122         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
5123         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
5124         entries as not existing.
5126 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5128         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
5129         zero in alternate form with precision of zero, which must produce
5130         "0".  Add braces to avoid ambiguous `else'.
5132 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5134         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
5135         problem with strncpy.
5136         * nis/nss_compat/compat-pwd.c: Likewise.
5137         * nis/nss_compat/comapt-spwd.c: Likewise.
5139 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5141         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
5142         by uch@nop.or.jp. [PR libc/437]
5144 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5146         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
5148 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5150         * stdio-common/test-popen.c: Include <errno.h>.
5152         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
5153         close.
5155         * inet/getnetgrent_r.c: Include <errno.h>.
5157         * db2/db/db_conv.c: Include <string.h> for memcpy.
5159         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
5160         so that memcpy is declared.
5162         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
5164         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
5166 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5168         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
5169         overflow while reading line with fgets.
5170         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5172 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
5174         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
5175         unsigned short, not short.
5176         Reported by Andreas Jaeger.
5178 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5180         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
5181         (ccept->accept).
5183         * sysdeps/generic/inttypes.h: Fix spelling.
5185 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5187         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
5189         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
5191 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
5193         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
5194         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
5195         field for hh modifier.
5196         * stdio-common/vfprint.c: Use is_char field and do not depend in
5197         is_short having the value 2.
5198         Bug reported by Andreas Jaeger.
5200 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5202         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
5203         PIC && DO_VERSIONING.
5205 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5207         * Rules: Add rules for $(common-objpfx)dummy$o.
5209 1998-01-26  Richard Henderson  <rth@cygnus.com>
5211         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
5212         unimplemented OSF/1 definitions so that they are not accidentally seen.
5214         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
5215         of the trampoline function into the macro.
5216         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
5217         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
5218         kernel 2.1.82 has this fixed.
5220         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
5221         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
5223 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
5225         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
5226         support sigaction on kernels > 2.1.7x.
5228 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
5230         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
5231         if it is empty.
5233         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
5234         Patch by David Engel <david@sw.ods.com>.
5236         * configure.in: Fix another typo in --enable-add-ons code.
5238 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
5240         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
5242 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5244         * nss/nss_files/files-network.c: Correct order of parameters for
5245         getnetbyaddr.
5247 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
5249         * db2/Makefile (routines): Add os_alloc.
5250         * db2/db.h: Update from db-2.3.16.
5251         * db2/db_185.h: Likewise.
5252         * db2/db_int.h: Likewise.
5253         * db2/btree/bt_close.c: Likewise.
5254         * db2/btree/bt_cursor.c: Likewise.
5255         * db2/btree/bt_delete.c: Likewise.
5256         * db2/btree/bt_open.c: Likewise.
5257         * db2/btree/bt_page.c: Likewise.
5258         * db2/btree/bt_put.c: Likewise.
5259         * db2/btree/bt_rec.c: Likewise.
5260         * db2/btree/bt_recno.c: Likewise.
5261         * db2/btree/btree_auto.c: Likewise.
5262         * db2/common/db_appinit.c: Likewise.
5263         * db2/common/db_apprec.c: Likewise.
5264         * db2/common/db_err.c: Likewise.
5265         * db2/common/db_region.c: Likewise.
5266         * db2/common/db_shash.c: Likewise.
5267         * db2/db/db.c: Likewise.
5268         * db2/db/db_auto.c: Likewise.
5269         * db2/db/db_conv.c: Likewise.
5270         * db2/db/db_dispatch.c: Likewise.
5271         * db2/db/db_dup.c: Likewise.
5272         * db2/db/db_pr.c: Likewise.
5273         * db2/db/db_rec.c: Likewise.
5274         * db2/db185/db185.c: Likewise.
5275         * db2/dbm/dbm.c: Likewise.
5276         * db2/hash/hash.c: Likewise.
5277         * db2/hash/hash_auto.c: Likewise.
5278         * db2/hash/hash_dup.c: Likewise.
5279         * db2/hash/hash_page.c: Likewise.
5280         * db2/hash/hash_rec.c: Likewise.
5281         * db2/include/btree_ext.h: Likewise.
5282         * db2/include/clib_ext.h: Likewise.
5283         * db2/include/common_ext.h: Likewise.
5284         * db2/include/db.h.src: Likewise.
5285         * db2/include/db_185.h.src: Likewise.
5286         * db2/include/db_am.h: Likewise.
5287         * db2/include/db_ext.h: Likewise.
5288         * db2/include/db_int.h.src: Likewise.
5289         * db2/include/hash_ext.h: Likewise.
5290         * db2/include/lock_ext.h: Likewise.
5291         * db2/include/log.h: Likewise.
5292         * db2/include/log_auto.h: Likewise.
5293         * db2/include/log_ext.h: Likewise.
5294         * db2/include/mp.h: Likewise.
5295         * db2/include/mp_ext.h: Likewise.
5296         * db2/include/mutex_ext.h: Likewise.
5297         * db2/include/os_ext.h: Likewise.
5298         * db2/include/os_func.h: Likewise.
5299         * db2/include/txn_ext.h: Likewise.
5300         * db2/lock/lock.c: Likewise.
5301         * db2/lock/lock_util.c: Likewise.
5302         * db2/log/log.c: Likewise.
5303         * db2/log/log.src: Likewise.
5304         * db2/log/log_archive.c: Likewise.
5305         * db2/log/log_auto.c: Likewise.
5306         * db2/log/log_get.c: Likewise.
5307         * db2/log/log_put.c: Likewise.
5308         * db2/log/log_rec.c: Likewise.
5309         * db2/log/log_register.c: Likewise.
5310         * db2/mp/mp_bh.c: Likewise.
5311         * db2/mp/mp_fget.c: Likewise.
5312         * db2/mp/mp_fopen.c: Likewise.
5313         * db2/mp/mp_fput.c: Likewise.
5314         * db2/mp/mp_pr.c: Likewise.
5315         * db2/mp/mp_sync.c: Likewise.
5316         * db2/mutex/mutex.c: Likewise.
5317         * db2/os/os_alloc.c: Likewise.
5318         * db2/os/os_config.c: Likewise.
5319         * db2/os/os_stat.c: Likewise.
5320         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
5321         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
5322         * db2/progs/db_load/db_load.c: Likewise.
5323         * db2/progs/db_printlog/db_printlog.c: Likewise.
5324         * db2/progs/db_recover/db_recover.c: Likewise.
5325         * db2/progs/db_stat/db_stat.c: Likewise.
5326         * db2/txn/txn.c: Likewise.
5328         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
5329         Unmap memory blocks in reverse order of allocation.
5330         Call munmap with load address added to offset.
5331         Bug reported by Miguel de Icaza.
5333         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
5334         up weight array.
5336         * localedata/locales/cs_CZ: Update by Michael Mraka
5337         <michael@informatics.muni.cz>.
5339         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
5340         __USE_BSD.
5342         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
5343         reading line with fgets.
5344         * nis/nss_compat/compat-pwd.c: Likewise.
5345         * nis/nss_compat/compat-spwd.c: Likewise.
5346         * nss/nss_files/files-XXX.c: Likewise.
5347         * nss/nss_files/files-alias.c: Likewise.
5348         * shadow/fgetspent_r.c: Likewise.
5350         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
5352         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
5353         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5354         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5356         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
5357         FP register content in ucontext_t.
5359 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5361         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
5362         calculation.  Patch by Markus Schoder
5363         <Markus.Schoder@dresdner-bank.de>.
5365         * math/libm-test.c (modf_test): Add more tests for modf.
5367         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
5368         munlock according to Unix98.
5370 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5372         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
5373         AF_INET.
5375 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
5377         * sysdeps/posix/ttyname.c: Handle symbolic links.
5378         * sysdeps/posix/ttyname_r.c: Ditto.
5380 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
5382         * db2/makedb.c (process_input): Write terminating \0 for value.
5383         (print_database): Simply print value string, don't use length.
5385 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5387         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
5388         exit of loop.
5390 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5392         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
5393         close all sockets.
5395 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
5397         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
5398         sigset.
5399         * signal/sighold.c: New file.
5400         * signal/sigrelse.c: New file.
5401         * sysdeps/generic/sigignore.c: New file.
5402         * sysdeps/generic/sigset.c: New file.
5403         * sysdeps/posix/sigignore.c: New file.
5404         * sysdeps/posix/sigset.c: New file.
5405         * signal/signal.h: Add prototypes for new functions.
5407         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
5408         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
5409         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
5410         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
5412 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5414         * posix/wordexp.c: Added IFS field-splitting in parameter and
5415         command substitution.  Fixed an IFS-related bug that caused an
5416         infinite loop.
5418 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
5420         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
5421         and swapcontext.
5422         * stdlib/ucontext.h: Correct prototypes.
5423         * sysdeps/generic/getcontext.c: New file.
5424         * sysdeps/generic/setcontext.c: New file.
5425         * sysdeps/generic/makecontext.c: New file.
5426         * sysdeps/generic/swapcontext.c: New file.
5427         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
5429 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
5431         * resource/sys/resource.h: Remove #include of ulimit.h which is
5432         not allowed by SUSv2 and not available on other systems.
5433         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
5435         * streams/Makefile: New file.
5436         * streams/stropts.h: New file.
5437         * sysdeps/generic/bits/stropts.h: New file.
5438         * sysdeps/generic/isastream.c: New file.
5439         * sysdeps/generic/getmsg.c: New file.
5440         * sysdeps/generic/getpmsg.c: New file.
5441         * sysdeps/generic/putmsg.c: New file.
5442         * sysdeps/generic/putpmsg.c: New file.
5443         * sysdeps/generic/fattach.c: New file.
5444         * sysdeps/generic/fdetach.c: New file.
5445         * sysdeps/unix/inet/Subdirs: Add streams.
5446         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
5447         __t_uscalar_t.
5448         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5449         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5450         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5451         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
5453         * sysdeps/mach/_strerror.c: Follow changes of generic version to
5454         handle small buffers correctly.
5456 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
5458         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5459         Remove the 3rd arg and add declaration for _dl_runtime_resolve
5460         and _dl_runtime_profile.
5462 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
5464         * include/cpio.h: New file.  Mainly copied from GNU cpio.
5465         * posix/Makefile (headers): Add cpio.h.
5467 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5469         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
5470         to routines.
5471         * nis/nis_cache.c: New file.
5472         * nis/nis_cache2.h: New file.
5473         * nis/nis_cache2_xdr.c: New file.
5474         * nis/nis_call.c: Changes for cache2_info parameter.
5475         * nis/nis_checkpoint.c: Likewise.
5476         * nis/nis_intern.h: Likewise.
5477         * nis/nis_mkdir.c: Likewise.
5478         * nis/nis_ping.c: Likewise.
5479         * nis/nis_rmdir.c: Likewise.
5480         * nis/nis_server.c: Likewise.
5481         * nis/nis_util.c: Likewise.
5483 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5485         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
5486         return/errnop codes.
5487         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5488         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5489         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5490         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5491         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
5492         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5493         * nis/nss_nisplus/nisplus-rpc.c: Likewise
5494         * nis/nss_nisplus/nisplus-service.c: Likewise.
5495         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5497 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5499         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
5500         * nis/nss_nis/nis-ethers.c: Likewise.
5501         * nis/nss_nis/nis-grp.c: Likewise.
5502         * nis/nss_nis/nis-hosts.c: Likewise.
5503         * nis/nss_nis/nis-network.c: Likewise.
5504         * nis/nss_nis/nis-proto.c: Likewise.
5505         * nis/nss_nis/nis-hosts.c: Likewise.
5506         * nis/nss_nis/nis-network.c: Likewise.
5507         * nis/nss_nis/nis-proto.c: Likewise.
5508         * nis/nss_nis/nis-publickey.c: Likewise.
5509         * nis/nss_nis/nis-pwd.c: Likewise.
5510         * nis/nss_nis/nis-rpc.c: Likewise.
5511         * nis/nss_nis/nis-service.c: Likewise.
5512         * nis/nss_nis/nis-spwd.c: Likewise.
5514 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
5516         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
5517         Added to follow latest kernel development.
5519 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
5521         * nss/db-Makefile: Handle empty and comment lines better.
5522         ($(VAR_DB)/services.db): Generate entries with missing protocol
5523         value.
5525 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5527         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
5528           NULL.
5529           (getservbyname): Allow proto == NULL.
5530           Pointed out by David N. Welton <davidw@gate.cks.com>.
5531           [PR libc/430].
5533 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
5535         * nis/nislib/nislib.h: Finally removed.
5537         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
5538         C compiler.  From Kaveh Ghazi.
5539         (TYPE_MINIMUM): Define.
5540         (TYPE_MAXIMUM): Define.
5541         (TIME_T_MIN): Use TYPE_MINIMUM.
5542         (TIME_T_MAX): Use TYPE_MAXIMUM.
5543         Patch by Jim Meyering <meyering@ascend.com>.
5545 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
5547         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
5548         __pread64, __pwrite64, and __getpid.
5550         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
5551         versions.
5553 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5555         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
5556         cancelable socket functions as __libc_xxx with __xxx as weak
5557         alias.
5558         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5559         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5561         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
5562         redefined.
5563         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5564         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
5565         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
5566         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5568         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
5569         and __xxx a weak alias.
5570         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5571         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5572         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5573         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5574         * sysdeps/unix/sysv/linux/send.S: Likewise.
5575         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5576         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5578 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5580         * locale/langinfo.h: Add defines.
5582         * dirent/dirent.h: Add defines for DT_*, check also for
5583         _DIRENT_HAVE_D_TYPE.
5584         Suggested by Roland McGrath.
5586 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5588         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
5589         Update from Linux 2.1.73+79.
5591         * README.template: Update information about possible
5592         configurations.
5594         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
5595         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
5596         [PR libc/417].
5598         * manual/time.texi (Priority): Correct description of
5599         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
5600         [PR libc/416].
5602 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
5604         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
5605         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
5607 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
5609         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
5610         Andreas Jaeger.
5612 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
5614         * locale/programs/ld-collate.c: Little optimizations.
5616         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
5618         * string/Makefile (tests): Add tst-inlcall.
5619         * string/tst-inlcall.c: New file.
5621         * string/strsignal.c: Add support for real-time signals.
5623         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
5624         presense of small buffer.
5626         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
5628         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
5629         for i686.
5631         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
5632         _NSIG + 1.
5634 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
5636         * Rules: Add explicit rule for dummy.o; at least one library needs
5637           it and it isn't autogenerated by the default rules.
5639 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5641         * math/libm-test.c: Tweak epsilons.
5643 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5645         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
5646         child.
5647         (feenv_mask_test): Likewise.
5649 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5651         * Makeconfig: Don't export CPPFLAGS.
5653 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5655         * sunrpc/rpc_main.c (parseargs): Use perror to print error
5656         message.
5658 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5660         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
5661         terminating null in key size.
5663 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5665         * nss/nss_files/files-service.c: Fix allocation size to include
5666         length of PROTO.
5668         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
5669         applicable.  Fix return value and error checking.
5670         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
5671         unparsable lines.
5672         (DB_LOOKUP): Allocate space for terminating null byte.
5674         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
5675         uids specially.
5677         * db2/makedb.c (process_input): Continue processing if a duplicate
5678         key is encountered.
5680 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
5682         * time/tzfile.h: Updated from tzcode1998b.
5683         * time/zdump.c: Likewise.
5684         * time/zic.c: Likewise.
5685         * time/africa: Update from tzdata1998b.
5686         * time/antarctica: Likewise.
5687         * time/asia: Likewise.
5688         * time/australasia: Likewise.
5689         * time/etcetera: Likewise.
5690         * time/europe: Likewise.
5691         * time/leapseconds: Likewise.
5692         * time/northamerica: Likewise.
5693         * time/southamerica: Likewise.
5695 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5697         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
5698         lookups ignoring case.
5699         * nss/nss_files/files-network.c: Do network lookups ignoring
5700         case.
5701         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
5702         case.
5703         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
5704         case insensitive comparing.
5705         Patches by Cristian Gafton <gafton@redhat.com>.
5707 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5709         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
5710         by Roland McGrath. [PR libc/395]
5712 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5714         * manual/arith.texi (Parsing of Integers): Correct description of
5715         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
5716         [PR libc/396]
5718 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
5720         * misc/lsearch.c (lsearch): Return a pointer to the new element
5721         if one was "allocated".
5723 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5725         * string/strsignal.c: NSIG is not a valid index into
5726         _sys_siglist.  Don't zap the last character of the "Unknown
5727         signal" message.
5729 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
5731         * locale/programs/charmap.c (parse_charmap): Correct parsing of
5732         ellipsis expressions.
5734         * locale/programs/charset.c (insert_char): Correctly insert value
5735         of eliipsis expression.
5737 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
5739         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
5740         <bits/setjmp.h>.
5741         * sysdeps/powerpc/setjmp.S: Likewise.
5742         Patches by Matt McLean <keys@keys.got.net>.
5744         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
5746         * Makefile: Undo last patch.
5747         (distribute): Add test-installation.pl.
5749         * configure.in: Correct handling of --enable-add-ons without parameter.
5750         Correct address of WWW pages.
5752         * libc.map: Add _nl_domain_bindings.
5754         * db2/mutex/tsl_parisc.s: New file.
5756         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
5757         and extra-module.mk.
5759         * localedata/Makefile (distribute): New.  Add all the files.
5761         * stdlib/Makefile (headers): Add inttypes.h.
5762         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
5763         * sysdeps/generic/inttypes.h: New file.
5764         * sysdeps/generic/strtoimax.c: New file.
5765         * sysdeps/generic/strtoumax.c: New file.
5766         * sysdeps/generic/wcstoimax.c: New file.
5767         * sysdeps/generic/wcstoumax.c: New file.
5768         * sysdeps/wordsize-32/Dist: Removed.
5769         * sysdeps/wordsize-32/Makefile: Removed.
5770         * sysdeps/wordsize-64/Dist: Removed.
5771         * sysdeps/wordsize-64/Makefile: Removed.
5772         * sysdeps/generic/bits/environments.h: New file.
5774         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
5775         header is still not correct.
5777         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
5778         * posix/unistd.h: Likewise.
5779         * sysdeps/generic/sys/mman.h: Likewise.
5780         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
5782         * manual/arith.texi: Change definition of mul macro.
5783         * manual/math.texi: Likewise.
5785         * misc/Makefile (routines): Add mmap64.
5786         * sysdeps/generic/mmap64.c: New file.
5787         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
5788         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
5789         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
5790         aliases to mmap.
5791         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5793         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
5795         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
5797         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
5799         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
5800         FOPEN_MAX also when included by limits.h.
5801         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
5803         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
5804         and netrom/netrom.h.
5805         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
5806         oldsiglist to sysdep_routines, not aux.
5807         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
5809         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
5810         and SOL_NETROM definition.
5812         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
5814         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
5815         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
5817 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
5819         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
5821         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
5822         sa_handler with k_sa_handler.
5823         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
5824         strong alias.
5825         Reported by a sun.
5827         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
5828         __libc_have_rt_sigs here.
5829         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
5830         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5831         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
5832         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5834 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
5836         * sysdeps/powerpc/atomicity.h: New file.
5837         * sysdeps/mach/powerpc/machine-lock.h: New file.
5839         * Rules: Use -fpic to build anything that might end up in a users'
5840         shared library.
5842         * sysdeps/powerpc/s_fdim.c: New file.
5843         * sysdeps/powerpc/s_fdimf.c: New file.
5844         * sysdeps/powerpc/s_fmax.S: New file.
5845         * sysdeps/powerpc/s_fmaxf.S: New file.
5846         * sysdeps/powerpc/s_fmin.S: New file.
5847         * sysdeps/powerpc/s_fminf.S: New file.
5848         * sysdeps/powerpc/s_llrint.c: Now is for double.
5849         * sysdeps/powerpc/s_llrintf.c: New file.
5850         * sysdeps/powerpc/s_llround.c: Now is for double.
5851         * sysdeps/powerpc/s_llroundf.c: New file.
5852         * sysdeps/powerpc/s_lrint.c: Now is for double.
5853         * sysdeps/powerpc/s_lrintf.S: New file.
5854         * sysdeps/powerpc/s_lround.c: Now is for double.
5855         * sysdeps/powerpc/s_lroundf.c: New file.
5856         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
5857         lrintf, fdim, fdimf.
5859         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
5860         file directly, use its parent.
5862         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
5863         (for the third time).
5865 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
5867         * posix/sched.h: timespec is in <time.h>.
5869         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
5871 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
5873         * configure.in: Stop with error if --disable-static is used when
5874         the shared lib uses this library.
5876         * gen-FAQ.pl: I've perl installed in /usr/bin.
5878         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
5880         Fix Unix98 conformance problems in the headers.
5881         * catgets/nl_types.h: Define nl_item.
5882         * grp/grp.h: Define gid_t.
5883         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
5884         * include/nl_types.h: New file.
5885         * include/ulimit.h: New file.
5886         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
5887         constants in POSIX mode.
5888         * io/utime.h: Get definition for time_t.
5889         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
5890         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
5891         * libio/stdio.h: Define va_list.  Make snprintf also available is
5892         __USE_UNIX98.  Declare getopt function and variables.
5893         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
5894         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
5895         * math/math.h: Defined M_* constants as double for Unix98 mode.
5896         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
5897         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
5898         * posix/regex.h: Define REG_NOSYS.
5899         * posix/wordexp.h: Define WRDE_NOSYS.
5900         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
5901         500 for Unix98.
5902         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
5903         somewhere else as well.  Define clock_t for Unix98.
5904         * posix/sys/wait.h: Define pid_t.
5905         * pwd/pwd.h: Define gid_t, uid_t.
5906         * resource/Makefile (headers): Add ulimit.h.
5907         * resource/ulimit.h: New file.
5908         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
5909         instead of second argument.
5910         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
5911         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
5912         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
5913         * signal/signal.h: Define pid_t.
5914         * string/string.h: Don't declare BSD string functions in POSIX mode.
5915         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
5916         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
5917         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
5918         and POSIX.
5920         * inet/test_ifindex.c: Change test so that it does not fail for
5921         interface aliases.
5923         * locale/programs/locale.c (show_info): Use correct cast sequence
5924         for 64bit machines.
5926         * malloc/malloc.c: __malloc_initialized now signals three states:
5927         uninitialized, initializing, initialized.  Used in mcheck.
5928         * malloc/mcheck.c (mabort): Add '\n' to messages.
5929         (mcheck): Allow installation when malloc is uninitialized or is
5930         just initializing.
5932         * manual/memory.texi: Explain mtrace output a bit more.
5934         * math/libm-test.c: Add more epsilons.
5936         * misc/regexp.h (compile): Remove __ prefix from parameter names.
5938         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
5939         instead of strcpy for security.
5940         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
5941         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
5942         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
5944         * nss/digits_dots.c: Pretty print.
5946         * posix/getconf.c (vars): Add symbols for programming environment
5947         recognition.  Recognize --version.
5949         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
5950         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
5951         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
5953         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
5954         __need_FOPEN_MAX.
5955         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
5956         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
5957         __need_FOPEN_MAX.
5959         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
5960         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
5962         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
5963         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5964         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
5965         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
5966         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5967         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
5969         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
5970         SCNu*.
5971         * sysdeps/wordsize-64/inttypes.h: Likewise.
5973         * time/africa: Update from tzdata1997j.
5974         * time/antarctica: Likewise.
5975         * time/asia: Likewise.
5976         * time/australasia: Likewise.
5977         * time/backward: Likewise.
5978         * time/etcetera: Likewise.
5979         * time/europe: Likewise.
5980         * time/factory: Likewise.
5981         * time/northamerica: Likewise.
5982         * time/pacificnew: Likewise.
5983         * time/southamerica: Likewise.
5985         * time/tzfile.h: Update from tzcode1997h.
5986         * time/zic.c: Likewise.
5988         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
5989         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
5990         isw*() functions for Unix98.
5991         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
5992         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
5993         is defined.
5995 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5997         * locale/duplocale.c: Increase usage_count only if less than
5998         MAX_USAGE_COUNT.
5999         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
6000         MAX_USAGE_COUNT.
6001         * locale/setlocale.c: Likewise.
6003 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6005         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
6006         dependency to make it easier to install it selectively.
6008         * Makerules (.SUFFIXES): Don't define any suffixes.
6010 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6012         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
6013         * sysdeps/generic/statfs64.c: Emulate using statfs.
6014         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
6015         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
6016         * sysdpes/generic/ftruncate64.c: New file.
6017         * sysdpes/generic/truncate64.c: New file.
6019         * sysdeps/generic/bits/stat.h: Add LFS support.
6020         * sysdeps/generic/bits/statfs.h: Likewise.
6022         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
6023         [__USE_FILE_OFFSET64]: Make long long constant.
6024         (RLIM64_INFINITY): Likewise.
6026         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
6027         for LFS support.
6028         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
6029         * sysdeps/generic/bits/resource.h: Likewise.
6031         * misc/Makefile (routines): Add truncate64 and ftruncate64.
6033         * include/features.h: Don't prevent LFS support from defining BSD
6034         and SYSV things.
6036         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
6037         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
6038         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
6040         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
6041         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
6042         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6044         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
6045         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
6046         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
6047         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
6048         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
6049         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
6050         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
6051         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
6052         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
6053         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
6054         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
6055         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
6056         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
6057         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
6058         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
6059         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
6060         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
6061         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
6062         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
6063         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
6065         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
6066         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
6067         * sysdeps/unix/sysv/linux/xstat64.c: New file.
6068         * sysdeps/unix/sysv/linux/readdir64.c: New file.
6069         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
6071         * sysdeps/unix/sysv/linux/getdents64.c: New file.
6072         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6073         [$(subdir)=dirent]: Add getdents64.
6074         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
6076         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
6078 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
6080         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
6082         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
6083         * sysdeps/generic/getrlimit64.c: Likewise.
6084         * sysdeps/generic/setrlimit.c: Likewise.
6085         * sysdeps/generic/setrlimit64.c: Likewise.
6087 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
6089         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
6090         using versioning.
6092         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
6094         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
6096 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6098         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
6099         after the codeset name.
6101 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6103         * libc.map: Add get_kernel_syms.
6105 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6107         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
6108         static.
6109         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
6110         Likewise.  Fix condition.
6112 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6114         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
6116 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6118         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
6119         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
6121 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6123         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
6124         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
6125         instead.  Oops.
6127 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6129         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
6131 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6133         * math/libm-test.c (catanh_test): Change epsilon.
6134         Reported by H.J. Lu.
6136 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
6138         * libc.map (__getpid): Added for linuxthreads.
6140 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
6142         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
6143         it if gcc uses static variable in DWARF2 unwind information
6144         for exception support.
6146         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
6148         * elf/soinit.c (__libc_global_ctors, _fini): Handle
6149         HAVE_DWARF2_UNWIND_INFO_STATIC.
6151         * libc.map (__register_frame*, __deregister_frame*): Make them
6152         global.
6154 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6156         * math/libm-test.c: Add more tests for "normal" values.
6158 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6160         * stdio-common/printf_fphex.c: Fix printing of long double number
6161         with a biased exponent of zero.  Fix rounding.
6163 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6165         * sunrpc/rpc_main.c: Accept new flag -$.
6166         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
6168 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6170         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
6171         dynamic linker first, in case the interface has changed.
6173 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6175         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
6176         order.
6178 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6180         * math/tgmath.h: Check for double first, for architectures where
6181         sizeof (long double) == sizeof (double).
6183 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6185         * math/libm-test.c: New tests for "normal" values added for most
6186         functions.
6188 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
6190         * version.h (VERSION): Bump to 2.0.91.
6192         * db2/makedb.c (process_input): Fix typo in message.
6193         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
6195         * elf/dynamic-link.h: Pretty print.
6197         * elf/rtld.c: Allow multiple preloading of a shared object.
6199         * include/limits.h: Prevent multiple inclusion.
6201         * malloc/Makefile (headers): Add mcheck.h.
6202         (distribute): Remove it here.
6203         * malloc/mcheck.h: Pretty print.
6204         * malloc/mtrace.c (mallenv): Make `const'.
6205         * malloc/mtrace.pl: Don't print table head for memory leaks if there
6206         are none.
6207         * manual/memory.texi: Update descriptor of malloc hooks.
6209         * posix/Makefile (routines): Add waitid.
6210         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
6211         on __id_t.
6212         * posix/sys/wait.h: Define idtype_t type.
6213         Add prototype for waitid.
6214         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
6215         * sysdeps/generic/waitid.c: Stub for waitid.
6216         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
6217         the __need_siginfo_t defined.
6218         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
6219         * sysdeps/generic/bits/types.h: Define __id_t.
6220         Correct definition of __FDMASK.
6221         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6222         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6223         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6225         * sysdeps/posix/waitid.c: New file.
6226         Provided by Zack Weinberg.
6228         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
6230         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6231         Add missing parameters.
6233         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
6234         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
6235         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
6236         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
6237         initialized.
6239         * sysdeps/i386/dl-machine.h: Little cleanup.
6241         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
6242         (__finite): Mark function as const.
6243         Add inline code for __ieee754_atan2.
6245         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
6246         (but don't use it now).
6247         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
6248         __atan.
6249         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
6250         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
6251         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
6252         real part.
6253         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
6254         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
6255         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
6256         __ieee754_atan2 to base 10.
6257         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
6258         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
6260         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
6261         old_kernel_sigaction.
6263         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
6265         * wctype/Makefile (routines): Add wctype_l.
6266         * wctype/wctype.h: Add declaration of __wctype_l.
6267         * wctype/wctype_l.c: New file.
6269 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
6271         * locale/C-ctype.c: Correct data for isw* functions.
6272         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
6273         byte order.
6274         * wctype/test_wctype.c: Add test for isw* functions.
6275         * wctype/wctype.c: Return value with expected byte order.
6277 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6279         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
6281 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
6283         * iconvdata/Makefile: Fix a typo.
6285         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
6286         oldsiglist for shared library.
6288         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
6289         sys_sigabbrev): Make them as the default version GLIBC_2.1.
6291         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
6292         sys_siglist, sys_sigabbrev): New file. Make them as the old
6293         version GLIBC_2.0.
6295         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
6296         to GLIBC_2.1.
6298 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
6300         * libio/iofgets.c (_IO_fgets): Return an error only if there
6301         is a new error.
6302         * libio/iogets.c (_IO_gets): Ditto.
6304 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
6306         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
6308         * libio/Makefile (routines, shared-only-routines): Add
6309         oldiofdopen.
6311         * libio/fileops.c: Don't use _IO_FILE_complete.
6312         * libio/iofdopen.c: Ditto.
6313         * libio/iofopen.c: Ditto.
6314         * libio/iofopen64.c: Ditto.
6315         * libio/iopopen.c: Ditto.
6316         * libio/iovdprintf.c: Ditto.
6318         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
6320         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
6321         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
6323         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
6324         _IO_old_fdopen, _IO_new_fdopen): New declaration.
6326         * libio/libio.h (_IO_FILE): Add more fields.
6327         (_IO_FILE_complete): Defined and make _IO_FILE be the old
6328         one if _IO_USE_OLD_IO_FILE is defined
6329         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
6330         them _IO_FILE_complete.
6332         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
6333         to adjust vtable.
6334         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
6335         _IO_JUMPS.
6336         (_IO_FILE_complete): Commented out.
6338         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
6339         * libio/oldiofclose.c: Ditto.
6340         * libio/oldiofopen.c: Ditto.
6341         * libio/oldstdfiles.c: Ditto.
6343         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
6344         for the old _IO_FILE.
6346         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
6347         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
6348         and stderr.
6350         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
6351         and remove INAME.
6353         * libio/stdio.c (stdin, stdout, stdin): Don't use
6354         _IO_FILE_complete.
6356         * libio/oldiofdopen.c: New.
6358         * stdio-common/vfprintf.c (buffered_vfprintf): Set
6359         hp->_vtable_offset to 0.
6361 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
6363         * libc.map (_IO_file_open): Added.
6365         * libio/libioP.h (_IO_file_open): Declared.
6367         * libio/fileops.c (_IO_file_open): New.
6368         (_IO_file_fopen): Call _IO_file_open ().
6370         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
6371         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
6373 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6375         * signal/signal.h: Fix selection of signal semantics to match
6376         comment.
6378 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6380         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
6381         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
6382         rt_sigreturn.
6383         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
6384         [$(subdir)=signal]: Remove rt_sigreturn.
6385         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
6386         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
6387         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
6389 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6391         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
6392         declarations.
6394 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6396         * iconvdata/extra-module.mk: Expand extra-objs now.
6398 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6400         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
6401         inline functions by feature tests to avoid warning about missing
6402         prototype declarations.
6404 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6406         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
6407         return code for non existent +name entries.
6408         * nis/nss_compat/compat-pwd.c: Likewise.
6409         * nis/nss_compat/compat-spwd.c: Likewise.
6411 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
6413         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
6414         (EIO): Likewise.
6415         (ENOSPC): Likewise.
6416         (EEXIST): Likewise.
6417         (__errno_location): Likewise.
6419         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
6421         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
6423 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6425         * sunrpc/publickey.c: Use new NSS interface.
6427 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
6429         * manual/malloc.texi: Document mtrace/muntrace and the concept.
6431 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6433         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
6434         value, to match spirit of the standard.
6435         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
6436         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
6437         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
6439 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6441         * manual/signal.texi (Signal Stack): Remove spurious @item.
6443 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6445         * rt/aio.h: Remove double semicolon.
6447         * rt/librt.map: Add aio_init.
6449 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
6451         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
6452         * Makefile (subdirs): Replace rt by $(rt).
6454         * shlib-versions: Use version .2 for NSS modules.
6456         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
6457         argument.
6458         * pwd/fgetpwent_r.c: Likewise.
6459         * spwd/fgetspent_r.c: Likewise.
6460         * spwd/sgetspent_r.c: Likewise.
6461         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
6462         Store error number in *ERRNOP.  Little optimization.
6463         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
6464         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
6465         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
6466         (__internal_getnetgrent_r): New argument.
6467         Call __internal_setnetgrent_reuse with new argument.
6468         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
6469         * inet/netgroup.h: Add argument to prototypes.
6470         * nis/nisplus-parser.h: Likewise.
6471         * nis/nss_compat/compat-grp.c: Change everything to store error
6472         code through provided pointer and not use errno.
6473         * nis/nss_compat/compat-pwd.c: Likewise.
6474         * nis/nss_compat/compat-spwd.c: Likewise.
6475         * nis/nss_nis/nis-alias.c: Likewise.
6476         * nis/nss_nis/nis-ethers.c: Likewise.
6477         * nis/nss_nis/nis-grp.c: Likewise.
6478         * nis/nss_nis/nis-hosts.c: Likewise.
6479         * nis/nss_nis/nis-netgrp.c: Likewise.
6480         * nis/nss_nis/nis-network.c: Likewise.
6481         * nis/nss_nis/nis-proto.c: Likewise.
6482         * nis/nss_nis/nis-publickey.c: Likewise.
6483         * nis/nss_nis/nis-pwd.c: Likewise.
6484         * nis/nss_nis/nis-rpc.c: Likewise.
6485         * nis/nss_nis/nis-service.c: Likewise.
6486         * nis/nss_nis/nis-spwd.c: Likewise.
6487         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6488         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6489         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6490         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6491         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
6492         * nis/nss_nisplus/nisplus-network.c: Likewise.
6493         * nis/nss_nisplus/nisplus-parser.c: Likewise.
6494         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6495         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6496         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6497         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6498         * nis/nss_nisplus/nisplus-service.c: Likewise.
6499         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6500         * nss/nss_db/db-XXX.c: Likewise.
6501         * nss/nss_db/db-alias.c: Likewise.
6502         * nss/nss_db/db-netgrp.c: Likewise.
6503         * nss/nss_files/files-XXX.c: Likewise
6504         * nss/nss_files/files-alias.c: Likewise
6505         * nss/nss_files/files-netgrp.c: Likewise
6506         * nss/nss_files/files-parse.c: Likewise
6507         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
6508         parameter of get functions.
6509         * nss/getXXent_r.c: Likewise.
6511         * localedata/tst-fmon.c: Print debug info if test fails.
6513         * rt/Makefile (routines): Add aio_notify.
6514         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
6515         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
6516         * rt/aio_fsync.c: Likewise.
6517         * rt/aio_misc.c: Likewise.
6518         * rt/aio_misc.h: Likewise.
6519         * rt/aio_read.c: Likewise.
6520         * rt/aio_read64.c: Likewise.
6521         * rt/aio_suspend.c: Likewise.
6522         * rt/aio_write.c: Likewise.
6523         * rt/aio_write64.c: Likewise.
6524         * rt/lio_listio.c: Likewise.
6525         * rt/lio_listio64.c: Likewise.
6526         * rt/aio_notify.c: New file.
6528         * sysdeps/generic/bits/sigset.h: Pretty print.
6530         * sysdeps/posix/pwrite.c: Define weak alias only if function is
6531         really defined as __pwrite.
6533         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
6534         instead of pread64.
6535         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6537         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
6538         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
6539         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
6540         size in syscall.
6541         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6542         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6543         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
6544         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6545         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6546         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6547         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
6548         for ACT being NULL.
6549         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
6550         RT signals.
6551         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
6552         __NR_pread is not defined.
6553         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
6554         __NR_pwrite is not defined.
6556 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6558         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
6559         handle for /etc/group back in some more cases.
6560         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
6561         handle for /etc/passwd back in some more cases.
6562         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
6563         handle for /etc/shadow back in some more cases.
6565 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
6567         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
6568         beyound its size.
6569         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
6570         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
6572 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
6574         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
6575         handling.  Don't use macros, we need functions.  Use inline functions
6576         for optimization.
6577         * sysdeps/wordsize-64/inttypes.h: Likewise.
6578         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
6579         and wcstoumax.
6580         * sysdeps/wordsize-64/Makefile: Likewise.
6581         * sysdeps/wordsize-32/Dist: Likewise.
6582         * sysdeps/wordsize-64/Dist: Likewise.
6583         * sysdeps/wordsize-32/strtoimax.c: New file.
6584         * sysdeps/wordsize-32/strtoumax.c: New file.
6585         * sysdeps/wordsize-32/wcstoimax.c: New file.
6586         * sysdeps/wordsize-32/wcstoumax.c: New file.
6587         * sysdeps/wordsize-64/strtoimax.c: New file.
6588         * sysdeps/wordsize-64/strtoumax.c: New file.
6589         * sysdeps/wordsize-64/wcstoimax.c: New file.
6590         * sysdeps/wordsize-64/wcstoumax.c: New file.
6592 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
6594         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
6595         that transparent union works.
6596         * sysdeps/generic/wait4.c (__wait4): Likewise.
6597         * sysdeps/generic/wait.c (__wait): Likewise.
6599         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
6600         size_t.
6602         * sysdeps/generic/syscall.c (syscall): Return value and arg are
6603         long, to match prototype.
6605         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
6606         have mremap() yet.
6608         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
6610         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
6612         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
6614         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
6615         __rlim_t.
6617         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
6619         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
6621         * io/sys/stat.h (S_ISLNK): Always false if we don't have
6622         __S_IFLNK.
6624         * sysdeps/standalone/close.c (_STDIO_H): Define before including
6625         <bits/stdio_lim.h>.
6626         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
6628 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
6630         * posix/sys/wait.h: Don't use transparent unions in C++.
6632 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6634         * time/time.h: Add strfxtime.
6636         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
6637         sysv_signal, strfxtime, pread64, pwrite64.
6639 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
6641         Alpha changes for EGCS:
6642         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
6643         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
6644         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
6645         (_start): Likewise.
6646         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
6648 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
6650         The kernel expects the arguments in a different order.
6651         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
6652         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
6654         * FAQ.in: New file.
6655         * gen-FAQ.pl: New file.
6656         * Makefile (FAQ): Add rule to generate from FAQ.in.
6658         * iconvdata/Makefile: Treat libJIS like the other modules.
6660         * rt/librt.map: New file.
6662         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
6663         inclusion.
6664         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
6665         comment.
6667 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
6669         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
6670         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
6671         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
6672         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
6674 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6676         * string/bits/string2.h: Fix spellings.
6678         * string/string.h: Fix spellings.
6680 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6682         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
6683         declaration to __syscall_rt_sigaction.
6685         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
6686         non-existant <sigcontext.h>.
6688 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6690         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
6691         typo.
6693 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6695         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
6697         * Makeconfig (shared-thread-library): Correct spelling.
6699         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
6700         <asm/pci.h>.
6702 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6704         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
6705         constants from Linux headers. Pointed out by
6706         csmall@scooter.o.i.net. [PR libc/369]
6708 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6710         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
6712 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6714         * configure.in: If --enable-add-ons is given without an
6715         argument, set the addons list to all subdirs with a configure
6716         script.
6718 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
6720         * Makeconfig: Add shared-thread-library variable.
6722         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
6723         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
6724         here.
6725         * sysdeps/m68k/fpu/e_acos.c: Likewise.
6726         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
6727         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
6728         * sysdeps/m68k/fpu/e_pow.c: Likewise.
6729         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
6730         * sysdeps/m68k/fpu/k_cos.c: Likewise.
6731         * sysdeps/m68k/fpu/k_sin.c: Likewise.
6732         * sysdeps/m68k/fpu/k_tan.c: Likewise.
6733         * sysdeps/m68k/fpu/s_atan.c: Likewise.
6734         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
6735         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
6736         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
6737         * sysdeps/m68k/fpu/s_csin.c: Likewise.
6738         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
6739         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
6740         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
6741         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
6742         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
6743         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
6744         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
6745         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
6746         * sysdeps/m68k/fpu/s_modf.c: Likewise.
6747         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
6748         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
6749         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
6751         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
6752         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
6753         * signal/Makefile (headers): Add bits/siginfo.h.
6754         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
6755         (distribute): Add testrtsig.h.
6756         * signal/allocrtsig.c: New file.
6757         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
6758         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
6759         __libc_current_sigrtmax.
6760         * sysdeps/generic/sigqueue.c: New file.
6761         * sysdeps/generic/sigtimedwait.c: New file.
6762         * sysdeps/generic/sigwaitinfo.c: New file.
6763         * sysdeps/generic/testrtsig.h: New file.
6764         * sysdeps/generic/bits/siginfo.h: New file.
6765         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
6766         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
6767         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
6768         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
6769         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
6770         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
6771         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
6772         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
6773         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
6774         * sysdeps/unix/sysv/linux/sigpending.c: New file.
6775         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
6776         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
6777         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
6778         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
6779         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
6780         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
6781         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
6782         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
6783         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
6784         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
6785         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
6786         and _POSIX_REALTIME_SIGNALS.
6787         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
6788         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
6789         update _NSIG.
6790         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
6791         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
6792         definitions.
6794         * Makefile (subdirs): Add rt.
6795         * shlib-versions: Add entry for librt.
6796         * rt/Makefile: New file.
6797         * rt/aio.h: New file.
6798         * rt/aio_cancel.c: New file.
6799         * rt/aio_error.c: New file.
6800         * rt/aio_fsync.c: New file.
6801         * rt/aio_misc.c: New file.
6802         * rt/aio_misc.h: New file.
6803         * rt/aio_read.c: New file.
6804         * rt/aio_read64.c: New file.
6805         * rt/aio_return.c: New file.
6806         * rt/aio_suspend.c: New file.
6807         * rt/aio_write.c: New file.
6808         * rt/aio_write64.c: New file.
6809         * rt/lio_listio.c: New file.
6810         * rt/lio_listio64.c: New file.
6811         * sysdeps/generic/aio_sigqueue.c: New file.
6812         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
6813         * sysdeps/unix/sysv/linux/Dist: Add new files
6814         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
6815         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
6816         rt_sigqueueinfo, rt_sigaction.
6818         * posix/Makefile (headers): Add bits/environments.h.
6819         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
6820         and _CS_LFS_CFLAGS on 64bit platforms.
6821         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
6822         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
6823         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
6824         compilation modules.
6825         * sysdeps/wordsize-32/bits/environments.h: New file.
6826         * sysdeps/wordsize-64/bits/environments.h: New file.
6828         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
6829         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
6830         __libc_pid.
6831         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
6832         0xf00baa.
6834         * string/string.h: Add declaration of __strverscmp.
6835         * string/strverscmp.c: Rename function ot __strverscmp and make old
6836         name weak alias.
6838         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
6839         * sysdeps/generic/enbl-secure.c: Likewise.
6840         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6842         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
6844         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
6846 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
6848         * posix/sys/wait.h: Use __transparent_union__ instead of
6849         transparent_union.  Reported by Roland McGrath.
6851 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6853         * resolv/inet_neta.c (inet_neta): Change type of first parameter
6854         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
6855         [PR libc/366].
6857         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
6859         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
6861 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6863         * grp/initgroups.c: Increase buffer if it is too small.
6865 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
6867         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
6868         fields, this is no ISO C.  Reported by Andreas Jaeger.
6870 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6872         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
6874 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
6876         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
6877         _SYS_UTSNAME_H not _UTSNAME_H.
6879 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6881         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
6882         computing s_scale.
6884 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6886         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
6887         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
6888         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
6890         * math/libm-test.c (csqrt_test): Add testcase.
6892 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
6894         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
6895         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
6896         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
6898 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6900         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
6902 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6904         * math/libm-test.c (acos_test): Add more tests.
6905         (asin_test): Likewise.
6906         (atan_test): Likewise.
6907         (exp_test): Likewise.
6908         (sin_test): Likewise.
6909         (sqrt_test): Likewise.
6910         (cpow_test): Likewise.
6911         (csqrt_test): Likewise.
6912         (cexp_test): Correct typo in gcc version test.
6914 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
6916         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
6917         <bits/setjmp.h>.
6918         * sysdeps/arm/setjmp.S: Likewise.
6920         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
6922 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
6924         * stdio/stdio.h: Add prototype for tmpfile64().
6926 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
6928         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
6929         prototype to keep in step with libio version.
6931         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
6933 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
6935         * sysdeps/generic/Makefile: Don't try to use make_siglist if
6936         cross-compiling.
6938 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
6940         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
6941         load GOT ptr before jumping to _exit.
6942         Reported by Xavier Leroy.
6944 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
6946         * Makefile (subdirs): Add iconvdata and localedata.
6948         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
6950         * iconv/gconv_conf.c (read_conf_file): Little optimization.
6952         * iconvdata/8bit-gap.c: New file.
6953         * iconvdata/8bit-generic.c: Renamed from ...
6954         * iconvdata/iso8859-generic.c: ...this.
6955         * iconvdata/configure: Removed.
6956         * iconvdata/Makefile: Add new modules and better rules.
6957         * iconvdata/iso6937.c: Minor bug fixes.
6958         * iconvdata/iso8859-1.c: Likewise.
6959         * iconvdata/t61.c: Likewise.
6960         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
6961         Minor bug fixes.
6962         * iconvdata/iso8859-3.c: Likewise.
6963         * iconvdata/iso8859-4.c: Likewise.
6964         * iconvdata/iso8859-5.c: Likewise.
6965         * iconvdata/iso8859-6.c: Likewise.
6966         * iconvdata/iso8859-7.c: Likewise.
6967         * iconvdata/iso8859-8.c: Likewise.
6968         * iconvdata/iso8859-9.c: Likewise.
6969         * iconvdata/iso8859-10.c: Likewise.
6970         * iconvdata/ebcdic-at-de-a.c: New file.
6971         * iconvdata/ebcdic-at-de.c: New file.
6972         * iconvdata/ebcdic-ca-fr.c: New file.
6973         * iconvdata/hp-roman8.c: New file.
6974         * iconvdata/koi-8.c: New file.
6975         * iconvdata/koi8-r.c: New file.
6976         * iconvdata/koi8-h.c: New file.
6977         * iconvdata/latin-greek-1.c: New file.
6978         * iconvdata/latin-greek-1.h: New file.
6979         * iconvdata/latin-greek.c: New file.
6980         * iconvdata/latin-greek.h: New file.
6981         * iconvdata/jis0201.c: New file.
6982         * iconvdata/jis0201.h: New file.
6983         * iconvdata/jis0208.c: New file.
6984         * iconvdata/jis0208.h: New file.
6985         * iconvdata/jis0212.c: New file.
6986         * iconvdata/jis0212.h: New file.
6987         * iconvdata/sjis.c: New file.
6988         * iconvdata/gap.pl: New file.  Script to generate table header.
6989         * iconvdata/gaptab.pl: New file.
6990         * iconvdata/gconv-modules: Add info about new modules.
6992         * locale/programs/charmap.c: Also examine alias names given in charmap
6993         files.
6995         * localedata/*: Add to here from add-on.  We need the information
6996         to generate tables for iconv.
6998         Update from db-2.3.14.
6999         * db2/Makefile: Updated.
7000         * db2/config.h: Likewise.
7001         * db2/db.h: Likewise.
7002         * db2/db_int.h: Likewise.
7003         * db2/btree/bt_cursor.c: Likewise.
7004         * db2/btree/bt_delete.c: Likewise.
7005         * db2/btree/bt_put.c: Likewise.
7006         * db2/btree/bt_search.c: Likewise.
7007         * db2/btree/bt_split.c: Likewise.
7008         * db2/btree/btree_auto.c: Likewise.
7009         * db2/common/db_appinit.c: Likewise.
7010         * db2/common/db_apprec.c: Likewise.
7011         * db2/common/db_err.c: Likewise.
7012         * db2/common/db_region.c: Likewise.
7013         * db2/db/db_auto.c: Likewise.
7014         * db2/db/db_dispatch.c: Likewise.
7015         * db2/db/db_ret.c: Likewise.
7016         * db2/dbm/dbm.c: Likewise.
7017         * db2/hash/hash_auto.c: Likewise.
7018         * db2/include/btree_ext.h: Likewise.
7019         * db2/include/common_ext.h: Likewise.
7020         * db2/include/db.h.src: Likewise.
7021         * db2/include/db_cxx.h: Likewise.
7022         * db2/include/db_ext.h: Likewise.
7023         * db2/include/db_int.h.src: Likewise.
7024         * db2/include/lock.h: Likewise.
7025         * db2/include/log.h: Likewise.
7026         * db2/include/mp.h: Likewise.
7027         * db2/include/mp_ext.h: Likewise.
7028         * db2/include/os_ext.h: Likewise.
7029         * db2/include/os_func.h: Likewise.
7030         * db2/lock/lock.c: Likewise.
7031         * db2/lock/lock_deadlock.c: Likewise.
7032         * db2/log/log.c: Likewise.
7033         * db2/log/log_archive.c: Likewise.
7034         * db2/log/log_auto.c: Likewise.
7035         * db2/log/log_get.c: Likewise.
7036         * db2/log/log_put.c: Likewise.
7037         * db2/mp/mp_bh.c: Likewise.
7038         * db2/mp/mp_fget.c: Likewise.
7039         * db2/mp/mp_fopen.c: Likewise.
7040         * db2/mp/mp_fput.c: Likewise.
7041         * db2/mp/mp_fset.c: Likewise.
7042         * db2/mp/mp_open.c: Likewise.
7043         * db2/mp/mp_pr.c: Likewise.
7044         * db2/mp/mp_region.c: Likewise.
7045         * db2/mp/mp_sync.c: Likewise.
7046         * db2/mutex/README: Likewise.
7047         * db2/mutex/mutex.c: Likewise.
7048         * db2/os/os_open.c: Likewise.
7049         * db2/os/os_func.c: Removed.
7050         * db2/os/os_config.c: New file.
7051         * db2/os/os_spin.c: New file.
7052         * db2/txn/txn.c: Likewise.
7053         * db2/txn/txn_auto.c: Likewise.
7055 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
7057         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
7058         __typeof for C++ since this fails for class members.
7059         Reported by Neal Becker <neal@ctd.comsat.com>.
7061 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7063         * configure.in: Check for a working makeinfo (3.11 or better).
7064         * config.make.in: Add MAKEINFO to be substituted.
7065         * manual/Makefile: Don't update info if makeinfo is too old.
7067 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
7069         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
7070         * sysdeps/alpha/__longjmp.S: Likewise.
7071         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
7072         not <bits/termios.h>.
7074         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
7075         __llseek and make llseek and lseek64 weak aliases.
7076         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7077         Patches by a sun <asun@zoology.washington.edu>.
7079 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7081         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
7082         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7083         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7084         * misc/sys/syslog.h: Clean up BSD header.
7086 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7088         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
7090         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
7091         for ctan(+-inf,x).
7092         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
7093         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
7095         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
7096         csqrt (-1), ctanh(i*pi/4).
7098 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7100         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
7102 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
7104         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
7106 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7108         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
7110 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
7112         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
7113         and use.  Define GETCWD_RETURN_TYPE instead and use it.
7114         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
7115         of GETCWD_STORYGE_CLASS and put the return type and the
7116         `internal_function' in the right order for gcc 2.7.2.
7118 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7120         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
7121         incompatible with Linux 2.1.x.  Packages using modules
7122         (e.g. modutils) should/do provide their own version.  Suggested by
7123         Richard Henderson.
7125         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
7127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7128         [$(subdir)=socket]: Remove sys/module.h.
7130 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
7132         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
7133         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
7135         * iconv/gconv_close.c: Correct freeing of descriptor data.
7136         * iconv/gconv_simple.c: Return correct error values for illegal or
7137         incomplete characters.
7139         * Makefile (iconvdata/%): Special goal to simplify iconvdata
7140         development.
7141         * iconvdata/Makefile: New file.
7142         * iconvdata/configure: Likewise.
7143         * iconvdata/extra-module.mk: Likewise.
7144         * iconvdata/gconv-modules: Likewise.
7145         * iconvdata/iso6937.c: Likewise.
7146         * iconvdata/iso8859-1.c: Likewise.
7147         * iconvdata/iso8859-10.c: Likewise.
7148         * iconvdata/iso8859-10.h: Likewise.
7149         * iconvdata/iso8859-2.c: Likewise.
7150         * iconvdata/iso8859-2.h: Likewise.
7151         * iconvdata/iso8859-3.c: Likewise.
7152         * iconvdata/iso8859-3.h: Likewise.
7153         * iconvdata/iso8859-4.c: Likewise.
7154         * iconvdata/iso8859-4.h: Likewise.
7155         * iconvdata/iso8859-5.c: Likewise.
7156         * iconvdata/iso8859-5.h: Likewise.
7157         * iconvdata/iso8859-6.c: Likewise.
7158         * iconvdata/iso8859-6.h: Likewise.
7159         * iconvdata/iso8859-7.c: Likewise.
7160         * iconvdata/iso8859-7.h: Likewise.
7161         * iconvdata/iso8859-8.c: Likewise.
7162         * iconvdata/iso8859-8.h: Likewise.
7163         * iconvdata/iso8859-9.c: Likewise.
7164         * iconvdata/iso8859-9.h: Likewise.
7165         * iconvdata/iso8859-generic.c: Likewise.
7166         * iconvdata/t61.c: Likewise.
7168         * string/Makefile (routines): Add strcasestr.
7169         * string/string.h: Add prototype for strcasestr.
7170         * sysdeps/generic/strcasestr.c: New file.
7171         * wcsmbs/mbrtowc.c: Simplify special case a bit.
7172         * wcsmbs/wcrtomb.c: Likewise.
7173         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
7174         * wcsmbs/wcsnrtombs.c: Likewise.
7175         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
7176         partial character is read.
7177         * wcsmbs/wcsrtombs.c: Likewise.
7178         * wcsmbs/wmemrtombs.c: Likewise.
7179         * wcsmbs/wmemrtowcs.c: Likewise.
7181         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
7182         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
7183         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
7184         * sysdeps/i386/elf/setjmp.S: Likewise.
7185         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
7186         <bits/termios.h>.
7188         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
7189         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
7191         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
7192         * sysvipc/sys/ipc.h: Likewise.
7193         * sysvipc/sys/msg.h: Likewise.
7194         * sysvipc/sys/sem.h: Likewise.
7195         * sysvipc/sys/shm.h: Likewise.
7197         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
7198         used directly.
7199         * sysdeps/alpha/bits/setjmp.h: Likewise.
7200         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7201         * sysdeps/arm/bits/endian.h: Likewise.
7202         * sysdeps/arm/bits/setjmp.h: Likewise.
7203         * sysdeps/generic/bits/byteswap.h: Likewise.
7204         * sysdeps/generic/bits/confname.h: Likewise.
7205         * sysdeps/generic/bits/dirent.h: Likewise.
7206         * sysdeps/generic/bits/dlfcn.h: Likewise.
7207         * sysdeps/generic/bits/endian.h: Likewise.
7208         * sysdeps/generic/bits/fenv.h: Likewise.
7209         * sysdeps/generic/bits/huge_val.h: Likewise.
7210         * sysdeps/generic/bits/in.h: Likewise.
7211         * sysdeps/generic/bits/ioctl-types.h: Likewise.
7212         * sysdeps/generic/bits/ioctls.h: Likewise.
7213         * sysdeps/generic/bits/ipc.h: Likewise.
7214         * sysdeps/generic/bits/msq.h: Likewise.
7215         * sysdeps/generic/bits/poll.h: Likewise.
7216         * sysdeps/generic/bits/resource.h: Likewise.
7217         * sysdeps/generic/bits/sched.h: Likewise.
7218         * sysdeps/generic/bits/sem.h: Likewise.
7219         * sysdeps/generic/bits/setjmp.h: Likewise.
7220         * sysdeps/generic/bits/shm.h: Likewise.
7221         * sysdeps/generic/bits/sigaction.h: Likewise.
7222         * sysdeps/generic/bits/sigcontext.h: Likewise.
7223         * sysdeps/generic/bits/socket.h: Likewise.
7224         * sysdeps/generic/bits/stat.h: Likewise.
7225         * sysdeps/generic/bits/statfs.h: Likewise.
7226         * sysdeps/generic/bits/stdio_lim.h: Likewise.
7227         * sysdeps/generic/bits/termios.h: Likewise.
7228         * sysdeps/generic/bits/time.h: Likewise.
7229         * sysdeps/generic/bits/uio.h: Likewise.
7230         * sysdeps/generic/bits/utmp.h: Likewise.
7231         * sysdeps/generic/bits/utmpx.h: Likewise.
7232         * sysdeps/generic/bits/utsname.h: Likewise.
7233         * sysdeps/generic/bits/waitflags.h: Likewise.
7234         * sysdeps/generic/bits/waitstatus.h: Likewise.
7235         * sysdeps/gnu/bits/utmp.h: Likewise.
7236         * sysdeps/gnu/bits/utmpx.h: Likewise.
7237         * sysdeps/i386/bits/byteswap.h: Likewise.
7238         * sysdeps/i386/bits/endian.h: Likewise.
7239         * sysdeps/i386/bits/huge_val.h: Likewise.
7240         * sysdeps/i386/bits/setjmp.h: Likewise.
7241         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7242         * sysdeps/ieee754/bits/huge_val.h: Likewise.
7243         * sysdeps/m68k/bits/byteswap.h: Likewise.
7244         * sysdeps/m68k/bits/endian.h: Likewise.
7245         * sysdeps/m68k/bits/setjmp.h: Likewise.
7246         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7247         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
7248         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
7249         * sysdeps/mach/hurd/bits/stat.h: Likewise.
7250         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
7251         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
7252         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
7253         * sysdeps/mips/bits/dlfcn.h: Likewise.
7254         * sysdeps/mips/bits/endian.h: Likewise.
7255         * sysdeps/mips/bits/setjmp.h: Likewise.
7256         * sysdeps/mips/dec/bits/endian.h: Likewise.
7257         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
7258         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
7259         * sysdeps/mips/p40/bits/endian.h: Likewise.
7260         * sysdeps/powerpc/bits/endian.h: Likewise.
7261         * sysdeps/powerpc/bits/fenv.h: Likewise.
7262         * sysdeps/powerpc/bits/setjmp.h: Likewise.
7263         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
7264         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
7265         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7266         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
7267         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7268         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
7269         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7270         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
7271         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
7272         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
7273         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
7274         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
7275         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
7276         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
7277         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
7278         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
7279         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
7280         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
7281         * sysdeps/unix/common/bits/dirent.h: Likewise.
7282         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
7283         * sysdeps/unix/sysv/bits/stat.h: Likewise.
7284         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7285         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7286         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
7287         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
7288         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
7289         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
7290         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
7291         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
7292         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7293         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7294         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
7295         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
7296         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7297         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
7298         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
7299         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7300         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7301         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
7302         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7303         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7304         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7305         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7306         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
7307         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
7308         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7309         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7310         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
7311         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7312         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
7313         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7314         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
7315         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
7316         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7317         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7318         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
7319         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
7320         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
7321         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
7322         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
7323         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
7324         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7325         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
7326         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
7327         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7328         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
7329         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7330         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
7331         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
7332         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7333         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7334         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
7335         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
7336         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7337         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7338         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
7339         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
7340         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
7341         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
7342         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
7343         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
7344         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
7345         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
7346         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
7347         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7348         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7349         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
7350         * sysdeps/vax/bits/huge_val.h: Likewise.
7351         * sysdeps/vax/bits/setjmp.h: Likewise.
7352         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
7353         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
7355 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7357         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
7359 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
7361         * strftime.c (strftime):
7362         No longer any need to undef or declare if emacs is defined.
7363         (my_strftime): When checking a -1 returned by mktime, don't blow up
7364         if localtime_r returns NULL.
7366 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7368         * README.template: Fix spelling.
7370 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7372         * configure.in: Enhance --enable-add-ons description a wee bit.
7374 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7376         * glibcbug.in: Add more information of build environment and flags.
7378 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7380         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
7381         it into ENOENT.
7383 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
7385         * elf/dl-support.c: Call __libc_init_secure to make sure
7386         __libc_enable_secure is defined early.
7387         * sysdeps/generic/enbl-secure.c: Change function name to
7388         __libc_init_secure and make it global instead of a constructor.
7390         * iconv/gconv.c: Fix lots of bugs.
7391         * iconv/gconv.h: Likewise.
7392         * iconv/gconv_builtin.h: Likewise.
7393         * iconv/gconv_close.c: Likewise.
7394         * iconv/gconv_conf.c: Likewise.
7395         * iconv/gconv_db.c: Likewise.
7396         * iconv/gconv_dl.c: Likewise.
7397         * iconv/gconv_open.c: Likewise.
7398         * iconv/gconv_simple.c: Likewise.
7399         * iconv/iconv.c: Likewise.
7400         * iconv/iconv_close.c: Likewise.
7401         * iconv/iconv_open.c: Likewise.
7403         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
7404         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
7405         * wcsmbs/wmemrtombs.c: New file.
7406         * wcsmbs/wmemrtowcs.c: New file.
7408 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
7410         * iconv/gconv_simple.c: Fix lots of bugs.
7411         * iconv/iconv_open.c: Normalize names before passing them to
7412         __gconv_open.
7414         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
7416         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
7417         * stdio-common/test-popen.c: Add test for above change.
7419         * math/libm-test.c: Print test results also using %a format,
7420         specified in PRINTF_XEXPR macro.
7421         * math/test-double.c: Define PRINTF_XEXPR.
7422         * math/test-float.c: Likewise.
7423         * math/test-ldouble.c: Likewise.
7424         * math/test-idouble.c: Likewise.
7425         * math/test-ifloat.c: Likewise.
7426         * math/test-ildoubl.c: Likewise.
7428         * stdio-common/vfscanf.c: Recognize a in format specifier only as
7429         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
7430         FP number format.
7432         * stdlib/strtod.c: Little code cleanup.
7434         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
7435         compiling in math subdir.
7437         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
7438         instead of __LIBC_M81_MATH_INLINES.
7439         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
7440         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
7441         * sysdeps/m68k/fpu/e_pow.c: Likewise.
7442         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
7443         * sysdeps/m68k/fpu/k_cos.c: Likewise.
7444         * sysdeps/m68k/fpu/k_sin.c: Likewise.
7445         * sysdeps/m68k/fpu/k_tan.c: Likewise.
7446         * sysdeps/m68k/fpu/s_atan.c: Likewise.
7447         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
7448         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
7449         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
7450         * sysdeps/m68k/fpu/s_csin.c: Likewise.
7451         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
7452         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
7453         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
7454         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
7455         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
7456         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
7457         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
7458         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
7459         * sysdeps/m68k/fpu/s_modf.c: Likewise.
7460         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
7461         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
7462         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
7463         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
7464         __LIBC_INTERNAL_MATH_INLINES is defined.
7466         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
7467         of compare macros from ISO C 9X.  Optimize generic versions a bit.
7468         Define __signbit inline functions and __ieee754_sqrt which can be
7469         used if the ompiler is fixed.
7471         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
7473 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7475         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
7476         sysdeps/generic in the whole dep file, not only in the first line.
7478 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7480         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
7482 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7484         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
7485         place.
7487 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7489         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
7490         is non-empty.
7492 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
7494         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
7495         return value.
7497 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
7499         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
7500         readlink succeeds but the return value is too long.
7502         * stdio-common/printf_fphex.c: Determine sign of number correctly.
7504 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
7506         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
7507         __remqu for Alpha.
7509 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
7511         * sysdeps/generic/sys/ucontext.h: Stub context file.
7513         * libio/iofprintf.c: Removed.  We use the stdio-common version.
7515         * manual/Makefile (distribute): Add stdio-fp.c.
7517         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
7519         * db2/Makefile (distribute): Add include/os_func.h, README and
7520         mutex/tsl_parisc.s.
7522         * hesiod/Makefile (distribute): Add README.hesiod.
7524 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
7526         * iconv/gconv.c: Correctly call transformation function.
7528         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
7530 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7532         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
7533         wrong results for e.g. remquo (3,2, &x)).
7534         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
7535         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
7537 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7539         * configure.in (ld --version-script): Test if the same symbol
7540         maybe defined in all versions (needed by recent changes to
7541         libc.map and supported with binutils 2.8.1.0.17) and issue warning
7542         if versioning is not supported/enabled.
7543         (bash test): Correct test case.
7545         * math/libm-test.c: Added counting/reporting of number of test cases.
7547         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
7548         use awk instead.
7550         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
7552 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7554         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
7556 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
7558         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
7559         Replace revoke call by use of REVOKE.
7560         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
7561         empty and #include generic version.
7562         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7564 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
7566         * libc.map: Add socket functions with __libc_* names.
7567         Reported by Andreas Jaeger.
7569 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7571         * libc.map: Tidy up (remove duplicates, sort entries).
7573 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7575         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
7577 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
7579         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
7580         again after successful call.
7581         Patch by Marc Lehmann <pcg@goof.com>.
7583 1997-11-17  Paul Eggert  <eggert@twinsun.com>
7585         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
7586         as some hosts need this to declare localtime_r properly.
7588 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
7590         * libc.map: Add iconv_open, iconv, and iconv_close.
7592 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
7594         * iconv/Makefile: New file.
7595         * iconv/gconv.c: New file.
7596         * iconv/gconv.h: New file.
7597         * iconv/gconv_builtin.c: New file.
7598         * iconv/gconv_builtin.h: New file.
7599         * iconv/gconv_close.c: New file.
7600         * iconv/gconv_conf.c: New file.
7601         * iconv/gconv_db.c: New file.
7602         * iconv/gconv_dl.c: New file.
7603         * iconv/gconv_open.c: New file.
7604         * iconv/gconv_simple.c: New file.
7605         * iconv/iconv.c: New file.
7606         * iconv/iconv.h: New file.
7607         * iconv/iconv_close.c: New file.
7608         * iconv/iconv_open.c: New file.
7609         * include/gconv.h: New file.
7611         * Makeconfig: Define gconvdir.
7612         * Makefile (subdirs): Add iconv.
7614         * string/bits/string2.h: Add optimization for strtok_r.
7616         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
7617         for NULL.
7618         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7619         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
7621         * configure.in: Correct test for bash2.
7622         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7624         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
7625         (CFLAGS-locfile.c): Likewise.
7626         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7628         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
7629         non-existing entry if the table is full.
7631         * posix/regex.h: Pretty print.
7633         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
7635         * sysdeps/posix/ctermid.c: Simplify a bit.
7637         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
7639 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7641         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
7642         <sys/types.h> instead of <asm/types.h>.
7644 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7646         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
7648 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
7650         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
7651         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
7652         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
7653         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
7654         fclose): Added to GLIBC_2.1.
7656         * libio/Makefile (routines, shared-only-routines): Add
7657         oldiofclose.  Remove oldfreopen.
7659         * libio/freopen.c (freopen): When PIC is defined, call
7660         _IO_old_freopen () for old stdio.
7662         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
7663         (_IO_fclose, fclose): Use _IO_new_fclose as default version
7664         for GLIBC_2.1.
7666         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
7667         instead of _IO_file_close_it.
7669         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
7670         to _IO_2_1_stdxxx_.
7671         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
7672         is defined.
7674         * libio/libioP.h (_IO_old_do_flush): New.
7676         * libio/oldfileops.c (_IO_old_file_close_it,
7677         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
7678         Call _IO_old_do_flush () instead of _IO_do_flush ().
7679         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
7680         _IO_do_write ().
7682         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
7683         instead of _IO_file_init ().
7684         Bind old symbols to version GLIBC_2.0.
7686         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
7687         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
7688         _IO_stdxxx_.
7689         (_IO_check_libio): New function in .init.
7691         * libio/oldiofclose.c: New file.
7693         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
7694         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
7695         (DEF_STDFILE): Don't use default_symbol_version.
7697         * libio/stdio.c (stdin, stdout, stderr): Set to
7698         _IO_2_1_stdxxx_._
7699         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
7700         stdxxx.
7702         * csu/Makefile (distribute): Add init.c.
7703         (extra-objs): Add init.o for ELF.
7704         (start-installed-name): Add $(objpfx)init.o.
7706         * csu/init.c: New file.
7708 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
7710         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
7711         definition as the default.
7713 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
7715         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
7717 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7719         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
7720         (PR 351).
7722 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
7724         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
7725         to preserve condition codes on function call.
7727 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7729         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
7731 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7733         * math/libm-test.c (asin_test): Add epsilon for float.
7734         (tan_test): Add epsilon for float.
7735         (log1p_test): Add epsilon for float.
7736         (inverse_functions): Add epsilons.
7738         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
7739         net/if_packet.h.
7741         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
7743 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7745         * md5-crypt/Makefile (extra-objs): Make recursively expanded
7746         variable, since $(object-suffixes) is not defined yet.
7748 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7750         * db2/Makefile (distribute): db185/db185_int.src ->
7751         db185/db185_int.h.
7753 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7755         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
7756         exactly one.
7758 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7760         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
7761         name.
7762         * sysdeps/generic/e_acosl.c: Likewise.
7763         * sysdeps/generic/e_asinl.c: Likewise.
7764         * sysdeps/generic/e_atan2l.c: Likewise.
7765         * sysdeps/generic/e_expl.c: Likewise.
7766         * sysdeps/generic/e_fmodl.c: Likewise.
7767         * sysdeps/generic/e_j0l.c: Likewise.
7768         * sysdeps/generic/e_j1l.c: Likewise.
7769         * sysdeps/generic/e_jnl.c: Likewise.
7770         * sysdeps/generic/e_lgammal_r.c: Likewise.
7771         * sysdeps/generic/e_log10l.c: Likewise.
7772         * sysdeps/generic/e_logl.c: Likewise.
7773         * sysdeps/generic/e_powl.c: Likewise.
7774         * sysdeps/generic/e_sqrtl.c: Likewise.
7775         * sysdeps/generic/e_exp2l.c: Likewise.
7777 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7779         * Make-dist (+sysdep-names): Remove extra paren.
7780         * Makefile (distribute): Add stub-tag.h.
7781         * elf/Makefile (distribute): Add atomicity.h.
7782         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
7783         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
7784         [$(subdir)=socket]: Add net/if_packet.h.
7785         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
7786         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
7787         net/if_packet.h, scsi/sg.h.
7789 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7791         * Makefile (install): Quote $(CC) expansion.
7793 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7795         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
7796         working /proc cwd and no restrictions on path length.  Following
7797         some ideas from Andi Kleen <ak@muc.de> (PR 350).
7799 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7801         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
7802         * nis/nss_compat/compat-pwd.c: Likewise.
7803         * nis/nss_compat/compat-spwd.c: Likewise.
7805 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
7807         * sysdeps/libm-i387/s_fdim.S: New file.
7808         * sysdeps/libm-i387/s_fdimf.S: New file.
7809         * sysdeps/libm-i387/s_fdiml.S: New file.
7810         * sysdeps/libm-i387/i686/s_fdim.S: New file.
7811         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
7812         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
7814 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7816         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
7817         pointer to unsigned char.
7819 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7821         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
7823         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
7825         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
7827 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7829         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
7830         ilogb(0/NaN).
7831         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
7832         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
7834 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
7836         * sysdeps/libm-i387/s_fmin.S: New file.
7837         * sysdeps/libm-i387/s_fminf.S: New file.
7838         * sysdeps/libm-i387/s_fminl.S: New file.
7839         * sysdeps/libm-i387/s_fmax.S: New file.
7840         * sysdeps/libm-i387/s_fmaxf.S: New file.
7841         * sysdeps/libm-i387/s_fmaxl.S: New file.
7842         * sysdeps/libm-i387/i686/s_fmin.S: New file.
7843         * sysdeps/libm-i387/i686/s_fminf.S: New file.
7844         * sysdeps/libm-i387/i686/s_fminl.S: New file.
7845         * sysdeps/libm-i387/i686/s_fmax.S: New file.
7846         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
7847         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
7849 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
7851         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
7852         * sysdeps/unix/sysv/linux/send.S: Likewise.
7853         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7854         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7855         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7856         * sysdeps/unix/sysv/linux/recv.S: Likewise.
7857         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7858         * sysdeps/unix/sysv/linux/connect.S: Likewise.
7859         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
7861 See ChangeLog.7 for earlier changes.