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