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