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