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