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