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