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