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