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