]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
7d6a8338
UD
11998-11-23 Ulrich Drepper <drepper@cygnus.com>
2
3 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
4 Patch by Zack Weinberg.
5
6 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
7
8 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
9 __USE_ISOC9X is defined. Provide rint optimization.
10
111998-11-21 H.J. Lu <hjl@gnu.org>
12
13 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
14 popen, pclose): Add to GLIBC_2.1.
15
16 * libio/Makefile (routines): Add oldiopopen and oldpclose.
17 (shared-only-routines): Likewise.
18
19 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
20 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
21 _IO_proc_close): Likewise.
22
23 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
24 __old_pclose): New prototypes.
25
26 * libio/libioP.h (_IO_new_file_jumps): Removed.
27 (_IO_old_proc_jumps): Added.
28 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
29
30 * libio/oldiopopen.c: New file.
31
32 * libio/oldpclose.c: New file.
33
341998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
35
36 * nss/Makefile: Build and install getent.
37 * nss/getent.c: New, get entries from administrative database.
38
1521f3a5
RM
391998-11-22 Roland McGrath <roland@baalperazim.frob.com>
40
41 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
42 for the per-thread variables of the main user thread to make it
43 possible to use malloc as soon as _hurd_preinit_hook has been run.
44 For cthreads, copy values to new stack from there.
45 For non-cthreads, malloc threadvar array here and copy from temp space.
46 (init1): No longer initialize threadvars here.
47 (doinit1): Made static void at top level.
48 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
49 inline a function that uses dynamic auto arrays.
50
5edb9387
UD
511998-11-20 Ulrich Drepper <drepper@cygnus.com>
52
d89e7a96
UD
53 * version.h (VERSION): Bump to 2.0.103.
54
5edb9387
UD
55 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
56 same method.
57 * configure.in: Don't define AR and RANLIB here.
58
59 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
60 host name res_hconf code.
61 * inet/gethstbynm_r.c: Likewise.
62 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
63 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
64 defined execute the code.
65 * resolv/Makefile (routines): Add res_hconf.
66 (headers): Add res_hconf.h.
67 * resolv/res_hconf.c: Pretty print.
68 * resolv/res_hconf.h: Likewise.
69
701998-11-20 Ulrich Drepper <drepper@cygnus.com>
71
72 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
73 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
74
751998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
76
77 * math/libm-test.c: Raise some epsilons a bit.
78
791998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
80
81 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
82
831998-11-20 Ulrich Drepper <drepper@cygnus.com>
84
85 * Makefile (distribute): Add scripts/gen-sorted.awk.
86
bece5ca7
UD
871998-11-19 Ulrich Drepper <drepper@cygnus.com>
88
89 * posix/regex.c (regex_compile): Handle extra long class names
90 correctly.
91
50463d27
UD
921998-11-19 Geoff Keating <geoffk@ozemail.com.au>
93
94 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
95 correctly.
96
1da99555
UD
971998-11-19 Ulrich Drepper <drepper@cygnus.com>
98
b0428320
UD
99 * misc/error.c: Undo last change.
100
1da99555
UD
101 * ctype/Versions: Add _tolower and _toupper.
102
f1317ef5
UD
1031998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
104
105 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
106 POLLNVAL.
107
bb41a976
UD
1081998-11-19 Ulrich Drepper <drepper@cygnus.com>
109
110 * Makeconfig: Add comment to all-subdirs definition.
111 Add rule to generate sysd-sorted. Include this file and and set
112 subdirs value to $(sorted-subdirs).
113 * scripts/gen-sorted.awk: New file.
114 * Make-dist (+tsrcs): Add Depend.
115 * nscd/Depend: New file.
116 * nss/Depend: New file.
117 * rt/Depend: New file.
118
090ca000
UD
1191998-11-18 Ulrich Drepper <drepper@cygnus.com>
120
dfd2464b
UD
121 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
122 passed file descriptor exceeds the size determined by
123 getdtablesize.
124
125 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
126 from inline version in bits/socket.h.
127
128 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
129 inline function only is __USE_EXTERN_INLINES is defined.
130
131 * time/strftime.c (my_strftime): Make code a bit clearer.
132 Patch by Paul Eggert <eggert@twinsun.com>.
133
090ca000
UD
134 * io/Makefile (CFLAGS-ftw.c): Removed.
135
b0428320 136 * manual/errno.texi: Change the short text for ENODEV to
bb41a976
UD
137 "No such device".
138
090ca000
UD
1391998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
140
141 * io/Makefile (tests): Make sure that the test program has an
142 explicit directory part.
143
1441998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
145
146 * configure.in: Fix last change.
147
1481998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
149
150 * sunrpc/Makefile (routines): Add create_xid.
151
152 * sunrpc/clnt_tcp.c: Use non-guessable xid.
153 * sunrpc/clnt_udp.c: Likewise.
154 * sunrpc/clnt_unix.c: Likewise.
155 * sunrpc/pmap_rmt.c: Likewise.
156 * sunrpc/create_xid.c: New, create non-guessable xid.
157
158 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
159 of select.
160 * sunrpc/svc_unix.c: Use poll instead of select.
161
d8cceb4f
UD
1621998-11-17 Ulrich Drepper <drepper@cygnus.com>
163
45a9a50e 164 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
dfd2464b 165 by removing SIG_IGN handler for SIGCHLD if necessary.
45a9a50e
UD
166 Patch by H.J. Lu <hjl@lucon.org>.
167
d8cceb4f
UD
168 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
169 of denormalized numbers.
170
1711998-10-06 Geoff Keating <geoffk@ozemail.com.au>
172
173 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
174 another parentheses warning, make nano-optimisation.
175
176 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
177 saved LR on stack so _mcount works.
178 (_dl_prof_resolve): Likewise.
179 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
180 signal handler calling convention.
181 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
182 correct signal handler calling convention---more like x86 linux and
183 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
184
1851998-11-17 Ulrich Drepper <drepper@cygnus.com>
186
187 * configure.in: Correct allowed makeinfo version.
188
1891998-11-17 Philip Blundell <pb@nexus.co.uk>
190
191 * sysdeps/generic/bits/mathdef.h: Fix typo.
192
cae88996
UD
1931998-11-17 Geoff Keating <geoffk@ozemail.com.au>
194
195 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
196 under the right name (squish warning).
197 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
198
1991998-11-17 Geoff Keating <geoffk@ozemail.com.au>
200
201 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
202 prevent warnings.
203
9d1efe33
UD
2041998-11-16 Ulrich Drepper <drepper@cygnus.com>
205
d8cceb4f 206 * intl/locale.alias: Change `japanese' alias to match X11R6's.
9d1efe33
UD
207 Add `japanese.euc' alias.
208
209 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
210 before running makeinfo.
211
212 * math/Makefile (libm-routines): $(strip) entire value.
213
214 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
215
2161998-10-24 H.J. Lu <hjl@gnu.org>
217
218 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
219 (_IO_cookie_file): Likewise.
220
2211998-11-16 Philip Blundell <philb@gnu.org>
222
223 * inet/netinet/icmp6.h: Correct naming of constants.
224
8b7fb588
UD
2251998-11-16 Ulrich Drepper <drepper@cygnus.com>
226
227 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
228 zero value as uninitialized so that variable can go into .bss.
229
230 * dirent/opendir-tst1.c: Print error strings to stdout.
231
232 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
233 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
234 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
235 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
236 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
237
2381998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
239
240 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
241 range.
242
2431998-11-16 Ulrich Drepper <drepper@cygnus.com>
244
245 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
246 (fwrite_unlocked): Likewise.
247
2481998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
249
250 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
251 twice. Don't bother handling zero size.
9d1efe33 252 (fwrite_unlocked): Likewise.
8b7fb588
UD
253
2541998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
255
256 * configure.in: Fix regex for makeinfo version string.
257
2581998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
259
260 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
261 warning.
262 * sunrpc/rpc_svcout.c (write_program): Likewise.
263
2641998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
265
266 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
267
2681998-11-16 Ulrich Drepper <drepper@cygnus.com
269
270 * misc/sys/mman.h: Pretty print prototypes.
271
2721998-11-15 Ulrich Drepper <drepper@cygnus.com
273
274 * misc/error.c (error): Don't use result of strerror_r call directly
275 since at least DEC Unix has a wrong return type.
276 Patch by Johan Danielsson <joda@pdc.kth.se>.
277
2781998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22bb3c7f
AS
279
280 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
281 last change.
282
77d10f94
UD
2831998-11-13 Ulrich Drepper <drepper@cygnus.com>
284
27658f20 285 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
9d1efe33 286 format, just stop.
27658f20 287
77d10f94
UD
288 * version.h (VERSION): Bump to 2.0.102.
289
290 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
291 change.
292 * stdio-common/scanf7.c (main): Likewise.
293
99c9e773
UD
2941998-11-13 Ulrich Drepper <drepper@cygnus.com>
295
47b856a9
UD
296 * stdio-common/vfscanf.c: Return EOF for invalid format
297 characters.
298
fb3d8ad6
UD
299 * version.h (VERSION): Bump to 2.0.101.
300
99c9e773
UD
301 * Makerules (Versions.all): Generate this file from all Versions.def
302 files.
303 (sysd-versions): Use Versions.all instead of Versions.def.
304
47b856a9
UD
3051998-11-13 Philip Blundell <philb@gnu.org>
306
307 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
308 Reported by Scott Bambrough.
309
93d63a59
UD
3101998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
311
312 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
313
a3e0e9ae
UD
3141998-11-13 Ulrich Drepper <drepper@cygnus.com>
315
316 * libio/bits/stdio.h: Correct and improve fread_unlocked and
317 fwrite_unlocked optimizations.
318
319 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
320 in time not to last entries in the file.
321 (__tzfile_compute): Likewise. Fix for PR libc/863.
322
323 * timezone/Makefile: Generate GB timezone data for test.
324 * timezone/tst-timezone.c: More tests for DST switching time (disabled
325 for now).
326
3271998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2dc9c8cd
AS
328
329 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
330 d0 from clobber list.
331
d2537a47
UD
3321998-11-12 Ulrich Drepper <drepper@cygnus.com>
333
334 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
335
336 * libio/Makefile (headers): Add bits/stdio.h.
337 * libio/iofread_u.c: Undefine fread_unlocked before definition.
338 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
339 * libio/stdio.h: Move optimizations into ...
340 * libio/bits/stdio.h: ...here. New file.
341
342 * libio/iofread.c: Pretty print.
343
3441998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
345
346 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
347 __exit_status with `__'. Rename pad member of struct utmpx to
348 __unused.
349 (RUN_LVL): Define unconditionally.
a3e0e9ae 350 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
d2537a47
UD
351 __unused.
352
3531998-11-12 Philip Blundell <philb@gnu.org>
354
355 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
356 Linux AF_NETLINK sockets (needed since the kernel version is
357 unusable).
358 * sysdeps/unix/sysv/linux/Makefile: Install it.
359 * sysdeps/unix/sysv/linux/Dist: Distribute it.
360
3611998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
362
363 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
364 to test for bug in PR libc/863.
365
3661998-11-12 Ulrich Drepper <drepper@cygnus.com>
367
368 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
369
370 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
371 parameter lazy to do_lazy to avoid clashing with struct member name.
372 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
373
3741998-11-10 H.J. Lu <hjl@gnu.org>
375
376 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
377 if it is defined in <linux/limits.h>.
378
3791998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
380
381 * include/protocols/routed.h: Include the real header with
382 a full path from the top of the source tree.
383 * include/protocols/rwhod.h: Likewise.
384 * include/protocols/talkd.h: Likewise.
385 * include/protocols/timed.h: Likewise.
386
387 * timezone/Makefile: Don't include z.ZONE files if no_deps
388 is set, not if avoid-generated is set.
389
3901998-11-12 Ulrich Drepper <drepper@cygnus.com>
391
392 * signal/signal.h: Undo last change. Get definition of timespec
393 if __USE_POSIX199309.
394
395 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
396 size_t to prevent gcc warning when using -Wqual-cast.
397 (__strpbrk_c3): Likewise.
398 Suggested by Alan Curry <pacman@cqc.com>.
399
fc7af6d6
RM
4001998-11-11 Roland McGrath <roland@baalperazim.frob.com>
401
159d4836
RM
402 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
403 unblocked signals are set in the startup masks.
404
fc7af6d6
RM
405 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
406 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
159d4836 407
fc7af6d6
RM
408 * hurd/hurd/signal.h: Update _hurdsig_init decl.
409 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
410 INTARRAYSIZE, pass them down to _hurdsig_init.
411 * hurd/hurd.h: Update _hurd_proc_init decl.
412
74eee886
UD
4131998-11-10 Ulrich Drepper <drepper@cygnus.com>
414
415 * math/cabs.c: Replace complex by _Complex.
416 * math/cabsf.c: Likewise.
417 * math/cabsl.c: Likewise.
418 * math/cimag.c: Likewise.
419 * math/cimagf.c: Likewise.
420 * math/cimagl.c: Likewise.
421 * math/conj.c: Likewise.
422 * math/conjf.c: Likewise.
423 * math/conjl.c: Likewise.
424 * math/creal.c: Likewise.
425 * math/crealf.c: Likewise.
426 * math/creall.c: Likewise.
427
428 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
429 included from math.h and __USE_ISOC9X is defined.
430 * sysdeps/generic/bits/mathdef.h: Likewise.
431 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
432 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
433 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
434 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
435
4361998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
437
438 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
439 <complex.h>.
440 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
441 * sysdeps/generic/bits/mathdef.h: Likewise.
442 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
443 * sysdeps/powerpc/bits/mathdef.h: Likewise.
444 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
445
4461998-11-09 Ulrich Drepper <drepper@cygnus.com>
447
448 * extra-lib.mk: Fix typo in last change.
1792d4db
UD
449
450 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
451 is needed.
452 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
453 Don't define `complex' but instead `_Complex'. The later is the
454 reserved keyword.
455 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
456 not complex.
457
4581998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
459
460 * manual/libc.texinfo: Remove colon from category name.
461 * manual/Makefile (dir-add.info): Likewise.
462
4631998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
464
465 * configure.in: Avoid autoconf bug.
466
4671998-10-28 H.J. Lu <hjl@gnu.org>
468
469 * posix/getopt.h: Add "__" to arguments in prototypes.
470
4711998-11-05 H.J. Lu <hjl@gnu.org>
472
473 * libio/iofgets.c (_IO_fgets): Don't report error
474 if something was read in and errno is set to
475 EAGAIN.
476 * libio/iofgets_u.c (fgets_unlocked): Likewise.
477
4781998-11-05 Philip Blundell <philb@gnu.org>
479
480 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
481 header; it defines too much. Provide a local definition of struct
482 sockaddr_pkt and a comment advising against its use.
483
4841998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
485
486 * extra-lib.mk: Avoid empty include list.
487
4881998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
489
490 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
491
492 * elf/Makefile (libdl-routines): Add dlopenold only if doing
493 versioning.
494 (libdl-shared-only-routines): New variable.
495
4961998-11-06 Paul Eggert <eggert@twinsun.com>
497
498 Don't invoke localtime_r or gmtime_r unless it's the GNU C
499 library's localtime_r and gmtime_r; there are too many buggy
500 implementations of localtime_r and gmtime_r out there, and
501 it's not worth keeping track of all the different bugs.
502
503 * time/mktime.c (__EXTENSIONS__): Remove.
504 (<unistd.h>): No need to include.
05f732b3
UD
505 * time/strftime.c: Likewise.
506
507 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1792d4db
UD
508 Remove.
509 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
510 Base it on localtime unless _LIBC.
511
512 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
513 all uses changed.
514 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
515 Base them on localtime/gmtime if not _LIBC.
05f732b3
UD
516
5171998-11-07 Ulrich Drepper <drepper@cygnus.com>
518
519 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
520 file descriptor. This makes this function actually usable.
521 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
522
9a821cf9
UD
5231998-11-05 Ulrich Drepper <drepper@cygnus.com>
524
d76bd17f
UD
525 * math/math.h: Unconditionally include bits/mathdef.h. Declare
526 long double functions only if __NO_LONG_DOUBLE_MATH is not
527 defined.
528 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
529 Define __NO_LONG_DOUBLE_MATH.
530 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
531 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
532
9a821cf9
UD
533 * elf/rtld.c: Add a few __builtin_expects where they will improve
534 a lot.
535
c0016081
UD
5361998-11-05 Ulrich Drepper <drepper@cygnus.com>
537
fe959e1e
UD
538 * version.h (VERSION): Bump to 2.0.100.
539
c0016081
UD
540 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
541
542 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
543 * sysdeps/libm-i387/s_fmaf.S: Likewise.
544
9a821cf9
UD
5451998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
546
547 * libio/genops.c (_IO_least_marker): Add additional parameter
548 end_p replacing fp->_IO_read_end.
549 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
550 and _IO_ssize_t instead of int.
551 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
552 (_IO_switch_to_backup_area): Likewise. Fix comments.
553 (_IO_seekmark): Undo last change.
554 (_IO_default_pbackfail): Correct use of backup area.
555 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
556
c0016081
UD
5571998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
558
559 * configure.in: Search for install-info and substitute it.
560 Determine whether install-info is the buggy Debian version
561 that doesn't understand INFO-DIR-SECTION.
562 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
563 to be substituted.
564 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
565 install-info the --section argument it needs to work properly.
566 (dir-add.texinfo): Delete target.
567 (dir-add.info): Generate this directly. Sort entries. Put a
568 colon at the end of the INFO-DIR-SECTION line.
569 * manual/libc.texinfo: Put a colon at the end of the
570 @dircategory line.
571
5721998-11-05 Paul Eggert <eggert@twinsun.com>
573
574 * time/mktime.c (__mktime_internal): Adopt the traditional (and
575 problematic) notion of what to do when tm_isdst doesn't match.
576
5771998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
578
579 * posix/PTESTS: Fix spelling.
580
ff8ac383
UD
5811998-11-04 Ulrich Drepper <drepper@cygnus.com>
582
583 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
584 functions. Reduce error in computing normalized value by multiplying
585 factor in loop and compute result in one step.
a92599ea
UD
586 Reported by Christian Gafton.
587
588 * sysdeps/libm-i387/e_hypot.S: New file.
589 * sysdeps/libm-i387/e_hypotf.S: New file.
ff8ac383 590
c0016081
UD
5911998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
592
593 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
594
5951998-11-03 H.J. Lu <hjl@gnu.org>
596
597 * libio/fileops.c (new_do_write): New function.
598 (_IO_new_do_write): Call new_do_write.
599 (_IO_new_file_xsputn): Likewise.
600
601 * libio/oldfileops.c (old_do_write): New function.
602 (_IO_old_do_write): Call old_do_write.
603 (_IO_old_file_xsputn): Likewise.
604
3ddfec55
UD
6051998-11-04 Ulrich Drepper <drepper@cygnus.com>
606
98b567ff
UD
607 * time/mktime.c (__mktime_internal): Correct last change. We must
608 stop searching for the right isdst value before stepping to the
609 initial value.
610
3ddfec55
UD
611 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
612 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
613
f540c0a4
UD
6141998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
615
616 * sysdeps/generic/bits/signum.h: Define signals with their
617 historical numbers when those are in the 1-15 range and
618 consistent across platforms.
619 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
620 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
621 appropriately instead of with fake function declarations
622 (would cause link errors).
623 If __USE_UNIX98, define SIG_HOLD.
624
6251998-10-29 H.J. Lu <hjl@gnu.org>
626
627 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
628 union only if __USE_POSIX199309 is defined.
629
630 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
631 defined.
632
5fea58fb
UD
6331998-11-03 Ulrich Drepper <drepper@cygnus.com>
634
635 * time/mktime.c (__mktime_internal): Handle broken down times
636 around the time of the DST switches more correctly.
637
e254df14
UD
6381998-11-02 Ulrich Drepper <drepper@cygnus.com>
639
640 * elf/Makefile (libdl-routines): Add dlopenold.
641 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
642 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
643 is set and bounce otherwise.
644 * elf/dlopen.c: Rename function to __dlopen_check and make version
645 named dlopen.
646 * elf/dlopenold.c: New file.
647
e3e35cfc
UD
6481998-11-02 Ulrich Drepper <drepper@cygnus.com>
649
650 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
651 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
652 * elf/dl-deps.c: ...here.
653 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
654 new parameter and expect result. Remove code handling RTLD_GLOBAL.
655 Add return value of _dl_map_object_deps to
656 _dl_main_searchlist->r_nlist.
657 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
658 If we parameter GLOBAL is nonzero add object and dependencies to
659 the global scope.
660 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
661 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
662 Mark all objects as in global scope.
663 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
664
665 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
666
667 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
668 used in macro magic.
669
5fea58fb
UD
6701998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
671
f540c0a4
UD
672 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
673 before <sys/socket.h> to make sockaddr_at available to
674 <sys/socket.h>.
e3e35cfc
UD
675
676 * posix/glob.h: Remove __P from parameter lists of declarations.
5fea58fb
UD
677
6781998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
679
680 * time/tzset.c (tz_compute): Remove unused parameter timer.
681 Change caller.
682
6831998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
684
685 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
686
160698e2
UD
6871998-11-02 Ulrich Drepper <drepper@cygnus.com>
688
689 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
690 unnecessary test and add cast.
691
6921998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
693
694 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
695
696 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
697 parameter fd.
698 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
699
7001998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
701
702 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
703 fds_bits member.
704 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
705
7061998-10-31 Richard Henderson <rth@cygnus.com>
707
708 * math/Makefile (gmp-objs): Add udiv_qrnnd.
709
710 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
711 (inline_syscall*): New.
712 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
713 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
714
256705f4
UD
7151998-10-31 Ulrich Drepper <drepper@cygnus.com>
716
717 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
718 avoid ld test generating an unwanted file.
719
c55be36d
UD
720 * posix/PTESTS: Remove comment about incorrect test (it is correct).
721
160698e2
UD
7221998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
723
724 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
725 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
726 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
727 * sunrpc/rpc/xdr.h: Add INT32 support.
a1129917 728 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
160698e2
UD
729
730 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
731 * nis/nis_callback.c: Likewise.
732 * nis/nis_creategroup.c: Likewise.
733 * nis/nis_defaults.c: Likewise.
734 * nis/nis_intern.h: Likewise.
735 * nis/nis_lookup.c: Likewise.
736 * nis/nis_ping.c: Likewise.
737 * nis/nis_print.c: Likewise.
738 * nis/nis_table.c: Likewise.
739 * nis/nis_util.c: Likewise.
740 * nis/nis_xdr.c: Likewise.
741 * nis/rpcsvc/nis.h: Likewise.
742 * nis/rpcsvc/nis.x: Likewise.
743 * nis/rpcsvc/nis_callback.h: Likewise.
744 * nis/rpcsvc/nis_object.x: Likewise.
745 * nis/rpcsvc/nislib.h: Likewise.
746
747 * nis/rpcsvc/yp.h: Remove casts to (u_long).
748 * nis/rpcsvc/yp_prot.h: Likewise.
749 * nis/rpcsvc/ypupd.h: Likewise.
750 * nis/ypclnt.c: Change %ld to %d in sprintf.
751
7521998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
753
754 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
755
7561998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
757
758 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
759 0, __fd_mask is usually not a char.
760
7611998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
762
763 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
764 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
765 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
766 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
767 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
768 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
769 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
770 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
771
772 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
773 compiling on systems without rt_sigaction syscall.
774 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
775 Likewise.
776
7771998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
778
779 * time/strptime.c (HERE_D_FMT): Fix typo.
780 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
781
a3b2008a
UD
7821998-10-30 Ulrich Drepper <drepper@cygnus.com>
783
646fffb9
UD
784 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
785 (generate): Add test1.cat and test1.h.
786 (distribute): Add test1.msg.
655b26bb 787 * catgets/test1.msg: New file.
646fffb9 788
a3b2008a
UD
789 * catgets/gencat.c: Do a better job in initializing dynamic
790 memory [PR libc/844].
791
00995ca9
UD
7921998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
793
794 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
795 internal_function since it is called through a pointer.
796 * iconv/gconv_db.c (free_derivation): Likewise.
797 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
798
799 * posix/wordexp.c: Add internal_function to parse_backtick definition.
800 * rt/aio_misc.c: Add internal_function to __aio_free_request,
801 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
802 definitions.
803 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
804 __aio_notify definitions.
805 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
806
e980ca92
UD
8071998-10-30 Ulrich Drepper <drepper@cygnus.com>
808
809 * Makerules (build-shlib): Add -O to generate optimized shared
810 objects.
811
0e19d4a3
UD
8121998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
813
814 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
815 * sysdeps/libm-i387/e_fmodf.S: Likewise.
816 * sysdeps/libm-i387/e_fmodl.S: Likewise.
817 * sysdeps/libm-i387/s_ilogb.S: Likewise.
818 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
819 * sysdeps/libm-i387/s_logb.S: Likewise.
820 * sysdeps/libm-i387/s_logbf.S: Likewise.
821 * sysdeps/libm-i387/s_remquo.S: Likewise.
822 * sysdeps/libm-i387/s_remquof.S: Likewise.
823 * sysdeps/libm-i387/s_remquol.S: Likewise.
824 * sysdeps/libm-i387/s_significand.S: Likewise.
825 * sysdeps/libm-i387/s_significandf.S: Likewise.
826
8271998-10-30 Geoff Keating <geoffk@ozemail.com.au>
828
829 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
830 _llseek.
831
8321998-10-30 Geoff Keating <geoffk@ozemail.com.au>
833
834 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
835
c5e340c7
UD
8361998-10-29 Ulrich Drepper <drepper@cygnus.com>
837
b0882748
UD
838 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
839 returns without cleaning up the lock.
d8334b9a 840 (printf_unknown): Add label all_done.
b0882748 841
7dc7f7b2
UD
842 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
843 kernels in mind when reading /proc/self/fd/FD.
844 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
845
67a96999
UD
846 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
847
d5cabaa4
UD
848 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
849 _fitoa.
850
c5e340c7
UD
851 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
852 /prof/self/fd/FD first.
853 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
854
855 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
856 formatted number starting at given position and return pointer to
857 following byte.
858 (_fitoa): Likewise, for long long.
859
cf3a0eca
RM
8601998-10-29 Roland McGrath <roland@baalperazim.frob.com>
861
862 * sysdeps/unix/sysv/linux/bits/sem.h,
863 sysdeps/unix/sysv/linux/bits/ipc.h,
864 sysdeps/unix/sysv/linux/bits/shm.h,
865 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
866 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
867 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
868 so the same bits will be used for the Hurd.
869
f3c1143b
UD
8701998-10-29 Ulrich Drepper <drepper@cygnus.com>
871
872 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
873 compiling on systems without rt_sigaction syscall.
874
8751998-10-12 Philip Blundell <pb@nexus.co.uk>
876
877 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
878 directories as well as add them.
879
8801998-10-28 Philip Blundell <pb@nexus.co.uk>
881
882 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
883 AF_ECONET sockets as found in recent Linux 2.1 kernels.
884 * sysdeps/unix/sysv/linux/Dist: Distribute it.
885 * sysdeps/unix/sysv/linux/Makefile: Install it.
886
8871998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
888
889 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
890
8911998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
892
893 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
894 fds_bits member.
895 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
896 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
897 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
898 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
899 Likewise.
900 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
901 Likewise.
902 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
903 __FD_ISSET): Use it.
904 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
905 __FD_ISSET): Likewise.
6e2cc2c1 906
91cc83ff
UD
9071998-10-28 Geoff Keating <geoffk@ozemail.com.au>
908
909 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
910 llseek.
911
c70ca1fa
UD
912 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
913 Instead call the system call wrapper function using an 64bit argument.
914 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
916 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
917
2898c3a5
UD
9181998-10-27 Ulrich Drepper <drepper@cygnus.com>
919
7e986b8b
UD
920 * signal/signal.h: Don't include <time.h> for timespec, add
921 forward declaration.
922
2898c3a5
UD
923 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
924 of __FD_* macros which use __fds_bits.
925 * sysdeps/generic/bits/select.h: Likewise.
926 Reported by Matt McLean <keys@yikes.com>.
927
c1a61edb
UD
9281998-10-27 Philip Blundell <pb@nexus.co.uk>
929
930 * elf/elf.h: Update ARM definitions.
931
cc368887
UD
9321998-10-27 Ulrich Drepper <drepper@cygnus.com>
933
934 * signal/signal.h: Include bits/sigthread.h only for Unix98.
935
665a657e
UD
9361998-10-26 Ulrich Drepper <drepper@cygnus.com>
937
a8eab8b1
UD
938 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
939 define __builtin_expect as a macro substituting to the first
940 argument.
941 * config.h.in: Define HAVE_BUILTIN_EXPECT.
942 * configure.in: Add test for __builtin_expect.
943
665a657e
UD
944 * sysdeps/unix/sysv/linux/bits/types.h: Include
945 bits/pthreadtypes.h only not for POSIX 199506.
946 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
947 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
948 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
949
48ab6a9e
UD
9501998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
951
952 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
953 * socket/Versions [libc, GLIBC_2.0]: ... to here.
954
992af677
UD
9551998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
956
957 * include/stdio.h: Included <stddef.h> for size_t.
958
959 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
960 to ...
961 * include/stdio.h: ...here.
962 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
963
0e103c6d
UD
9641998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
965
966 * time/Makefile (tests): Add tst-posixtz.
967 * time/tst-posixtz.c: New file.
968
9691998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
970
971 * elf/rtld.c (process_envvars): Accept any non-null value of
972 LD_BIND_NOW, as mandated by the ABI.
973
9741998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
975
976 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
977 __syscall_pread.
978 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
979 __syscall_pwrite.
980 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
981 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
982 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
983 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
984 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
985 duplicate entries.
986 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
987 s_pread64 and s_pwrite64.
988 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
989
9901998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
991
992 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
993 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
994 to __syscall__llseek.
995 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
996 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
997 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
998 __sys_llseek.
999
10001998-10-26 Cristian Gafton <gafton@redhat.com>
1001
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
1003 and s_setfsuid.
1004
10051998-10-26 Ulrich Drepper <drepper@cygnus.com>
1006
1007 * time/tzset.c (tz_compute): Correct last patch and describe this
1008 in a comment.
1009
d499a27c
AS
10101998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1011
1012 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
1013 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
1014 rt_sigaction and rt_sigpending.
1015 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
1016 for __syscall_* functions.
1017 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1018
c2ef7930
RM
10191998-10-26 Roland McGrath <roland@baalperazim.frob.com>
1020
1021 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
1022 _hurd_dtable_lock, _hurd_intern_fd.
1023
1024 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
1025 cthread_getspecific, cthread_setspecific, __libc_getspecific.
1026
1027 * mach/Versions: Fix typo in last change.
1028
1938c489
UD
10291998-10-25 Ulrich Drepper <drepper@cygnus.com>
1030
1031 * time/tzset.c (tz_compute): If time to switch to DST is later in
1032 the year switch back in the next year.
1033 Reported by jwitford@hutch.com.au.
c2ef7930 1034
a825f8e8
RM
10351998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
1036
1037 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
1038 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
1039 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
1040 __mach_port_allocate, __mach_port_allocate_name,
c2ef7930
RM
1041 __mach_port_insert_right __mutex_trylock, __mutex_lock,
1042 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
1043 __task_set_special_port, __task_terminate, __thread_depress_abort,
1044 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
1045 functions are not used outside libc.
a825f8e8
RM
1046
1047 * sysdeps/mach/hurd/Versions: New file.
1048 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
1049 _cthread_init_routine. These are set by the Hurd cthreads library.
1050 Add __getcwd, __mmap. If we don't add these, the weak definitions in
1051 the dynamic linker will not be replaced by the corresponding shared
1052 library routines once they are loaded.
1053
10541998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
1055
1056 * sysdeps/mach/hurd/i386/init-first.c: Only define
1057 __libc_enable_secure if PIC is not defined.
1058
10591998-10-25 Roland McGrath <roland@baalperazim.frob.com>
1060
1061 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
1062 to recurse into argp.
1063
4a582094
UD
10641998-10-25 Ulrich Drepper <drepper@cygnus.com>
1065
1066 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
1067 greater or equal than 199506L.
1068
1069 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
1070 only is __USE_XOPEN. Otherwise use __fds_bits.
1071 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1072 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1073 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1074 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1075 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1076
10771998-10-24 H.J. Lu <hjl@gnu.org>
1078
1079 * locale/programs/charmap.c (parse_charmap): Accept tok_string
1080 for <code_set_name>.
1081
10821998-10-25 H.J. Lu <hjl@gnu.org>
1083
1084 * locale/programs/ld-ctype.c (ctype_finish): Also check
1085 <space>.
1086
10871998-10-25 Ulrich Drepper <drepper@cygnus.com>
1088
1089 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
1090
1091 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
1092 if __USE_POSIX199506 or __USE_UNIX98.
1093
10941998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1095
1096 * string/bits/string2.h: Inline strdup+friends only if
1097 __USE_MISC || __USE_GNU (prevents namespace pollution).
1098
10991998-10-24 H.J. Lu <hjl@gnu.org>
1100
1101 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
1102 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
1103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
1104 LOCK_NB, LOCK_UN): Likewise.
1105 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
1106 LOCK_NB, LOCK_UN): Likewise.
1107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
1108 LOCK_NB, LOCK_UN): Likewise.
1109 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
1110 LOCK_NB, LOCK_UN): Likewise.
1111
11121998-10-24 H.J. Lu <hjl@gnu.org>
1113
1114 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
1115
1116 * libio/rewind.c (rewind): Clear the error.
1117
11181998-10-24 H.J. Lu <hjl@gnu.org>
1119
1120 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
1121 "buffer".
1122
11231998-10-24 H.J. Lu <hjl@gnu.org>
1124
1125 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
1126 with __need_timeval.
1127 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
1128 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
1129
11301998-10-24 H.J. Lu <hjl@gnu.org>
1131
1132 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
1133 sigqueue): Protect with __USE_POSIX199309.
1134
11351998-10-24 H.J. Lu <hjl@gnu.org>
1136
1137 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
1138 __USE_POSIX.
1139
11401998-10-24 H.J. Lu <hjl@gnu.org>
1141
1142 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
1143 the kernel file offset.
1144 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
1145
88455219
UD
11461998-10-24 H.J. Lu <hjl@gnu.org>
1147
1148 * time/tzfile.c (__tzfile_default): Set num_types to 2.
1149
11501998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1151
1152 * rt/aio.h: Move __aio_init to...
1153 * include/aio.h: ...here.
1154
11551998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1156
1157 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
1158 definition of O_LARGEFILE.
1159
11601998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1161
1162 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
1163 as first argument to statfs.
1164
11651998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1166
1167 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
1168
11691998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1170
1171 * malloc/mtrace.c: Include <string.h> for strlen.
1172
3c068816
RM
11731998-10-24 Roland McGrath <roland@baalperazim.frob.com>
1174
184edc95
RM
1175 * sysdeps/mach/hurd/bits/environments.h: New file.
1176
3c068816
RM
1177 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
1178
1179 * mach/Versions, hurd/Versions: Add numerous symbols.
1180 Remove libmachuser and libhurduser sections, punt
1181 versioning for those libraries for now.
1182
1183 * misc/Versions: Add reboot here; it exists on all platforms.
1184 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
1185
fc40fc6c
UD
11861998-10-23 Ulrich Drepper <drepper@cygnus.com>
1187
1188 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
1189 macro.
1190 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1191 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1192 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
1193 O_NOFOLLOW, O_DIRECT): New macros.
1194 (O_DIRECTORY): Correct definition according to official 2.1.126.
1195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
1196 O_NOFOLLOW): New macros.
1197
b1fcf686
RM
11981998-10-24 Roland McGrath <roland@baalperazim.frob.com>
1199
d606f528
RM
1200 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
1201
b1fcf686
RM
1202 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
1203 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
1204
24f25de6
UD
12051998-10-23 Ulrich Drepper <drepper@cygnus.com>
1206
0d486134
UD
1207 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
1208 setfsuid.c, and setfsgid.c.
1209 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1210 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1211 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1212
24f25de6
UD
1213 * version.h (VERSION): Bump to 2.0.99.
1214
8a6da7e6
UD
1215 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
1216 ustat definition.
1217
1e8f0e3e
UD
1218 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
1219 s_pwrite64.c.
1220
24f25de6
UD
1221 * posix/fnmath.h: Don't redefine __P when used in glibc.
1222 * posix/glob.h: Likewise.
1223
1224 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
1225 Patch by Dick Streefland <dick_streefland@tasking.com>.
1226
1227 * stdio-common/tst-ungetc.c: Add more test cases.
1228
1229 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
1230 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
1231 definitions to ...
1232 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
1233 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
1234 * sysdeps/unix/sysv/linux/pathconf.c: New file.
1235 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
1236 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1237
12381998-10-20 Philip Blundell <pb@nexus.co.uk>
1239
1240 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
1241 <asm/ptrace.h> to define struct pt_regs.
1242 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
1243 including <asm/ptrace.h> here.
1244
1245 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
1246 C_SYMBOL_NAME macro.
1247
12481998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1249
1250 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
1251 end of enumerator list.
1252 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
1253 * posix/wordexp.h: Likewise.
1254
1255 * db/db.h: Use __PMT instead of __P in typedefs.
1256 * db/mpool.h: Likewise.
1257 * sysdeps/generic/bits/siginfo.h: Likewise.
1258 * nis/rpcsvc/ypclnt.h: Likewise.
1259
d6787ff2
UD
12601998-10-23 Ulrich Drepper <drepper@cygnus.com>
1261
1262 * libio/genops.c (_IO_seekmark): When switching to backup buffer
1263 make sure all characters from the read buffer are read after
1264 switching back to it.
1265
98393660
UD
12661998-10-22 Ulrich Drepper <drepper@cygnus.com>
1267
1268 * configure.in: Add support for Cygnus GNUPro compilers.
1269
84c8da0e
UD
12701998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1271
1272 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
1273
1274 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
1275 of __P for sa_restorer.
1276 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1277 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1278 kernel_sigaction, old_kernel_sigaction): Likewise.
1279
ed304158
UD
12801998-10-22 Ulrich Drepper <drepper@cygnus.com>
1281
c7f5a0c7
UD
1282 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
1283 and __syscall_pwrite aliases.
1284
ed304158 1285 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
78e5779b
UD
1286
1287 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
1288 improve INLINE_SYSCALL using macro assembler magic.
1289
9271a050
UD
12901998-10-22 H.J. Lu <hjl@gnu.org>
1291
1292 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
1293 sanity check for n.
1294 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
1295
1296 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
1297 EINVAL if errno == ENODEV. Tested by VSX-PCT.
1298
1299 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
1300 by VSX-PCT.
1301
1302 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
1303
e595c802
UD
13041998-10-22 Philip Blundell <pb@nexus.co.uk>
1305
1306 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
1307 __ASSEMBLER__.
1308
7bb38c70
UD
13091998-10-21 Ulrich Drepper <drepper@cygnus.com>
1310
1311 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
1312 and adjust formats.
1313
0dee6738
UD
13141998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
1315
1316 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
1317 __syscall_* function.
1318 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
1319 of calling __syscall_* function.
1320 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1321 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1322 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1323 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1324 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
1325 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1326 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1327 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1328 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1329 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1330 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1331 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1332 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1333 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1334 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1335 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1336 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1337 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1338 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
1339 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1340 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1341 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1342 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1343 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1344 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1345 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1346 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1347 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1348 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1349 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1350 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1351 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1352 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1353 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 1354 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
1355 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1356 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1357 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1358 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1359 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1360 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1361 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1362
1363 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
1364 inline assembler.
1365 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
1366 __syscall_* definitions.
1367
1368 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
1369 definitions to...
1370 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
1371 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1372 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1373 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1374 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1375 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1376 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1377
adcb550c
UD
1378 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
1379 Move definition to...
1380 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
1381 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1382 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1383 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1384 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1385 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1386 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1387
0dee6738
UD
1388 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1389 (sysdep_routines): Remove s_pread64 and s_pwrite64.
1390
1391 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
1392 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
1393 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
1394 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
1395 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
1396 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
1397
13981998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1399
1400 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
1401 and bring them in synch.
1402 * sysdeps/unix/siglist.c: Likewise.
1403 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
1404
14051998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1406
1407 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
1408 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1409
1410 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
1411 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
1412 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
1413 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
1414 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
1415 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
1416 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
1417 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
1418 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
1419 s_setregid.
1420 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1421 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1422 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1423
14241998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1425
1426 * sunrpc/rpc_main.c (close_output, close_input): New functions.
1427 (c_output, h_output, s_output, l_output, t_output, svc_output,
1428 clnt_output, mkfile_output): Call them at the end.
1429
14301998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1431
1432 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
1433 link command.
1434
39f0e778
AS
14351998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1436
1437 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
1438 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1439
d523c981
UD
14401998-10-20 Ulrich Drepper <drepper@cygnus.com>
1441
1442 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
1443 s_pwrite64.
1444 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
1445 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
1446 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
1447 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
1448 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
1449
0dee6738
UD
14501998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
1451
1452 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
1453 O_DIRECTORY.
1454
14551998-10-20 H.J. Lu <hjl@gnu.org>
1456
1457 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
1458 argument types.
1459
4bd8be48
UD
14601998-10-19 Ulrich Drepper <drepper@cygnus.com>
1461
48244d09
UD
1462 * math/tgmath.h: Make nested function calls work.
1463
10411f2d
UD
1464 * include/ldsodefs.h: Fix typo.
1465
a9b171ef
UD
1466 * posix/Makefile (tests): Add tst-preadwrite.
1467 * posix/tst-preadwrite.c: New file.
1468
4bd8be48
UD
1469 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
1470 sure that descriptor is in any case for a directory.
1471
cfb32a6c
UD
14721998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1473
1474 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
1475 (atan2): Takes two arguments.
1476
ce85d65b
UD
14771998-10-19 Ulrich Drepper <drepper@cygnus.com>
1478
1479 * include/ldsodefs.h: New file.
1480
1481 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
1482 Remove change to avoid using _CALL_DL_FCT.
1483 * iconv/gconv_db.c: Likewise.
1484 * iconv/gconv_dl.c: Likewise.
1485 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
1486 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
1487 * nss/nsswitch.c: Likewise.
1488 * nss/nsswitch.h: Likewise.
1489
14901998-10-19 Philip Blundell <pb@nexus.co.uk>
1491
1492 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
1493 required libraries.
1494 * login/Makefile (otherlibs): Likewise.
1495 * nscd/Makefile (otherlibs): Likewise.
1496 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
1497
1498 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
1499
1500 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
1501
15021998-10-19 Philip Blundell <pb@nexus.co.uk>
1503
1504 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
1505 and setfsuid.
1506
15071998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1508
1509 * nscd/connections.c: Fix typos in comments and strings.
1510
1511 * nscd/nscd.conf: Update according to recent changes to nscd.
1512
1513 * nscd/cache.c (prune_cache): Remove wrong comment.
1514
816e6eb5
UD
15151998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
1516
1517 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
1518 category in copy_posix.
1519 (collate_finish): Don't warn about UNDEFINED not being defined.
1520 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
1521 category in copy_posix.
1522 * locale/programs/ld-messages.c (messages_startup): Likewise.
1523 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
1524 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
1525 * locale/programs/ld-time.c (time_startup): Likewise.
1526 * locale/programs/localedef.c: Move copy_def_list_t definition into
1527 locales.h. Define copy_posix variable.
1528 (main): Before processing copy list add &copy_posix to copy_list.
1529 * locale/programs/locales.h: Add definition of copy_def_list_t.
1530 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 1531 copy_posix.mask for copy instruction.
816e6eb5 1532
685c1676
UD
15331998-10-19 Ulrich Drepper <drepper@cygnus.com>
1534
1535 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
1536 non-existing file with generic implementation.
1537 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1538
15391998-10-19 Philip Blundell <pb@nexus.co.uk>
1540
1541 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
1542 defined. Avoid using _CALL_DL_FCT if it is not defined.
1543 * iconv/gconv.c: Likewise.
1544
9bbe7c3b
UD
15451998-10-19 Ulrich Drepper <drepper@cygnus.com>
1546
34489d95
UD
1547 * nscd/connections.c (dbs): Define defualt values for timeouts and
1548 set enabled to 0 by default.
1549 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
1550 nscd_run.
1551
9bbe7c3b
UD
1552 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
1553 character >= 0x80.
1554 (_nl_C_LC_CTYPE_class32): Likewise.
1555 Reported by HJ Lu.
1556
7d25696a
RM
15571998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1558
1559 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1560 _HURD_THREADVAR_DL_ERROR.
1561
1562 * hurd/Makefile (user-interfaces): Add login, password.
1563
1564 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
1565
37eb58de
RM
15661998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
1567
1568 [submitted 1998-08-06]
1569 * mach/Machrules: Create target directory and force re-evaluation
1570 of Makefile to prevent `make' from optimizing away most of the
1571 implicit rules and `vpath' directives.
1572
7434cee2
RM
15731998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1574
37eb58de
RM
1575 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
1576 is null, short-circuit to __mach_msg.
1577
a13d5ca5
RM
1578 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
1579 broken out of init1.
1580 (init1) [PIC]: Call it.
1581 (__libc_init_first) [! PIC]: Call it.
1582
7434cee2
RM
1583 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
1584 __libc_init_secure. Instead set __libc_enable_secure here from
1585 the exec flags.
1586 (__libc_enable_secure): New variable it.
1587 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
1588
3f804c95
RM
15891998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1590
1591 * nscd/nscd-client.h: New file, broken out of "nscd.h".
1592 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
1593 and #include that.
1594 * nscd/Makefile (distribute): Add nscd-client.h.
1595 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
1596 Include "nscd-client.h" instead of "nscd.h"
1597
67479a70
UD
15981998-10-18 Ulrich Drepper <drepper@cygnus.com>
1599
74f7e7c0
UD
1600 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
1601 directory entries when a lstat call fails.
1602 Patch by Colin Plumb <colin@nyx.net>.
1603
67479a70
UD
1604 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
1605 NSS functions.
1606 * resolv/nss_dns/dns-network.c: Likewise.
1607
9bbe7c3b 1608 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
1609 have-thread-library to determine whether threads are available.
1610 * pwd/Makefile: Remove wrong comment.
1611
1612 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
1613 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
1614
1615 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
1616
1617 * nss/Versions: Add __nss_hosts_lookup.
1618
1619 * nss/getXXbyYY.c: Remove unneeded assignment.
1620
1621 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
1622
1623 Almost complete rewrite of the NSCD to make it smaller, faster,
1624 add more functionnality and make it easier to extend.
1625 * nscd/Makfile (routines): Add nscd_gethst_r.
1626 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
1627 * nscd/cache.c: New file.
1628 * nscd/gethstbyad_r.c: New file.
1629 * nscd/gethstbynm2_r.c: New file.
1630 * nscd/hstcache.c: New file.
1631 * nscd/nscd_gethst_r.c: New file.
1632 * nscd/connections.c: Rewritten. Don't start new thread for every
1633 new connection. Use a fixed set of threads which handle all
1634 connections and also the cache cleanup.
1635 * nscd/grpcache.c: Rewritten to use generic cache handling functions
1636 in cache.c.
1637 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
1638 for rewrite. Remove handle_requests function.
1639 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
1640 Define new data structure for the new unified cache and the host
1641 database entries.
1642 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
1643 databases easily. Recognize check-files and threads definitions.
1644 * nscd/nscd.conf: Add definition of enable-cache and check-files to
1645 passwd and group definitions. Add new set of definitions for hosts.
1646 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
1647 * nscd/nscd_getpw_r.c: Likewise.
1648 * nscd/nscd_proto.h: Add prototype for host database functions.
1649 * nscd/nscd_stat.c: Rewrite to simplify printing of information
1650 for many databases.
1651 * nscd/dbg_log.c: Remove unnecessary variable initializations.
1652 Global variable debug_flag is renamed to dbg_level.
1653 * nscd/dbg_log.h: Declare set_logfile.
1654
6cde0c60
UD
16551998-10-16 Ulrich Drepper <drepper@cygnus.com>
1656
1657 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
1658 O_LARGEFILE back.
1659
c7a9f249
UD
16601998-10-16 Paul Eggert <eggert@shade.twinsun.com>
1661
1662 * time/mktime.c: Some systems require <unistd.h> to be
1663 included before <time.h> for localtime_r to be declared
1664 properly.
1665 * time/strftime.c: Likewise.
1666
9ffbb612
UD
16671998-10-16 Ulrich Drepper <drepper@cygnus.com>
1668
0049f576
UD
1669 * db/Makefile: Add rule to generate shared object with the soname
1670 from glibc 2.0.
1671
9ffbb612
UD
1672 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
1673 available double check to verify it's a directory.
1674
1675 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
1676 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
1677 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
1678 are not generally available.
1679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
1680
1681 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
1682 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
1683 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
1684 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
1685 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
1686 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
1687 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
1688 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
1689 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
1690 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
1691 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
1692 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
1693 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
1694 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
1695 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
1696 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
1697 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
1698 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
1699 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
1700 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
1701 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
1702 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
1703 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
1704 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
1705 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
1706 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
1707 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
1708 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
1709 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
1710 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1711 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1712 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
1713 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
1714 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
1715 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1716 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
1717 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
1718 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
1719
1720 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
1721 s_setresgid, and s_setuid.
1722 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1723 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1724 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1725 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1726 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
1727 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1728 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1729
39e4f7f8
UD
17301998-10-16 Ulrich Drepper <drepper@cygnus.com>
1731
1732 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
1733 localtime_t declaration on some systems.
1734
c66dbe00
UD
17351998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
1736
1737 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
1738 -DSTATIC_GCONV.
9ffbb612 1739 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
1740 defined. Avoid using DL_CLL_FCT if it is not defined.
1741
17421998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1743
1744 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
1745 Include endian.h unconditionally. Remove portability goop
1746 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1747
17481998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1749
1750 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
1751
909927d2
UD
17521998-10-15 Ulrich Drepper <drepper@cygnus.com>
1753
1754 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
1755 again. Use char[44] to define size of the struct.
1756
a9e73d40
UD
1757 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
1758
fcab9698 17591998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 1760
fcab9698
UD
1761 * string/bits/string2.h (strcmp): Don't cache the result of
1762 __builtin_constant_p in variables, otherwise constant folding
1763 can fail in big functions.
c66dbe00 1764
fcab9698 17651998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 1766
fcab9698
UD
1767 * string/bits/string2.h: Add prototypes for the new inline
1768 functions.
c66dbe00 1769
7edb4c25
UD
17701998-10-15 Ulrich Drepper <drepper@cygnus.com>
1771
1772 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
1773 have all types defined.
1774 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
1775
fcab9698 17761998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 1777
fcab9698
UD
1778 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
1779 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
1780 a body that merely expands localtime_r; this works around a
1781 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
1782
17831998-10-14 Ulrich Drepper <drepper@cygnus.com>
1784
1785 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
1786 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
1787 __ioctl to __syscall_ioctl and include Linux version of this file.
1788 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
1789 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
1790 ioctl calls which handle struct termios.
1791 Based on a patch by Dan Jacobowitz <drow@false.org>.
1792
8583916e
UD
17931998-10-14 Ulrich Drepper <drepper@cygnus.com>
1794
1795 * version.h (VERSION): Bump to 2.0.98.
1796
6f100d04
UD
1797 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
1798 here instead of including kernel_termios.h.
1799
fcab9698 18001998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 1801
fcab9698
UD
1802 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
1803 unnecessary after the changes of 1998-10-12.
c66dbe00 1804
99e46354
UD
18051998-10-13 Ulrich Drepper <drepper@cygnus.com>
1806
6c5a700e
UD
1807 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
1808 parameter format string.
1809 (inline_outw): Likewise.
1810
99e46354
UD
1811 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
1812 string.h to get memcpy prototype and NULL definition.
1813
18141998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1815
1816 * misc/sys/cdefs.h (__THROW): New macro.
1817 * argp/argp.h: Use it to replace the kludgey __P in inline
1818 function definitions.
1819 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1820 * stdlib/stdlib.h: Likewise.
1821 * wcsmbs/wchar.h: Likewise.
1822 * libio/stdio.h: Likewise.
1823 * stdio/stdio.h: Likewise.
1824 * sysdeps/wordsize-64/inttypes.h: Likewise.
1825 * sysdeps/wordsize-32/inttypes.h: Likewise.
1826 * string/argz.h: Likewise.
1827 * io/sys/stat.h: Likewise.
1828
18291998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1830
1831 * Rules (stdio_lim): New variable.
1832 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1833 on Rules and config.make, use $(move-if-change) to avoid unnessary
1834 recompilations, and cleanup command.
1835 (common-generated): Add bits/stdio_lim.st.
1836
1622fda9
UD
18371998-10-12 Ulrich Drepper <drepper@cygnus.com>
1838
1839 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1840 variable to prevent warnings from use of modern CPU instructions.
1841 Patch by Richard Henderson <rth@cygnus.com>.
1842
1843 * sysdeps/unix/opendir.c: Test whether NAME is directory before
1844 opening it.
1845
18461998-10-12 Philip Blundell <pb@nexus.co.uk>
1847
1848 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1849 semicolon so that profiling works.
1850
4875f665
RM
18511998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1852
1853 * sysdeps/generic/glob.c: #undef mempcpy before #define.
1854
1855 * sysdeps/unix/bsd/clock.c: Use prototype defns.
1856
431f91ba
UD
18571998-10-11 Ulrich Drepper <drepper@cygnus.com>
1858
1859 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1860 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1861
1862 * string/bits/string2.h [!_STRING_ARCH_unaligned]
1863 (__mempcpy_small): Add parameter for 1 byte copy and use it.
1864 Reported by Geoff Keating <geoffk@ozemail.com.au>.
1865
027acb51
UD
18661998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
1867
1868 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1869 it is already defined in <bits/environments.h>.
1870
9a29bc37
UD
18711998-10-09 Ulrich Drepper <drepper@cygnus.com>
1872
1873 * posix/ptestcases.h: Fix typo.
1874
18751998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1876
1877 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1878 (regexec): Allocate regs.start and regs.end as one block.
1879
18801998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1881
1882 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1883 enum decl.
1884
18851998-10-08 Philip Blundell <pb@nexus.co.uk>
1886
1887 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1888 sigcontext union to ...
1889 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1890 file.
1891 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1892 version 2.0 kernels.
1893
9ea350a4
UD
18941998-10-08 Ulrich Drepper <drepper@cygnus.com>
1895
8261bc4b
UD
1896 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1897 reallocation case.
1898
16e866fa 1899 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 1900 * argp/argp-xinl.c: Likewise.
16e866fa 1901
9ea350a4
UD
1902 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1903 Ruffian entry back.
1904 Patch by Christian Gafton.
1905
25b3b17b
UD
19061998-10-08 Paul Eggert <eggert@twinsun.com>
1907
1908 * time/mktime.c (__mktime_internal): When the requested time falls
1909 in a spring-forward gap of size DT, return a time that is DT away
1910 from the requested time, preferring a time whose tm_isdst differs
1911 from the requested value. Bump the max number of probes from 4 to
1912 6 to account for the extra probes needed to discover a
1913 spring-forward gap in the worst case.
1914
19151998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1916
1917 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1918 of the weird alpha architectures.
1919 Patch by Cristian Gafton <gafton@redhat.com>.
1920
19211998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1922
1923 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1924 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1925
604510f7
UD
19261998-10-07 Ulrich Drepper <drepper@cygnus.com>
1927
1928 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1929 (dl_open_worker): Use realloc, not malloc to resize array.
1930 * elf/rtld.c (_dl_initial_searchlist): New variable.
1931 (_dl_main): Copy content of _dl_main_searchlist to
1932 _dl_initial_searchlist.
1933 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1934 _dl_global_scope_alloc.
1935 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1936 * elf/dl-close.c (_dl_close): When removing object with global
1937 scope remove allocated searchlist if no dynamically loaded object
1938 is on it anymore.
1939 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1940 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1941
1942 * malloc/mtrace.c (tr_where): Don't print space in location string,
1943 print it afterwards. Print better symbol name information.
1944
0163d97b
UD
19451998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1946
1947 * manual/filesys.texi (Setting Permissions): Fix example for
1948 reading umask.
1949
19501998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1951
1952 * elf/sprof.c (load_profdata): Fix typo in error message.
1953
c0de721b
AS
19541998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1955
1956 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1957 flag.
1958
442dc326
RM
19591998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1960
1961 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1962
d53427c8
UD
19631998-10-06 Ulrich Drepper <drepper@cygnus.com>
1964
1965 * version.h (VERSION): Bump to 2.0.97.
1966
acdf1251
UD
19671998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1968
1969 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1970 in definitions of inline stat functions so that they match the
1971 declaration.
1972 * stdlib/stdlib.h: Likewise.
1973 * wcsmbs/wchar.h: Likewise.
1974 * libio/stdio.h: Likewise.
1975 * stdio/stdio.h: Likewise.
1976 * sysdeps/wordsize-64/inttypes.h: Likewise.
1977 * sysdeps/wordsize-32/inttypes.h: Likewise.
1978 * string/argz.h: Likewise.
1979 * argp/argp.h: Likewise.
1980
3cb07217
UD
19811998-10-06 Ulrich Drepper <drepper@cygnus.com>
1982
1983 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1984 netinet/in.h.
1985
c10bb795
UD
19861998-10-05 Philip Blundell <philb@gnu.org>
1987
1988 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1989 and constants. Tidy up formatting a little.
1990
1991 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1992 Move definitions to in.h.
1993
8325d82c
UD
19941998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1995
1996 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1997 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1998 Remove inclusion of <linux/swap.h>.
1999
20001998-10-05 Ulrich Drepper <drepper@cygnus.com>
2001
2002 * io/sys/stat.h: Use __P in definitions of inline stat functions
2003 so that they match the declaration.
2004
20051998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2006
2007 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
2008
20091998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2010
2011 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
2012 linux 2.1 version.
2013
20141998-10-02 Philip Blundell <pb@nexus.co.uk>
2015
2016 * sysdeps/arm/dl-machine.h: Fix typo in last change.
2017
2018 * sysdeps/arm/bits/huge_val.h: New file.
2019
20201998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2021
2022 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
2023
2024 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
2025 define.
2026
20271998-10-05 Ulrich Drepper <drepper@cygnus.com>
2028
2029 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
2030 store result of realloc instead of using BUF.
2031
20321998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2033
2034 * misc/sgtty.h (_SGTTY_H): Correct spelling.
2035 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
2036
20371998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2038
2039 * manual/memory.texi (Obstacks): Document
2040 obstack_alloc_failed_handler usage.
2041
2042 * malloc/obstack.h: Enhance comment about
2043 obstack_alloc_failed_handler usage.
2044 * malloc/obstack.c: Likewise.
2045
20461998-10-05 Ulrich Drepper <drepper@cygnus.com>
2047
2048 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
2049 gcc before 2.8 is used.
2050
20511998-10-01 Philip Blundell <pb@nexus.co.uk>
2052
2053 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
2054 from Scott Bambrough.
2055
2056 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
2057
2058 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
2059 include the lock member.
2060
20611998-09-03 Philip Blundell <pb@nexus.co.uk>
2062
2063 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
2064
e3e4e463
UD
20651998-10-01 Ulrich Drepper <drepper@cygnus.com>
2066
2067 * timezone/zic.c: Update from tzcode1998h.
2068 * timezone/europe: Update from tzdata1998i.
2069 * timezone/southamerica: Likewise.
2070
7782d0bf
UD
2071 * sys/types.h: Protect use of long long by __extension__.
2072 * stdlib/stdlib.h: Likewise.
2073 * string/string.h: Likewise.
2074 * sysdeps/i386/bits/byteswap.h: Likewise.
2075 * sysdeps/geeric/bits/byteswap.h: Likewise.
2076 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2077 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2078 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2079 * sysdeps/wordsize-32/inttypes.h: Likewise.
2080 * sysdeps/wordsize-32/stdint.h: Likewise.
2081 * wcsmbs/wchar.h: Likewise.
2082
8325d82c
UD
20831998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2084
2085 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
2086 expression.
2087 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
2088 __strsep): Greatly reduce size of expansion by combining common
2089 expressions.
2090 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
2091 inline function.
2092 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
2093 by the above definitions.
2094
20951998-09-27 Geoff Keating <geoffk@ozemail.com.au>
2096
2097 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
2098 correct struct ipc_perm definition.
2099
21001998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2101
2102 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
2103
999b2f6b
UD
21041998-09-29 Cristian Gafton <gafton@redhat.com>
2105
8325d82c
UD
2106 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
2107 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
2108 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
2109 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
2110 Add net/if_shaper.h.
2111
87052ab7
UD
21121998-09-29 Ulrich Drepper <drepper@cygnus.com>
2113
cf26217d
UD
2114 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
2115
87052ab7
UD
2116 * nis/ypclnt.c: Remove not needed close calls.
2117
6ff5bc68
UD
21181998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
2119
2120 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
2121 check a bit. Also close socket of domain client. Close socket
2122 in IPPORT_RESERVED error case.
2123
21241998-09-28 Ulrich Drepper <drepper@cygnus.com>
2125
2126 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
2127 CMSG_ALIGN (fixes a bug) and correct test for availability of
2128 another entry.
2129 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
2130 Linux version.
2131 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
2132 availability of another entry.
2133 Patch by ak@muc.de.
2134
2135 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
2136 Patch by ak@muc.de.
2137
999b2f6b
UD
2138 * libio/libio.h [!__STDC__]: Define const only if not defined.
2139
6ff5bc68
UD
21401998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2141
2142 * posix/annexc.c (xsystem): New function. Use it instead of
2143 system.
2144
21451998-09-28 Ulrich Drepper <drepper@cygnus.com>
2146
2147 * stdlib/longlong.h: Remove #endif for #if removed in last change.
2148
e07a51b5
UD
21491998-09-25 Ulrich Drepper <drepper@cygnus.com>
2150
2151 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
2152 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
2153 allow using `ut' parameter.
2154 [!emacs]: Define ut_argument, ut_argument_spec, and
2155 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
2156 argument_spec to prototypes and definitions.
2157 (my_strftime): Don't call tzset of ut != 0.
2158 Compute diff as 0 is ut != 0;
2159 [emacs]: Define new emacs_strftime function.
2160 Based on a patch by Paul Eggert.
2161
21621998-09-24 Paul Eggert <eggert@twinsun.com>
2163
2164 * time/strftime.c (my_strftime): When asking for the length of the
2165 subformatted buffer, do not limit the length to look for;
2166 otherwise, we have no reliable way to distinguish between the
2167 empty buffer and an error.
2168
390a4882
UD
21691998-09-25 Ulrich Drepper <drepper@cygnus.com>
2170
2171 * math/Makefile (gmp-objs): Add mp_clz_tab.
2172
21731998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
2174
2175 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
2176 set them.
2177 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
2178 cpus lacking hardware multiply and divide.
2179
21801998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2181
2182 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
2183 $(<F), not $(^F).
2184
21851998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2186
2187 * db/btree/bt_delete.c: Fix -Wparentheses warning.
2188
21891998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2190
2191 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
2192 $(do-install).
2193
e503270c
UD
21941998-09-24 Ulrich Drepper <drepper@cygnus.com>
2195
e07a51b5 2196 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
2197
21981998-09-24 Paul Eggert <eggert@twinsun.com>
2199
390a4882 2200 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
2201 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
2202 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
2203 1998-09-11 fix to this case.
2204 (wkday_len, month_len): Remove these macros; they're no longer needed.
2205
22061998-09-24 Paul Eggert <eggert@twinsun.com>
2207
390a4882 2208 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
2209 zero-sized buffer.
2210
3465c0ce
UD
22111998-09-24 Paul Eggert <eggert@twinsun.com>
2212
e503270c 2213 * time/strftime.c (underlying_strftime):
3465c0ce
UD
2214 Set the buffer to a nonzero value before calling
2215 strftime, and check to see whether strftime has set the buffer to zero.
2216 This lets us distinguish between an empty buffer and an error.
2217
22181998-09-24 Paul Eggert <eggert@shade.twinsun.com>
2219
e503270c 2220 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
2221 This fix is propagated from tzcode1998g.tar.gz.
2222
7a3bfc4e
UD
22231998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
2224
2225 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
2226 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
2227 sys_siglist. This is handled correctly by the weak_alias macro.
2228
369b1933
UD
22291998-09-24 Ulrich Drepper <drepper@cygnus.com>
2230
50a1b837
UD
2231 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
2232 of mempcpy. Reported by Andreas Jaeger.
2233
369b1933
UD
2234 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
2235 pollute the namespace since the compiler will resolve it inline.
2236 Reported by Florian La Roche <florian@suse.de>.
2237
2b79b6d5
UD
22381998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
2239
2240 * timezone/private.h: Update from tzcode1998g.
2241
2242 * timezone/africa: Update from tzdata1998h.
2243 * timezone/asia: Likewise.
2244 * timezone/australasia: Likewise.
2245 * timezone/europe: Likewise.
2246 * timezone/northamerica: Likewise.
2247 * timezone/southamerica: Likewise.
2248 * timezone/zone.tab: Likewise.
2249
3d42e04d
UD
22501998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2251
2252 * misc/sys/mman.h: New file.
2253
2254 * sysdeps/generic/bits/mman.h: New file.
2255 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
2256 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
2257 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
2258 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
2259
2260 * sysdeps/generic/sys/mman.h: Removed.
2261 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
2262 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
2263 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
2264 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
2265 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
2266
2267 * include/sys/mman.h: Look directly for misc/sys/mman.h.
2268 * misc/Makefile (headers): Add bits/mman.h.
2269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2270 bits/mman.h.
2271
2272 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
2273 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2274 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2275 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2276 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2277 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2278 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2279 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
2280
22811998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2282
2283 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
2284 * sysdeps/mach/alpha/thread_state.h: Likewise.
2285 * sysdeps/mach/i386/sysdep.h: Likewise.
2286 * sysdeps/mach/i386/thread_state.h: Likewise.
2287 * sysdeps/mach/mips/sysdep.h: Likewise.
2288 * sysdeps/mach/mips/thread_state.h: Likewise.
2289 * sysdeps/posix/profil.c: Likewise.
2290 * sysdeps/i386/i586/memcopy.h: Likewise.
2291 * sysdeps/mach/pagecopy.h: Likewise.
2292
a379e56a
UD
22931998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
2294
2295 * libio/stdio.h: Define __need_getopt and include getopt.h to define
2296 getopt stuff.
2297 * posix/unistd.h: Likewise.
2298 * stdio/stdio.h: Likewise.
2299 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
2300 define only getopt and the variables.
2301
34a4b66d
UD
23021998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2303
2304 * scripts/test-installation.pl (installation_problem): Don't link
2305 the test program against libdb1.
2306
24fd4cc4
UD
23071998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
2308
2309 * Makeconfig (all-subdirs): Add db.
2310 * Versions.def: Add definition for libdb1.
2311 * shlib-versions: Add definitions for libdb1.
2312 * db/Makefile (extra-libs): Replace by libdb1.
2313 (libdb-routines): Rename to libdb1-routines.
2314 (headers): Rename to db1-headers.
2315 (distribute): Add $(db1-headers).
2316 (install-others): Define to install symlink libdb.so.NN and the
2317 $(db1-headers).
a379e56a 2318 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
2319 Remove rules to build makedb.
2320 * db/Versions: Rename libdb to libdb1.
2321 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 2322 * db/makedb.c: Removed.
24fd4cc4
UD
2323
2324 * scripts/versions.awk: Recognize digits in library names.
2325
2326 * db/btree/bt_open.c: Fix compiler warnings.
2327 * db/btree/bt_put.c: Likewise.
2328 * db/btree/bt_split.c: Likewise.
2329 * db/hash/hash.c: Likewise.
2330 * db/hash/hash_bigkey.c: Likewise.
2331 * db/recno/rec_close.c: Likewise.
2332
af564203
UD
2333 * Makefile: Add localedata/% goal.
2334
c94a8080
UD
23351998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2336
2337 * posix/execvp.c: Don't give up searching the PATH if execve
2338 returns ENOTDIR.
2339
23401998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
2341
2342 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
2343 if _dl_fpu_control_set is set.
2344 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
2345 * elf/rtld.c: Don't define _dl_fpu_control_set.
2346 * elf/Versions: Remove _dl_fpu_control_set.
2347
23481998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
2349
2350 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
2351 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2352 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2353 Correct values of other SA_* macros according to kernel headers.
2354
23551998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2356
2357 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
2358 variable l.
2359 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
2360 old.
2361
23621998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2363
2364 * elf/ldsodefs.h: Fix typo in comment.
2365
23661998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2367
2368 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
2369 char when comparing buffer contents with putback character.
2370
23711998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2372
2373 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
2374 Undo last change.
2375 * elf/Versions: Undo last change. Export _dl_fpu_control and
2376 _dl_fpu_control_set.
2377 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
2378 variables. Include <fpu_control.h>.
2379 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
2380 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
2381 to indicate that is was seen.
2382 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
2383 only if _dl_fpu_control was set and is equal to desired value.
2384 * math/Makefile (aux): Undo last change.
2385 * math/Versions: Export __fpu_control with version GLIBC_2.0.
2386
f74e8ed1
AS
23871998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2388
2389 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
2390 optimized.
2391
e7c5513d
UD
23921998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
2393
2394 * string/bits/string2.h: Add mempcpy optimization.
2395 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
2396 * intl/localealias.c: Define mempcpy only if not already defined.
2397
2398 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
2399 defined.
2400
24011998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2402
2403 * csu/abi-note.S: Emit the note directly instead of defining
2404 a preprocessor macro that's only used once. Don't include sysdep.h.
2405 * abi-tags: Generalize Solaris entry.
2406
24071998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2408
2409 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
2410 Change to array to avoid runtime relocation.
2411 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
2412
24131998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2414
2415 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
2416 * math/Makefile ($(objpfx)libieee.a): Likewise.
2417
24181998-09-21 Ulrich Drepper <drepper@cygnus.com>
2419
2420 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
2421 Patch by John Tobey <jtobey@banta-im.com>.
2422
b0fd6165
UD
24231998-09-20 Ulrich Drepper <drepper@cygnus.com>
2424
2425 * login/Makefile (distribute): Remove pty-internal.h, add
2426 pty-private.h.
1391f5d3
UD
2427
2428 * stdlib/tst-strtol.c: Add more checks.
2429 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2430
a0780919
UD
24311998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
2432
2433 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
2434 * elf/elf.h: Add AT_FPUCW.
2435 * elf/Makefile (dl-routines): Add fpu_control.
2436 (elide-routines.os): Add fpu_control.
2437 (rtld-routines): Add fpu_control.
2438 * math/Makefile (aux): Remove fpu_control.
2439 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
2440 (_dl_show_auxv): Likewise.
2441 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
2442 if different from OS default.
2443
2444 * stdio-common/tstscanf.c: Add test case for (nil).
2445
00bc5db0
UD
24461998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
2447
2448 * libio/fileops.c (_IO_new_file_underflow): Before allocating
2449 buffer make sure the pushback buffer is destroyed.
2450 (_IO_new_file_seekoff): Likewise.
2451 If mode==0 quit early with the result.
2452 Clear OEF flag after successful fseek.
2453 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
2454 * libio/ftello.c (ftello): Add offset from original buffer if
2455 stream has pushed back characters.
2456 * libio/ftello64.c (ftello64): Likewise.
2457 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
2458 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
2459 * libio/ioftell.c (_IO_ftell): Likewise.
2460 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
2461 and _IO_save_ptr.
2462 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
2463 (_IO_default_pbackfail): Only stored push back character in original
2464 buffer if it is the same as the one in the file at this position.
2465 * libio/iofclose.c: Free backup buffer if one is available.
2466 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
2467 mode!=0.
2468
2469 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
2470
2471 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
2472
c53a89d4
UD
2473 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
2474
00bc5db0
UD
24751998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
2476
2477 * login/programs/pt_chown.c (more_help): Correct message that
2478 describes the purpose of the program.
2479
2480 * login/openpty.c: Do not include pty-private.h.
2481 (pts_name): New function. Return name of slave pseudo terminal in
2482 an allocated buffer if necessary.
2483 (openpty): Use pts_name to get name of the slave end of the pseudo
2484 terminal pair.
2485
2486 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
2487 pts_name before return.
2488
24891998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
2490
2491 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
2492
88263bc9
UD
24931998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2494
2495 * login/openpty.c: Include pty-private.h instead of
2496 pty-internal.h.
2497
872ea854
UD
24981998-09-09 Philip Blundell <pb@nexus.co.uk>
2499
2500 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
2501
25021998-09-07 Philip Blundell <pb@nexus.co.uk>
2503
2504 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
2505 recent ld.so changes.
2506 (elf_machine_runtime_setup): Correct behaviour when profiling.
2507
9b3c7c3c
UD
25081998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
2509
2510 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
2511 Patch by John Tobey <jtobey@banta-im.com>.
2512
25131998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
2514
2515 * login/pty-internal.h: Removed. Moved constants related to the
2516 `grantpt' helper program protocol to ...
2517 * login/pty-private.h: ... here. New file.
2518 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
2519 to make the function work with kernels >= 2.1.115.
2520 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
2521 version if using the cloning device fails.
2522 * sysdeps/unix/sysv/linux/grantpt.c: New file.
2523 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
2524 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
2525 use by Linux specific code.
2526 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
2527 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
2528 function. (grantpt): Use pts_name, check group and permission
2529 mode in addition to owner. Try to set the owner, group and
2530 permission mode first without invoking the helper program.
2531 * login/programs/pt_chown.c: Largely rewritten. Add argp and
2532 internationalization support. Use symbolic constants instead of
2533 hardwired numbers for permission mode.
2534 * sysdeps/unix/bsd/ptsname.c: New file.
2535
25361998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
2537
2538 * posix/wordexp-test.c: Undo last change.
2539
2540 * posix/wordexp.c: Undo last change.
2541
d8f2b9ea
UD
25421998-09-16 Ulrich Drepper <drepper@cygnus.com>
2543
2544 * nscd/grpcache.c (save_grp): Partly undo last change.
2545
2546 * nscd/pwdcache.c (save_pwd): Undo last change.
2547
9c4c0024
UD
25481998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2549
2550 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
2551 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
2552
25531998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
2554
2555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2556 Add profiling support.
2557 (TRAMPOLINE_TEMPLATE): New macro.
2558 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2559 (RTLD_START): Prettify, and set __libc_stack_end properly.
2560 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
2561 and check for sym being NULL instead.
2562 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
2563 of stack space.
2564 * sysdeps/sparc/sparc64/lshift.S: Likewise.
2565 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
2566 * sysdeps/sparc/sparc64/rshift.S: Likewise.
2567 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
2568 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
2569 MEDANY code model %g4 usage.
2570 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
2571 MEDANY code model %g4 usage.
2572 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
2573 code model address formation.
2574 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
2575 include elf/ldsodefs.h
2576 (DT_SPARC): Remove.
2577 (elf_machine_matches_host): It is now EM_SPARCV9.
2578 (elf_machine_dynamic): Clean up to remove ugly cast.
2579 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
2580 new PLT formats.
2581 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
2582 Prettify rest of function.
2583 [R_SPARC_COPY]: Check for sym being NULL.
2584 [R_SPARC_32]: Handle it.
2585 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
2586 MEDMID code model.
2587 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
2588 MEDANY code model.
2589 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
2590 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
2591 Add profiling support.
2592 (TRAMPOLINE_TEMPLATE): New macro.
2593 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2594 (RTLD_START): Prettify and set __libc_stack_end.
2595 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
2596 Define.
2597 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
2598 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
2599 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
2600 unused variable scratch.
2601 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2602 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
2603 Declare.
2604 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
2605 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
2606 old format kernel sigaction structures.
2607 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
2608 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
2609 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
2610 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
2611 ucontext include.
2612 (_JMPBUF_UNWINDS): Define.
2613 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
2614 statfs64 structure, which is exactly the same as the normal one.
2615 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
2616 of stack. Use correct syscall trap number. Add branch prediction
2617 settings to branch instructions. Remove old MEDANY code model %g4
2618 referneces for non-PIC.
2619 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2620 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2621 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
2622 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2623 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2624 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
2625 __libc_longjmp and __libc_siglongjmp strong aliases.
2626 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
2627 Also define to __no__readdir64_decl around readdir.c inclusion.
2628 (__readdir64): Add strong alias.
2629 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
2630 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
2631 Set strong and weak names properly.
2632
26331998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2634
2635 * manual/Makefile (AWK): Default to gawk if standalone.
2636
26371998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2638
2639 * Makefile (distribute): Undo last change.
2640 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
2641 for sysdep headers.
2642 (+subdir-headers): Removed, unused.
2643
26441998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2645
2646 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
2647 $(do-install).
2648
26491998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2650
2651 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
2652 absolute name in $(config-sysdirs), can never happen.
2653 ($(+sysdir_pfx)sysd-rules): Likewise.
2654 * Makeconfig (full-config-sysdirs): Likewise.
2655 (all-Subdirs-files): Prepend $(..).
2656
2657 * configure.in: Don't check for absolute name in $add_ons_pfx, can
2658 not happen. Let --enable-add-ons=yes work if no add-ons actually
2659 exist.
2660
26611998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2662
2663 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
2664 continuations in command.
2665
26661998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2667
2668 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
2669
a8125d85
UD
26701998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
2671
2672 * posix/wordexp-test.c: If expansion or substitution occurs
2673 anywhere in a word, the entire word is subject to field-splitting.
2674
2675 * posix/wordexp.c (parse_glob): Look for end of word instead of
2676 end of field when deciding what to glob.
2677 (field_split_word): New function, now the only place where
2678 field-splitting is performed.
2679 (parse_dollars): New parameter - tell the caller if
2680 field-splitting should be performed on this word.
2681
2682 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
2683 succeeded (or failed with WRDE_NOSPACE).
2684
26851998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
2686
2687 * posix/wordexp.c (wordexp): Don't convert IFS characters to
2688 blanks.
2689
2690 * posix/wordexp-test.c: Words not the result of expansion or
2691 substitution should remain unchanged.
2692
aa2bc6a3
UD
26931998-09-15 Ulrich Drepper <drepper@cygnus.com>
2694
2695 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
2696 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
2697
3a60301a
UD
26981998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2699
2700 * stdio-common/Makefile: Include Makeconfig so that
2701 $(inst_includedir) is defined.
2702
77f0d179
UD
27031998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2704
2705 * io/pwd.c: Include <mcheck.h>.
2706
6beaac4d
UD
27071998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
2708
2709 * nscd/pwdcache.c (save_pwd): Correct copying.
2710 * nscd/grpcache.c (save_grp): Likewise.
2711
0ff0d59e
UD
27121998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
2713
2714 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
2715 (free_pwd): Adjust for this change.
2716 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
2717 (free_grp): Adjust for this change.
2718
d3f8acb3
UD
27191998-09-14 Ulrich Drepper <drepper@cygnus.com>
2720
2721 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
2722
14eb5d5d
UD
27231998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
2724
2725 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
2726 (install-others): Add bits/stdio_lim.h.
2727 Add rule to install bits/stdio_lim.h.
2728
2729 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
2730
2731 * Makefile (distribute): Add include/sys/mman.h.
2732
2733 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
2734 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
2735 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
2736
0a1590ba
UD
2737 * grp/initgroups.c: Include stdlib.h.
2738 Patch by Zack Weinberg.
2739
1ffaaca2
UD
27401998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
2741
2742 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
2743 for field-splitting :abc: is correct, and that two fields should
2744 result. Revert tests to reflect this.
2745
2746 * posix/wordexp.c (w_emptyword): Remove function.
2747 (exec_comm): Don't use w_emptyword.
2748 (parse_param): Likewise.
2749
4ca020f5
UD
27501998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
2751
2752 * sysdeps/arm/fpu/Dist: Moved to...
2753 * sysdeps/arm/Dist: ...here.
2754 * sysdeps/posix/Dist: Removed.
2755 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
2756 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
2757
f624c216
UD
27581998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2759
2760 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
2761
7ef90c15
UD
27621998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
2763
2764 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
2765
27661998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2767
2768 * libc-work/nis/nss_nisplus/nisplus-service.c
2769 (_nss_nisplus_parse_servent): Convert port in network byte order.
2770
27711998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2772
2773 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
2774 to provide only malloc and calloc.
2775 * include/stdlib.h: Support the above.
2776 * string/bits/string2.h: Use __need_malloc_and_calloc when
2777 including stdlib.h.
2778 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
2779
2780 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
2781 * iconvdata/iso646.c: Include <stdlib.h>.
2782
27831998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2784
2785 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
2786 * sysdeps/libm-ieee754/w_pow.c: Likewise.
2787 * sysdeps/libm-ieee754/w_powf.c: Likewise.
2788 * sysdeps/libm-ieee754/w_powl.c: Likewise.
2789
27901998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2791
2792 * stdio-common/stdio_lim.h.in: New file. All parameters
2793 are adjustable at build time.
2794 * Rules: Add a rule to build bits/stdio_lim.h from
2795 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
2796 all subdirectories know how to make the file. It can't be
2797 in Makerules because then it gets built at top level and the
2798 dependencies are wrong.)
2799
2800 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
2801 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
2802 stdio_lim.h.
2803 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
2804 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
2805 * sysdeps/posix/Makefile: Removed.
2806 * sysdeps/posix/mk-stdiolim.c: Removed.
2807 * sysdeps/generic/bits/stdio_lim.h: Removed.
2808
28091998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2810
2811 * argp/argp-help.c: Fixup indentation.
2812 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
2813 * resolv/nss_dns/dns-network.c: Likewise.
2814 * resolv/res_send.c: Likewise.
2815 * rt/aio_cancel.c: Likewise.
2816 * rt/aio_misc.c: Likewise.
2817
28181998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2819
2820 * Makefile (install-symbolic-link): Remove the link list file at last.
2821 * Makerules (install-clean-symbolic-link-list): Removed.
2822
28231998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2824
2825 * timezone/tst-timezone.c: Print time in UTC to get consistent
2826 output.
2827
28281998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2829
2830 * elf/rtld.c (_dl_rpath): Removed.
2831 * elf/dl-support.c (_dl_path): Removed.
2832 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2833 (CFLAGS-dl-support.c): Removed.
2834
2835 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
2836 uses changed.
2837 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2838 instead of appending it to the main map's rpath info.
2839 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2840 DT_RPATHs. This makes it effective again.
2841 (decompose_rpath): Remove second parameter, callers changed.
2842 (fillin_rpath): Allocate enough space in curwd.
2843 (expand_dynamic_string_token): Cope with get_origin returning -1.
2844
28451998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2846
2847 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2848 passwd.adjunct.
2849
2850 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2851 invalid password.
2852
28531998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2854
2855 * locale/programs/locale.c: Update dates.
2856
5d47ceca
UD
28571998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2858
2859 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
b1fcf686 2860 size_t is defined. Some reordering of definitions to make
5d47ceca
UD
2861 maintaining this file in parallel with the linux-specific file easier.
2862
bd31edf2
UD
28631998-09-13 Ulrich Drepper <drepper@cygnus.com>
2864
2865 * io/pwd.c (main): Add call to mtrace.
2866
2867 * malloc/mtrace.pl: Quote @ in string.
2868
33c3e20e
UD
28691998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2870
2871 * posix/wordexp.c (parse_arith): Fix memory leaks.
2872 (exec_comm): Likewise.
2873 (parse_param): Likewise.
2874 (wordexp): Likewise.
2875 (exec_comm): Reduce number of function return points.
2876 (parse_param): Likewise.
2877 (wordexp): Likewise.
2878
1720f4d0
UD
28791998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2880
2881 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2882 yield three fields, not two. Test both parameter expansion and
2883 command substitution for correct field-splitting behaviour.
2884
2885 * posix/wordexp.c (w_emptyword): New function.
2886 (parse_param): Use it.
2887 (exec_comm): Likewise, for consistency with the way parse_param
2888 splits fields.
2889 (parse_param): Fix some memory leaks.
2890
2d09b95d
UD
28911998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2892
2893 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2894 Don't mark asm `volatile'.
2895 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2896 from the data cache too. Assume it isn't in the instruction cache yet.
2897 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2898
b39c6f8b
UD
28991998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2900
2901 * sysdeps/generic/segfault.c (install_handler): Install signal
2902 handler with SA_ONSTACK instead of setting the stack flags to
2903 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2904 defined.
2905
29061998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2907
2908 * signal/signal.h: Fix multiple inclusion guard to cover the
2909 entire file.
2910 * wcsmbs/wchar.h: Remove prototype of internal function
2911 __mbsrtowcs.
2912 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2913 arithmetic on `void *'.
2914
c06cc21c
UD
29151998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2916
2917 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2918
2919 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2920 field-splitting here.
2921 (wordexp): If out of memory mid-word, free the word (but still
2922 leave pwordexp alone for caller to see).
2923 (parse_param): Allow for zero-length fields (smarter checking of
2924 memory allocation failure).
2925 (w_addword): Convert NULL words to "".
2926 (wordexp): Convert left-over IFS characters to blanks (like bash).
2927
81e0cb2d
UD
29281998-09-11 Ulrich Drepper <drepper@cygnus.com>
2929
350eb336
UD
2930 * configure.in: Use test -f instead of test -e.
2931 Patch by John Tobey <jtobey@banta-im.com>.
2932
2933 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2934 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2935 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2936 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2937 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2938 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2939 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2940 Patches by John Tobey <jtobey@banta-im.com>.
2941
81e0cb2d
UD
2942 * time/strftime.c (my_strftime): Delay use of *tp values until
2943 latest possible point to allow partly initialized structures
2944 (e.g., from strptime).
2945
514d9bca
UD
2946 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2947 and NATS-SEFI.
2948 Define *-routines variables for new modules.
2949 (distribute): Add .c files for new modules.
2950 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2951 and nats-sefi.h.
2952 Add rules for header generation.
2953 * iconvdata/gconv-modules: Add entries for new modules.
2954 * iconvdata/iso_10367-box.c: New file.
2955 * iconvdata/mac-is.c: New file.
2956 * iconvdata/nats-dano.c: New file.
2957 * iconvdata/nats-sefi.c: New file.
2958
81e0cb2d
UD
29591998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2960
2961 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2962 loader if PIC is not defined.
2963
ec04e9ba
UD
29641998-09-11 Ulrich Drepper <drepper@cygnus.com>
2965
2966 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2967 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2968 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2969 and ISO_5428.
2970 Define *-routines variables for new modules.
2971 (distribute): Add .c files for new modules.
2972 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2973 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2974 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2975 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 2976 Add rules for header generation.
ec04e9ba
UD
2977 * iconvdata/gconv-modules: Add entries for new modules.
2978 * iconvdata/csn_369103.c: New file.
2979 * iconvdata/cwi.c: New file.
2980 * iconvdata/dec-mcs.c: New file.
2981 * iconvdata/ecma-cyrillic.c: New file.
2982 * iconvdata/gost_19768-74.c: New file.
2983 * iconvdata/greek-ccitt.c: New file.
2984 * iconvdata/greek7-old.c: New file.
2985 * iconvdata/greek7.c: New file.
2986 * iconvdata/inis-8.c: New file.
2987 * iconvdata/inis-cyrillic.c: New file.
2988 * iconvdata/inis.c: New file.
2989 * iconvdata/iso6937-2.c: New file.
2990 * iconvdata/iso_2033.c: New file.
2991 * iconvdata/iso_5427-ext.c: New file.
2992 * iconvdata/iso_5427.c: New file.
2993 * iconvdata/iso_5428.c: New file.
2994
2995 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2996 entries.
2997 Convert U02dd correctly.
2998
25c849b1
RH
29991998-09-11 20:46 Richard Henderson <rth@cygnus.com>
3000
3001 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
3002 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3003 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
3004 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
3005
04795ad9
UD
30061998-09-11 Ulrich Drepper <drepper@cygnus.com>
3007
3008 * resolv/res_init.c (res_init): Handle resolv.conf file with only
3009 one nameserver correctly. Patch by HJ Lu.
3010
3011 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
3012 and ANSI_X3.110.
3013 Define *-routines variables for new modules.
3014 (distribute): Add .c files for new modules.
3015 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
3016 Add rules for hedaer generation.
3017 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
3018 * iconvdata/ansi_x3.110.c: New file.
3019 * iconvdata/asmo_449.c: New file.
3020 * iconvdata/baltic.c: New file.
3021 * iconvdata/iec_p27-1.c: New file.
3022
3023 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
3024 entries.
3025 Convert U02dc correctly.
3026
3027 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
3028 * math/atest-exp2.c: Likewise.
3029 * math/atest-sincos.c: Likewise.
3030
3031 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
3032 is defined.
3033
30341998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3035
3036 * string/strcoll.c: Optimize a few expressions.
3037 * string/strxfrm.c: Likewise.
3038
5e0889da
UD
30391998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3040
3041 * manual/locale.texi: Fix typos.
3042
2c86b2bc
UD
30431998-09-10 Ulrich Drepper <drepper@cygnus.com>
3044
26afaa63
UD
3045 * stdlib/random_r.c (__setstate_r): Allow call with same state
3046 array as currently used (PR libc/774).
3047
6c79e60c
UD
3048 * include/limits.h: Include gcc's header even if this file is
3049 found more than once before it (PR libc/778)
3050
ec04e9ba
UD
3051 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
3052 (sysdep_headers): Remove sys/debugreg.h.
3053 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
3054 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
3055 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
3056 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
3057
2c86b2bc
UD
3058 * stdio-common/tmpnam.c: Move local static variable buf to
3059 toplevel and rename to tmpnam_buffer to ease debugging.
3060 Patch by Joe Keane <jgk@jgk.org>.
3061 Optimize s == NULL case a bit.
3062
8e9f53fc
UD
3063 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
3064 correction.
3065
482a3be2
UD
30661998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
3067
3068 * resolv/res_init.c (res_init): Initialize _res.nscount and
3069 _res.nsaddr.sin_port differently for the can when no loopback
3070 is available to allow immediate timeout in non-networking environments.
3071 Patch by Cristian Gafton <gafton@redhat.com>.
3072
e8238963
UD
30731998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3074
3075 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
3076 BAR and not EM DASH.
3077 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
3078 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
3079 Fixes PR libc/717.
3080
90865aa8
UD
30811998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
3082
3083 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
3084 for test.
3085 * timezone/tst-timezone.c (tests): Fix typo in last patch.
3086
3087 * time/tzfile.c (__tzfile_read): Handle case when there are no
3088 transitions. Set __timezone based on computed offset.
3089 * time/tzset.c (tzset_internal): Set __timezone before returning.
3090
3091 * time/tzset.c (tzset_internal): Optimize handling of local string
3092 copy.
3093
30941998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3095
3096 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
3097 libc/776).
3098
adac8450
UD
30991998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3100
3101 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
3102 (csqrt_test): Likewise.
90865aa8 3103 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 3104
8e140239
UD
31051998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
3106
3107 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
3108 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3109 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
3110
78acf671
UD
31111998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
3112
3113 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
3114 the special `-1' pointer.
3115
6e4c40ba
UD
31161998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
3117
3118 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
3119 inline.
3120
31211998-09-07 Paul Eggert <eggert@twinsun.com>
3122
3123 * time/mktime.c (__EXTENSIONS__): Define if not defined.
3124 (_REENTRANT): Remove. It has undesirable consequences in
3125 Solaris 2.6 (e.g. it turns off the putc macro). Defining
3126 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
3127 is what we want.
3128 * time/strftime.c: Likewise.
3129
31301998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3131
3132 * elf/dl-error.c: Fix spelling.
3133
31341998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3135
3136 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
3137 * stdio-common/_itoa.c: Likewise.
3138 * stdio-common/printf_fp.c: Likewise.
3139 * stdio-common/vfscanf.c: Likewise.
3140 * wcsmbs/wcstok.c: Likewise.
3141 * sysdeps/generic/glob.c: Likewise.
3142 * posix/getopt.c: Likewise.
3143 * sysdeps/posix/getaddrinfo.c: Likewise.
3144 * posix/wordexp.c: Likewise.
3145 * io/ftw.c: Likewise.
3146 * io/fts.c: Likewise.
3147 * misc/getpass.c: Likewise.
3148 * iconv/gconv_conf.c: Likewise.
3149 * argp/argp-fmtstream.c: Likewise.
3150 * argp/argp-help.c: Likewise.
3151 * elf/dl-load.c: Likewise.
3152 * locale/programs/stringtrans.c: Likewise.
3153 * catgets/gencat.c: Likewise.
3154 * posix/getconf.c: Likewise.
3155 * iconv/gconv_conf.c: Likewise.
3156 * iconv/iconv_prog.c: Likewise.
3157
3158 * string/strcoll.c: Optimize a few expressions.
3159 * string/strxfrm.c: Likewise.
3160
31611998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3162
3163 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
3164 level to avoid uninit variable warning.
3165
31661998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 3167
769ca810 3168 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 3169 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 3170
2aa236b1
AS
3171 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
3172 C9x macro.
3173
8ea4a95a
UD
31741998-09-08 Ulrich Drepper <drepper@cygnus.com>
3175
6e4c40ba 3176 Fix compatibility problems introduced in last change.
dc27836e
UD
3177 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
3178 defined.
3179 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
3180 -DWEAK_GMON_START to CFLAGS-initfini.s.
3181
e4d50917
UD
3182 * elf/dl-object.c (_dl_new_object): Store map address in
3183 _dl_loaded if _dl_loaded is NULL.
87c812c2 3184 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 3185
8ea4a95a
UD
3186 * sysdeps/generic/setrlimit64.c: Remove stub warning.
3187
88c91118
UD
31881998-09-07 Ulrich Drepper <drepper@cygnus.com>
3189
3190 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
3191 quiet.
2c874db2
UD
3192 * db2/btree/bt_cursor.c: Likewise.
3193 * db2/common/db_region.db_c: Likewise.
3194 * db2/common/db_salloc.db_c: Likewise.
3195 * db2/db/db.c: Likewise.
3196 * db2/db/db_rec.c: Likewise.
3197 * db2/hash/hash.c: Likewise.
3198 * db2/hash/hash_page.c: Likewise.
3199 * db2/hash/hash_rec.c: Likewise.
3200 * db2/log/log_findckp.c: Likewise.
3201 * db2/log/log_get.c: Likewise.
3202 * db2/log/log_put.c: Likewise.
3203 * db2/mp/mp_fget.c: Likewise.
3204 * db2/mp/mp_fput.c: Likewise.
3205 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
3206 * stdlib/strtol.c: Likewise.
3207 * string/strcoll.c: Likewise.
3208 * string/strxfrm.c: Likewise.
94b78bb2
UD
3209 * argp/argp-help.c: Likewise.
3210 * argp/argp-parse.c: Likewise.
3121cc04 3211 * resolv/res_debug.c: Likewise.
88c91118 3212
26644e87
UD
32131998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
3214
3215 * math/tgmath.h (scalb): Only define for __USE_MISC or
3216 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
3217
2b33e5b0
UD
32181998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3219
3220 * libio/stdio.h: Fix comment.
3221
3222 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
3223 __USE_ISOC9X.
3224
6796bc80
UD
32251998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3226
3227 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
3228
3229 * elf/dl-open.c: Quiet -Wparentheses warnings.
3230 * iconvdata/johab.c: Likewise.
3231 * iconvdata/uhc.c: Likewise.
3232 * inet/inet_net.c: Likewise.
3233 * io/fts.c: Likewise.
3234 * locale/newlocale.c: Likewise.
3235 * misc/getttyent.c: Likewise.
3236 * misc/mntent_r.c: Likewise.
3237 * misc/ttyslot.c: Likewise.
3238 * nscd/nscd_conf.c: Likewise.
3239 * nss/nsswitch.c: Likewise.
3240 * resolv/gethnamaddr.c: Likewise.
3241 * resolv/nsap_addr.c: Likewise.
3242 * resolv/res_debug.c: Likewise.
3243 * stdio-common/_itoa.c: Likewise.
3244 * stdlib/strtod.c: Likewise.
3245 * string/strverscmp.c: Likewise.
3246 * sunrpc/svc.c: Likewise.
3247 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
3248 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
3249 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
3250 * sysdeps/posix/getaddrinfo.c: Likewise.
3251
baa3334a
UD
32521998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
3253
3254 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
3255 for use of global scope.
3256 * elf/dlvsym.c (dlvsym_doit): Likewise.
3257
32581998-09-02 Paul Eggert <eggert@twinsun.com>
3259
3260 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
3261 copy the redundant bytes at the end of the format as-is; don't
3262 just copy their first byte and then rescan, as that might get
3263 us an encoding error.
3264 Account correctly for the length of multibyte sequences in the
3265 format.
3266
32671998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
3268
3269 * posix/wordexp-test.c: Add tests for different IFS values.
3270 Change unquoted-newline test so that newline is not in IFS.
3271
3272 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
3273 determining IFS characters. Return WRDE_BADCHAR for unquoted
3274 special characters _except_ if they are separators.
3275
32761998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
3277
3278 * include/tgmath.h: New file.
3279
3280 * libio/stdio.h: Correct reversed #ifs.
3281 Patch by Zack Weinberg.
3282
3283 * manual/creature.texi: Better explain reason for feature select
3284 macros.
3285 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3286
32871998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3288
3289 * include/alloca.h: Add multiple-inclusion guard.
3290 * include/db.h: Likewise.
3291 * include/db_185.h: Likewise.
6796bc80 3292 * include/dlfcn.h: Likewise.
baa3334a
UD
3293 * include/fcntl.h: Likewise.
3294 * include/grp.h: Likewise.
3295 * include/libintl.h: Likewise.
3296 * include/mntent.h: Likewise.
3297 * include/pwd.h: Likewise.
3298 * include/sched.h: Likewise.
3299 * include/search.h: Likewise.
3300 * include/setjmp.h: Likewise.
3301 * include/shadow.h: Likewise.
3302 * include/signal.h: Likewise.
3303 * include/stdio.h: Likewise.
3304 * include/stdlib.h: Likewise.
3305 * include/string.h: Likewise.
3306 * include/termios.h: Likewise.
3307 * include/time.h: Likewise.
3308 * include/ulimit.h: Likewise.
3309 * include/utmp.h: Likewise.
3310 * include/wchar.h: Likewise.
3311 * include/sys/file.h: Likewise.
3312 * include/sys/gmon.h: Likewise.
3313 * include/sys/ioctl.h: Likewise.
3314 * include/sys/mman.h: Likewise.
3315 * include/sys/resource.h: Likewise.
3316 * include/sys/select.h: Likewise.
3317 * include/sys/socket.h: Likewise.
3318 * include/sys/statfs.h: Likewise.
3319 * include/sys/time.h: Likewise.
3320 * include/sys/times.h: Likewise.
3321 * include/sys/wait.h: Likewise.
3322
be935610
UD
33231998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
3324
3325 * version.h (VERSION): Bump to 2.0.96.
3326
3327 Rewrite runtime linker to be truly thread-safe. There is now no
3328 global variable specifying the scope. We create all needed
3329 scopes at the time the link maps are created.
3330 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
3331 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
3332 l_symbolic_searchlist, l_scope, and l_local_scope elements in
3333 struct link_map.
3334 * elf/dl-close.c: Rewritten accordingly.
3335 * elf/dl-deps.c: Likewise.
3336 * elf/dl-error.c: Likewise.
3337 * elf/dl-init.c: Likewise.
3338 * elf/dl-load.c: Likewise.
3339 * elf/dl-lookup.c: Likewise.
3340 * elf/dl-object.c: Likewise.
3341 * elf/dl-open.c: Likewise.
3342 * elf/dl-reloc.c: Likewise.
3343 * elf/dl-runtime.c: Likewise.
3344 * elf/dl-support.c: Likewise.
3345 * elf/dl-symbol.c: Likewise.
3346 * elf/dl-version.c: Likewise.
be935610
UD
3347 * elf/dlsym.c: Likewise.
3348 * elf/dlvsym.c: Likewise.
3349 * elf/ldsodefs.h: Likewise.
3350 * elf/rtld.c: Likewise.
3351 * iconv/gconv_dl.c: Likewise.
3352 * nss/nsswitch.c: Likewise.
3353 * sysdeps/i386/dl-machine.h: Likewise.
3354 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3355
6796bc80
UD
3356 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
3357 Define RTLD_DEFAULT.
3358
2b4083dd
RM
33591998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
3360
3361 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
3362 __getopt_clean_environment with __environ instead of envp.
3363
a361203e
RM
33641998-09-05 Roland McGrath <roland@baalperazim.frob.com>
3365
2b4083dd
RM
3366 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
3367
531e4bca
RM
3368 * string/argz-extract.c (__argz_extract): Add de-consting cast for
3369 setting results.
3370
62ee0979 3371 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 3372 * string/argz-next.c (__argz_next): Likewise.
62ee0979 3373
59cacc81
RM
3374 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
3375 Don't add netinet/udp.h, netinet/ip_icmp.h here.
3376 * sysdeps/gnu/Makefile: Do it here instead.
3377 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
3378 * sysdeps/gnu/Dist: ... to here.
3379
a361203e
RM
3380 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
3381 sysdeps/unix/sysv/linux/netinet/tcp.h,
3382 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
3383
29659dd2
RM
33841998-09-04 Roland McGrath <roland@baalperazim.frob.com>
3385
3386 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
3387 * string/argz-next.c, string/argz-extract.c: Fix defns.
3388
1097c603
RM
33891998-09-03 Roland McGrath <roland@baalperazim.frob.com>
3390
3391 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
3392
3393 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
3394 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
3395 * sysdeps/generic/sysd-stdio.c: Likewise.
3396
143e2b96
UD
33971998-09-02 Ulrich Drepper <drepper@cygnus.com>
3398
3399 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
3400 (_dl_map_object_from_fd): Make NAME argument const.
3401 Remove last parameter in _dl_new_object call.
3402 (print_search_path): Correct construction of composed path name.
3403 (_dl_map_object): Prevent looking at RPATH of the main map twice.
3404 Remove last parameter in _dl_new_object call.
3405 * elf/dl-object.c: Remove last parameter. Determine whether create
3406 origin entry based on empty realname. Handle file in root directory
3407 correctly.
3408 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
3409 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
3410 Remove last parameter in _dl_new_object call.
3411 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
3412 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
3413
fc3597c0
UD
34141998-09-01 Ulrich Drepper <drepper@cygnus.com>
3415
4ce636da
UD
3416 * elf/dl-close.c (_dl_close): Add more comments and correct some.
3417 Free l_searchlist and l_dupsearchlist.
3418
fc3597c0
UD
3419 * debug/catchsegv.sh: Add one more pair of quotes.
3420
76156ea1
UD
34211998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
3422
3423 * elf/dl-load.c (add_name_to_object): Change return type to void and
3424 make NAME parameter const. Allocate room for NAME in same memory
3425 block used for l_libname entry.
3426 (_dl_map_object_from_fd): Don't free NAME on failure.
3427 (map_segment): Pass SONAME to add_name_to_object, not a copy.
3428 (_dl_map_object): Don't create copy of NAME. Pass NAME to
3429 _dl_map_object_from_fd.
3430 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
3431 memory block used for l_libname entry.
3432 * elf/dl-close.c: Adjust free()ing for this change.
3433
a8a1269d
UD
34341998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
3435
3436 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
3437
3438 * malloc/mtrace.c: Add bug report address. Update email address.
3439 Add more @XXX@ to print correct address size.
3440
3441 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
3442 really initialized.
3443
3444 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
3445 for munmap call instead of examining phdr again.
3446 Free all malloc()ed strings and arrays.
3447
052b6a6c
UD
34481998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3449
3450 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
3451 dl-machine.h.
3452 * sysdeps/powerpc/dl-machine.c: New file.
3453 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
3454 files. Revise ELF_PREFERRED_ADDRESS to take account of
3455 the new mapping information (fixes bug involving huge bloated
3456 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
3457 * sysdeps/powerpc/dl-start.S: New file.
3458
3459 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
3460 l_map_end.
3461 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
3462 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
3463 others. Call elf_dynamic_do_##reloc only once (to save even more
3464 space).
3465 * elf/link.h: Add new members l_map_start and l_map_end to keep
3466 track of the memory map.
3467 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
3468 the executable.
3469
34701998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
3471
3472 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
3473 Reported by Andreas Jaeger.
3474
3475 * posix/glob.h: Use __size_t instead of size_t in definitions and
3476 make sure this is defined.
3477
85c165be
UD
34781998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
3479
052b6a6c 3480 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
3481 and functionality.
3482 * manual/arith.texi: Correct reference.
3483 * manual/string.texi: Pretty printing.
3484
3485 * manual/texinfo.tex: Update from last available version.
3486
34871998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
3488
3489 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
3490 invalid password.
3491 (_nss_nis_getpwuid_r): Likewise.
3492 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
3493
3494 * inet/rcmd.c: Implement netgroup support.
3495 Patch by Dick Streefland <dick_streefland@tasking.com>.
3496
7afab53d
UD
34971998-08-31 Ulrich Drepper <drepper@cygnus.com>
3498
3499 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
3500 object on the list is removed. Don't use this code for PIC.
3501 Reported by HJ Lu [PR libc/770].
3502
bfce746a
UD
35031998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
3504
3505 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
3506
3507 * include/stdio.h: Add __vsscanf.
3508
3509 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
3510 __USE_ISOC9X.
3511 Remove __vsscanf declaration.
3512 Always declare fgetpos and fsetpos.
3513
3514 * math/math.h: Define isinf as macro.
3515 * math/bits/mathcalls.h: Change to declare __isinf all the time.
3516 Don't declare scalb for ISO C 9x.
3517
3518 * math/tgmath.h: Define fma. Rewrite the underlying macros.
3519
3520 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
3521
3522 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
3523 sys/ucontext.h.
3524
3525 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
3526 macros.
3527
35281998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3529
3530 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
3531 Reported by jreising@frequentis.com [PR libc/767].
3532
35331998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3534
3535 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
3536 fl.l_start at beginning of function.
3537 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
3538
ac72fbb1
UD
35391998-08-31 Ulrich Drepper <drepper@cygnus.com>
3540
3541 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
3542 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
3543
3544 * nscd/nscd.init: Make it work in RedHat systems.
3545 Patch by Christian Gafton.
3546
35471998-08-29 Philip Blundell <philb@gnu.org>
3548
3549 * catgets/Makefile: Don't try to run test programs when
3550 cross-compiling.
3551
35521998-08-31 Ulrich Drepper <drepper@cygnus.com>
3553
3554 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
3555 Reported by Zack Weinberg.
3556
35571998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3558
3559 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
3560 * elf/Makefile (distribute): Remove ldd.sh.in.
3561
35621998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3563
3564 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
3565 variable.
3566
e0d46614
UD
35671998-08-29 Ulrich Drepper <drepper@cygnus.com>
3568
3569 * sysdeps/i386/register-dump.h: Move to ...
3570 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
3571
b0cf070b
UD
35721998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
3573
3574 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
3575 with load address, not map address.
3576 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
3577 parameter and use this value.
3578 * sysdeps/arm/dl-machine.h: Likewise.
3579 * sysdeps/i386/dl-machine.h: Likewise.
3580 * sysdeps/m68k/dl-machine.h: Likewise.
3581 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
3582 parameter.
3583 * sysdeps/powerpc/dl-machine.h: Likewise
3584 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
3585 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
3586
997a4165
UD
35871998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
3588
3589 * elf/rtld.c (process_envvars): Fix copy&paste error.
3590
3591 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
3592 memalign hook.
3593 (realloc_hook_ini): Don't overwrite memalign hook.
3594 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
3595 Reported by Philippe Troin <phil@fifi.org>.
3596
3597 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
3598 Patch by Philippe Troin <phil@fifi.org>.
3599
36001998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3601
3602 * sysdeps/generic/segfault.c (install_handler): Protect the
3603 non-POSIX signals with #ifdef.
3604 (catch_segfault): Add missing mode parameter for open.
3605 * debug/catchsegv.sh: Avoid termination message from shell. Allow
3606 other termination signals.
3607
36081998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3609
3610 * debug/Makefile (distribute): Add register-dump.h.
3611
36121998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
3613
3614 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
3615
f787edde
UD
36161998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
3617
3618 * elf/Makefile (distribute): Add dl-origin.h.
3619 * sysdeps/generic/dl-origin.h: New file.
3620 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
3621 * elf/link.h (struct link_map): Add l_origin field.
3622 * elf/dl-load.c (expand_dynamic_string_token): New function.
3623 (decompose_path): Remove WHERE argument, take link map pointer instead.
3624 Call expand_dynamic_string_token instead of local_strdup to make copy
3625 of rpath.
3626 (_dl_init_paths): Call decompose_path with correct argument.
3627 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
3628 not defined.
3629 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 3630 Call _dl_new_object with extra argument.
f787edde
UD
3631 (_dl_map_object): Call decompose_path with correct argument.
3632 Call expand_dynamic_string_token instead of local_strdup to also
3633 expand DST.
5f623941 3634 Call _dl_new_object with extra argument.
f787edde 3635 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
3636 but the main one if new argument is nonzero.
3637 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
3638 * elf/dl-support.c: Define _dl_origin_path.
3639 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 3640 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
3641
3642 * elf/dl-close (_dl_close): Free l_name and l_origin.
3643
3644 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
3645 modifier in asm, not c.
3646
3647 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
3648 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
3649
6075607b
UD
36501998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
3651
3652 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
3653 variable so that map can be freed.
3654 Reported by Philippe Troin <phil@fifi.org>.
3655
3656 * elf/dl-open.c (dl_open_worker): Correct test for extending global
3657 scope array.
3658 Patch by Philippe Troin <phil@fifi.org>.
3659
36601998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3661
3662 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
3663 Don't call writev() with a 100-element vector.
3664 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
3665 return address.
3666
3667 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
3668 In particular, set __libc_stack_end.
3669 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
3670 undefined. Fix copyright notice.
3671
36721998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3673
3674 * math/Makefile (gmp-objs): New variable.
3675 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
3676 Depend on it.
3677 (tests): Add atest-exp atest-sincos atest-exp2.
3678 (tests-static): Remove atest-exp atest-sincos atest-exp2.
3679
08cac4ac
UD
36801998-08-25 Ulrich Drepper <drepper@cygnus.com>
3681
3682 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
3683 to toplevel.
3684 (_dl_unload_cache): New function.
3685 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
3686 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 3687 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
3688
3689 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
3690 Correct comment for O_LARGEFILE.
3691 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
3692 Change O_LARGEFILE to correct value.
3693
36941998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
3695
3696 * libio/iogetline.c (_IO_getline_info): Don't read anything for
3697 N == 0. Patch by HJ Lu.
3698
6dbb7062
UD
36991998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
3700
3701 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
3702
37031998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3704
3705 * argp/argp.h: Use __inline__ not inline.
3706
3707 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
3708 an input register as being clobbered.
3709 * sysdeps/i386/memset.c (memset): Likewise.
3710 * sysdeps/i386/bzero.c (__bzero): Likewise.
3711 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
3712
37131998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3714
3715 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
3716 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
3717
ed1ac6a2
UD
37181998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
3719
3720 * debug/catchsegv.sh: Handle text preceding backtrace better.
3721 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
3722 to be installed for other signals than SIGSEGV.
3723 * sysdeps/generic/register-dump.h: New file.
3724 * sysdeps/i386/register-dump.h: New file.
3725 * sysdeps/powerpc/register-dump.h: New file.
3726
3727 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
3728 sigcontextinfo.h.
3729 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
3730
37311998-08-24 Geoff Keating <geoffk@ozemail.com.au>
3732
3733 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
3734
37351998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3736
3737 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
3738 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
3739 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
3740 getresuid, getresgid.
3741
37421998-08-16 Geoff Keating <geoffk@ozemail.com.au>
3743
3744 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
3745 pointer in userland.
3746
37471998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3748
3749 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
3750 and fix value.
3751
37521998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3753
3754 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
3755 over arguments Bourne shell compatible. Don't exit unsuccessfully
3756 if nonelf returns successfully. Avoid duplicating most of the
3757 script.
3758 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
3759 around $file.
3760
37611998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
3762
3763 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
3764 sys/reg.h.
3765 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
3766 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
3767
b259e746
UD
37681998-08-23 Ulrich Drepper <drepper@cygnus.com>
3769
3770 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
3771 __modify_ldt and modify_ldt.
3772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
3773
3774 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3775 Use orl $-1 instead of movl $-1 to save two bytes.
3776 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
3777 Likewise.
3778
37791998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
3780
3781 * libio/Versions (_IO_do_write, _IO_file_attach,
3782 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3783 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3784 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3785 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
3786
3787 * libio/fileops.c (_IO_do_write, _IO_file_attach,
3788 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3789 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3790 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3791 _IO_file_write, _IO_file_xsputn): Change the prefix to
3792 "_IO_new_". Added to GLIBC_2.1.
3793
3794 * libio/libioP.h (_IO_do_write, _IO_file_attach,
3795 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3796 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3797 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3798 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
3799 "_IO_new_".
3800
3801 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
3802 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3803 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3804 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3805 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
3806
b259e746
UD
38071998-08-23 Richard Henderson <rth@cygnus.com>
3808
3809 * Makeconfig (LDFLAGS): Remove.
3810
ed1ac6a2 3811 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 3812
ed1ac6a2
UD
3813 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
3814 (STO_MIPS_*): Rename from STO_*.
3815 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
3816 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 3817
ed1ac6a2
UD
3818 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
3819 (main): e3s is negative on zero.
3820 * math/atest-exp2.c: Likewise.
b259e746
UD
3821 * math/atest-sincos.c: Likewise.
3822
ed1ac6a2
UD
38231998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3824
3825 * Makerules (install): Add comment about absolute paths.
3826
b259e746
UD
38271998-08-23 Ulrich Drepper <drepper@cygnus.com>
3828
3829 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3830 array to NUL to handle maxlen==1 case correctly.
3831 Patch by HJ Lu.
3832
38331998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
3834
3835 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3836 * sysdeps/alpha/elf/crtend.S: Likewise.
3837 * sysdeps/alpha/elf/start.S: Likewise.
3838
3839 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3840 non-standard pv usage.
3841
3842 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3843 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3844 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3845 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3846 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3847 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3848 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3849 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3850 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3851 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3852 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3853
3854 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3855 a finite non-denormal, deferring to the full IEEE version otherwise.
3856
3857 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3858 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
3859 * sysdeps/alpha/fpu/s_floor.c: New.
3860 * sysdeps/alpha/fpu/s_floorf.c: New.
3861 * sysdeps/alpha/fpu/s_ceil.c: New.
3862 * sysdeps/alpha/fpu/s_ceilf.c: New.
3863
e86e2df1
UD
38641998-08-22 Philip Blundell <philb@gnu.org>
3865
3866 * sysdeps/arm/bits/string.h: New file.
3867
14a44a69
UD
38681998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3869
3870 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3871 document it.
3872
3873 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3874 test for recent Linux 2.1.100+ headers.
3875
e36b0b57
UD
38761998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3877
3878 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3879
5148d49f
UD
38801998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3881
3882 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3883
38841998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3885
3886 * Makefile (elf/ldso_install): Put back. The problem still persists.
3887 * elf/Makefile (ldso_install): Likewise.
3888
38891998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3890
3891 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3892 create weak alias.
3893 * include/db.h: Declare __nss_db_open.
3894 * db2/Versions: Export it.
3895
3896 * db2/makedb.c: Convert to use db2 API.
3897 * nss/nss_db/db-XXX.c: Likewise.
3898 * nss/nss_db/db-netgrp.c: Likewise.
3899 * nss/nss_db/db-alias.c: Likewise.
3900 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3901
39021998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3903
3904 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3905 sys_setresuid, already built automatically (or not).
3906 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3907 instead of __syscall_setresuid and add back setresuid.
3908 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3909 __syscall_setresuid.
3910
39111998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3912
3913 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3914
1ddf537f
UD
39151998-08-20 Ulrich Drepper <drepper@cygnus.com>
3916
3917 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3918 BASH-ONLY marked region.
3919 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3920
39211998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3922
3923 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3924 _IO_SYSSEEK fails.
3925
3926 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3927
4df28840 3928 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
3929 element.
3930
8e48355c
RM
39311998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3932
3933 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3934 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3935 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3936 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3937 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3938 those magic comments, and to use /bin/sh for @BASH@.
3939 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3940 * elf/ldd.sh.in: File removed.
3941
d762684b
UD
39421998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3943
3944 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3945 cast them to unsigned long int.
3946 * pwd/putpwent.c (putpwent): Likewise.
3947 Patch by John Tobey <jtobey@banta-im.com>.
3948
39491998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3950
3951 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3952 _IO_pos_BAD.
3953
39541998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3955
3956 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3957 _IO_SYSSEEK fails.
3958
7934cc16
UD
39591998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3960
3961 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3962 Add umount and umount2.
3963 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3964 * sysdeps/unix/sysv/linux/umount.S: New file.
3965 * sysdeps/unix/sysv/linux/umount2.S: New file.
3966 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3967 Define MNT_FORCE.
3968
d762684b
UD
3969 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3970 Add sys/sendfile.h.
3971 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3972 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3973
3974 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3975
3976 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3977 sendfile.
3978
df777c40
UD
39791998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3980
3981 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3982 * elf/ldd.bash.in: Likewise.
3983
3984 * elf/sln.c: Avoid warning for no main prototype.
3985
3986 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3987 O_WRITE.
3988 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3990
3991 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3992 F_GETSIG.
3993 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3994 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3996
39971998-08-20 Philip Blundell <pb@nexus.co.uk>
3998
3999 * sysdeps/arm/fpu/ieee754.h: Move to...
4000 * sysdeps/arm/ieee754.h: ... here.
4001
4002 * sysdeps/arm/__longjmp.S: Put return value in correct register.
4003 Don't set the condition flags unnecessarily.
4004 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
4005 registers correctly.
4006
4007 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
4008 (patch from Scott Bambrough).
4009
4010 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
4011
4012 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
4013 NULL, just call it unconditionally.
4014 (__gmon_start__): Provide stub version as a weak symbol.
4015
40161998-07-30 Philip Blundell <philb@gnu.org>
4017
4018 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
4019 by Scott Bambrough)
4020
4021 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
4022 like `@' in .type directives.
4023
4024 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
4025 * sysdeps/arm/bsd-_setjmp.S: Likewise.
4026
4027 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
4028
40291998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4030
4031 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
4032 (F_GETOWN): Likewise.
4033
4034 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
4035 Linux 2.1.117).
4036
40371998-08-20 Ulrich Drepper <drepper@cygnus.com>
4038
4039 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
4040 already defined.
4041
0c6cee5d
UD
40421998-08-18 Ulrich Drepper <drepper@cygnus.com>
4043
4044 * include/features.h: Define __USE_EXTERN_INLINES for recent
4045 enough gcc.
4046 * argp/argp.h: Define extern inline functions only if
4047 __USE_EXTERN_INLINES is defined.
4048 * libio/stdio.h: Likewise.
4049 * math/math.h: Likewise.
4050 * stdlib/stdlib.h: Likewise.
4051 * string/argz.h: Likewise.
4052 * sysdeps/generic/bits/sigset.h: Likewise.
4053 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4054 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
4055 * sysdeps/wordsize-32/inttypes.h: Likewise.
4056 * sysdeps/wordsize-64/inttypes.h: Likewise.
4057 * wcsmbs/wchar.h: Likewise.
4058
4059 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
4060 to allow compilation without optimization.
4061
df777c40
UD
40621998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4063
4064 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
4065 more entries.
4066 * nis/nss_compat/compat-initgroups.c: Likewise.
4067 * nis/nss_compat/compat-pwd.c: Likewise.
4068 * nis/nss_compat/compat-spwd.c: Likewise.
4069 * nis/nss_nis/nis-alias.c: Likewise.
4070 * nis/nss_nis/nis-ethers.c: Likewise.
4071 * nis/nss_nis/nis-grp.c: Likewise.
4072 * nis/nss_nis/nis-hosts.c: Likewise.
4073 * nis/nss_nis/nis-initgroups.c: Likewise.
4074 * nis/nss_nis/nis-network.c: Likewise.
4075 * nis/nss_nis/nis-proto.c: Likewise.
4076 * nis/nss_nis/nis-pwd.c: Likewise.
4077 * nis/nss_nis/nis-rpc.c: Likewise.
4078 * nis/nss_nis/nis-service.c: Likewise.
4079 * nis/nss_nis/nis-spwd.c: Likewise.
4080
4081 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
4082
4083 * nis/ypclnt.c: Try binding dir only first time, could be to old.
4084
4085 * nis/yp_xdr.c: Remove 1024 byte limit.
4086 * nis/ypupdate_xdr.c: Likewise.
4087
4088 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
4089 wrong data.
4090
c82e6116
RM
40911998-08-18 Roland McGrath <roland@baalperazim.frob.com>
4092
4093 * Rules (binaries-static, binaries-shared static pattern rules):
4094 Depend on lib%, not just libc%, from $(link-libc{,-static}).
4095
4096 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
4097 this here, overriding Makeconfig generic value so we link against
4098 the RPC libs.
4099
364ff81f
UD
41001998-08-17 Ulrich Drepper <drepper@cygnus.com>
4101
4102 * posix/tstgetopt.c (options): Add NULL entry at end
4103 Patch by Adrian Miranda <ade@psg.com>.
4104
5d7de7aa
UD
41051998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
4106
4107 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
4108 to 9.
4109
d610a544
UD
41101998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
4111
4112 * elf/elf.h: Add PPC Diab relocations.
4113
4114 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
4115
409dfcea
UD
41161998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
4117
4118 * manual/texinfo.tex: Update.
4119
41201998-08-07 Geoff Keating <geoffk@ozemail.com.au>
4121
4122 * sysdeps/powerpc/backtrace.c: New file.
4123
41241998-08-14 Philip Blundell <pb@nexus.co.uk>
4125
4126 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
4127 sigjmp_save.
4128 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
4129
41301998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4131
4132 * Makefile (install-symbolic-link): Fix spelling.
4133
41341998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4135
4136 * elf/elf.h (SHT_HIOS): Fix value.
4137
41381998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4139
4140 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
4141 part of the expansion, this is undefined by the standard.
4142
9d141cae
UD
41431998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
4144
4145 * posix/getconf.c: Add support for systems with incomplete confname.h.
4146
4147 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
4148
4149 * sysdeps/posix/wait3.c: Make it work.
4150
41511998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4152
4153 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
4154 (elf/ldso_install): Remove.
4155
4156 * elf/Makefile (distribute): Add sln.c.
4157 (others): Add sln.
4158 (others-static): Add sln.
4159 (install-rootsbin): Add sln.
4160 (others-static): Add sln.
4161 (ldso_install): Remove.
4162
41631998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4164
4165 * Makerules (install-clean-symbolic-link-list): Make phony.
4166 * Makefile (install-symbolic-link): Make phony. Depend on
4167 subdir_install for parallel makes.
4168
4169
41701998-07-22 Ulrich Drepper <drepper@cygnus.com>
4171
4172 * elf/Makefile (distribute): Add sln.c
4173
41741998-07-21 07:10 H.J. Lu <hjl@gnu.org>
4175
4176 * elf/sln.c: New file.
4177
4178 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
4179 (install-clean-symbolic-link-list): New target.
4180 (install): Depend on install-clean-symbolic-link-list.
4181 (make-shlib-link): Changed for $(symbolic-link-list).
4182
4183 * Makefile (install-symbolic-link): New target.
4184 (install): Depend on install-symbolic-link.
4185
1f539fd1
UD
41861998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
4187
4188 * include/unistd.h: Protect against multiple inclusion.
4189
4190 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
4191 is defined, not is glob is defined.
4192 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
4193
41941998-08-01 17:18 H.J. Lu <hjl@gnu.org>
4195
4196 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
4197 xdr_string for ut_line, ut_name and ut_host.
4198
41991998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4200
4201 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
4202 /var/mail in accordance with FHS 2.0.
4203 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
4204
42051998-08-12 Richard Henderson <rth@cygnus.com>
4206
4207 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
4208 Update aliases for cancelation.
4209
4210 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
4211 playing with symbol versions.
4212
259d930a
RM
42131998-08-12 Roland McGrath <roland@baalperazim.frob.com>
4214
4215 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
4216 multiple inclusion protection.
4217 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
4218 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
4219 define all these to 1.
4220 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
4221
d6765f1d
RM
42221998-08-12 Roland McGrath <roland@baalperazim.frob.com>
4223
4224 * sysdeps/mach/usleep.c: Include <unistd.h>.
4225 (usleep): Return void.
4226
42271998-08-11 Roland McGrath <roland@baalperazim.frob.com>
4228
4229 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
4230 decl to inhibit warning in if_freenameindex defn.
4231
4232 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
4233
4234 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
4235
4236 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
4237 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
4238 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
4239 * sysdeps/mach/usleep.c: Likewise.
4240
4241 * sysdeps/mach/hurd/bind.c (bind): Add a const.
4242
4243 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
4244 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
4245 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
4246 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
4247 * sysdeps/mach/usleep.c (usleep): Likewise.
4248 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4249 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4250 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
4251 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
4252
42531998-08-11 Roland McGrath <roland@baalperazim.frob.com>
4254
4255 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
4256 (glob64): Fix typo.
4257
4258 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
4259 %p arg to fprintf, since `void *' is the right type already.
4260
b5876a19
RM
42611998-07-25 19:47 Jose M. Moya <josem@gnu.org>
4262
4263 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
4264 (_hurd_canonicalize_directory_name_internal): Do not loop forever
4265 for unknown root directories.
b5876a19 4266 (__getcwd): Return NULL when the current root directory could not
1f539fd1 4267 be reached.
b5876a19 4268
f81d98d6 42691998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 4270
f81d98d6 4271 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 4272
a5f4e34a 4273
f81d98d6 4274See ChangeLog.8 for earlier changes.
This page took 0.468864 seconds and 5 git commands to generate.