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