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