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