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