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