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