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