Update.
[platform/upstream/glibc.git] / ChangeLog
1 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
2
3         * timezone/africa: Update from tzdata1999d.
4         * timezone/europe: Likewise.
5         * timezone/northamerica: Likewise.
6
7 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
8
9         * login/programs/pt_chown.c (main): Save effective user ID before
10         dropping priviliges and use this to check if the program is
11         properly installed.
12
13 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
14
15         * iconvdata/testdata/CP1254: Update for charmap changes.
16         * iconvdata/testdata/CP1254..UTF8: Likewise.
17         * iconvdata/testdata/CP1255: Likewise.
18         * iconvdata/testdata/CP1255..UTF8: Likewise.
19         * iconvdata/testdata/CP1256: Likewise.
20         * iconvdata/testdata/CP1256..UTF8: Likewise.
21         * iconvdata/testdata/CP1257: Likewise.
22         * iconvdata/testdata/CP1257..UTF8: Likewise.
23
24         * iconvdata/Makefile (distribute): Remove cp1258.h.
25         (gen-8bit-gap-modules): Add cp1258.
26         * iconvdata/cp1258.h: Removed.
27
28 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
29
30         * timezone/tst-timezone.c (tests): Add more cases.
31         (check_tzvars): Mark errors clearer.
32         (main): Likewise.
33
34 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
35
36         * login/programs/pt_chown.c: Drop privileges if invoked with
37         arguments.  Don't close the master pty.
38
39 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
40
41         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
42         Minor optimization.
43
44 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
45
46         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
47         relocation for SUID binaries.
48
49 1999-03-29  Paul Eggert  <eggert@twinsun.com>
50
51         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
52         while in child process.
53
54 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
55
56         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
57         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
58         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
59         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
60         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
61
62         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
63         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
64         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
65         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
66         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
67         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
68         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
69         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
70         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
71         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
72         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
73         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
74         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
75         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
76         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
77         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
78         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
79         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
80         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
81         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
82         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
83         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
84         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
85         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
86         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
87         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
88
89         * sysdeps/sparc/sparc32/bcopy.c: New file.
90         * sysdeps/sparc/sparc32/bzero.c: New file.
91         * sysdeps/sparc/sparc32/memchr.S: New file.
92         * sysdeps/sparc/sparc32/memcpy.S: New file.
93         * sysdeps/sparc/sparc32/memmove.c: New file.
94         * sysdeps/sparc/sparc32/memset.S: New file.
95         * sysdeps/sparc/sparc32/stpcpy.S: New file.
96         * sysdeps/sparc/sparc32/strchr.S: New file.
97         * sysdeps/sparc/sparc32/strrchr.c: New file.
98         * sysdeps/sparc/sparc32/strcpy.S: New file.
99         * sysdeps/sparc/sparc32/strlen.S: New file.
100         * sysdeps/sparc/sparc32/strcat.S: New file.
101         * sysdeps/sparc/sparc32/strcmp.S: New file.
102
103         * sysdeps/sparc/sparc64/bcopy.c: New file.
104         * sysdeps/sparc/sparc64/bzero.c: New file.
105         * sysdeps/sparc/sparc64/memchr.S: New file.
106         * sysdeps/sparc/sparc64/memcmp.S: New file.
107         * sysdeps/sparc/sparc64/memcpy.S: New file.
108         * sysdeps/sparc/sparc64/memset.S: New file.
109         * sysdeps/sparc/sparc64/stpcpy.S: New file.
110         * sysdeps/sparc/sparc64/strcat.S: New file.
111         * sysdeps/sparc/sparc64/strchr.S: New file.
112         * sysdeps/sparc/sparc64/strcmp.S: New file.
113         * sysdeps/sparc/sparc64/strcpy.S: New file.
114         * sysdeps/sparc/sparc64/strcspn.S: New file.
115         * sysdeps/sparc/sparc64/strlen.S: New file.
116         * sysdeps/sparc/sparc64/strncpy.S: New file.
117         * sysdeps/sparc/sparc64/strpbrk.S: New file.
118         * sysdeps/sparc/sparc64/strrchr.c: New file.
119         * sysdeps/sparc/sparc64/strspn.S: New file.
120         * sysdeps/sparc/sparc64/stpncpy.S: New file.
121         * sysdeps/sparc/sparc64/strncmp.S: New file.
122
123         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
124         Append -fPIC, don't replace.
125
126         * configure.in: Recognize sparcv8plus / sparcv9.
127
128 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
129
130         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
131         char * to avoid C++ warning.
132         Patch by yasushi@cs.washington.edu [PR libc/1035].
133
134 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
135
136         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
137         declared in stdlib.h, correct return value of mkstemp.
138         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
139
140         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
141         from Linux 2.2.5.
142
143 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
144
145         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
146         C++ warning.
147
148         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
149         inline functions.  Closes PR libc/1049.
150
151 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
152
153         * timezone/README: Update from tzdata1999c and tzcode1999c.
154
155         * timezone/africa: Update from tzdata1999c.
156         * timezone/antarctica: Likewise.
157         * timezone/asia: Likewise.
158         * timezone/australasia: Likewise.
159         * timezone/europe: Likewise.
160         * timezone/northamerica: Likewise.
161         * timezone/southamerica: Likewise.
162         * timezone/zone.tab: Likewise.
163
164         * timezone/zic.c: Update from tzcode1999c.
165
166 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
167
168         * Makerules: Add $(common-objpfx)Versions.all to common-generated
169         outside of ifndef avoid-generated.
170
171         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
172         in iofdopen.c.
173         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
174         iofopen.c.
175         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
176         in iofclose.c.
177         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
178         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
179
180 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
181
182         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
183         if we build the profiled library.
184
185 Fri Mar 26 10:27:38 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
186
187         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
188         Jaeger <aj@arthur.rhein-neckar.de>
189
190 Thu Mar 25 23:57:57 1999  Roland McGrath  <roland@yaumatei.ai.mit.edu>
191
192         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
193         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
194         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
195
196 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
197
198         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
199         works properly in subdirs.
200
201 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
202
203         * sysdeps/mach/hurd/Makefile: Undo last change.
204         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
205         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
206
207         * mach/Machrules (+preinit, +postinit, +interp,
208         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
209         linked just like other shared libraries.
210         (interface.so): Fix typo in defn, so it works.
211         ($(objpfx)$(interface.so)): Make it depend on libc.so.
212
213 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
214
215         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
216         $(link-rpcuserlibs).
217
218 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
219
220         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
221         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
222         targets if not building shared libraries.
223
224 Mon Mar 22 15:48:06 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
225
226         * configure.in: Also look in $PATH when searching for
227         install-info.  Remove autoconf bug workaround and require autoconf
228         2.13.
229
230 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
231
232         * db/Makefile: Don't try to install shared library link if not
233         building with shared libs.
234
235 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
236
237         * rt/Makefile: Link against static library if no shared lib is
238         available.
239
240         * localedata/Makefile: The shells scripts implementing the test
241         require the dynamic linker which is not available with
242         --disable-shared.  Skip the test if --disable-shared is given.
243
244         * linuxthreads/Makefile: Link test against static libpthread if no
245         shared lib is available.
246
247         * iconvdata/Makefile (tests): Run iconv-test only if we're
248         building shared libraries.
249         * elf/Makefile (tests): Likewise for elf tests.
250
251         * posix/Makefile: The test frameworks globtest and wordexp-test
252         require the dynamic linker which is not available with
253         --disable-shared.  Skip the test if --disable-shared is given.
254
255         * grp/Makefile (otherlibs): For static nss build link against
256         necessary libs.
257
258 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
259
260         * debug/Makefile (install-bin): Install and build catchsegv only
261         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
262         libc/965].
263
264 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
265
266         * time/tzfile.c (__tzfile_read): Handle the case where there are
267         transitions but no DST.
268
269 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
270
271         * mach/Machrules (extra-libs-others): Add $(interface-library) here
272         too, so it gets built in the others pass rather than the lib pass.
273         This is necessary since the RPC libraries need to be linked against
274         libc.
275
276 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
277
278         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
279         _itoa_word decl.
280
281         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
282         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
283         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
284         versions of lib{mach,hurd}user.so without reference to libc.so,
285         then link libc.so against that to get deps and symbol versions, then
286         finally link real lib*user.so against libc.so.
287
288         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
289         Support whole-file locking (only) by using the file_lock RPC.  This
290         has very wrong semantics, but is better than nothing for the time
291         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
292         protocols that will be somewhat hairy to specify.)
293
294 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
295
296         * sysdeps/mach/hurd/ptsname.c: New file.
297
298 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
299
300         * timezone/asia: Fix rule in Asia/Nicosia entry.
301
302 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
303
304         * manual/getopt.texi (Using Getopt): Explain "::" in option
305         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
306
307 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
308
309         * sunrpc/clnt_unix.c: Fix creation of parameters for
310         sendmsg/recvmsg on non intel platforms.
311         * sunrpc/svc_unix.c: Likewise.
312
313 1999-03-18  Philip Blundell  <philb@gnu.org>
314
315         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
316         implementation.
317
318 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
319
320         * timezone/africa: Update from tzdata1999b.
321         * timezone/asia: Likewise.
322         * timezone/australasia: Likewise.
323         * timezone/europe: Likewise.
324         * timezone/northamerica: Likewise.
325         * timezone/southamerica: Likewise.
326         * timezone/zone.tab: Likewise.
327
328         * timezone/README: Mention tzdata1999b.
329
330 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
331
332         * sysdeps/generic/segfault.c (write_strsignal): New function.
333         (catch_segfault): Use it instead of calling strsignal.
334
335 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
336
337         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
338         char to avoid warning.
339
340 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
341
342         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
343
344         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
345         outbuf to unsigned char to avoid warning.
346
347 1999-03-11  David S. Miller  <davem@redhat.com>
348
349         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
350         masks.
351         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
352
353 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
354
355         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
356         `unsigned char'.
357         (gconv_step_data): Likewise.
358         * iconv/gconv_int.h (__gconv): Likewise.
359         (__BUILINT_TRANS): Likewise.
360         * iconv/gconv.c (__gconv): Likewise.
361         * iconv/iconv.c (iconv): Add casts for call of __gconv.
362         * iconv/skeleton.c: Change local parameters and variable from `char' to
363         `unsigned char'.  Remove casts from calls into modules.
364         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
365         `char' to `unsigned char'.
366         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
367         * wcsmbs/mbrtowc.c: Likewise.
368         * wcsmbs/mbsnrtowcs.c: Likewise.
369         * wcsmbs/mbsrtowcs.c: Likewise.
370         * wcsmbs/wcrtomb.c: Likewise.
371         * wcsmbs/wcsnrtombs.c: Likewise.
372         * wcsmbs/wcsrtombs.c: Likewise.
373         * wcsmbs/wctob.c: Likewise.
374
375 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
376
377         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
378         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
379         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
380         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
381         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
382         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
383
384 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
385
386         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
387         _hurd_select if TIMEMOUT is -1.
388
389 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
390
391         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
392
393 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
394
395         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
396         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
397
398 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
399
400         * manual/libc.texinfo: Undo last change for now.
401
402 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
403
404         * intl/locale.alias: Add entries for Croatian.
405         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
406
407 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
408
409         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
410         if the opened master pty really is a pty.  `isatty' checks for
411         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
412         if we are out of pty's.
413
414 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
415
416         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
417         opened file is closed on exec.
418         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
419         opened socket.
420
421 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
422
423         * manual/llio.texi (File Position Primitive): Reformat @end
424         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
425
426 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
427
428         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
429         entry is found.
430         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
431         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
432
433         * locale/programs/localedef.c (main): Initialize `cat' to please
434         the compiler.
435
436 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
437
438         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
439         check for root-owned symlinks and reject them too.
440
441 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
442
443         * stdio-common/printf_fphex.c: Move to ...
444         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
445         extended precision number.
446         * sysdeps/m68k/printf_fphex.c: New file.
447
448 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
449
450         * manual/stdio.texi: Fix typos.
451
452 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
453
454         * version.h (VERSION): Bump to 2.1.1.
455
456 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
457
458         * nis/ypclnt.c: Try only twice to connect to NIS server.
459
460 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
461
462         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
463
464 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
465
466         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
467         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
468         * stdlib/strtold.c: Moved to ...
469         * sysdeps/generic/strtold.c: ... here.
470         * sysdeps/m68k/strtold.c: New file.
471
472 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
473
474         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
475         point if the precision is zero, even if the mantissa is non-zero.
476
477 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
478
479         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
480         arguments into the request message buffer inside `send_rpc'
481         subfunction.  We must repeat the marshalling when retrying the RPC
482         after a SIGTTOU delivery.
483
484         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
485         path when there is no ctty port.
486         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
487         Move sigstate check inside loop so we recheck after handling a signal.
488
489 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
490
491         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
492         O_EXLOCK are BSD extensions.
493         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
494
495 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
496
497         * manual/signal.texi (Termination in Handler): Correct example.
498         Install default handler before reraising the signal.
499         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
500
501 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
502
503         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
504         null, in which case send an empty string.
505
506 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
507
508         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
509         backward compatibility EH functions to be linked when using
510         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
511
512 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
513
514         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
515         /dev/pts status may change during runtime.
516
517 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
518
519         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
520         change.  /dev/pts status can change during runtime.
521
522 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
523
524         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
525         poll reports error.
526         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
527         add some more sanity checks.
528         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
529         parser prototype.
530
531 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
532
533         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
534         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
535         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
536         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
537         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
538         for x_getint32.
539         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
540         * nis/nis_print.c: Fix ctime argument for platforms where
541         sizeof (time_t) != sizeof (int).
542
543 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
544
545         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
546         CLOCKS_PER_SEC instead of CLK_TCK.
547
548 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
549
550         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
551         whether /dev/pts is available.
552         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
553         dev_pts_available.
554
555         * posix/globtest.sh: Make common_objpfx path absolute and and db2
556         and hesiod directory to library path [PR libc/1007].
557
558 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
559
560         * resolv/inet_addr.c (inet_aton): Don't allow componets >
561         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
562
563 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
564
565         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
566         DT_PLTGOT has already been relocated.
567         (__elf_machine_fixup_plt): Likewise.
568         Minor cleanups.
569
570 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
571
572         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
573
574 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
575
576         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
577         and fold string to uppercase [PR libc/1005].
578
579 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
580
581         * elf/dl-load.c (lose): Fix return type.
582
583 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
584
585         * sysdeps/mach/hurd/bits/fcntl.h
586         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
587         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
588         set O_NOTRANS as well.
589         (__hurd_file_name_lookup_retry): At successful end of lookup,
590         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
591         it is a translated node not owned by root.
592         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
593         on the file name passed to LOOKUP.
594
595 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
596
597         * manual/time.texi (High Resolution Timer): Correct computation in
598         example.  Reported by jjf@devel.cemsys.com.
599
600 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
601
602         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
603         entry is already relocated.
604
605 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
606
607         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
608         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
609
610 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
611
612         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
613         uc_link which is the right name according to Unix98.
614         Reported by Craig Metz [PR libc/1001].
615         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
616         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
617         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
618         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
619         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
620         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
621
622 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
623
624         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
625         @ifinfo.
626
627 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
628
629         * iconvdata/Makefile: Always include iconv-rules, but disable rule
630         to regenerate it if avoid-generated.
631
632         * Makeconfig: Always include sys-dirs, but disable rule to
633         regenerate it when avoid-generated.
634
635         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
636         rule to generate sysd-syscalls.
637
638         * elf/Makefile (generated): Remove $(objpfx) from names.
639
640 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
641
642         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
643         actual length if the adress length is smaller than the input
644         value.  Change type of *LEN paramater to socklen_t.
645         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
646         * sysdeps/mach/hurd/accept.c (accept): Likewise.
647         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
648         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
649         paramater to socklen_t.
650
651 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
652
653         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
654         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
655         with the RPC.
656
657 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
658
659         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
660         __get_phys_pages): Cast &HBI to silence warning.
661
662         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
663         * hurd/hurdchdir.c: New file.
664         * hurd/hurdfchdir.c: New file.
665         * sysdeps/mach/hurd/chroot.c: Call
666         _hurd_change_directory_port_from_name to do the work.
667         * sysdeps/mach/hurd/chdir.c: Likewise.
668         * sysdeps/mach/hurd/fchdir.c: Call
669         _hurd_change_directory_port_from_fd to do the work.
670         * hurd/fchroot.c: Likewise.
671         * hurd/hurd.h: Declare them.
672
673 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
674
675         * elf/dl-load.c (lose): Add more comments to explain the `why'.
676         (_dl_map_object): Remove redundant test.
677
678 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
679
680         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
681         try to _hurd_port_free a lower-numbered descriptor that was not in any
682         fd_set.
683
684 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
685
686         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
687         declaration for ____wcstod_l_internal.
688
689         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
690         __strtod_internal prototype.
691         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
692         (____strtold_l_internal): Add prototype declaration.
693         (__strtold_l): Call correct function.
694
695 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
696
697         * elf/elf.h: Add 32bit HPPA definitions.
698
699 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
700
701         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
702         non-checked heap is restored when malloc checking was requested by
703         the user.
704         (struct malloc_state): Add using_malloc_checking.
705         (MALLOC_STATE_VERSION): Increment minor.
706         (using_malloc_checking, disallow_malloc_check): New variables.
707         (__malloc_check_init): Use them.
708         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
709         that it can the chunk is properly instrumented when malloc
710         checking is enabled.  Set the new using_malloc_checking field.
711         (malloc_hook_ini): Correct signature when _LIBC is not defined.
712
713 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
714
715         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
716         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
717         time.
718
719         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
720         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
721         if ld.so is the main program.
722
723 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
724
725         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
726         large for work_buffer, allocate new buffer.
727         (printf_unknown): Likewise.  [PR libc/988]
728
729 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
730
731         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
732         instead of stat and fstat.
733         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
734
735 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
736
737         * elf/dl-error.c (_dl_signal_cerror): New function.
738         (_dl_signal_error): Don't call receiver function.
739         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
740         instead of _dl_signal_error when reporting references to undefined
741         symbols or versions.
742         (_dl_lookup_versioned_symbol): Likewise.
743         (_dl_lookup_versioned_symbol_skip): Likewise.
744         * elf/dl-version.c (match_symbol): Likewise.
745
746         * elf/ldsodefs.h: Declare _dl_signal_cerror.
747
748 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
749
750         * misc/getttyent.c (getttyent): Release lock on stream later to
751         also protect global variable zapchar.
752
753         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
754         __times [PR libc/990].
755
756 1999-02-21  David S. Miller  <davem@redhat.com>
757
758         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
759         parentheses in Feb 2 changes.
760         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
761
762 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
763
764         * sysdeps/generic/glob.c (glob): Save previous errno.
765
766 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
767
768         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
769         lookup functions if it is too small.
770
771 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
772
773         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
774         for tracing to the scope lists.
775         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
776         DT_SYMTAB is always available according to ELF spec.
777
778         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
779         call test whether there is any scope left.
780         (_dl_lookup_versioned_symbol_skip): Likewise.
781
782         * elf/Makefile (distribute): Add do-lookup.h.
783         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
784         * elf/dl-lookup.c: Move do_lookup function in separate file and
785         include the file twice, for handling versioning and without it.
786
787         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
788         entry is already relocated.
789         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
790         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
791         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
792         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
793         Likewise.
794         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
795         Likewise.
796         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
797         Likewise.
798
799         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
800         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
801         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
802         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
803         rel and rela relocations can both happen and skip one test if this
804         is not possible.
805         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
806         appropriately.
807         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
808         already relocated.
809         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
810         relocated.
811         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
812         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
813         (_dl_map_object): DT_STRTAB entry is already relocated.
814         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
815         already relocated.
816         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
817         relocated.
818         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
819         DT_VERSYM entries are already relocated.
820         (profile_fixup): Likewise.
821         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
822         all users.
823         (match_symbol): DT_STRTAB entry is already relocated.
824         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
825         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
826         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
827         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
828         (find_needed): DT_STRTAB entry is already relocated.
829         (dl_main): Pass extra argument to elf_get_dynamic_info.
830         DT_STRTAB entry is already relocated.
831         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
832         DT_PLTGOT entries are already relocated.
833         (elf_machine_rela): Likewise for DT_SYMTAB.
834         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
835         relocated.
836         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
837         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
838         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
839         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
840         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
841         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
842         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
843         * sysdeps/mips/mips64/dl-machine.h: Likewise.
844
845         * grp/initgroups.c (initgroups): If function in current module was
846         successful don't stop but continue to process to get all the groups.
847
848         * elf/dl-load.c (_dl_map_object_from_fd): Use global
849         _dl_pf_to_proot array to convert p_flags value.
850         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
851
852         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
853         loop to clear `info'.
854
855         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
856         do the work and don't use inline assembler.
857
858 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
859
860         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
861         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
862         noreturn, and prevent it from being inlined.
863         Define LOSE appropriately.
864         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
865         Optimize decoding of p_flags for certain platforms.
866
867 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
868
869         * Makeconfig (link-libc): When doing a static link, make sure that
870         libgcc.a is included both before and after libc.a.
871
872 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
873
874         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
875         sp_warn, sp_inact, sp_expire and sp_flag.
876
877 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
878
879         * elf/link.h (link_map): Add l_dev and l_ino.
880         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
881         loaded shared object with all laoded objects.  Initialize l_ino
882         and l_dev in case it's new.
883         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
884         object.
885         * elf/Makefile: Compile and run new test.
886         * elf/multiload.c: New file.
887
888         * nss/nsswitch.h (service_user): Change name field from const char *
889         to char[0].
890         (name_database_entry): Likewise.
891         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
892         for change of `service_user'.
893         (nss_getline): Adjust memory allocation for change of
894         `name_database_entry'.
895
896         * catgets/catgets.c: Correctly handle NLSPATH from environment
897         [PR libc/980].
898
899         * io/Makefile (routines): Add lock64.
900         * io/Versions: Add lockf64 for GLIBC_2.1.1.
901         * sysdeps/generic/lockf64.c: New file.
902
903 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
904
905         * string/bits/string2.h: Only use strncmp optimization if count
906         argument is constant.
907
908 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
909
910         * sysdeps/mach/hurd/revoke.c: New file.
911
912 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
913
914         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
915         int to avoid warning about `ISO C restricts enumerator values to
916         range of `int''.
917
918 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
919
920         * elf/dlfcn.h: Fix typo.
921         * sysdeps/generic/bits/dlfcn.h: Likewise.
922         * sysdeps/mips/bits/dlfcn.h: Likewise.
923
924 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
925
926         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
927         for the case N == 0.
928
929         * db2/Makefile (distribute): Add LICENSE.
930
931 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
932
933         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
934         generated files.
935
936         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
937
938 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
939
940         * time/mktime.c: Use ISO C form for function definitions and
941         remove unnecessary prototypes.
942
943         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
944
945         * time/time.h: Avoid unneccesary #ifdef.
946
947 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
948
949         * stdio-common/_itoa.c (_itoa): Correct parameters to
950         udiv_qrnnd_preinv.
951
952 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
953
954         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
955         before (e.g. in glob.h).
956         Closes PR libc/959.
957
958 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
959
960         * sysdeps/mips/fpu_control.h: Fix typo.
961         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
962         Remove __setfpucw.
963
964 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
965
966         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
967         the "unused" ends of the sockets.  Let pipes be bidirectional.
968
969 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
970
971         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
972         invalid ai_flags.
973
974 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
975
976         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
977         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
978
979         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
980         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
981
982 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
983
984         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
985
986 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
987
988         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
989         check for priority mask.
990
991 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
992
993         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
994         Reported by Craig Metz <cmetz@inner.net> .
995
996 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
997
998         * stdio-common/Makefile (tests): tllformat added.
999
1000         * stdio-common/tllformat.c: New program, based on tiformat.c with
1001         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1002
1003 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1004
1005         * posix/test-vfork.c: Fix exit status test.
1006
1007 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1008
1009         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
1010         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
1011
1012 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1013
1014         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
1015         of separare explicit comparisons.
1016
1017 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1018
1019         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
1020         defined.
1021
1022         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
1023         defined.
1024
1025 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
1026
1027         * po/el.po: Update from translation team.
1028
1029 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1030
1031         * intl/locale.alias: Fix slovenian entry [PR libc/948].
1032
1033 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1034
1035         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
1036         * inet/ruserpass.c: Likewise.
1037         * locale/programs/stringtrans.c: Likewise.
1038         * locale/programs/localedef.c: Likewise.
1039         * nscd/grpcache.c: Likewise.
1040         * nss/nss_files/files-XXX.c: Likewise.
1041         * stdlib/canonicalize.c: Likewise.
1042         * sysdeps/posix/sigwait.c: Likewise.
1043
1044 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1045
1046         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
1047         even on 64 bit platforms.
1048
1049         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1050         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
1051
1052 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
1053
1054         * intl/dcgettext.c: Include locale.h is available.
1055
1056 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
1057
1058         * po/nl.po: Update from translation team.
1059
1060         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
1061
1062         * Makefile: Allow calling goals for po subdir.
1063
1064         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
1065         signal definitions.
1066
1067         * po/el.po: New file.
1068
1069 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1070
1071         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
1072         when processing DT_SYMBOLIC objects.
1073
1074 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1075
1076         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
1077         program headers without PT_PHDR only require that they are
1078         contained within one of the loaded segments.  Don't use assert,
1079         since that would be a bug in the object, not the dynamic linker.
1080
1081 1999-02-08  Richard Henderson  <rth@cygnus.com>
1082
1083         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
1084         restore all call-clobbered fp regs.
1085
1086 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
1087
1088         * po/cs.po: New file.
1089
1090         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
1091         SUID binaries.
1092
1093 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
1094
1095         * signal/signal.h: Don't declare __libc_allocate_rtsig.
1096         * include/signal.h: Declare __libc_allocate_rtsig here.
1097
1098         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
1099         point functions, not do_lookup since the later can be called more
1100         than once.
1101
1102 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
1103
1104         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
1105         macro, so that architectures which need to add some special
1106         offset to stack pointer can share this file.
1107
1108         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
1109         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
1110         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
1111         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
1112
1113         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
1114         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
1115         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
1116         between sparc32 and sparc64.
1117
1118         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
1119         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
1120         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
1121         between sparc32 and sparc64.
1122
1123         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
1124         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
1125         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
1126         between sparc32 and sparc64.
1127
1128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
1129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
1130         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
1131         between sparc32 and sparc64.
1132
1133 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
1134
1135         * Versions.def: New version GLIBC_2.1.1 for libc.
1136         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
1137         * stdlib/labs.c: Moved to...
1138         * sysdeps/generic/labs.c: ...here.
1139         * stdlib/llabs.c: Moved to...
1140         * sysdeps/generic/llabs.c: ...here.
1141         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
1142         header.  Declare _Exit.
1143         * sysdeps/generic/_exit.c: Add alias _Exit.
1144         * sysdeps/mach/hurd/_exit.c: Likewise.
1145         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
1146         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
1147         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
1148         * sysdeps/unix/_exit.c: Likewise.
1149         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
1150         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
1151         * sysdeps/wordsize-64/inttypes.h: Likewise.
1152         * sysdeps/wordsize-32/llabs.c: New file.
1153         * sysdeps/wordsize-32/lldiv.c: New file.
1154         * sysdeps/wordsize-64/labs.c: New file.
1155         * sysdeps/wordsize-64/ldiv.c: New file.
1156         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
1157         * manual/startup.texi: Document _Exit.
1158
1159 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1160
1161         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1162
1163 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
1164
1165         * Versions.def: Add versions for ld.so.
1166         * csu/Versions: Remove __libc_stack_end here.
1167         * elf/Versions: Split libc definitions in libc and ld.so definitions.
1168         * elf/Makefile (ld-map): Change to ld.so.map.
1169         * scripts/versions.awk: Recognize dot in library names.
1170
1171         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
1172         Don't use __tolower and __toupper in inline functions.
1173         Add optimizing macros for tolower and toupper.
1174         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
1175         (_toupper): Don't use __toupper.
1176         * ctype/ctype.c (tolower): Don't use __tolower.
1177         (toupper): Don't use toupper.
1178
1179         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
1180
1181         * resolv/Versions (libresolv): Export __ns_name_unpack and
1182         __ns_name_ntop.
1183         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
1184         make it global.  Change all users.  Similar for ns_name_ntop.
1185         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
1186         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
1187         directly to detect too small buffer.
1188         * resolv/nss_dns/dns-network.c: Likewise.
1189
1190         * stdio-common/Makefile (tests): Add scanf12.
1191         * stdio-common/scanf12.c: New file.
1192         * stdio-common/scanf12.input: New file.
1193         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
1194         floating-point correctly if the number is invalid.
1195
1196         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
1197         functions.
1198         * stdio-common/printf_fp.c: Likewise.
1199         * stdio-common/printf_fphex.c: Likewise.
1200         * stdio-common/vfprintf.c: Likewise.
1201
1202
1203 See ChangeLog.9 for earlier changes.