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