]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
* Makeconfig (static-start-installed-name): Set to
[thirdparty/glibc.git] / ChangeLog
1 1999-06-12 Mark Kettenis <kettenis@gnu.org>
2
3 * Makeconfig (static-start-installed-name): Set to
4 $(start-installed-name) if not defined.
5 (+link-static): Use $(static-start-installed-name) instead of
6 $(start-installed-name).
7 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
8 Set to crt0.o.
9
10 1999-06-12 Mark Kettenis <kettenis@gnu.org>
11
12 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
13 inserting a send right into the child instead of unconditionally
14 copying the send right.
15
16 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
17
18 * locale/lc-time.c: Add free_mem function to free if necessary
19 statically allocated memory.
20
21 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
22
23 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
24 bias from the raw exponent.
25
26 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
27
28 * inet/arpa/tftp.h: Move attribute declaration in right position.
29
30 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
31
32 * nscd/nscd.c: Add -S options for separate caching of data for
33 every user. So one user couldn't see the data another user
34 has gotten with his credentials.
35 * nscd/nscd.h: Add new prototypes.
36 * nscd/cache.c: Compare owner of cache entry if in secure mode.
37 * nscd/connections.c: Check on shutdown if caller really was root.
38 In secure mode get uid of caller.
39 * nscd/grpcache.c: Add support for new secure group mode.
40 * nscd/hstcache.c: Add support for new secure hosts mode.
41 * nscd/pwdcache.c: Add support for new secure passwd mode.
42
43 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
44
45 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
46 of user-provided buffer.
47
48 1999-06-11 Mark Kettenis <kettenis@gnu.org>
49
50 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
51 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
52
53 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
54
55 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
56 and A format.
57
58 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
59 returning after last entry.
60 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
61
62 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
63
64 * misc/sysexits.h: Remove advertising clause of copyright.
65 * resolv/getnetnamadr.c: Likewise.
66 * sysdeps/vax/bcopy.s: Likewise.
67 * sysdeps/vax/bzero.s: Likewise.
68 * sysdeps/vax/ffs.s: Likewise.
69 * sysdeps/vax/memchr.s: Likewise.
70 * sysdeps/vax/memcmp.s: Likewise.
71 * sysdeps/vax/memmove.s: Likewise.
72 * sysdeps/vax/memset.s: Likewise.
73 * sysdeps/vax/strcat.s: Likewise.
74 * sysdeps/vax/strchr.s: Likewise.
75 * sysdeps/vax/strcmp.s: Likewise.
76 * sysdeps/vax/strcpy.s: Likewise.
77 * sysdeps/vax/strcspn.s: Likewise.
78 * sysdeps/vax/strlen.s: Likewise.
79 * sysdeps/vax/strncat.s: Likewise.
80 * sysdeps/vax/strncmp.s: Likewise.
81 * sysdeps/vax/strncpy.s: Likewise.
82 * sysdeps/vax/strpbrk.s: Likewise.
83 * sysdeps/vax/strrchr.s: Likewise.
84 * sysdeps/vax/strsep.s: Likewise.
85 * sysdeps/vax/strspn.s: Likewise.
86 * sysdeps/vax/strstr.s: Likewise.
87
88 * libio/iofopncook.c: Adjust for renaming of structure elements.
89 * libio/libio.h: Define cookie functions with all the names.
90
91 * pwd/fgetpwent_r.c: Set errno in the correct way.
92 * shadow/fgetspent_r.c: Likewise.
93 * pwd/fgetpwent.c: Handle long lines correctly. Little
94 optimizations. Free static buffer when debugging memory handling.
95 * shadow/fgetspent.c: Likewise.
96
97 * grp/fgetgrent.c: Little optimization in loop.
98
99 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
100
101 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
102 in a different way.
103
104 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
105
106 * stdlib/longlong.h: gas changed sethi handling when without
107 %hi(). Fix assembly.
108 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
109 port specific cache id checks.
110 * sysdeps/generic/dl-cache.h: New file.
111 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
112
113 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
114
115 * gmon/gmon.c: Remove advertising clause of copyright.
116 * gmon/mcount.c: Likewise.
117 * gmon/sys/gmon.h: Likewise.
118 * inet/arpa/ftp.h: Likewise.
119 * inet/arpa/telnet.h: Likewise.
120 * inet/arpa/tftp.h: Likewise.
121 * inet/inet_lnaof.c: Likewise.
122 * inet/inet_mkadr.c: Likewise.
123 * inet/inet_net.c: Likewise.
124 * inet/inet_netof.c: Likewise.
125 * inet/protocols/routed.h: Likewise.
126 * inet/protocols/rwhod.h: Likewise.
127 * inet/protocols/talkd.h: Likewise.
128 * inet/protocols/timed.h: Likewise.
129 * inet/rcmd.c: Likewise.
130 * inet/rexec.c: Likewise.
131 * inet/ruserpass.c: Likewise.
132 * io/fts.c: Likewise.
133 * io/fts.h: Likewise.
134 * login/login_tty.c: Likewise.
135 * misc/fstab.h: Likewise.
136 * misc/getttyent.c: Likewise.
137 * misc/getusershell.c: Likewise.
138 * misc/sys/queue.h: Likewise.
139 * misc/sys/syslog.h: Likewise.
140 * misc/syslog.c: Likewise.
141 * misc/ttyent.h: Likewise.
142 * misc/ttyslot.c: Likewise.
143 * resolv/arpa/nameser.h: Likewise.
144 * resolv/gethnamaddr.c: Likewise.
145 * resolv/herror.c: Likewise.
146 * resolv/inet_addr.c: Likewise.
147 * resolv/mapv4v6addr.h: Likewise.
148 * resolv/mapv4v6hostent.h: Likewise
149 * resolv/nss_dns/dns-host.c: Likewise.
150 * resolv/nss_dns/dns-network.c: Likewise.
151 * resolv/res_comp.c: Likewise.
152 * resolv/res_data.c: Likewise.
153 * resolv/res_debug.c: Likewise.
154 * resolv/res_init.c: Likewise.
155 * resolv/res_mkquery.c: Likewise.
156 * resolv/res_query.c: Likewise.
157 * resolv/res_send.c: Likewise.
158 * resolv/resolv.h: Likewise.
159 * sysdeps/generic/div.c: Likewise.
160 * sysdeps/generic/netinet/ip.h: Likewise.
161 * sysdeps/generic/netinet/tcp.h: Likewise.
162 * sysdeps/generic/paths.h: Likewise.
163 * sysdeps/generic/prof-freq.c: Likewise.
164 * sysdeps/generic/sys/ttydefaults.h: Likewise.
165 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
166 * sysdeps/gnu/netinet/tcp.h: Likewise.
167 * sysdeps/ieee754/support.c: Likewise.
168 * sysdeps/mach/hurd/sys/param.h: Likewise.
169 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
170 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
171 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
172 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
173 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
174 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
175 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
176 * sysdeps/unix/sysv/linux/paths.h: Likewise.
177 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
178 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
179 * sysdeps/vax/DEFS.h: Likewise.
180 * termios/sys/ttychars.h: Likewise.
181 * misc/daemon.c: Likewise. Call fork.
182
183 * grp/fgetgrent.c (buffer): Make file local variable.
184 (free_mem): New function. Call for malloc debugging.
185
186 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
187
188 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
189
190 * grp/Makefile: Add rules for tst_fgetgrent.
191
192 * grp/tst_fgetgrent.c: Rewritten to read only one file.
193
194 * grp/tst_fgetgrent.sh: New file.
195
196 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
197
198 * grp/Makefile (tests): Add tst_fgetgrent.
199 * grp/tst_fgetgrent.c: New file.
200 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
201
202 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
203
204 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
205 be POSIX compliant. Prior definition was broken for Hurd.
206 Reported by Mark Kettenis <kettenis@gnu.org>.
207
208 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
209
210 * ctype/ctype.h: Protect __tobody code by __extension__.
211
212 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
213
214 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
215 reading and reset in case the buffer was too small.
216
217 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
218 of EOF.
219
220 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
221
222 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
223 another SIOGIFNAME typo.
224
225 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
226
227 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
228
229 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
230 bit.
231
232 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
233
234 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
235 the precision if the mantissa is zero.
236
237 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
238
239 * manual/lang.texi (Floating Point Parameters): GCC already
240 supports long double for a long time.
241
242 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
243
244 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
245 yn_test): Increase some epsilons.
246
247 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
248
249 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
250 parameters.
251
252 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
253
254 * sysdeps/unix/sysv/linux/kernel-features.h: Define
255 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
256 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
257 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
258
259 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
260 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
261 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
262 * sysdeps/libm-ieee754/w_j1.c: Likewise.
263 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
264 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
265 * sysdeps/libm-ieee754/w_jn.c: Likewise.
266 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
267 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
268
269 * stdio-common/vfprintf.c: Correct typos.
270
271 * math/libm-test.c (jn_test): Adjust delta.
272 (y1_test): Likewise.
273 (yn_test): Likewise.
274
275 * elf/do-lookup.h: It should never happen that if we expect a versioned
276 symbol from a file the file has no version table. This should have
277 been checked in dl-version.c.
278 * elf/dl-lookup.c: Include assert.h.
279
280 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
281 function handling.
282
283 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
284
285 1999-06-06 Andi Kleen <ak@muc.de>
286
287 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
288 SA_RESTORER flag.
289
290 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
291
292 * math/libm-test.c (yn_test): Change one delta.
293 (jn_test): Likewise.
294 (j1_test): Likewise.
295 (y0_test): Likewise.
296
297 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
298
299 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
300 avoid multiple calls to getpagesize() which might be a syscall.
301
302 1999-06-06 Philip Blundell <philb@gnu.org>
303
304 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
305
306 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
307
308 * manual/install.texi (Running make install): Correct typo in
309 dynamic linker invocation.
310
311 1999-06-05 Philip Blundell <philb@gnu.org>
312
313 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
314 problems with GOT addressing.
315
316 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
317
318 * malloc/malloc.c (check_action): Change into bitmap so that both
319 diagnostic and abort can be requested by setting it to 3.
320 (mALLOC_SET_STATe): Disable malloc checking if necessary.
321
322 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
323
324 * configure.in: Few changes for HPUX.
325
326 * scripts/config.guess: Update from latest version.
327 * scripts/config.sub: Likewise.
328
329 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
330
331 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
332 map files. Closes PR libc/1147.
333
334 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
335
336 * math/libm-test.c (main): Add new test functions.
337 (jn_test): New tests.
338 (j1_test): Add some more tests.
339 (j0_test): Add some more tests.
340 (y0_test): Add some more tests.
341 (y1_test): Add some more tests.
342
343 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
344
345 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
346 Patch by mhagger@dera.gov.uk [PR libc/1145].
347
348 * math/libm-test.c (y1_test): New tests.
349 (y0_test): Likewise.
350 (j1_test): Likewise.
351 (j0_test): Likewise.
352 (main): Added new tests.
353
354 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
355
356 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
357 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
358 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
359 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
360 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
361 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
362
363 1999-06-02 David S. Miller <davem@redhat.com>
364
365 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
366 pointers properly.
367
368 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
369
370 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
371 and elide compatibility code if possible.
372
373 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
374
375 * manual/llio.texi: Remove menu entry for removed section.
376
377 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
378
379 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
380 variables.
381
382 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
383
384 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
385 (from Linux 2.3.4).
386
387 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
388
389 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
390
391 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
392
393 * manual/stdio.texi: Fix some typos.
394
395 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
396
397 * malloc/malloc.h: Properly handle future GCC versions.
398
399 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
400
401 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
402 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
403 text of error message.
404
405 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
406
407 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
408
409 * manual/filesys.texi: Extend (f)truncate documentation.
410 * manual/llio.texi: Remove duplicate (f)truncate definition.
411
412 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
413
414 * manual/stdio.texi (Formatted Output Functions): Mention
415 semantics of snprintf in glibc 2.0.
416 Reported by Ben Pfaff <pfaffben@msu.edu>.
417
418 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
419
420 * include/features.h (__GLIBC_MINOR__): Bump to 2.
421
422 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
423
424 * math/libm-test.c: Adjust a few more deltas for the poor ARM
425 FPU emulator.
426
427 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
428
429 * configure.in: Fix typo.
430
431 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
432
433 * manual/socket.texi (Host Names): Remove statement that h_errno
434 needs to be declared since this isn't true anymore.
435 Closes PR libc/1138.
436
437 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
438
439 * config.h.in: Add __LINUX_KERNEL_VERSION.
440 * configure.in: Recognize --enable-kernel.
441 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
442 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
443 appropriately.
444 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
445 given perform runtime test.
446
447 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
448 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
449 minimal supported kernel is known to have the feature.
450 * sysdeps/unix/sysv/linux/poll.c: Likewise.
451 * sysdeps/unix/sysv/linux/pread.c: Likewise.
452 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
453 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
454 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
455 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
456 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
457 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
458 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
459 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
460 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
461 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
462 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
463 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
464 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
465
466 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
467
468 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
469
470 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
471
472 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
473
474 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
475 Optimized sparc64 routines.
476
477 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
478
479 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
480 they are the same as ints.
481 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
482
483 * version.h (VERSION): Bump to 2.1.90.
484 (RELEASE): Mark as development.
485
486 * stdio-common/vfprintf.c (vfprintf): Don't implement special
487 handling for long long if it is the same as long.
488 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
489
490 * stdlib/strtol.c: Moved to ...
491 * sysdeps/generic/strtol.c: ...here.
492 * stdlib/strtoul.c: Moved to ...
493 * sysdeps/generic/strtoul.c: ...here.
494 * stdlib/strtoll.c: Moved to ...
495 * sysdeps/generic/strtoll.c: ...here.
496 * stdlib/strtoull.c: Moved to ...
497 * sysdeps/generic/strtoull.c: ...here.
498 * stdlib/strtol_l.c: Moved to ...
499 * sysdeps/generic/strtol_l.c: ...here.
500 * stdlib/strtoul_l.c: Moved to ...
501 * sysdeps/generic/strtoul_l.c: ...here.
502 * stdlib/strtoll_l.c: Moved to ...
503 * sysdeps/generic/strtoll_l.c: ...here.
504 * stdlib/strtoull_l.c: Moved to ...
505 * sysdeps/generic/strtoull_l.c: ...here.
506
507 * sysdeps/wordsize-64/strtol.c: New file.
508 * sysdeps/wordsize-64/strtoul.c: New file.
509 * sysdeps/wordsize-64/strtoll.c: New file.
510 * sysdeps/wordsize-64/strtoull.c: New file.
511 * sysdeps/wordsize-64/strtol_l.c: New file.
512 * sysdeps/wordsize-64/strtoul_l.c: New file.
513 * sysdeps/wordsize-64/strtoll_l.c: New file.
514 * sysdeps/wordsize-64/strtoull_l.c: New file.
515
516 * wcsmbs/wcstol.c: Moved to ...
517 * sysdeps/generic/wcstol.c: ...here.
518 * wcsmbs/wcstoul.c: Moved to ...
519 * sysdeps/generic/wcstoul.c: ...here.
520 * wcsmbs/wcstoll.c: Moved to ...
521 * sysdeps/generic/wcstoll.c: ...here.
522 * wcsmbs/wcstoull.c: Moved to ...
523 * sysdeps/generic/wcstoull.c: ...here.
524 * wcsmbs/wcstol_l.c: Moved to ...
525 * sysdeps/generic/wcstol_l.c: ...here.
526 * wcsmbs/wcstoul_l.c: Moved to ...
527 * sysdeps/generic/wcstoul_l.c: ...here.
528 * wcsmbs/wcstoll_l.c: Moved to ...
529 * sysdeps/generic/wcstoll_l.c: ...here.
530 * wcsmbs/wcstoull_l.c: Moved to ...
531 * sysdeps/generic/wcstoull_l.c: ...here.
532
533 * sysdeps/wordsize-64/wcstol.c: New file.
534 * sysdeps/wordsize-64/wcstoul.c: New file.
535 * sysdeps/wordsize-64/wcstoll.c: New file.
536 * sysdeps/wordsize-64/wcstoull.c: New file.
537 * sysdeps/wordsize-64/wcstol_l.c: New file.
538 * sysdeps/wordsize-64/wcstoul_l.c: New file.
539 * sysdeps/wordsize-64/wcstoll_l.c: New file.
540 * sysdeps/wordsize-64/wcstoull_l.c: New file.
541
542 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
543
544 * sysdeps/sparc/bits/wordsize.h: New file.
545 * sysdeps/sparc/fpu/bits/fenv.h: New file.
546 * sysdeps/sparc/fpu/fpu_control.h: New file.
547 * sysdeps/sparc/gmp-mparam.h: New file.
548
549 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
550 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
551 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
552 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
553 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
554 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
555
556 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
557 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
558 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
559 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
560
561 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
562 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
563 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
564 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
565 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
566
567 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
568
569 * login/openpty.c (openpty): Make sure pty does not because
570 controlling TTY.
571
572 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
573
574 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
575
576 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
577 Do proper error return.
578
579 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
580
581 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
582 of __P in the rest of glibc; define __MALLOC_PMT and use it.
583 Reported by Stephan Kulow <coolo@kde.org>.
584
585 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
586
587 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
588
589 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
590
591 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
592
593 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
594 names to protect from user's macro namespace.
595 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
596 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
597 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
598 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
599 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
600 Adapted.
601 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
602 sysdeps/arm/fpu/fesetenv.c: Likewise.
603 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
604 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
605 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
606 * sysdeps/mips/fesetenv.c: Likewise.
607
608 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
609
610 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
611
612 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
613
614 * configure.in: Recognize and allow gcc 2.95.
615
616 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
617
618 * sysdeps/generic/bits/elfclass.h: Version common to
619 wordsize-32 and wordsize-64.
620 * sysdeps/generic/bits/environments.h: Ditto.
621 * sysdeps/generic/stdint.h: Ditto.
622 * sysdeps/generic/inttypes.h: Ditto.
623
624 * sysdeps/generic/bits/wordsize.h: New file.
625 * stdlib/Makefile: Add bits/wordsize.h to headers.
626
627 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
628
629 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
630 headers to be used for 32bit and 64bit ABI compilations.
631 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
632 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
633 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
634 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
635 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
636
637 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
638 * sysdeps/wordsize-64/bits/environments.h: Remove.
639 * sysdeps/wordsize-64/stdint.h: Remove.
640 * sysdeps/wordsize-64/inttypes.h: Remove.
641 * sysdeps/wordsize-64/bits/wordsize.h: New file.
642
643 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
644 * sysdeps/wordsize-32/bits/environments.h: Remove.
645 * sysdeps/wordsize-32/stdint.h: Remove.
646 * sysdeps/wordsize-32/inttypes.h: Remove.
647 * sysdeps/wordsize-32/bits/wordsize.h: New file.
648
649 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
650
651 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
652 __align_cpy_16): New functions.
653 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
654
655 * sysdeps/sparc/sparc32/Versions: New file.
656 * sysdeps/sparc/sparc64/Versions: New file.
657 * sysdeps/sparc/Versions: Remove.
658
659 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
660
661 * sysdeps/unix/sysv/linux/configure.in:
662 On sparc64-*-linux*, set slibdir to /lib64 if prefix
663 is /usr, plus set libdir to ${exec_prefix}/lib64.
664 * sysdeps/unix/sysv/linux/configure: Regenerated.
665 * config.make.in: Propagate libdir settings from configure
666 to the Makefiles.
667 * shlib-versions: sparc64-*-linux* dynamic linker is
668 /lib64/ld-linux.so.2.
669
670 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
671
672 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
673 RPC connection.
674
675 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
676
677 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
678 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
679
680 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
681 contains garbage in bits 8-63.
682 * sysdeps/sparc/sparc64/memset.S: Ditto.
683 * sysdeps/sparc/sparc64/strchr.S: Ditto.
684
685 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
686
687 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
688
689 1999-05-17 David S. Miller <davem@redhat.com>
690
691 * sysdeps/sparc/sparc32/atomicity.h: New file.
692 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
693 * sysdeps/sparc/sparc64/atomicity.h: New file.
694 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
695 sysdep-CFLAGS.
696
697 1999-05-18 Richard Henderson <rth@twiddle.net>
698
699 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
700
701 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
702
703 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
704 posix/sys/types.h: Handle the case of __GNUC__=3,
705 __GNUC_MINOR__=(anything).
706
707 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
708
709 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
710 if _FORCE_INLINES.
711
712 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
713
714 * elf/Makefile (distribute): Remove dl-origin.h.
715 Add dl-dst.h and gen-trusted-dirs.awk.
716
717 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
718
719 * sysdeps/i386/i486/Versions: New file with inline functions from
720 sysdeps/i386/i486/bits/string.h for now.
721
722 * sysdeps/i386/Versions: Add inline functions from
723 sysdeps/i386/bits/string.h.
724
725 * string/Versions: Add inline functions from <bits/string2.h>.
726
727 * string/Makefile (routines): Add string-inlines.
728 * string/string-inlines.c: New file, used for implementation of
729 extern inline functions.
730
731 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
732 non inlined versions of functions.
733 * string/bits/string2.h: Likewise.
734 * sysdeps/i386/bits/string.h: Likewise.
735
736 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
737
738 * inet/arpa/tftp.h: Add second packed attribute.
739
740 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
741
742 * malloc/malloc.c: Cleanup to bring in line with released
743 stand-alone version `ptmalloc'. Update some comments.
744 (internal_function): Move fallback definition so that the source
745 compiles outside of libc, and use it in more places.
746 (malloc_atfork): Fix when malloc_check is in use.
747
748 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
749
750 * stdlib/tst-strtod.c: Fix typo.
751
752 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
753
754 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
755 const incorrectness.
756
757 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
758
759 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
760
761 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
762
763 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
764 * sunrpc/key_call.c: Fix memory leak, close file handle.
765 * nis/nis_creategroup.c: Use malloc instead of calloc,
766 set ctime and mtime.
767 * nis/nis_subr.c: Check for realloc result.
768 * nis/nis_file.c: Fix memory leak.
769 * nis/nis_table.c: Pretty print.
770 * nis/nis_getservlist.c: Likewise.
771 * nis/nis_ismember.c: Likewise.
772 * nis/nis_lookup.c: Likewise.
773 * nis/nis_ping.c: Likewise.
774 * nis/nis_removemember.c: Likewise.
775 * nis/nis_util.c: Likewise, check calloc result.
776
777 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
778
779 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
780 * sysdeps/generic/sys/socketvar.h: ... here.
781 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
782 * sysdeps/generic/netinet/in_systm.h: ... here.
783 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
784 sys/socketvar.h.
785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
786 * inet/Makefile (headers): Add netinet/in_systm.h here.
787 * socket/Makefile (headers): Add sys/socketvar.h here.
788
789 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
790
791 * stdlib/strtol.c: Optimize inner loop of long long versions.
792
793 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
794 Unix98. Add forward declaration of struct utmp.
795
796 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
797
798 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
799 calloc.
800
801 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
802 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
803 memory allocation results.
804
805 1999-05-14 Mark Kettenis <kettenis@gnu.org>
806
807 * sysdeps/generic/getutmp.c: Include <string.h>
808 (getutmp): Rewrite to only copy those members that are really
809 present in `struct utmp'.
810 * sysdeps/generic/getutmpx.c: Likewise.
811
812 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
813
814 * nss/getXXbyYY.c: Add free_mem function which disposes all
815 statically allocated memory when debugging.
816 * nss/getXXent.c: Likewise.
817 * nss/nsswitch.c: Likewise.
818
819 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
820
821 * sysdeps/gnu/getutmpx.c: New file.
822 * sysdeps/gnu/getutmp.c: New file.
823
824 1999-05-13 H.J. Lu <hjl@gnu.org>
825
826 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
827 (getutmp): Likewise.
828
829 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
830 getutmpx for login.
831
832 * sysdeps/gnu/utmpx.h (getutmp): Added.
833 (getutmpx): Likewise.
834
835 * sysdeps/generic/getutmp.c: New file.
836
837 * sysdeps/generic/getutmpx.c: New file.
838
839 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
840
841 * glibcbug.in (BUGGLIBC): Change address to
842 libc-alpha@sourceware.cygnus.com.
843
844 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
845
846 * resolv/arpa/nameser.h: Add C++ protectors.
847
848 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
849
850 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
851 Elad Tsur <eladts@post.tau.ac.il>.
852
853 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
854
855 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
856 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
857 lazily if LD_BIND_NOW is not set.
858 * elf/dl-support.c (_dl_lazy): New variable.
859 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
860 * elf/rtld.c (_dl_lazy): new global variable.
861 ( dl_main): Remove lazy, replace it by _dl_lazy.
862
863 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
864
865 * locale/setlocale.c (new_composite_name): Check also whether the
866 first category name differs.
867
868 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
869
870 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
871 the generic one.
872
873 1999-05-11 Philip Blundell <pb@nexus.co.uk>
874
875 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
876 structure; storage suitable for any socket address.
877 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
878 Likewise.
879 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
880 sockaddr_storage): Likewise.
881
882 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
883 platform.
884
885 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
886
887 * hesiod/Versions: Change _nss_hesiod_getpwuid and
888 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
889 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
890
891 1999-05-09 Mark Kettenis <kettenis@gnu.org>
892
893 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
894 if the file is empty.
895
896 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
897
898 * elf/do-lookup.h: Fix typo in comment.
899
900 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
901 f_bsize to help some broken programs.
902
903 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
904
905 * stdio-common/vfprintf.c: Fix typo.
906
907 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
908
909 * elf/link.h (struct link_map): New field l_phdr_allocated.
910 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
911 the program header being part of any loaded segment. If it is not
912 allocate memory and set l_phdr_allocated flag.
913 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
914
915 * nss/digits_dots.c: Correct return value interpretation of
916 inet_ntoa. Fix PR libc/1109.
917
918 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
919
920 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
921
922 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
923
924 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
925 * stdlib/fpioconst.c: Move #endif before end of struct.
926
927 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
928
929 * Versions.def (ld.so): Add GLIBC_2.1.1.
930 * elf/Makefile (routines): Add dl-origin.
931 (tests): Add origtest. Add dependencies for the program.
932 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
933 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
934 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
935 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
936 DT_AUXILIARY, and DT_FILTER filenames.
937 * elf/dl-load.c (expand_dynamic_string_token): Explode into
938 two functions and three macros.
939 (_dl_dst_count, _dl_dst_substitute): New functions.
940 * elf/dl-dst.h: New file.
941 * elf/dl-open.c (_dl_open): Take extra parameter with address of
942 caller. Pass address in args structure.
943 (dl_open_worker): Recognize and expand DSTs in filename.
944 * elf/ldsodefs.h (_dl_open): Adapt prototype.
945 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
946 (__dlopen_check): Pass caller address to dlopen_doit in args.
947 * elf/dlopendoit.c: Likewise.
948 * iconv/gconv_dl.c: Adapt call of _dl_open.
949 * nss/nsswitch.c: Likewise.
950 * elf/origtest.c: New file.
951 * sysdeps/generic/dl-origin.h: Moved to...
952 * sysdeps/generic/dl-origin.c: ...here.
953 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
954 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
955
956 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
957 with specific bases and only few bits set in second word.
958
959 * timezone/Makefile (install-others): Create target directory
960 before creating tzfiles.
961
962 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
963
964 * nis/nis_file.c (readColdStartFile): Allocate memory only after
965 the file is opened successfully.
966
967 * nis/nis_table.c: Fix some memory leaks.
968
969 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
970
971 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
972 variable.
973
974 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
975 around DST. Correctly ignore ORIGIN IN SUID binaries.
976
977 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
978
979 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
980 * sysdeps/generic/strtok.c: Likewise.
981
982 * string/tester.c: Add test of rawmemchr.
983
984 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
985 specification. It's not necessary.
986
987 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
988 * elf/gen-trusted-dirs.awk: New file.
989 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
990 from SYSTEM_DIRS macro.
991 (system_dirs_len): New variable. Contains lengths of system_dirs
992 strings.
993 (fillin_rpath): Rewrite for systems_dirs being a simple string.
994 Improve string comparisons. Change parameter trusted to be a flag.
995 Change all callers.
996 (_dt_init_paths): Improve using new format for system_dirs.
997
998 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
999 $ORIGIN for SUID binaries.
1000
1001 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1002
1003 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1004
1005 * sunrpc/Makefile: Generate dependencies for all flavors of
1006 librpcsvc objects.
1007 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
1008 invocations.
1009
1010 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1011
1012 * elf/dlopenold.c: Move #if down after includes to get
1013 dependencies right.
1014
1015 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1016
1017 * sysdeps/generic/bzero.c: Undefine __bzero.
1018
1019 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1020
1021 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
1022 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
1023 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
1024 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
1025
1026 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
1027 parameter to struct gaih_servtuple *. Adapt appropriately.
1028 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
1029 This fixes a memory leak.
1030 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
1031
1032 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
1033 and fpregset_t definition. They are defined in ucontext.h.
1034
1035 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1036
1037 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
1038 and struct ether_header must be packed on the ARM. The default
1039 alignment constraints add padding to the end of the structures.
1040
1041 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1042
1043 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
1044 default alignment constraints add padding to the end of the
1045 structure and between members.
1046
1047 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1048
1049 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
1050 _dl_cache_libcmp instead of strcmp.
1051
1052 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
1053 fails on a file.
1054 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
1055
1056 1998-03-30 Joel Klecker <espy@debian.org>
1057
1058 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
1059 (sysdep-others,install-bin): Add lddlibc4.
1060
1061 1999-05-02 H.J. Lu <hjl@gnu.org>
1062
1063 * timezone/zic.c (dolink): Remove the symlink destination first.
1064
1065 * catgets/open_catalog.c (__open_catalog): Set catalog->status
1066 to "nonexisting" if failed to open the file.
1067
1068 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
1069
1070 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
1071 gcc3.
1072
1073 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
1074 Prevent warnings from multiplication with 0x01010101 by another cast.
1075
1076 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1077
1078 * string/bits/string2.h (memset): Revert to previous version if
1079 unaligned writes are not available.
1080
1081 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1082
1083 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
1084 better code in presence of the asm.
1085
1086 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1087
1088 * stdlib/fmtmsg.c (keywords): Increase array size for faster
1089 indexing.
1090
1091 * locale/localeinfo.h (_nl_category_names): Increase array element
1092 size for faster indexing.
1093 * locale/setlocale.c (_nl_category_names): Adjusted.
1094
1095 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1096
1097 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
1098
1099 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1100
1101 * sysdeps/m68k/stackinfo.h: New file.
1102
1103 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1104
1105 * string/tester.c (test_strchrnul): New function.
1106 (test_memset): Test one more special case.
1107
1108 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
1109 25% of all cases.
1110
1111 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
1112 base types.
1113
1114 * string/bits/string2.h: Fix bugs I introduced in last change.
1115
1116 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
1117 register stall.
1118 Extend memset optimization.
1119 Correct i686 version of memchr.
1120
1121 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
1122
1123 * sysdeps/i386/bzero.c: Add #undef __bzero.
1124
1125 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
1126 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
1127 exec server simulated a SIGTRAP before we even started up, so gdb is
1128 already happy.
1129
1130 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1131
1132 * nss/digits_dots.c: Always initialize not_ok.
1133
1134 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
1135
1136 * string/bits/string2.h (memset): Avoid arithmetic overflow at
1137 compile time, which produces obnoxious warnings. If GCCv2 is
1138 in use, map __bzero to __builtin_memset to enable that
1139 optimization.
1140
1141 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1142
1143 * string/bits/string2.h: Add more memset optimizations.
1144
1145 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
1146
1147 * resolv/inet_pton.c (inet_pton4): Little optimizations.
1148 (inet_pton6): Likewise.
1149
1150 * nss/getXXbyYY_r.c: Include assert.h.
1151 * nss/getXXbyYY.c: Likewise.
1152
1153 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1154
1155 * termios/tcgetsid.c (tcgetsid): Rename variable to
1156 tiocgsid_does_not_work.
1157
1158 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1159
1160 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
1161
1162 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1163
1164 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
1165 This allows e.g. gethostbyname to accept "10.1234".
1166 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
1167
1168 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
1169 non quad IPv4 numbers.
1170
1171 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1172
1173 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
1174
1175 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1176
1177 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
1178 * argp/argp-parse.c (_argp_hang): Likewise.
1179 * argp/argp-pv.c (argp_program_version): Likewise.
1180 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
1181 * inet/ether_hton.c (ether_hton, startp): Likewise.
1182 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
1183 * inet/getnetgrent_r.c (setup, startp): Likewise.
1184 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
1185 * intl/localealias.c (string_space, string_space_act, string_space_max,
1186 nmap, maxmap): Likewise.
1187 * libio/iopopen.c (proc_file_chain): Likewise.
1188 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
1189 * locale/lc-collate.c (__collate_table, __collate_extra,
1190 __collate_element_hash, __collate_element_strings,
1191 __collate_element_values): Likewise.
1192 * malloc/mcheck.c (mcheck_used): Likewise.
1193 * malloc/mtrace.c (added_atexit_handler): Likewise.
1194 * malloc/set-freeres.c (already_called): Likewise.
1195 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
1196 * misc/syslog.c (LogStat, LogTag): Likewise.
1197 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1198 * nss/getXXbyYY_r.c (startp): Likewise.
1199 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
1200 * posix/regex.c (init_syntax_once) [done]: Likewise.
1201 (debug): Likewise.
1202 * string/strfry.c (init): Likewise.
1203 * sunrpc/svc_run.c (svc_top): Likewise.
1204 * posix/euidaccess.c (have_ids): Likewise.
1205 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
1206 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
1207 * time/getdate.c (getdate_err): Likewise.
1208 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
1209 Likewise.
1210 * time/tzset.c (old_tz, is_initialized): Likewise.
1211
1212 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
1213 of static data with zero.
1214 * signal/allocrtsig.c (init): Likewise.
1215
1216 * string/Makefile (routines): Add strchrnul.
1217 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
1218 * string/string.c: Add strchrnul prototype.
1219 * include/string.h: Add __strchrnul prototype.
1220 * sysdeps/generic/strchrnul.c: New file.
1221 * sysdeps/i386/strchrnul.S: New file.
1222 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
1223 * sysdeps/i386/i486/bits/string.c: Likewise.
1224 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
1225 * inet/ether_line.c (ether_line): Likewise.
1226 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
1227 * nss/nsswitch.c (nss_parse_file): Likewise.
1228 * posix/execvp.c (execvp): Likewise.
1229 * posix/fnmatch.c (internal_fnmatch): Likewise.
1230 * resolv/res_hconf.c (_res_hconv_init): Likewise.
1231 * resolv/res_init.c (res_init): Likewise.
1232 * stdlib/fmtmsg.c (init): Likewise.
1233 * stdlib/getsubopt.c (getsubopt): Likewise.
1234
1235 * catgets/catgets.c (catopen): Only allocate one memory block.
1236 (catclose): Only one free call necessary.
1237
1238 * catgets/open_catalog.c (__open_catalog): Simplify handling of
1239 file descriptor.
1240
1241 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
1242 of real functions. Simplify _tolower and _toupper.
1243
1244 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
1245 variable.
1246
1247 * iconv/gconv.h (struct gconv_info): Change data element from pointer
1248 to array of size 0.
1249 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
1250 * iconv/gconv_close.c (__gconv_close): Don't free data.
1251
1252 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
1253 insert new alias.
1254
1255 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
1256 for error while inserting in tree.
1257
1258 * include/time.h: Pretty print.
1259
1260 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
1261 in table and lots of relocations.
1262 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
1263 string pointers in table and lots of relocations.
1264
1265 * intl/finddomain.c: Remove definition of strchr macro.
1266
1267 * io/ftw.c (nftw_arr, ftw_arr): Make const.
1268
1269 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
1270
1271 * locale/localeinfo.h (_nl_category_names): Change into an array with
1272 fixed width char string elements.
1273 * locale/setlocale.c (_nl_category_names): Likewise.
1274 (_nl_current): Make global.
1275 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
1276
1277 * malloc/Makefile (distribute): Add stackinfo.h.
1278 * sysdeps/generic/stackinfo.h: New file.
1279 * sysdeps/i386/stackinfo.h: New file.
1280 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
1281 * posix/execle.c: Likewise.
1282 * posix/execlp.c: Likewise.
1283
1284 * nis/nis_table.c (__create_ib_request): Always use realloc.
1285
1286 * posix/execvp.c (execute): Rename to script_execute and keep only
1287 code to execute using shell.
1288 (execvp): Call execv directly and only fall back on script_execute.
1289
1290 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
1291 and always use xdigits instead.
1292
1293 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
1294 where appropriate.
1295
1296 * stdlib/fpioconst.h (__tens): New declaration.
1297 (struct mp_power): Remove array, add arrayoff element.
1298 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
1299 __tens array and add in _fpioconst_pow10 offsets into __tens.
1300 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
1301 * stdlib/strtod.c: Likewise.
1302
1303 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
1304
1305 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
1306 of the list.
1307 * stdlib/atexit.c (__exit_funcs): Don't initialize.
1308
1309 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
1310
1311 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
1312 a single and an array with offsets.
1313
1314 * sunrpc/des_soft.c (partab): Make it const.
1315
1316 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
1317 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
1318 (__key_decryptsession_pk_LOCAL): Likewise.
1319 (__key_gendes_LOCAL): Likewise.
1320 (MESSENGER): Mark const.
1321 (key_call_private_main): Don't initialize with 0.
1322 (use_keyenvoy): Don't initialize with 0.
1323 (key_call): Rewrite to reverse logic of use_doors variable.
1324
1325 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
1326 (startp): Don't initialize with zero.
1327
1328 * sunrpc/openchild.c (_openchild): Make first argument const.
1329
1330 * sunrpc/pmap_rmt.c (timeout): Mark const.
1331 * sunrpc/xcrypt.c (hex): Likewise.
1332
1333 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
1334 initialization of global variables.
1335 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1336 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1337 * termios/tcgetsid.c: Likewise.
1338
1339 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
1340 fxsr to osfxsr.
1341
1342 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
1343 block. Add function to free memory if wanted.
1344 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
1345
1346 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
1347
1348 * wcsmbs/wmemset.c: Little code optimization.
1349
1350 1999-04-23 Paul Eggert <eggert@twinsun.com>
1351
1352 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
1353 ifdef _LIBC.
1354
1355 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
1356
1357 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
1358 implementation and just always fail with ENOSYS. This entry point is
1359 obsolete. Add link warning to that effect.
1360
1361 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1362
1363 * hurd/get-host.c: Include <hurd/lookup.h>.
1364
1365 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1366
1367 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
1368 is != NULL.
1369
1370 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1371
1372 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
1373 ISO C9x and Unix98.
1374
1375 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1376
1377 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
1378 Patch by Peter Miller <millerp@canb.auug.org.au>.
1379
1380 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
1381
1382 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
1383 prefers loopback device.
1384
1385 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1386
1387 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
1388 no_leading_period change.
1389
1390 * posix/testfnm.c: More test cases.
1391
1392 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
1393
1394 * include/dirent.h: Remove __getdirentries declaration, add __getdents
1395 and __getdents64.
1396 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
1397 * sysdeps/unix/readdir_r.c: Likewise.
1398 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1399 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1400 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
1401 __getdirentries. Remove fourth argument.
1402 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
1403 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
1404 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
1405 Add getdirentries and getdirentries64.
1406 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
1407
1408 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
1409 pointer in case of an invalid [[: expression.
1410
1411 * posix/testfnm.c: Add more test cases.
1412
1413 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1414
1415 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
1416 set, pass EXEC_SIGTRAP flag in exec RPC.
1417
1418 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1419
1420 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
1421 extra parameter. Fix several more bugs involving wildcard and
1422 ranges.
1423 (fnmatch): New function. Call internal_fnmatch.
1424
1425 * posix/testfnm.c: More test cases.
1426
1427 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1428
1429 * manual/install.texi (Configuring and compiling): Explain that
1430 files are changed in the source directory.
1431 Closes PR libc/981.
1432 (Configuring and compiling): Explain situation with PARALLELMFLAGS
1433 in the source directory.
1434
1435 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1436
1437 * locale/programs/ld-ctype.c: Spelling fixes.
1438 (ctype_finish): Fix argument of error message format.
1439 * locale/programs/ld-messages.c: Spelling fixes.
1440 * locale/programs/ld-monetary.c: Spelling fixes.
1441 * locale/programs/ld-time.c (time_finish): Make sure that name and
1442 format of era_entries are adjacent.
1443 (time_output): Reduce the size of the io vector.
1444
1445 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1446
1447 * manual/filesys.texi (Attribute Meanings): Move a misplaced
1448 paragraph.
1449
1450 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1451
1452 * locale/programs/ld-collate.c (collate_output): Convert
1453 undefined_offset to an array index. Fix computation of other
1454 endian extra table.
1455
1456 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
1457
1458 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
1459 return success with empty value.
1460
1461 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1462
1463 * posix/fnmatch.c: Include string.h also for glibc.
1464 (fnmatch, case '?'): Optimize if cascades a bit.
1465 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
1466
1467 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
1468
1469 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
1470
1471 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
1472 * iconv/gconv_int.h: Declare UTF16 functions.
1473 * iconv/gconv_simple.c: Add UTF16 conversion functions.
1474
1475 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1476
1477 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
1478 be used correctly as parameter for parse_dollars/parse_tilde.
1479
1480 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1481
1482 * manual/conf.texi (Utility Limits): Remove duplicate description
1483 of BC_DIM_MAX.
1484
1485 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
1486
1487 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
1488 outbufend for dst==NULL.
1489
1490 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1491
1492 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
1493 for dst==NULL.
1494 Fixes PR libc/1084.
1495
1496 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
1497 Fixes PR libc/1083.
1498
1499 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
1500
1501 * sunrpc/Makefile: Remove special handling of bootparam.x,
1502 add rpcsvc/bootparam.h to headers.
1503 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
1504 * sunrpc/rpcsvc/bootparam.x: Renamed to...
1505 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
1506
1507 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1508
1509 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
1510 detect and handle invalid descriptors.
1511
1512 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
1513
1514 * timezone/zic.c (dolink): Append complete path not only filename
1515 to ../ list.
1516
1517 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1518
1519 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
1520
1521 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
1522
1523 * iconvdata/gconv-modules: Rename CP874 to IBM874.
1524 * iconvdata/Makefile: Likewise.
1525 * iconvdata/cp874.h: Removed.
1526 * iconvdata/cp874.c: Renamed to...
1527 * iconvdata/ibm874.c: ...this.
1528
1529 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1530
1531 * sysdeps/unix/sysv/linux/bits/types.h: Correct
1532 signed/unsigned-ness of blkcnt and fsblkcnt.
1533 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1534 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1535
1536 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
1537 SOL_AAL, and SOL_IRDA.
1538
1539 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1540
1541 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
1542 include "linux_fsinfo.h".
1543 Based on a patch by H.J. Lu <hjl@gnu.org>.
1544
1545 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
1546
1547 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
1548
1549 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1550
1551 * nscd/cache.c (prune_cache): Only disable file checking for
1552 future if the file does not exist.
1553 Update file_mtime if cache was flushed.
1554
1555 1999-04-15 David S. Miller <davem@redhat.com>
1556
1557 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
1558 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1559
1560 1999-04-15 Scott Bambrough <scottb@netwinder.org>
1561
1562 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
1563 compilation of file.
1564
1565 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1566
1567 * Versions.def: Add GLIBC_2.1.1 to libpthread.
1568
1569 * iconvdata/Makefile (modules): Add KOI8-U.
1570 (distribute): Add koi8-u.c.
1571 (gen-8bit-gap-modules): Add koi8-u.
1572 * iconvdata/gconv-modules: Add KOI8-U entries.
1573 * iconvdata/koi8-u.c: New file.
1574
1575 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
1576
1577 * sunrpc/auth_des.c: 64bit fixes, security fixes.
1578 * sunrpc/auth_none.c: Pretty print.
1579 * sunrpc/auth_unix.c: Likewise.
1580 * sunrpc/authdes_prot.c: Likewise.
1581 * sunrpc/authuxprot.c: Likewise.
1582 * sunrpc/bindrsvprt.c: Likewise.
1583 * sunrpc/clnt_gen.c: Likewise.
1584 * sunrpc/rpc/xdr.h: Likewise.
1585 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
1586 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
1587 * sunrpc/rtime.c: Use new rpc_timeval.
1588 * sunrpc/svc_authux.c: Don't use *long pointers.
1589 * sunrpc/svcauth_des.c: Likewise + security fixes.
1590 * sunrpc/xdr_mem.c: Don't use *long pointers.
1591 * sunrpc/xdr_rec.c: Likewise.
1592 * sunrpc/xdr_sizeof.c: Likewise.
1593 * sunrpc/xdr_stdio.c: Likewise.
1594
1595 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1596
1597 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
1598 so that it is redone for each sending.
1599
1600 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1601
1602 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1603
1604 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1605
1606 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
1607 known to not exist don't try to load shared objects.
1608 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
1609
1610 * nscd/cache.c (prune_cache): The table might not be unused. In
1611 this case do nothing.
1612
1613 * catgets/gencat.c (read_input_file): Don't drop white spaces
1614 between number/identifier and string.
1615 Patch by Dima Barsky <dima@pwd.hp.com>.
1616 If no white space at all follows number/identifier remove existing
1617 message with the number/identifier.
1618
1619 1999-04-14 H.J. Lu <hjl@gnu.org>
1620
1621 * sunrpc/clnt_udp.c (is_network_up): New function.
1622 (clntudp_call): Call is_network_up () to check if any network
1623 interface is up in case of timeout.
1624
1625 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1626
1627 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1628 * wctype/Makefile (tests): Add test_wcfuncs.
1629
1630 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1631
1632 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1633 architectures.
1634 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1635 instead of CFLAGS.
1636 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1637 instead of CFLAGS. For gnulib and string directories use
1638 -Wa,-Av9a gcc ASFLAGS.
1639 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1640 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1641 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1642 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1643 the same way as sparc-*.
1644
1645 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1646
1647 * locale/programs/locfile.c (locfile_read): Fix typo.
1648 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1649
1650 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1651
1652 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1653 restarted after being interrupted by a signal. The parameters on
1654 the stack were corrupted by the signal handler.
1655
1656 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1657 restarted after being interrupted by a signal. The parameters on
1658 the stack were corrupted by the signal handler.
1659
1660 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1661
1662 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1663 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1664
1665 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1666
1667 * posix/wordexp-test.c: In field-splitting test cases where
1668 subshells were involved, unset IFS first: some shells (ash) use
1669 IFS even when no expansion is performed.
1670
1671 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1672
1673 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1674 the real end of the chunk, not some random point inbetween.
1675 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1676 obstack when growing. Use fast version of obstack_blank when
1677 shrinking.
1678 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1679 allocating the vtable pointer.
1680 (_IO_obstack_vprintf): Adjust for above change and avoid
1681 unnecessary casts. Use fast version of obstack_blank when
1682 shrinking.
1683 Fixes PR libc/1075.
1684
1685 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1686
1687 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1688 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1689
1690 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1691
1692 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1693 is seen, as well as fixing semantics. Don't reset the word count
1694 to zero when an invalid character is seen, but leave it as it was
1695 (this makes a difference with WRDE_APPEND).
1696
1697 * posix/wordexp-test.c: More test cases.
1698
1699 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1700 always expand pattern when it is needed. Also, handle quoting in
1701 pattern properly.
1702
1703 1999-04-12 Philip Blundell <philb@gnu.org>
1704
1705 * elf/elf.h: Update ARM definitions to match current gas2.
1706
1707 * sysdeps/arm/bits/endian.h: Support big endian operation.
1708
1709 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1710 Don't bother range checking the port number.
1711
1712 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1713
1714 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1715 the syscall name in assembler output for ease of debugging.
1716
1717 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1718 compiler behaviour.
1719 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1720 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1721 (sysdep_routines): Add sigrestorer.
1722
1723 * string/tester.c (test_strcpy): Add new tests for unaligned
1724 arguments.
1725 * sysdeps/arm/bits/string.h: Delete inline implementations of
1726 strcpy and stpcpy.
1727
1728 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1729
1730 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1731
1732 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1733
1734 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1735
1736 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1737
1738 * iconvdata/Makefile (modules): Add TIS-620.
1739 (distribute): Add tis-620.c.
1740 (gen-8bit-gap-modules): tis-620.
1741 * iconvdata/tis-620.c: New file.
1742 * iconvdata/gconv-modules: Add TIS-620 entries.
1743
1744 * iconvdata/asmo_449.c: Correct comment.
1745
1746 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1747
1748 * manual/install.texi (Configuring and compiling): Comment out
1749 description of --disable-static since this doesn't work currently
1750 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1751
1752 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1753
1754 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1755 use binary search.
1756 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1757
1758 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1759
1760 * scripts/test-installation.pl (installation_problem): Skip
1761 libnss1_* libraries from glibc-compat add-on.
1762
1763 1999-04-07 H.J. Lu <hjl@gnu.org>
1764
1765 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
1766 libstdc++ 2.7.2.
1767 * posix/Versions (__waitpid): Likewise.
1768
1769 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1770
1771 * manual/install.texi (Reporting Bugs): Add section about reported
1772 bugs and correct email address of glibcbug script.
1773
1774 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
1775
1776 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
1777 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
1778 xdr_u_longlong_t. Based on patch from Dan Shechter
1779 <damageboy@isdn.net.il>.
1780 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
1781 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
1782
1783 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
1784
1785 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1786
1787 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
1788 directly if getdents returns with error set.
1789
1790 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1791
1792 * locale/langinfo.h (THOUSEP): Rename second occurence of
1793 THOUSANDS_SEP to THOUSEP.
1794 Reported by Roman Belenov <roman@nstl.nnov.ru>.
1795
1796 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
1797
1798 * hurd/STATUS: File removed. Moved items that are still relevant into
1799 TODO list in hurd source.
1800
1801 1999-03-26 Mark Kettenis <kettenis@gnu.org>
1802
1803 * sysdeps/mach/hurd/bits/time.h: New file.
1804 * sysdeps/mach/hurd/getrusage.c: New file.
1805 * sysdeps/mach/hurd/clk_tck.c: New file.
1806 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
1807 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
1808 (sysdep_routines): Add clk_tck.
1809 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
1810 implemented.
1811
1812 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
1813
1814 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
1815 (closelog): But instead here.
1816 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
1817
1818 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1819
1820 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
1821 the source directory. Fixes PR libc/1059.
1822
1823 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1824
1825 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
1826 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1827
1828 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
1829
1830 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
1831 * iconvdata/testdata/ISO-8859-14: New file.
1832 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
1833 * iconvdata/testdata/ISO-8859-15: New file.
1834 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
1835
1836 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1837
1838 * iconvdata/testdata/CP1258: New file.
1839 * iconvdata/testdata/CP1258..UTF8: New file.
1840 * iconvdata/TESTS: Add CP1258 entry.
1841
1842 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
1843
1844 * timezone/africa: Update from tzdata1999d.
1845 * timezone/europe: Likewise.
1846 * timezone/northamerica: Likewise.
1847
1848 1999-03-31 Mark Kettenis <kettenis@gnu.org>
1849
1850 * login/programs/pt_chown.c (main): Save effective user ID before
1851 dropping priviliges and use this to check if the program is
1852 properly installed.
1853
1854 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
1855
1856 * iconvdata/testdata/CP1254: Update for charmap changes.
1857 * iconvdata/testdata/CP1254..UTF8: Likewise.
1858 * iconvdata/testdata/CP1255: Likewise.
1859 * iconvdata/testdata/CP1255..UTF8: Likewise.
1860 * iconvdata/testdata/CP1256: Likewise.
1861 * iconvdata/testdata/CP1256..UTF8: Likewise.
1862 * iconvdata/testdata/CP1257: Likewise.
1863 * iconvdata/testdata/CP1257..UTF8: Likewise.
1864
1865 * iconvdata/Makefile (distribute): Remove cp1258.h.
1866 (gen-8bit-gap-modules): Add cp1258.
1867 * iconvdata/cp1258.h: Removed.
1868
1869 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1870
1871 * timezone/tst-timezone.c (tests): Add more cases.
1872 (check_tzvars): Mark errors clearer.
1873 (main): Likewise.
1874
1875 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1876
1877 * login/programs/pt_chown.c: Drop privileges if invoked with
1878 arguments. Don't close the master pty.
1879
1880 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
1881
1882 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
1883 Minor optimization.
1884
1885 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
1886
1887 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
1888 relocation for SUID binaries.
1889
1890 1999-03-29 Paul Eggert <eggert@twinsun.com>
1891
1892 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
1893 while in child process.
1894
1895 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
1896
1897 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
1898 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
1899 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
1900 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
1901 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
1902
1903 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
1904 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
1905 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
1906 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
1907 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
1908 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
1909 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
1910 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
1911 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
1912 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
1913 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
1914 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
1915 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
1916 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
1917 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
1918 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
1919 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
1920 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
1921 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
1922 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
1923 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
1924 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
1925 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
1926 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
1927 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
1928 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
1929
1930 * sysdeps/sparc/sparc32/bcopy.c: New file.
1931 * sysdeps/sparc/sparc32/bzero.c: New file.
1932 * sysdeps/sparc/sparc32/memchr.S: New file.
1933 * sysdeps/sparc/sparc32/memcpy.S: New file.
1934 * sysdeps/sparc/sparc32/memmove.c: New file.
1935 * sysdeps/sparc/sparc32/memset.S: New file.
1936 * sysdeps/sparc/sparc32/stpcpy.S: New file.
1937 * sysdeps/sparc/sparc32/strchr.S: New file.
1938 * sysdeps/sparc/sparc32/strrchr.c: New file.
1939 * sysdeps/sparc/sparc32/strcpy.S: New file.
1940 * sysdeps/sparc/sparc32/strlen.S: New file.
1941 * sysdeps/sparc/sparc32/strcat.S: New file.
1942 * sysdeps/sparc/sparc32/strcmp.S: New file.
1943
1944 * sysdeps/sparc/sparc64/bcopy.c: New file.
1945 * sysdeps/sparc/sparc64/bzero.c: New file.
1946 * sysdeps/sparc/sparc64/memchr.S: New file.
1947 * sysdeps/sparc/sparc64/memcmp.S: New file.
1948 * sysdeps/sparc/sparc64/memcpy.S: New file.
1949 * sysdeps/sparc/sparc64/memset.S: New file.
1950 * sysdeps/sparc/sparc64/stpcpy.S: New file.
1951 * sysdeps/sparc/sparc64/strcat.S: New file.
1952 * sysdeps/sparc/sparc64/strchr.S: New file.
1953 * sysdeps/sparc/sparc64/strcmp.S: New file.
1954 * sysdeps/sparc/sparc64/strcpy.S: New file.
1955 * sysdeps/sparc/sparc64/strcspn.S: New file.
1956 * sysdeps/sparc/sparc64/strlen.S: New file.
1957 * sysdeps/sparc/sparc64/strncpy.S: New file.
1958 * sysdeps/sparc/sparc64/strpbrk.S: New file.
1959 * sysdeps/sparc/sparc64/strrchr.c: New file.
1960 * sysdeps/sparc/sparc64/strspn.S: New file.
1961 * sysdeps/sparc/sparc64/stpncpy.S: New file.
1962 * sysdeps/sparc/sparc64/strncmp.S: New file.
1963
1964 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
1965 Append -fPIC, don't replace.
1966
1967 * configure.in: Recognize sparcv8plus / sparcv9.
1968
1969 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1970
1971 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
1972 char * to avoid C++ warning.
1973 Patch by yasushi@cs.washington.edu [PR libc/1035].
1974
1975 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1976
1977 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
1978 declared in stdlib.h, correct return value of mkstemp.
1979 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
1980
1981 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
1982 from Linux 2.2.5.
1983
1984 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1985
1986 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
1987 C++ warning.
1988
1989 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
1990 inline functions. Closes PR libc/1049.
1991
1992 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1993
1994 * timezone/README: Update from tzdata1999c and tzcode1999c.
1995
1996 * timezone/africa: Update from tzdata1999c.
1997 * timezone/antarctica: Likewise.
1998 * timezone/asia: Likewise.
1999 * timezone/australasia: Likewise.
2000 * timezone/europe: Likewise.
2001 * timezone/northamerica: Likewise.
2002 * timezone/southamerica: Likewise.
2003 * timezone/zone.tab: Likewise.
2004
2005 * timezone/zic.c: Update from tzcode1999c.
2006
2007 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2008
2009 * Makerules: Add $(common-objpfx)Versions.all to common-generated
2010 outside of ifndef avoid-generated.
2011
2012 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
2013 in iofdopen.c.
2014 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
2015 iofopen.c.
2016 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
2017 in iofclose.c.
2018 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
2019 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
2020
2021 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2022
2023 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
2024 if we build the profiled library.
2025
2026 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2027
2028 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
2029 Jaeger <aj@arthur.rhein-neckar.de>
2030
2031 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
2032
2033 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
2034 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
2035 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
2036
2037 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
2038
2039 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
2040 works properly in subdirs.
2041
2042 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
2043
2044 * sysdeps/mach/hurd/Makefile: Undo last change.
2045 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
2046 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
2047
2048 * mach/Machrules (+preinit, +postinit, +interp,
2049 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
2050 linked just like other shared libraries.
2051 (interface.so): Fix typo in defn, so it works.
2052 ($(objpfx)$(interface.so)): Make it depend on libc.so.
2053
2054 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
2055
2056 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
2057 $(link-rpcuserlibs).
2058
2059 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2060
2061 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
2062 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
2063 targets if not building shared libraries.
2064
2065 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2066
2067 * configure.in: Also look in $PATH when searching for
2068 install-info. Remove autoconf bug workaround and require autoconf
2069 2.13.
2070
2071 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2072
2073 * db/Makefile: Don't try to install shared library link if not
2074 building with shared libs.
2075
2076 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2077
2078 * rt/Makefile: Link against static library if no shared lib is
2079 available.
2080
2081 * localedata/Makefile: The shells scripts implementing the test
2082 require the dynamic linker which is not available with
2083 --disable-shared. Skip the test if --disable-shared is given.
2084
2085 * linuxthreads/Makefile: Link test against static libpthread if no
2086 shared lib is available.
2087
2088 * iconvdata/Makefile (tests): Run iconv-test only if we're
2089 building shared libraries.
2090 * elf/Makefile (tests): Likewise for elf tests.
2091
2092 * posix/Makefile: The test frameworks globtest and wordexp-test
2093 require the dynamic linker which is not available with
2094 --disable-shared. Skip the test if --disable-shared is given.
2095
2096 * grp/Makefile (otherlibs): For static nss build link against
2097 necessary libs.
2098
2099 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2100
2101 * debug/Makefile (install-bin): Install and build catchsegv only
2102 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
2103 libc/965].
2104
2105 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2106
2107 * time/tzfile.c (__tzfile_read): Handle the case where there are
2108 transitions but no DST.
2109
2110 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
2111
2112 * mach/Machrules (extra-libs-others): Add $(interface-library) here
2113 too, so it gets built in the others pass rather than the lib pass.
2114 This is necessary since the RPC libraries need to be linked against
2115 libc.
2116
2117 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
2118
2119 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
2120 _itoa_word decl.
2121
2122 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
2123 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
2124 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
2125 versions of lib{mach,hurd}user.so without reference to libc.so,
2126 then link libc.so against that to get deps and symbol versions, then
2127 finally link real lib*user.so against libc.so.
2128
2129 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
2130 Support whole-file locking (only) by using the file_lock RPC. This
2131 has very wrong semantics, but is better than nothing for the time
2132 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
2133 protocols that will be somewhat hairy to specify.)
2134
2135 1999-03-17 Mark Kettenis <kettenis@gnu.org>
2136
2137 * sysdeps/mach/hurd/ptsname.c: New file.
2138
2139 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2140
2141 * timezone/asia: Fix rule in Asia/Nicosia entry.
2142
2143 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2144
2145 * manual/getopt.texi (Using Getopt): Explain "::" in option
2146 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
2147
2148 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
2149
2150 * sunrpc/clnt_unix.c: Fix creation of parameters for
2151 sendmsg/recvmsg on non intel platforms.
2152 * sunrpc/svc_unix.c: Likewise.
2153
2154 1999-03-18 Philip Blundell <philb@gnu.org>
2155
2156 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
2157 implementation.
2158
2159 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2160
2161 * timezone/africa: Update from tzdata1999b.
2162 * timezone/asia: Likewise.
2163 * timezone/australasia: Likewise.
2164 * timezone/europe: Likewise.
2165 * timezone/northamerica: Likewise.
2166 * timezone/southamerica: Likewise.
2167 * timezone/zone.tab: Likewise.
2168
2169 * timezone/README: Mention tzdata1999b.
2170
2171 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
2172
2173 * sysdeps/generic/segfault.c (write_strsignal): New function.
2174 (catch_segfault): Use it instead of calling strsignal.
2175
2176 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2177
2178 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
2179 char to avoid warning.
2180
2181 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2182
2183 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
2184
2185 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
2186 outbuf to unsigned char to avoid warning.
2187
2188 1999-03-11 David S. Miller <davem@redhat.com>
2189
2190 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
2191 masks.
2192 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2193
2194 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2195
2196 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
2197 `unsigned char'.
2198 (gconv_step_data): Likewise.
2199 * iconv/gconv_int.h (__gconv): Likewise.
2200 (__BUILINT_TRANS): Likewise.
2201 * iconv/gconv.c (__gconv): Likewise.
2202 * iconv/iconv.c (iconv): Add casts for call of __gconv.
2203 * iconv/skeleton.c: Change local parameters and variable from `char' to
2204 `unsigned char'. Remove casts from calls into modules.
2205 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
2206 `char' to `unsigned char'.
2207 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
2208 * wcsmbs/mbrtowc.c: Likewise.
2209 * wcsmbs/mbsnrtowcs.c: Likewise.
2210 * wcsmbs/mbsrtowcs.c: Likewise.
2211 * wcsmbs/wcrtomb.c: Likewise.
2212 * wcsmbs/wcsnrtombs.c: Likewise.
2213 * wcsmbs/wcsrtombs.c: Likewise.
2214 * wcsmbs/wctob.c: Likewise.
2215
2216 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2217
2218 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
2219 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
2220 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
2221 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
2222 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
2223 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
2224
2225 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2226
2227 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
2228 _hurd_select if TIMEMOUT is -1.
2229
2230 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2231
2232 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
2233
2234 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2235
2236 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
2237 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
2238
2239 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2240
2241 * manual/libc.texinfo: Undo last change for now.
2242
2243 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2244
2245 * intl/locale.alias: Add entries for Croatian.
2246 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
2247
2248 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2249
2250 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
2251 if the opened master pty really is a pty. `isatty' checks for
2252 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
2253 if we are out of pty's.
2254
2255 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2256
2257 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
2258 opened file is closed on exec.
2259 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
2260 opened socket.
2261
2262 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2263
2264 * manual/llio.texi (File Position Primitive): Reformat @end
2265 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
2266
2267 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
2268
2269 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
2270 entry is found.
2271 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2272 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2273
2274 * locale/programs/localedef.c (main): Initialize `cat' to please
2275 the compiler.
2276
2277 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
2278
2279 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
2280 check for root-owned symlinks and reject them too.
2281
2282 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2283
2284 * stdio-common/printf_fphex.c: Move to ...
2285 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
2286 extended precision number.
2287 * sysdeps/m68k/printf_fphex.c: New file.
2288
2289 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2290
2291 * manual/stdio.texi: Fix typos.
2292
2293 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
2294
2295 * version.h (VERSION): Bump to 2.1.1.
2296
2297 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
2298
2299 * nis/ypclnt.c: Try only twice to connect to NIS server.
2300
2301 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2302
2303 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
2304
2305 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2306
2307 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
2308 (DENORM_EXP): New define. Use it as the exponent for a denormal.
2309 * stdlib/strtold.c: Moved to ...
2310 * sysdeps/generic/strtold.c: ... here.
2311 * sysdeps/m68k/strtold.c: New file.
2312
2313 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2314
2315 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
2316 point if the precision is zero, even if the mantissa is non-zero.
2317
2318 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2319
2320 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
2321 arguments into the request message buffer inside `send_rpc'
2322 subfunction. We must repeat the marshalling when retrying the RPC
2323 after a SIGTTOU delivery.
2324
2325 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
2326 path when there is no ctty port.
2327 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2328 Move sigstate check inside loop so we recheck after handling a signal.
2329
2330 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2331
2332 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
2333 O_EXLOCK are BSD extensions.
2334 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
2335
2336 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
2337
2338 * manual/signal.texi (Termination in Handler): Correct example.
2339 Install default handler before reraising the signal.
2340 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
2341
2342 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
2343
2344 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
2345 null, in which case send an empty string.
2346
2347 1999-03-02 Mark Kettenis <kettenis@gnu.org>
2348
2349 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
2350 backward compatibility EH functions to be linked when using
2351 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2352
2353 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2354
2355 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
2356 /dev/pts status may change during runtime.
2357
2358 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2359
2360 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
2361 change. /dev/pts status can change during runtime.
2362
2363 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
2364
2365 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
2366 poll reports error.
2367 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
2368 add some more sanity checks.
2369 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
2370 parser prototype.
2371
2372 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
2373
2374 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
2375 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
2376 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
2377 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
2378 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
2379 for x_getint32.
2380 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
2381 * nis/nis_print.c: Fix ctime argument for platforms where
2382 sizeof (time_t) != sizeof (int).
2383
2384 1999-03-07 Mark Kettenis <kettenis@gnu.org>
2385
2386 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
2387 CLOCKS_PER_SEC instead of CLK_TCK.
2388
2389 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
2390
2391 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
2392 whether /dev/pts is available.
2393 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
2394 dev_pts_available.
2395
2396 * posix/globtest.sh: Make common_objpfx path absolute and and db2
2397 and hesiod directory to library path [PR libc/1007].
2398
2399 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2400
2401 * resolv/inet_addr.c (inet_aton): Don't allow componets >
2402 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
2403
2404 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
2405
2406 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
2407 DT_PLTGOT has already been relocated.
2408 (__elf_machine_fixup_plt): Likewise.
2409 Minor cleanups.
2410
2411 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
2412
2413 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
2414
2415 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
2416
2417 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
2418 and fold string to uppercase [PR libc/1005].
2419
2420 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2421
2422 * elf/dl-load.c (lose): Fix return type.
2423
2424 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
2425
2426 * sysdeps/mach/hurd/bits/fcntl.h
2427 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
2428 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
2429 set O_NOTRANS as well.
2430 (__hurd_file_name_lookup_retry): At successful end of lookup,
2431 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
2432 it is a translated node not owned by root.
2433 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
2434 on the file name passed to LOOKUP.
2435
2436 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
2437
2438 * manual/time.texi (High Resolution Timer): Correct computation in
2439 example. Reported by jjf@devel.cemsys.com.
2440
2441 1999-03-02 Philip Blundell <pb@nexus.co.uk>
2442
2443 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2444 entry is already relocated.
2445
2446 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2447
2448 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
2449 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
2450
2451 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2452
2453 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
2454 uc_link which is the right name according to Unix98.
2455 Reported by Craig Metz [PR libc/1001].
2456 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
2457 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
2458 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
2459 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
2460 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
2461 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
2462
2463 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2464
2465 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
2466 @ifinfo.
2467
2468 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2469
2470 * iconvdata/Makefile: Always include iconv-rules, but disable rule
2471 to regenerate it if avoid-generated.
2472
2473 * Makeconfig: Always include sys-dirs, but disable rule to
2474 regenerate it when avoid-generated.
2475
2476 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
2477 rule to generate sysd-syscalls.
2478
2479 * elf/Makefile (generated): Remove $(objpfx) from names.
2480
2481 1999-02-28 Mark Kettenis <kettenis@gnu.org>
2482
2483 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
2484 actual length if the adress length is smaller than the input
2485 value. Change type of *LEN paramater to socklen_t.
2486 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
2487 * sysdeps/mach/hurd/accept.c (accept): Likewise.
2488 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2489 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
2490 paramater to socklen_t.
2491
2492 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
2493
2494 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
2495 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
2496 with the RPC.
2497
2498 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2499
2500 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
2501 __get_phys_pages): Cast &HBI to silence warning.
2502
2503 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
2504 * hurd/hurdchdir.c: New file.
2505 * hurd/hurdfchdir.c: New file.
2506 * sysdeps/mach/hurd/chroot.c: Call
2507 _hurd_change_directory_port_from_name to do the work.
2508 * sysdeps/mach/hurd/chdir.c: Likewise.
2509 * sysdeps/mach/hurd/fchdir.c: Call
2510 _hurd_change_directory_port_from_fd to do the work.
2511 * hurd/fchroot.c: Likewise.
2512 * hurd/hurd.h: Declare them.
2513
2514 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
2515
2516 * elf/dl-load.c (lose): Add more comments to explain the `why'.
2517 (_dl_map_object): Remove redundant test.
2518
2519 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2520
2521 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
2522 try to _hurd_port_free a lower-numbered descriptor that was not in any
2523 fd_set.
2524
2525 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2526
2527 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
2528 declaration for ____wcstod_l_internal.
2529
2530 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
2531 __strtod_internal prototype.
2532 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
2533 (____strtold_l_internal): Add prototype declaration.
2534 (__strtold_l): Call correct function.
2535
2536 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
2537
2538 * elf/elf.h: Add 32bit HPPA definitions.
2539
2540 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2541
2542 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
2543 non-checked heap is restored when malloc checking was requested by
2544 the user.
2545 (struct malloc_state): Add using_malloc_checking.
2546 (MALLOC_STATE_VERSION): Increment minor.
2547 (using_malloc_checking, disallow_malloc_check): New variables.
2548 (__malloc_check_init): Use them.
2549 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
2550 that it can the chunk is properly instrumented when malloc
2551 checking is enabled. Set the new using_malloc_checking field.
2552 (malloc_hook_ini): Correct signature when _LIBC is not defined.
2553
2554 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2555
2556 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2557 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
2558 time.
2559
2560 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
2561 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
2562 if ld.so is the main program.
2563
2564 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
2565
2566 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
2567 large for work_buffer, allocate new buffer.
2568 (printf_unknown): Likewise. [PR libc/988]
2569
2570 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2571
2572 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
2573 instead of stat and fstat.
2574 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2575
2576 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2577
2578 * elf/dl-error.c (_dl_signal_cerror): New function.
2579 (_dl_signal_error): Don't call receiver function.
2580 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
2581 instead of _dl_signal_error when reporting references to undefined
2582 symbols or versions.
2583 (_dl_lookup_versioned_symbol): Likewise.
2584 (_dl_lookup_versioned_symbol_skip): Likewise.
2585 * elf/dl-version.c (match_symbol): Likewise.
2586
2587 * elf/ldsodefs.h: Declare _dl_signal_cerror.
2588
2589 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2590
2591 * misc/getttyent.c (getttyent): Release lock on stream later to
2592 also protect global variable zapchar.
2593
2594 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
2595 __times [PR libc/990].
2596
2597 1999-02-21 David S. Miller <davem@redhat.com>
2598
2599 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
2600 parentheses in Feb 2 changes.
2601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2602
2603 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2604
2605 * sysdeps/generic/glob.c (glob): Save previous errno.
2606
2607 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
2608
2609 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
2610 lookup functions if it is too small.
2611
2612 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2613
2614 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2615 for tracing to the scope lists.
2616 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2617 DT_SYMTAB is always available according to ELF spec.
2618
2619 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2620 call test whether there is any scope left.
2621 (_dl_lookup_versioned_symbol_skip): Likewise.
2622
2623 * elf/Makefile (distribute): Add do-lookup.h.
2624 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2625 * elf/dl-lookup.c: Move do_lookup function in separate file and
2626 include the file twice, for handling versioning and without it.
2627
2628 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2629 entry is already relocated.
2630 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2631 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2632 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2633 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2634 Likewise.
2635 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2636 Likewise.
2637 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2638 Likewise.
2639
2640 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2641 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2642 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2643 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2644 rel and rela relocations can both happen and skip one test if this
2645 is not possible.
2646 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2647 appropriately.
2648 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2649 already relocated.
2650 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2651 relocated.
2652 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2653 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2654 (_dl_map_object): DT_STRTAB entry is already relocated.
2655 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2656 already relocated.
2657 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2658 relocated.
2659 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2660 DT_VERSYM entries are already relocated.
2661 (profile_fixup): Likewise.
2662 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2663 all users.
2664 (match_symbol): DT_STRTAB entry is already relocated.
2665 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2666 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2667 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2668 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2669 (find_needed): DT_STRTAB entry is already relocated.
2670 (dl_main): Pass extra argument to elf_get_dynamic_info.
2671 DT_STRTAB entry is already relocated.
2672 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2673 DT_PLTGOT entries are already relocated.
2674 (elf_machine_rela): Likewise for DT_SYMTAB.
2675 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2676 relocated.
2677 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2678 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2679 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2680 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2681 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2682 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2683 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2684 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2685
2686 * grp/initgroups.c (initgroups): If function in current module was
2687 successful don't stop but continue to process to get all the groups.
2688
2689 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2690 _dl_pf_to_proot array to convert p_flags value.
2691 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2692
2693 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2694 loop to clear `info'.
2695
2696 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2697 do the work and don't use inline assembler.
2698
2699 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2700
2701 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2702 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2703 noreturn, and prevent it from being inlined.
2704 Define LOSE appropriately.
2705 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2706 Optimize decoding of p_flags for certain platforms.
2707
2708 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2709
2710 * Makeconfig (link-libc): When doing a static link, make sure that
2711 libgcc.a is included both before and after libc.a.
2712
2713 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2714
2715 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2716 sp_warn, sp_inact, sp_expire and sp_flag.
2717
2718 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2719
2720 * elf/link.h (link_map): Add l_dev and l_ino.
2721 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2722 loaded shared object with all loaded objects. Initialize l_ino
2723 and l_dev in case it's new.
2724 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2725 object.
2726 * elf/Makefile: Compile and run new test.
2727 * elf/multiload.c: New file.
2728
2729 * nss/nsswitch.h (service_user): Change name field from const char *
2730 to char[0].
2731 (name_database_entry): Likewise.
2732 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2733 for change of `service_user'.
2734 (nss_getline): Adjust memory allocation for change of
2735 `name_database_entry'.
2736
2737 * catgets/catgets.c: Correctly handle NLSPATH from environment
2738 [PR libc/980].
2739
2740 * io/Makefile (routines): Add lock64.
2741 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2742 * sysdeps/generic/lockf64.c: New file.
2743
2744 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2745
2746 * string/bits/string2.h: Only use strncmp optimization if count
2747 argument is constant.
2748
2749 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2750
2751 * sysdeps/mach/hurd/revoke.c: New file.
2752
2753 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2754
2755 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2756 int to avoid warning about `ISO C restricts enumerator values to
2757 range of `int''.
2758
2759 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2760
2761 * elf/dlfcn.h: Fix typo.
2762 * sysdeps/generic/bits/dlfcn.h: Likewise.
2763 * sysdeps/mips/bits/dlfcn.h: Likewise.
2764
2765 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2766
2767 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
2768 for the case N == 0.
2769
2770 * db2/Makefile (distribute): Add LICENSE.
2771
2772 1999-02-03 Jeff Bailey <jbailey@nisa.net>
2773
2774 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
2775 generated files.
2776
2777 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
2778
2779 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2780
2781 * time/mktime.c: Use ISO C form for function definitions and
2782 remove unnecessary prototypes.
2783
2784 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
2785
2786 * time/time.h: Avoid unneccesary #ifdef.
2787
2788 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
2789
2790 * stdio-common/_itoa.c (_itoa): Correct parameters to
2791 udiv_qrnnd_preinv.
2792
2793 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2794
2795 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
2796 before (e.g. in glob.h).
2797 Closes PR libc/959.
2798
2799 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2800
2801 * sysdeps/mips/fpu_control.h: Fix typo.
2802 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
2803 Remove __setfpucw.
2804
2805 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
2806
2807 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
2808 the "unused" ends of the sockets. Let pipes be bidirectional.
2809
2810 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2811
2812 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
2813 invalid ai_flags.
2814
2815 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2816
2817 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
2818 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
2819
2820 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
2821 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
2822
2823 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
2824
2825 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
2826
2827 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2828
2829 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
2830 check for priority mask.
2831
2832 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
2833
2834 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
2835 Reported by Craig Metz <cmetz@inner.net> .
2836
2837 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2838
2839 * stdio-common/Makefile (tests): tllformat added.
2840
2841 * stdio-common/tllformat.c: New program, based on tiformat.c with
2842 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2843
2844 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2845
2846 * posix/test-vfork.c: Fix exit status test.
2847
2848 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2849
2850 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
2851 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
2852
2853 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2854
2855 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
2856 of separare explicit comparisons.
2857
2858 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2859
2860 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
2861 defined.
2862
2863 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
2864 defined.
2865
2866 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2867
2868 * po/el.po: Update from translation team.
2869
2870 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2871
2872 * intl/locale.alias: Fix slovenian entry [PR libc/948].
2873
2874 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2875
2876 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
2877 * inet/ruserpass.c: Likewise.
2878 * locale/programs/stringtrans.c: Likewise.
2879 * locale/programs/localedef.c: Likewise.
2880 * nscd/grpcache.c: Likewise.
2881 * nss/nss_files/files-XXX.c: Likewise.
2882 * stdlib/canonicalize.c: Likewise.
2883 * sysdeps/posix/sigwait.c: Likewise.
2884
2885 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2886
2887 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
2888 even on 64 bit platforms.
2889
2890 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2891 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
2892
2893 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
2894
2895 * intl/dcgettext.c: Include locale.h is available.
2896
2897 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2898
2899 * po/nl.po: Update from translation team.
2900
2901 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
2902
2903 * Makefile: Allow calling goals for po subdir.
2904
2905 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
2906 signal definitions.
2907
2908 * po/el.po: New file.
2909
2910 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2911
2912 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
2913 when processing DT_SYMBOLIC objects.
2914
2915 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2916
2917 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
2918 program headers without PT_PHDR only require that they are
2919 contained within one of the loaded segments. Don't use assert,
2920 since that would be a bug in the object, not the dynamic linker.
2921
2922 1999-02-08 Richard Henderson <rth@cygnus.com>
2923
2924 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
2925 restore all call-clobbered fp regs.
2926
2927 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
2928
2929 * po/cs.po: New file.
2930
2931 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
2932 SUID binaries.
2933
2934 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2935
2936 * signal/signal.h: Don't declare __libc_allocate_rtsig.
2937 * include/signal.h: Declare __libc_allocate_rtsig here.
2938
2939 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
2940 point functions, not do_lookup since the later can be called more
2941 than once.
2942
2943 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
2944
2945 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
2946 macro, so that architectures which need to add some special
2947 offset to stack pointer can share this file.
2948
2949 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
2951 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
2952 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
2953
2954 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
2955 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
2956 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
2957 between sparc32 and sparc64.
2958
2959 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
2960 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
2961 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
2962 between sparc32 and sparc64.
2963
2964 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
2965 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
2966 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
2967 between sparc32 and sparc64.
2968
2969 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
2970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
2971 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
2972 between sparc32 and sparc64.
2973
2974 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
2975
2976 * Versions.def: New version GLIBC_2.1.1 for libc.
2977 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
2978 * stdlib/labs.c: Moved to...
2979 * sysdeps/generic/labs.c: ...here.
2980 * stdlib/llabs.c: Moved to...
2981 * sysdeps/generic/llabs.c: ...here.
2982 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
2983 header. Declare _Exit.
2984 * sysdeps/generic/_exit.c: Add alias _Exit.
2985 * sysdeps/mach/hurd/_exit.c: Likewise.
2986 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
2987 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
2988 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
2989 * sysdeps/unix/_exit.c: Likewise.
2990 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
2991 imaxdiv and imaxabs. Declare lldiv_t if necessary.
2992 * sysdeps/wordsize-64/inttypes.h: Likewise.
2993 * sysdeps/wordsize-32/llabs.c: New file.
2994 * sysdeps/wordsize-32/lldiv.c: New file.
2995 * sysdeps/wordsize-64/labs.c: New file.
2996 * sysdeps/wordsize-64/ldiv.c: New file.
2997 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
2998 * manual/startup.texi: Document _Exit.
2999
3000 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3001
3002 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
3003
3004 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
3005
3006 * Versions.def: Add versions for ld.so.
3007 * csu/Versions: Remove __libc_stack_end here.
3008 * elf/Versions: Split libc definitions in libc and ld.so definitions.
3009 * elf/Makefile (ld-map): Change to ld.so.map.
3010 * scripts/versions.awk: Recognize dot in library names.
3011
3012 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
3013 Don't use __tolower and __toupper in inline functions.
3014 Add optimizing macros for tolower and toupper.
3015 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
3016 (_toupper): Don't use __toupper.
3017 * ctype/ctype.c (tolower): Don't use __tolower.
3018 (toupper): Don't use toupper.
3019
3020 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
3021
3022 * resolv/Versions (libresolv): Export __ns_name_unpack and
3023 __ns_name_ntop.
3024 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
3025 make it global. Change all users. Similar for ns_name_ntop.
3026 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
3027 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
3028 directly to detect too small buffer.
3029 * resolv/nss_dns/dns-network.c: Likewise.
3030
3031 * stdio-common/Makefile (tests): Add scanf12.
3032 * stdio-common/scanf12.c: New file.
3033 * stdio-common/scanf12.input: New file.
3034 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
3035 floating-point correctly if the number is invalid.
3036
3037 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
3038 functions.
3039 * stdio-common/printf_fp.c: Likewise.
3040 * stdio-common/printf_fphex.c: Likewise.
3041 * stdio-common/vfprintf.c: Likewise.
3042
3043
3044 See ChangeLog.9 for earlier changes.