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