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