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