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