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