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