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