]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
1998-11-28 Roland McGrath <roland@baalperazim.frob.com>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5f75d1e2
UD
11998-11-29 Ulrich Drepper <drepper@cygnus.com>
2
3 * sysdeps/generic/segfault.c (install_handler): Correct test for
4 SEGFAULT_HANDLER=all.
5 Patch by Zack Weinberg.
6
0fea0021
UD
71998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
8
9 * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
10 $prefix/include that may be clobbered on installation.
11
6d4752d8
UD
121998-11-27 Philip Blundell <pb@nexus.co.uk>
13
14 Fixes to allow compilation with static NSS:
15 * nss/Makefile: Make explicit the dependency of getent on
16 libnss_files.a.
17 [build_static_nss]: Define $(otherlibs) appropriately.
18 * nss/Depend: Add a dependency on `resolv'.
19
201998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
21
22 Partial support for MIPS ISO C 9x exception handling:
23 * sysdeps/mips/fclrexcpt.c: New file.
24 * sysdeps/mips/ftestexcept.c: New file.
25 * sysdeps/mips/fgetexcptflg.c: New file.
26 * sysdeps/mips/fesetround.c: New file.
27 * sysdeps/mips/fegetround.c: New file.
28 * sysdeps/mips/fegetenv.c: New file.
29 * sysdeps/mips/fesetenv.c: New file.
30 * sysdeps/mips/feupdateenv.c: Likewise.
31 * sysdeps/mips/bits/fenv.h: New file.
32
331998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
34
35 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
36 <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
37 in sync with linux specific version.
38
39 Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
40
41 * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
42 errno declaration.
43
44 * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
45 of calling __syscall_*.
46 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
47
48 * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
49
50 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
51 constants, correct values according to Linux 2.1.130.
52
53 * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
54 * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
55 * sysdeps/unix/sysv/linux/mips/pread.c: New file.
56 * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
57
58 * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
59 :=.
60
61 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
62
63 * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
64
65 * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
66
67 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
68
69 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
70 message, change name of include protection, remove inclusion of
71 <bits/termios.h>.
72
73 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
74 (old_kernel_sigaction): Define.
75 (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
76
77 * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
78 the general linux version.
79 * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
80
81 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
82
831998-09-03 Philip Blundell <pb@nexus.co.uk>
84
85 * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
86 endian.
87 * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
88 BYTE_ORDER.
89 * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
90 <bits/endian.h>, make it the same as __BYTE_ORDER.
91
48252123
UD
921998-11-27 Ulrich Drepper <drepper@cygnus.com>
93
94 * math/math.h: Avoid using long double functions in generic macros
95 if __NO_LONG_DOUBLE_MATH.
96
97 * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
98 during bootstrapping.
99 * scripts/config.sub: Add Netwinder specific matches.
100 Patch by Scott Bambrough <scottb@corelcomputer.com>.
101
6d4752d8
UD
1021998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
103
104 * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
105 if possible.
106 ($(common-objpfx)sysd-sorted): Likewise.
107
1081998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
109
110 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
111 local variables t1,t2 only if needed.
112
48252123
UD
113 * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
114 warnings.
6d4752d8
UD
115 * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
116 * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
117
118 * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
119 warning.
120
1211998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
122
123 * math/math.h: Add brace to correct #if expression.
124
1251998-11-26 Philip Blundell <philb@gnu.org>
126
127 Undo change of 1998-11-12:
128 * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
130 netlink/netlink.h.
131 * sysdeps/unix/sysv/linux/Dist: Likewise.
132
1331998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
134
135 * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
136
cb0509a8
UD
1371998-11-26 Ulrich Drepper <drepper@cygnus.com>
138
139 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
140 (elf_machine_got_rel): Remove scope variable. Use scope from the map.
141 Don't modify _dl_global_scope_end in the end.
142 (__dl_runtime_resolv): Also use scope from the map.
143 * sysdeps/mips/mips64/dl-machine.h: Likewise.
144 * elf/dl-runtime.c: Don't define fixup and profile_fixup if
145 ELF_MACHINE_NO_PLT is defined.
146 * sysdeps/mips/sys/ucontext.h: New file.
147 Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
148
6d4752d8
UD
1491998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
150
151 * sysdeps/generic/pselect.c (__pselect): Change interface,
152 set/restore sigmask.
153
154 * misc/sys/select.h: Change declaration according to Stevens' Unix
155 Network Programming.
156 * include/sys/select.h (__pselect): Likewise.
157 Reported by <bwelling@anomaly.munge.com> [PR libc/872].
158
159 * include/fpu_control.h: New file, contains __setfpucw
160 declaration.
161
162 * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
163 it's an internal symbol.
164 * sysdeps/alpha/fpu/fpu_control.h: Likewise.
165 * sysdeps/arm/fpu/fpu_control.h: Likewise.
166 * sysdeps/i386/fpu_control.h: Likewise.
167 * sysdeps/m68k/fpu_control.h: Likewise.
168 * sysdeps/powerpc/fpu_control.h: Likewise.
169 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
170 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
171
0155a773
UD
1721998-11-25 Ulrich Drepper <drepper@cygnus.com>
173
174 * version.h (VERSION): Bump to 2.0.104.
175
1761998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
177
178 * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
179 around parameter n.
180
1811998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
182
183 * time/tzfile.c (__tzfile_read): Fix comment.
184
1851998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
186
187 * Makerules (build-shlib): Pass -O1 down to linker to get
188 optimized shared libraries.
189
1901998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
191
192 * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
193 file. Strip "-" from inhibited subdir name. Combine into a
194 single awk program.
195 ($(common-objpfx)sysd-sorted): Fix sed command.
196
77dd7355
RM
1971998-11-25 Roland McGrath <roland@baalperazim.frob.com>
198
199 * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
200 Use constant _HURD_THREADVARS_MAX for temporary array size.
201
202 * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
203 s separator, since $(..) might contain a /.
204
45b3d8ad
UD
2051998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
206
207 * configure.in (mips): Fix typo (Replace ,, by ;;).
208
209 * libio/Versions: Clean up entries.
210
33127459
UD
2111998-11-23 Ulrich Drepper <drepper@cygnus.com>
212
213 * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
214 and llrint.
215
a42134a7
UD
2161998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
217
218 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too
219 many differences between the Linux 2.0 and 2.1 versions of this
220 file and it's too difficult to convert all calls. The file should
221 only be needed by the ipfw program which has to take care of the
222 correct kernel version and include files.
223
224 * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
226
7d6a8338
UD
2271998-11-23 Ulrich Drepper <drepper@cygnus.com>
228
229 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
230 Patch by Zack Weinberg.
231
232 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
233
234 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
235 __USE_ISOC9X is defined. Provide rint optimization.
236
2371998-11-21 H.J. Lu <hjl@gnu.org>
238
239 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
240 popen, pclose): Add to GLIBC_2.1.
241
242 * libio/Makefile (routines): Add oldiopopen and oldpclose.
243 (shared-only-routines): Likewise.
244
245 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
246 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
247 _IO_proc_close): Likewise.
248
249 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
250 __old_pclose): New prototypes.
251
252 * libio/libioP.h (_IO_new_file_jumps): Removed.
253 (_IO_old_proc_jumps): Added.
254 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
255
256 * libio/oldiopopen.c: New file.
257
258 * libio/oldpclose.c: New file.
259
2601998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
261
262 * nss/Makefile: Build and install getent.
263 * nss/getent.c: New, get entries from administrative database.
264
1521f3a5
RM
2651998-11-22 Roland McGrath <roland@baalperazim.frob.com>
266
267 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
268 for the per-thread variables of the main user thread to make it
269 possible to use malloc as soon as _hurd_preinit_hook has been run.
270 For cthreads, copy values to new stack from there.
271 For non-cthreads, malloc threadvar array here and copy from temp space.
272 (init1): No longer initialize threadvars here.
273 (doinit1): Made static void at top level.
274 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
275 inline a function that uses dynamic auto arrays.
276
5edb9387
UD
2771998-11-20 Ulrich Drepper <drepper@cygnus.com>
278
d89e7a96
UD
279 * version.h (VERSION): Bump to 2.0.103.
280
5edb9387
UD
281 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
282 same method.
283 * configure.in: Don't define AR and RANLIB here.
284
285 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
286 host name res_hconf code.
287 * inet/gethstbynm_r.c: Likewise.
288 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
289 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
290 defined execute the code.
291 * resolv/Makefile (routines): Add res_hconf.
292 (headers): Add res_hconf.h.
293 * resolv/res_hconf.c: Pretty print.
294 * resolv/res_hconf.h: Likewise.
295
2961998-11-20 Ulrich Drepper <drepper@cygnus.com>
297
298 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
299 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
300
3011998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
302
303 * math/libm-test.c: Raise some epsilons a bit.
304
3051998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
306
307 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
308
3091998-11-20 Ulrich Drepper <drepper@cygnus.com>
310
311 * Makefile (distribute): Add scripts/gen-sorted.awk.
312
bece5ca7
UD
3131998-11-19 Ulrich Drepper <drepper@cygnus.com>
314
315 * posix/regex.c (regex_compile): Handle extra long class names
316 correctly.
317
50463d27
UD
3181998-11-19 Geoff Keating <geoffk@ozemail.com.au>
319
320 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
321 correctly.
322
1da99555
UD
3231998-11-19 Ulrich Drepper <drepper@cygnus.com>
324
b0428320
UD
325 * misc/error.c: Undo last change.
326
1da99555
UD
327 * ctype/Versions: Add _tolower and _toupper.
328
f1317ef5
UD
3291998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
330
331 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
332 POLLNVAL.
333
bb41a976
UD
3341998-11-19 Ulrich Drepper <drepper@cygnus.com>
335
336 * Makeconfig: Add comment to all-subdirs definition.
337 Add rule to generate sysd-sorted. Include this file and and set
338 subdirs value to $(sorted-subdirs).
339 * scripts/gen-sorted.awk: New file.
340 * Make-dist (+tsrcs): Add Depend.
341 * nscd/Depend: New file.
342 * nss/Depend: New file.
343 * rt/Depend: New file.
344
090ca000
UD
3451998-11-18 Ulrich Drepper <drepper@cygnus.com>
346
dfd2464b
UD
347 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
348 passed file descriptor exceeds the size determined by
349 getdtablesize.
350
351 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
352 from inline version in bits/socket.h.
353
354 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
355 inline function only is __USE_EXTERN_INLINES is defined.
356
357 * time/strftime.c (my_strftime): Make code a bit clearer.
358 Patch by Paul Eggert <eggert@twinsun.com>.
359
090ca000
UD
360 * io/Makefile (CFLAGS-ftw.c): Removed.
361
b0428320 362 * manual/errno.texi: Change the short text for ENODEV to
bb41a976
UD
363 "No such device".
364
090ca000
UD
3651998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
366
367 * io/Makefile (tests): Make sure that the test program has an
368 explicit directory part.
369
3701998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
371
372 * configure.in: Fix last change.
373
3741998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
375
376 * sunrpc/Makefile (routines): Add create_xid.
377
378 * sunrpc/clnt_tcp.c: Use non-guessable xid.
379 * sunrpc/clnt_udp.c: Likewise.
380 * sunrpc/clnt_unix.c: Likewise.
381 * sunrpc/pmap_rmt.c: Likewise.
382 * sunrpc/create_xid.c: New, create non-guessable xid.
383
384 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
385 of select.
386 * sunrpc/svc_unix.c: Use poll instead of select.
387
d8cceb4f
UD
3881998-11-17 Ulrich Drepper <drepper@cygnus.com>
389
45a9a50e 390 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
dfd2464b 391 by removing SIG_IGN handler for SIGCHLD if necessary.
45a9a50e
UD
392 Patch by H.J. Lu <hjl@lucon.org>.
393
d8cceb4f
UD
394 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
395 of denormalized numbers.
396
3971998-10-06 Geoff Keating <geoffk@ozemail.com.au>
398
399 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
400 another parentheses warning, make nano-optimisation.
401
402 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
403 saved LR on stack so _mcount works.
404 (_dl_prof_resolve): Likewise.
405 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
406 signal handler calling convention.
407 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
408 correct signal handler calling convention---more like x86 linux and
409 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
410
4111998-11-17 Ulrich Drepper <drepper@cygnus.com>
412
413 * configure.in: Correct allowed makeinfo version.
414
4151998-11-17 Philip Blundell <pb@nexus.co.uk>
416
417 * sysdeps/generic/bits/mathdef.h: Fix typo.
418
cae88996
UD
4191998-11-17 Geoff Keating <geoffk@ozemail.com.au>
420
421 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
422 under the right name (squish warning).
423 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
424
4251998-11-17 Geoff Keating <geoffk@ozemail.com.au>
426
427 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
428 prevent warnings.
429
9d1efe33
UD
4301998-11-16 Ulrich Drepper <drepper@cygnus.com>
431
d8cceb4f 432 * intl/locale.alias: Change `japanese' alias to match X11R6's.
9d1efe33
UD
433 Add `japanese.euc' alias.
434
435 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
436 before running makeinfo.
437
438 * math/Makefile (libm-routines): $(strip) entire value.
439
440 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
441
4421998-10-24 H.J. Lu <hjl@gnu.org>
443
444 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
445 (_IO_cookie_file): Likewise.
446
4471998-11-16 Philip Blundell <philb@gnu.org>
448
449 * inet/netinet/icmp6.h: Correct naming of constants.
450
8b7fb588
UD
4511998-11-16 Ulrich Drepper <drepper@cygnus.com>
452
453 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
454 zero value as uninitialized so that variable can go into .bss.
455
456 * dirent/opendir-tst1.c: Print error strings to stdout.
457
458 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
459 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
460 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
461 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
462 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
463
4641998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
465
466 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
467 range.
468
4691998-11-16 Ulrich Drepper <drepper@cygnus.com>
470
471 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
472 (fwrite_unlocked): Likewise.
473
4741998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
475
476 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
477 twice. Don't bother handling zero size.
9d1efe33 478 (fwrite_unlocked): Likewise.
8b7fb588
UD
479
4801998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
481
482 * configure.in: Fix regex for makeinfo version string.
483
4841998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
485
486 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
487 warning.
488 * sunrpc/rpc_svcout.c (write_program): Likewise.
489
4901998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
491
492 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
493
4941998-11-16 Ulrich Drepper <drepper@cygnus.com
495
496 * misc/sys/mman.h: Pretty print prototypes.
497
4981998-11-15 Ulrich Drepper <drepper@cygnus.com
499
500 * misc/error.c (error): Don't use result of strerror_r call directly
501 since at least DEC Unix has a wrong return type.
502 Patch by Johan Danielsson <joda@pdc.kth.se>.
503
5041998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22bb3c7f
AS
505
506 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
507 last change.
508
77d10f94
UD
5091998-11-13 Ulrich Drepper <drepper@cygnus.com>
510
27658f20 511 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
9d1efe33 512 format, just stop.
27658f20 513
77d10f94
UD
514 * version.h (VERSION): Bump to 2.0.102.
515
516 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
517 change.
518 * stdio-common/scanf7.c (main): Likewise.
519
99c9e773
UD
5201998-11-13 Ulrich Drepper <drepper@cygnus.com>
521
47b856a9
UD
522 * stdio-common/vfscanf.c: Return EOF for invalid format
523 characters.
524
fb3d8ad6
UD
525 * version.h (VERSION): Bump to 2.0.101.
526
99c9e773
UD
527 * Makerules (Versions.all): Generate this file from all Versions.def
528 files.
529 (sysd-versions): Use Versions.all instead of Versions.def.
530
47b856a9
UD
5311998-11-13 Philip Blundell <philb@gnu.org>
532
533 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
534 Reported by Scott Bambrough.
535
93d63a59
UD
5361998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
537
538 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
539
a3e0e9ae
UD
5401998-11-13 Ulrich Drepper <drepper@cygnus.com>
541
542 * libio/bits/stdio.h: Correct and improve fread_unlocked and
543 fwrite_unlocked optimizations.
544
545 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
546 in time not to last entries in the file.
547 (__tzfile_compute): Likewise. Fix for PR libc/863.
548
549 * timezone/Makefile: Generate GB timezone data for test.
550 * timezone/tst-timezone.c: More tests for DST switching time (disabled
551 for now).
552
5531998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2dc9c8cd
AS
554
555 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
556 d0 from clobber list.
557
d2537a47
UD
5581998-11-12 Ulrich Drepper <drepper@cygnus.com>
559
560 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
561
562 * libio/Makefile (headers): Add bits/stdio.h.
563 * libio/iofread_u.c: Undefine fread_unlocked before definition.
564 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
565 * libio/stdio.h: Move optimizations into ...
566 * libio/bits/stdio.h: ...here. New file.
567
568 * libio/iofread.c: Pretty print.
569
5701998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
571
572 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
573 __exit_status with `__'. Rename pad member of struct utmpx to
574 __unused.
575 (RUN_LVL): Define unconditionally.
a3e0e9ae 576 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
d2537a47
UD
577 __unused.
578
5791998-11-12 Philip Blundell <philb@gnu.org>
580
581 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
582 Linux AF_NETLINK sockets (needed since the kernel version is
583 unusable).
584 * sysdeps/unix/sysv/linux/Makefile: Install it.
585 * sysdeps/unix/sysv/linux/Dist: Distribute it.
586
5871998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
588
589 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
590 to test for bug in PR libc/863.
591
5921998-11-12 Ulrich Drepper <drepper@cygnus.com>
593
594 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
595
596 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
597 parameter lazy to do_lazy to avoid clashing with struct member name.
598 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
599
6001998-11-10 H.J. Lu <hjl@gnu.org>
601
602 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
603 if it is defined in <linux/limits.h>.
604
6051998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
606
607 * include/protocols/routed.h: Include the real header with
608 a full path from the top of the source tree.
609 * include/protocols/rwhod.h: Likewise.
610 * include/protocols/talkd.h: Likewise.
611 * include/protocols/timed.h: Likewise.
612
613 * timezone/Makefile: Don't include z.ZONE files if no_deps
614 is set, not if avoid-generated is set.
615
6161998-11-12 Ulrich Drepper <drepper@cygnus.com>
617
618 * signal/signal.h: Undo last change. Get definition of timespec
619 if __USE_POSIX199309.
620
621 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
622 size_t to prevent gcc warning when using -Wqual-cast.
623 (__strpbrk_c3): Likewise.
624 Suggested by Alan Curry <pacman@cqc.com>.
625
fc7af6d6
RM
6261998-11-11 Roland McGrath <roland@baalperazim.frob.com>
627
159d4836
RM
628 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
629 unblocked signals are set in the startup masks.
630
fc7af6d6
RM
631 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
632 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
159d4836 633
fc7af6d6
RM
634 * hurd/hurd/signal.h: Update _hurdsig_init decl.
635 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
636 INTARRAYSIZE, pass them down to _hurdsig_init.
637 * hurd/hurd.h: Update _hurd_proc_init decl.
638
74eee886
UD
6391998-11-10 Ulrich Drepper <drepper@cygnus.com>
640
641 * math/cabs.c: Replace complex by _Complex.
642 * math/cabsf.c: Likewise.
643 * math/cabsl.c: Likewise.
644 * math/cimag.c: Likewise.
645 * math/cimagf.c: Likewise.
646 * math/cimagl.c: Likewise.
647 * math/conj.c: Likewise.
648 * math/conjf.c: Likewise.
649 * math/conjl.c: Likewise.
650 * math/creal.c: Likewise.
651 * math/crealf.c: Likewise.
652 * math/creall.c: Likewise.
653
654 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
655 included from math.h and __USE_ISOC9X is defined.
656 * sysdeps/generic/bits/mathdef.h: Likewise.
657 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
658 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
659 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
660 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
661
6621998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
663
664 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
665 <complex.h>.
666 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
667 * sysdeps/generic/bits/mathdef.h: Likewise.
668 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
669 * sysdeps/powerpc/bits/mathdef.h: Likewise.
670 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
671
6721998-11-09 Ulrich Drepper <drepper@cygnus.com>
673
674 * extra-lib.mk: Fix typo in last change.
1792d4db
UD
675
676 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
677 is needed.
678 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
679 Don't define `complex' but instead `_Complex'. The later is the
680 reserved keyword.
681 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
682 not complex.
683
6841998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
685
686 * manual/libc.texinfo: Remove colon from category name.
687 * manual/Makefile (dir-add.info): Likewise.
688
6891998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
690
691 * configure.in: Avoid autoconf bug.
692
6931998-10-28 H.J. Lu <hjl@gnu.org>
694
695 * posix/getopt.h: Add "__" to arguments in prototypes.
696
6971998-11-05 H.J. Lu <hjl@gnu.org>
698
699 * libio/iofgets.c (_IO_fgets): Don't report error
700 if something was read in and errno is set to
701 EAGAIN.
702 * libio/iofgets_u.c (fgets_unlocked): Likewise.
703
7041998-11-05 Philip Blundell <philb@gnu.org>
705
706 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
707 header; it defines too much. Provide a local definition of struct
708 sockaddr_pkt and a comment advising against its use.
709
7101998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
711
712 * extra-lib.mk: Avoid empty include list.
713
7141998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
715
716 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
717
718 * elf/Makefile (libdl-routines): Add dlopenold only if doing
719 versioning.
720 (libdl-shared-only-routines): New variable.
721
7221998-11-06 Paul Eggert <eggert@twinsun.com>
723
724 Don't invoke localtime_r or gmtime_r unless it's the GNU C
725 library's localtime_r and gmtime_r; there are too many buggy
726 implementations of localtime_r and gmtime_r out there, and
727 it's not worth keeping track of all the different bugs.
728
729 * time/mktime.c (__EXTENSIONS__): Remove.
730 (<unistd.h>): No need to include.
05f732b3
UD
731 * time/strftime.c: Likewise.
732
733 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1792d4db
UD
734 Remove.
735 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
736 Base it on localtime unless _LIBC.
737
738 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
739 all uses changed.
740 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
741 Base them on localtime/gmtime if not _LIBC.
05f732b3
UD
742
7431998-11-07 Ulrich Drepper <drepper@cygnus.com>
744
745 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
746 file descriptor. This makes this function actually usable.
747 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
748
9a821cf9
UD
7491998-11-05 Ulrich Drepper <drepper@cygnus.com>
750
d76bd17f
UD
751 * math/math.h: Unconditionally include bits/mathdef.h. Declare
752 long double functions only if __NO_LONG_DOUBLE_MATH is not
753 defined.
754 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
755 Define __NO_LONG_DOUBLE_MATH.
756 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
757 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
758
9a821cf9
UD
759 * elf/rtld.c: Add a few __builtin_expects where they will improve
760 a lot.
761
c0016081
UD
7621998-11-05 Ulrich Drepper <drepper@cygnus.com>
763
fe959e1e
UD
764 * version.h (VERSION): Bump to 2.0.100.
765
c0016081
UD
766 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
767
768 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
769 * sysdeps/libm-i387/s_fmaf.S: Likewise.
770
9a821cf9
UD
7711998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
772
773 * libio/genops.c (_IO_least_marker): Add additional parameter
774 end_p replacing fp->_IO_read_end.
775 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
776 and _IO_ssize_t instead of int.
777 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
778 (_IO_switch_to_backup_area): Likewise. Fix comments.
779 (_IO_seekmark): Undo last change.
780 (_IO_default_pbackfail): Correct use of backup area.
781 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
782
c0016081
UD
7831998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
784
785 * configure.in: Search for install-info and substitute it.
786 Determine whether install-info is the buggy Debian version
787 that doesn't understand INFO-DIR-SECTION.
788 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
789 to be substituted.
790 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
791 install-info the --section argument it needs to work properly.
792 (dir-add.texinfo): Delete target.
793 (dir-add.info): Generate this directly. Sort entries. Put a
794 colon at the end of the INFO-DIR-SECTION line.
795 * manual/libc.texinfo: Put a colon at the end of the
796 @dircategory line.
797
7981998-11-05 Paul Eggert <eggert@twinsun.com>
799
800 * time/mktime.c (__mktime_internal): Adopt the traditional (and
801 problematic) notion of what to do when tm_isdst doesn't match.
802
8031998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
804
805 * posix/PTESTS: Fix spelling.
806
ff8ac383
UD
8071998-11-04 Ulrich Drepper <drepper@cygnus.com>
808
809 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
810 functions. Reduce error in computing normalized value by multiplying
811 factor in loop and compute result in one step.
a92599ea
UD
812 Reported by Christian Gafton.
813
814 * sysdeps/libm-i387/e_hypot.S: New file.
815 * sysdeps/libm-i387/e_hypotf.S: New file.
ff8ac383 816
c0016081
UD
8171998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
818
819 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
820
8211998-11-03 H.J. Lu <hjl@gnu.org>
822
823 * libio/fileops.c (new_do_write): New function.
824 (_IO_new_do_write): Call new_do_write.
825 (_IO_new_file_xsputn): Likewise.
826
827 * libio/oldfileops.c (old_do_write): New function.
828 (_IO_old_do_write): Call old_do_write.
829 (_IO_old_file_xsputn): Likewise.
830
3ddfec55
UD
8311998-11-04 Ulrich Drepper <drepper@cygnus.com>
832
98b567ff
UD
833 * time/mktime.c (__mktime_internal): Correct last change. We must
834 stop searching for the right isdst value before stepping to the
835 initial value.
836
3ddfec55
UD
837 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
838 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
839
f540c0a4
UD
8401998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
841
842 * sysdeps/generic/bits/signum.h: Define signals with their
843 historical numbers when those are in the 1-15 range and
844 consistent across platforms.
845 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
846 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
847 appropriately instead of with fake function declarations
848 (would cause link errors).
849 If __USE_UNIX98, define SIG_HOLD.
850
8511998-10-29 H.J. Lu <hjl@gnu.org>
852
853 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
854 union only if __USE_POSIX199309 is defined.
855
856 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
857 defined.
858
5fea58fb
UD
8591998-11-03 Ulrich Drepper <drepper@cygnus.com>
860
861 * time/mktime.c (__mktime_internal): Handle broken down times
862 around the time of the DST switches more correctly.
863
e254df14
UD
8641998-11-02 Ulrich Drepper <drepper@cygnus.com>
865
866 * elf/Makefile (libdl-routines): Add dlopenold.
867 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
868 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
869 is set and bounce otherwise.
870 * elf/dlopen.c: Rename function to __dlopen_check and make version
871 named dlopen.
872 * elf/dlopenold.c: New file.
873
e3e35cfc
UD
8741998-11-02 Ulrich Drepper <drepper@cygnus.com>
875
876 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
877 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
878 * elf/dl-deps.c: ...here.
879 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
880 new parameter and expect result. Remove code handling RTLD_GLOBAL.
881 Add return value of _dl_map_object_deps to
882 _dl_main_searchlist->r_nlist.
883 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
884 If we parameter GLOBAL is nonzero add object and dependencies to
885 the global scope.
886 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
887 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
888 Mark all objects as in global scope.
889 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
890
891 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
892
893 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
894 used in macro magic.
895
5fea58fb
UD
8961998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
897
f540c0a4
UD
898 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
899 before <sys/socket.h> to make sockaddr_at available to
900 <sys/socket.h>.
e3e35cfc
UD
901
902 * posix/glob.h: Remove __P from parameter lists of declarations.
5fea58fb
UD
903
9041998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
905
906 * time/tzset.c (tz_compute): Remove unused parameter timer.
907 Change caller.
908
9091998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
910
911 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
912
160698e2
UD
9131998-11-02 Ulrich Drepper <drepper@cygnus.com>
914
915 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
916 unnecessary test and add cast.
917
9181998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
919
920 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
921
922 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
923 parameter fd.
924 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
925
9261998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
927
928 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
929 fds_bits member.
930 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
931
9321998-10-31 Richard Henderson <rth@cygnus.com>
933
934 * math/Makefile (gmp-objs): Add udiv_qrnnd.
935
936 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
937 (inline_syscall*): New.
938 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
939 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
940
256705f4
UD
9411998-10-31 Ulrich Drepper <drepper@cygnus.com>
942
943 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
944 avoid ld test generating an unwanted file.
945
c55be36d
UD
946 * posix/PTESTS: Remove comment about incorrect test (it is correct).
947
160698e2
UD
9481998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
949
950 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
951 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
952 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
953 * sunrpc/rpc/xdr.h: Add INT32 support.
a1129917 954 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
160698e2
UD
955
956 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
957 * nis/nis_callback.c: Likewise.
958 * nis/nis_creategroup.c: Likewise.
959 * nis/nis_defaults.c: Likewise.
960 * nis/nis_intern.h: Likewise.
961 * nis/nis_lookup.c: Likewise.
962 * nis/nis_ping.c: Likewise.
963 * nis/nis_print.c: Likewise.
964 * nis/nis_table.c: Likewise.
965 * nis/nis_util.c: Likewise.
966 * nis/nis_xdr.c: Likewise.
967 * nis/rpcsvc/nis.h: Likewise.
968 * nis/rpcsvc/nis.x: Likewise.
969 * nis/rpcsvc/nis_callback.h: Likewise.
970 * nis/rpcsvc/nis_object.x: Likewise.
971 * nis/rpcsvc/nislib.h: Likewise.
972
973 * nis/rpcsvc/yp.h: Remove casts to (u_long).
974 * nis/rpcsvc/yp_prot.h: Likewise.
975 * nis/rpcsvc/ypupd.h: Likewise.
976 * nis/ypclnt.c: Change %ld to %d in sprintf.
977
9781998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
979
980 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
981
9821998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
983
984 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
985 0, __fd_mask is usually not a char.
986
9871998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
988
989 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
990 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
991 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
992 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
993 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
994 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
995 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
996 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
997
998 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
999 compiling on systems without rt_sigaction syscall.
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
1001 Likewise.
1002
10031998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1004
1005 * time/strptime.c (HERE_D_FMT): Fix typo.
1006 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1007
a3b2008a
UD
10081998-10-30 Ulrich Drepper <drepper@cygnus.com>
1009
646fffb9
UD
1010 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
1011 (generate): Add test1.cat and test1.h.
1012 (distribute): Add test1.msg.
655b26bb 1013 * catgets/test1.msg: New file.
646fffb9 1014
a3b2008a
UD
1015 * catgets/gencat.c: Do a better job in initializing dynamic
1016 memory [PR libc/844].
1017
00995ca9
UD
10181998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
1019
1020 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
1021 internal_function since it is called through a pointer.
1022 * iconv/gconv_db.c (free_derivation): Likewise.
1023 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
1024
1025 * posix/wordexp.c: Add internal_function to parse_backtick definition.
1026 * rt/aio_misc.c: Add internal_function to __aio_free_request,
1027 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
1028 definitions.
1029 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
1030 __aio_notify definitions.
1031 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1032
e980ca92
UD
10331998-10-30 Ulrich Drepper <drepper@cygnus.com>
1034
1035 * Makerules (build-shlib): Add -O to generate optimized shared
1036 objects.
1037
0e19d4a3
UD
10381998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
1039
1040 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
1041 * sysdeps/libm-i387/e_fmodf.S: Likewise.
1042 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1043 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1044 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1045 * sysdeps/libm-i387/s_logb.S: Likewise.
1046 * sysdeps/libm-i387/s_logbf.S: Likewise.
1047 * sysdeps/libm-i387/s_remquo.S: Likewise.
1048 * sysdeps/libm-i387/s_remquof.S: Likewise.
1049 * sysdeps/libm-i387/s_remquol.S: Likewise.
1050 * sysdeps/libm-i387/s_significand.S: Likewise.
1051 * sysdeps/libm-i387/s_significandf.S: Likewise.
1052
10531998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1054
1055 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
1056 _llseek.
1057
10581998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1059
1060 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1061
c5e340c7
UD
10621998-10-29 Ulrich Drepper <drepper@cygnus.com>
1063
b0882748
UD
1064 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
1065 returns without cleaning up the lock.
d8334b9a 1066 (printf_unknown): Add label all_done.
b0882748 1067
7dc7f7b2
UD
1068 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
1069 kernels in mind when reading /proc/self/fd/FD.
1070 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1071
67a96999
UD
1072 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1073
d5cabaa4
UD
1074 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
1075 _fitoa.
1076
c5e340c7
UD
1077 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
1078 /prof/self/fd/FD first.
1079 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1080
1081 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
1082 formatted number starting at given position and return pointer to
1083 following byte.
1084 (_fitoa): Likewise, for long long.
1085
cf3a0eca
RM
10861998-10-29 Roland McGrath <roland@baalperazim.frob.com>
1087
1088 * sysdeps/unix/sysv/linux/bits/sem.h,
1089 sysdeps/unix/sysv/linux/bits/ipc.h,
1090 sysdeps/unix/sysv/linux/bits/shm.h,
1091 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
1092 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
1093 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
1094 so the same bits will be used for the Hurd.
1095
f3c1143b
UD
10961998-10-29 Ulrich Drepper <drepper@cygnus.com>
1097
1098 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
1099 compiling on systems without rt_sigaction syscall.
1100
11011998-10-12 Philip Blundell <pb@nexus.co.uk>
1102
1103 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
1104 directories as well as add them.
1105
11061998-10-28 Philip Blundell <pb@nexus.co.uk>
1107
1108 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
1109 AF_ECONET sockets as found in recent Linux 2.1 kernels.
1110 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1111 * sysdeps/unix/sysv/linux/Makefile: Install it.
1112
11131998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1114
1115 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1116
11171998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1118
1119 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1120 fds_bits member.
1121 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
1122 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
1123 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
1124 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
1125 Likewise.
1126 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
1127 Likewise.
1128 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1129 __FD_ISSET): Use it.
1130 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1131 __FD_ISSET): Likewise.
6e2cc2c1 1132
91cc83ff
UD
11331998-10-28 Geoff Keating <geoffk@ozemail.com.au>
1134
1135 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
1136 llseek.
1137
c70ca1fa
UD
1138 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
1139 Instead call the system call wrapper function using an 64bit argument.
1140 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1141 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1142 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1143
2898c3a5
UD
11441998-10-27 Ulrich Drepper <drepper@cygnus.com>
1145
7e986b8b
UD
1146 * signal/signal.h: Don't include <time.h> for timespec, add
1147 forward declaration.
1148
2898c3a5
UD
1149 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
1150 of __FD_* macros which use __fds_bits.
1151 * sysdeps/generic/bits/select.h: Likewise.
1152 Reported by Matt McLean <keys@yikes.com>.
1153
c1a61edb
UD
11541998-10-27 Philip Blundell <pb@nexus.co.uk>
1155
1156 * elf/elf.h: Update ARM definitions.
1157
cc368887
UD
11581998-10-27 Ulrich Drepper <drepper@cygnus.com>
1159
1160 * signal/signal.h: Include bits/sigthread.h only for Unix98.
1161
665a657e
UD
11621998-10-26 Ulrich Drepper <drepper@cygnus.com>
1163
a8eab8b1
UD
1164 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
1165 define __builtin_expect as a macro substituting to the first
1166 argument.
1167 * config.h.in: Define HAVE_BUILTIN_EXPECT.
1168 * configure.in: Add test for __builtin_expect.
1169
665a657e
UD
1170 * sysdeps/unix/sysv/linux/bits/types.h: Include
1171 bits/pthreadtypes.h only not for POSIX 199506.
1172 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1173 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1174 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1175
48ab6a9e
UD
11761998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
1177
1178 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
1179 * socket/Versions [libc, GLIBC_2.0]: ... to here.
1180
992af677
UD
11811998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1182
1183 * include/stdio.h: Included <stddef.h> for size_t.
1184
1185 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
1186 to ...
1187 * include/stdio.h: ...here.
1188 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
1189
0e103c6d
UD
11901998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
1191
1192 * time/Makefile (tests): Add tst-posixtz.
1193 * time/tst-posixtz.c: New file.
1194
11951998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1196
1197 * elf/rtld.c (process_envvars): Accept any non-null value of
1198 LD_BIND_NOW, as mandated by the ABI.
1199
12001998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1201
1202 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
1203 __syscall_pread.
1204 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
1205 __syscall_pwrite.
1206 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1207 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1208 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1209 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1210 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
1211 duplicate entries.
1212 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
1213 s_pread64 and s_pwrite64.
1214 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1215
12161998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1217
1218 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
1219 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
1220 to __syscall__llseek.
1221 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1222 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1223 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
1224 __sys_llseek.
1225
12261998-10-26 Cristian Gafton <gafton@redhat.com>
1227
1228 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
1229 and s_setfsuid.
1230
12311998-10-26 Ulrich Drepper <drepper@cygnus.com>
1232
1233 * time/tzset.c (tz_compute): Correct last patch and describe this
1234 in a comment.
1235
d499a27c
AS
12361998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1237
1238 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
1239 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
1240 rt_sigaction and rt_sigpending.
1241 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
1242 for __syscall_* functions.
1243 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1244
c2ef7930
RM
12451998-10-26 Roland McGrath <roland@baalperazim.frob.com>
1246
1247 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
1248 _hurd_dtable_lock, _hurd_intern_fd.
1249
1250 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
1251 cthread_getspecific, cthread_setspecific, __libc_getspecific.
1252
1253 * mach/Versions: Fix typo in last change.
1254
1938c489
UD
12551998-10-25 Ulrich Drepper <drepper@cygnus.com>
1256
1257 * time/tzset.c (tz_compute): If time to switch to DST is later in
1258 the year switch back in the next year.
1259 Reported by jwitford@hutch.com.au.
c2ef7930 1260
a825f8e8
RM
12611998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
1262
1263 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
1264 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
1265 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
1266 __mach_port_allocate, __mach_port_allocate_name,
c2ef7930
RM
1267 __mach_port_insert_right __mutex_trylock, __mutex_lock,
1268 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
1269 __task_set_special_port, __task_terminate, __thread_depress_abort,
1270 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
1271 functions are not used outside libc.
a825f8e8
RM
1272
1273 * sysdeps/mach/hurd/Versions: New file.
1274 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
1275 _cthread_init_routine. These are set by the Hurd cthreads library.
1276 Add __getcwd, __mmap. If we don't add these, the weak definitions in
1277 the dynamic linker will not be replaced by the corresponding shared
1278 library routines once they are loaded.
1279
12801998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
1281
1282 * sysdeps/mach/hurd/i386/init-first.c: Only define
1283 __libc_enable_secure if PIC is not defined.
1284
12851998-10-25 Roland McGrath <roland@baalperazim.frob.com>
1286
1287 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
1288 to recurse into argp.
1289
4a582094
UD
12901998-10-25 Ulrich Drepper <drepper@cygnus.com>
1291
1292 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
1293 greater or equal than 199506L.
1294
1295 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
1296 only is __USE_XOPEN. Otherwise use __fds_bits.
1297 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1298 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1300 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1301 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1302
13031998-10-24 H.J. Lu <hjl@gnu.org>
1304
1305 * locale/programs/charmap.c (parse_charmap): Accept tok_string
1306 for <code_set_name>.
1307
13081998-10-25 H.J. Lu <hjl@gnu.org>
1309
1310 * locale/programs/ld-ctype.c (ctype_finish): Also check
1311 <space>.
1312
13131998-10-25 Ulrich Drepper <drepper@cygnus.com>
1314
1315 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
1316
1317 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
1318 if __USE_POSIX199506 or __USE_UNIX98.
1319
13201998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1321
1322 * string/bits/string2.h: Inline strdup+friends only if
1323 __USE_MISC || __USE_GNU (prevents namespace pollution).
1324
13251998-10-24 H.J. Lu <hjl@gnu.org>
1326
1327 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
1328 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
1329 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
1330 LOCK_NB, LOCK_UN): Likewise.
1331 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
1332 LOCK_NB, LOCK_UN): Likewise.
1333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
1334 LOCK_NB, LOCK_UN): Likewise.
1335 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
1336 LOCK_NB, LOCK_UN): Likewise.
1337
13381998-10-24 H.J. Lu <hjl@gnu.org>
1339
1340 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
1341
1342 * libio/rewind.c (rewind): Clear the error.
1343
13441998-10-24 H.J. Lu <hjl@gnu.org>
1345
1346 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
1347 "buffer".
1348
13491998-10-24 H.J. Lu <hjl@gnu.org>
1350
1351 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
1352 with __need_timeval.
1353 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
1354 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
1355
13561998-10-24 H.J. Lu <hjl@gnu.org>
1357
1358 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
1359 sigqueue): Protect with __USE_POSIX199309.
1360
13611998-10-24 H.J. Lu <hjl@gnu.org>
1362
1363 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
1364 __USE_POSIX.
1365
13661998-10-24 H.J. Lu <hjl@gnu.org>
1367
1368 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
1369 the kernel file offset.
1370 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
1371
88455219
UD
13721998-10-24 H.J. Lu <hjl@gnu.org>
1373
1374 * time/tzfile.c (__tzfile_default): Set num_types to 2.
1375
13761998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1377
1378 * rt/aio.h: Move __aio_init to...
1379 * include/aio.h: ...here.
1380
13811998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1382
1383 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
1384 definition of O_LARGEFILE.
1385
13861998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1387
1388 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
1389 as first argument to statfs.
1390
13911998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1392
1393 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
1394
13951998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1396
1397 * malloc/mtrace.c: Include <string.h> for strlen.
1398
3c068816
RM
13991998-10-24 Roland McGrath <roland@baalperazim.frob.com>
1400
184edc95
RM
1401 * sysdeps/mach/hurd/bits/environments.h: New file.
1402
3c068816
RM
1403 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
1404
1405 * mach/Versions, hurd/Versions: Add numerous symbols.
1406 Remove libmachuser and libhurduser sections, punt
1407 versioning for those libraries for now.
1408
1409 * misc/Versions: Add reboot here; it exists on all platforms.
1410 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
1411
fc40fc6c
UD
14121998-10-23 Ulrich Drepper <drepper@cygnus.com>
1413
1414 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
1415 macro.
1416 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1417 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1418 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
1419 O_NOFOLLOW, O_DIRECT): New macros.
1420 (O_DIRECTORY): Correct definition according to official 2.1.126.
1421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
1422 O_NOFOLLOW): New macros.
1423
b1fcf686
RM
14241998-10-24 Roland McGrath <roland@baalperazim.frob.com>
1425
d606f528
RM
1426 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
1427
b1fcf686
RM
1428 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
1429 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
1430
24f25de6
UD
14311998-10-23 Ulrich Drepper <drepper@cygnus.com>
1432
0d486134
UD
1433 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
1434 setfsuid.c, and setfsgid.c.
1435 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1436 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1437 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1438
24f25de6
UD
1439 * version.h (VERSION): Bump to 2.0.99.
1440
8a6da7e6
UD
1441 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
1442 ustat definition.
1443
1e8f0e3e
UD
1444 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
1445 s_pwrite64.c.
1446
24f25de6
UD
1447 * posix/fnmath.h: Don't redefine __P when used in glibc.
1448 * posix/glob.h: Likewise.
1449
1450 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
1451 Patch by Dick Streefland <dick_streefland@tasking.com>.
1452
1453 * stdio-common/tst-ungetc.c: Add more test cases.
1454
1455 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
1456 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
1457 definitions to ...
1458 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
1459 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
1460 * sysdeps/unix/sysv/linux/pathconf.c: New file.
1461 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
1462 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1463
14641998-10-20 Philip Blundell <pb@nexus.co.uk>
1465
1466 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
1467 <asm/ptrace.h> to define struct pt_regs.
1468 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
1469 including <asm/ptrace.h> here.
1470
1471 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
1472 C_SYMBOL_NAME macro.
1473
14741998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1475
1476 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
1477 end of enumerator list.
1478 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
1479 * posix/wordexp.h: Likewise.
1480
1481 * db/db.h: Use __PMT instead of __P in typedefs.
1482 * db/mpool.h: Likewise.
1483 * sysdeps/generic/bits/siginfo.h: Likewise.
1484 * nis/rpcsvc/ypclnt.h: Likewise.
1485
d6787ff2
UD
14861998-10-23 Ulrich Drepper <drepper@cygnus.com>
1487
1488 * libio/genops.c (_IO_seekmark): When switching to backup buffer
1489 make sure all characters from the read buffer are read after
1490 switching back to it.
1491
98393660
UD
14921998-10-22 Ulrich Drepper <drepper@cygnus.com>
1493
1494 * configure.in: Add support for Cygnus GNUPro compilers.
1495
84c8da0e
UD
14961998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1497
1498 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
1499
1500 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
1501 of __P for sa_restorer.
1502 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1503 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1504 kernel_sigaction, old_kernel_sigaction): Likewise.
1505
ed304158
UD
15061998-10-22 Ulrich Drepper <drepper@cygnus.com>
1507
c7f5a0c7
UD
1508 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
1509 and __syscall_pwrite aliases.
1510
ed304158 1511 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
78e5779b
UD
1512
1513 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
1514 improve INLINE_SYSCALL using macro assembler magic.
1515
9271a050
UD
15161998-10-22 H.J. Lu <hjl@gnu.org>
1517
1518 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
1519 sanity check for n.
1520 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
1521
1522 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
1523 EINVAL if errno == ENODEV. Tested by VSX-PCT.
1524
1525 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
1526 by VSX-PCT.
1527
1528 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
1529
e595c802
UD
15301998-10-22 Philip Blundell <pb@nexus.co.uk>
1531
1532 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
1533 __ASSEMBLER__.
1534
7bb38c70
UD
15351998-10-21 Ulrich Drepper <drepper@cygnus.com>
1536
1537 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
1538 and adjust formats.
1539
0dee6738
UD
15401998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
1541
1542 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
1543 __syscall_* function.
1544 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
1545 of calling __syscall_* function.
1546 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1547 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1548 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1549 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1550 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
1551 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1552 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1553 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1554 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1555 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1556 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1557 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1558 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1559 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1560 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1561 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1562 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1563 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1564 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
1565 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1566 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1567 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1568 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1569 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1570 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1571 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1572 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1573 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1574 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1575 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1576 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1577 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1578 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1579 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 1580 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
1581 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1582 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1583 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1584 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1585 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1586 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1587 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1588
1589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
1590 inline assembler.
1591 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
1592 __syscall_* definitions.
1593
1594 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
1595 definitions to...
1596 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
1597 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1598 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1599 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1600 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1601 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1602 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1603
adcb550c
UD
1604 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
1605 Move definition to...
1606 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
1607 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1608 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1609 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1610 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1611 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1613
0dee6738
UD
1614 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1615 (sysdep_routines): Remove s_pread64 and s_pwrite64.
1616
1617 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
1618 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
1619 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
1620 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
1621 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
1622 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
1623
16241998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1625
1626 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
1627 and bring them in synch.
1628 * sysdeps/unix/siglist.c: Likewise.
1629 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
1630
16311998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1632
1633 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
1634 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1635
1636 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
1637 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
1638 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
1639 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
1640 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
1641 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
1642 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
1643 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
1644 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
1645 s_setregid.
1646 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1647 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1648 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1649
16501998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1651
1652 * sunrpc/rpc_main.c (close_output, close_input): New functions.
1653 (c_output, h_output, s_output, l_output, t_output, svc_output,
1654 clnt_output, mkfile_output): Call them at the end.
1655
16561998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1657
1658 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
1659 link command.
1660
39f0e778
AS
16611998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1662
1663 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
1664 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1665
d523c981
UD
16661998-10-20 Ulrich Drepper <drepper@cygnus.com>
1667
1668 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
1669 s_pwrite64.
1670 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
1671 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
1672 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
1673 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
1674 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
1675
0dee6738
UD
16761998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
1677
1678 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
1679 O_DIRECTORY.
1680
16811998-10-20 H.J. Lu <hjl@gnu.org>
1682
1683 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
1684 argument types.
1685
4bd8be48
UD
16861998-10-19 Ulrich Drepper <drepper@cygnus.com>
1687
48244d09
UD
1688 * math/tgmath.h: Make nested function calls work.
1689
10411f2d
UD
1690 * include/ldsodefs.h: Fix typo.
1691
a9b171ef
UD
1692 * posix/Makefile (tests): Add tst-preadwrite.
1693 * posix/tst-preadwrite.c: New file.
1694
4bd8be48
UD
1695 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
1696 sure that descriptor is in any case for a directory.
1697
cfb32a6c
UD
16981998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1699
1700 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
1701 (atan2): Takes two arguments.
1702
ce85d65b
UD
17031998-10-19 Ulrich Drepper <drepper@cygnus.com>
1704
1705 * include/ldsodefs.h: New file.
1706
1707 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
1708 Remove change to avoid using _CALL_DL_FCT.
1709 * iconv/gconv_db.c: Likewise.
1710 * iconv/gconv_dl.c: Likewise.
1711 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
1712 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
1713 * nss/nsswitch.c: Likewise.
1714 * nss/nsswitch.h: Likewise.
1715
17161998-10-19 Philip Blundell <pb@nexus.co.uk>
1717
1718 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
1719 required libraries.
1720 * login/Makefile (otherlibs): Likewise.
1721 * nscd/Makefile (otherlibs): Likewise.
1722 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
1723
1724 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
1725
1726 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
1727
17281998-10-19 Philip Blundell <pb@nexus.co.uk>
1729
1730 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
1731 and setfsuid.
1732
17331998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1734
1735 * nscd/connections.c: Fix typos in comments and strings.
1736
1737 * nscd/nscd.conf: Update according to recent changes to nscd.
1738
1739 * nscd/cache.c (prune_cache): Remove wrong comment.
1740
816e6eb5
UD
17411998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
1742
1743 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
1744 category in copy_posix.
1745 (collate_finish): Don't warn about UNDEFINED not being defined.
1746 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
1747 category in copy_posix.
1748 * locale/programs/ld-messages.c (messages_startup): Likewise.
1749 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
1750 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
1751 * locale/programs/ld-time.c (time_startup): Likewise.
1752 * locale/programs/localedef.c: Move copy_def_list_t definition into
1753 locales.h. Define copy_posix variable.
1754 (main): Before processing copy list add &copy_posix to copy_list.
1755 * locale/programs/locales.h: Add definition of copy_def_list_t.
1756 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 1757 copy_posix.mask for copy instruction.
816e6eb5 1758
685c1676
UD
17591998-10-19 Ulrich Drepper <drepper@cygnus.com>
1760
1761 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
1762 non-existing file with generic implementation.
1763 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1764
17651998-10-19 Philip Blundell <pb@nexus.co.uk>
1766
1767 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
1768 defined. Avoid using _CALL_DL_FCT if it is not defined.
1769 * iconv/gconv.c: Likewise.
1770
9bbe7c3b
UD
17711998-10-19 Ulrich Drepper <drepper@cygnus.com>
1772
34489d95
UD
1773 * nscd/connections.c (dbs): Define defualt values for timeouts and
1774 set enabled to 0 by default.
1775 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
1776 nscd_run.
1777
9bbe7c3b
UD
1778 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
1779 character >= 0x80.
1780 (_nl_C_LC_CTYPE_class32): Likewise.
1781 Reported by HJ Lu.
1782
7d25696a
RM
17831998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1784
1785 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1786 _HURD_THREADVAR_DL_ERROR.
1787
1788 * hurd/Makefile (user-interfaces): Add login, password.
1789
1790 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
1791
37eb58de
RM
17921998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
1793
1794 [submitted 1998-08-06]
1795 * mach/Machrules: Create target directory and force re-evaluation
1796 of Makefile to prevent `make' from optimizing away most of the
1797 implicit rules and `vpath' directives.
1798
7434cee2
RM
17991998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1800
37eb58de
RM
1801 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
1802 is null, short-circuit to __mach_msg.
1803
a13d5ca5
RM
1804 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
1805 broken out of init1.
1806 (init1) [PIC]: Call it.
1807 (__libc_init_first) [! PIC]: Call it.
1808
7434cee2
RM
1809 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
1810 __libc_init_secure. Instead set __libc_enable_secure here from
1811 the exec flags.
1812 (__libc_enable_secure): New variable it.
1813 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
1814
3f804c95
RM
18151998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1816
1817 * nscd/nscd-client.h: New file, broken out of "nscd.h".
1818 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
1819 and #include that.
1820 * nscd/Makefile (distribute): Add nscd-client.h.
1821 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
1822 Include "nscd-client.h" instead of "nscd.h"
1823
67479a70
UD
18241998-10-18 Ulrich Drepper <drepper@cygnus.com>
1825
74f7e7c0
UD
1826 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
1827 directory entries when a lstat call fails.
1828 Patch by Colin Plumb <colin@nyx.net>.
1829
67479a70
UD
1830 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
1831 NSS functions.
1832 * resolv/nss_dns/dns-network.c: Likewise.
1833
9bbe7c3b 1834 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
1835 have-thread-library to determine whether threads are available.
1836 * pwd/Makefile: Remove wrong comment.
1837
1838 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
1839 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
1840
1841 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
1842
1843 * nss/Versions: Add __nss_hosts_lookup.
1844
1845 * nss/getXXbyYY.c: Remove unneeded assignment.
1846
1847 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
1848
1849 Almost complete rewrite of the NSCD to make it smaller, faster,
1850 add more functionnality and make it easier to extend.
1851 * nscd/Makfile (routines): Add nscd_gethst_r.
1852 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
1853 * nscd/cache.c: New file.
1854 * nscd/gethstbyad_r.c: New file.
1855 * nscd/gethstbynm2_r.c: New file.
1856 * nscd/hstcache.c: New file.
1857 * nscd/nscd_gethst_r.c: New file.
1858 * nscd/connections.c: Rewritten. Don't start new thread for every
1859 new connection. Use a fixed set of threads which handle all
1860 connections and also the cache cleanup.
1861 * nscd/grpcache.c: Rewritten to use generic cache handling functions
1862 in cache.c.
1863 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
1864 for rewrite. Remove handle_requests function.
1865 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
1866 Define new data structure for the new unified cache and the host
1867 database entries.
1868 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
1869 databases easily. Recognize check-files and threads definitions.
1870 * nscd/nscd.conf: Add definition of enable-cache and check-files to
1871 passwd and group definitions. Add new set of definitions for hosts.
1872 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
1873 * nscd/nscd_getpw_r.c: Likewise.
1874 * nscd/nscd_proto.h: Add prototype for host database functions.
1875 * nscd/nscd_stat.c: Rewrite to simplify printing of information
1876 for many databases.
1877 * nscd/dbg_log.c: Remove unnecessary variable initializations.
1878 Global variable debug_flag is renamed to dbg_level.
1879 * nscd/dbg_log.h: Declare set_logfile.
1880
6cde0c60
UD
18811998-10-16 Ulrich Drepper <drepper@cygnus.com>
1882
1883 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
1884 O_LARGEFILE back.
1885
c7a9f249
UD
18861998-10-16 Paul Eggert <eggert@shade.twinsun.com>
1887
1888 * time/mktime.c: Some systems require <unistd.h> to be
1889 included before <time.h> for localtime_r to be declared
1890 properly.
1891 * time/strftime.c: Likewise.
1892
9ffbb612
UD
18931998-10-16 Ulrich Drepper <drepper@cygnus.com>
1894
0049f576
UD
1895 * db/Makefile: Add rule to generate shared object with the soname
1896 from glibc 2.0.
1897
9ffbb612
UD
1898 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
1899 available double check to verify it's a directory.
1900
1901 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
1902 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
1903 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
1904 are not generally available.
1905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
1906
1907 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
1908 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
1909 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
1910 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
1911 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
1912 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
1913 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
1914 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
1915 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
1916 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
1917 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
1918 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
1919 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
1920 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
1921 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
1922 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
1923 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
1924 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
1925 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
1926 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
1927 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
1928 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
1929 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
1930 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
1931 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
1932 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
1933 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
1934 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
1935 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
1936 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1937 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1938 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
1939 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
1940 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
1941 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1942 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
1943 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
1944 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
1945
1946 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
1947 s_setresgid, and s_setuid.
1948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1949 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1951 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1952 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
1953 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1954 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1955
39e4f7f8
UD
19561998-10-16 Ulrich Drepper <drepper@cygnus.com>
1957
1958 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
1959 localtime_t declaration on some systems.
1960
c66dbe00
UD
19611998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
1962
1963 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
1964 -DSTATIC_GCONV.
9ffbb612 1965 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
1966 defined. Avoid using DL_CLL_FCT if it is not defined.
1967
19681998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1969
1970 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
1971 Include endian.h unconditionally. Remove portability goop
1972 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1973
19741998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1975
1976 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
1977
909927d2
UD
19781998-10-15 Ulrich Drepper <drepper@cygnus.com>
1979
1980 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
1981 again. Use char[44] to define size of the struct.
1982
a9e73d40
UD
1983 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
1984
fcab9698 19851998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 1986
fcab9698
UD
1987 * string/bits/string2.h (strcmp): Don't cache the result of
1988 __builtin_constant_p in variables, otherwise constant folding
1989 can fail in big functions.
c66dbe00 1990
fcab9698 19911998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 1992
fcab9698
UD
1993 * string/bits/string2.h: Add prototypes for the new inline
1994 functions.
c66dbe00 1995
7edb4c25
UD
19961998-10-15 Ulrich Drepper <drepper@cygnus.com>
1997
1998 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
1999 have all types defined.
2000 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
2001
fcab9698 20021998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 2003
fcab9698
UD
2004 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
2005 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
2006 a body that merely expands localtime_r; this works around a
2007 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
2008
20091998-10-14 Ulrich Drepper <drepper@cygnus.com>
2010
2011 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
2012 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
2013 __ioctl to __syscall_ioctl and include Linux version of this file.
2014 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2015 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
2016 ioctl calls which handle struct termios.
2017 Based on a patch by Dan Jacobowitz <drow@false.org>.
2018
8583916e
UD
20191998-10-14 Ulrich Drepper <drepper@cygnus.com>
2020
2021 * version.h (VERSION): Bump to 2.0.98.
2022
6f100d04
UD
2023 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
2024 here instead of including kernel_termios.h.
2025
fcab9698 20261998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 2027
fcab9698
UD
2028 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
2029 unnecessary after the changes of 1998-10-12.
c66dbe00 2030
99e46354
UD
20311998-10-13 Ulrich Drepper <drepper@cygnus.com>
2032
6c5a700e
UD
2033 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
2034 parameter format string.
2035 (inline_outw): Likewise.
2036
99e46354
UD
2037 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
2038 string.h to get memcpy prototype and NULL definition.
2039
20401998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2041
2042 * misc/sys/cdefs.h (__THROW): New macro.
2043 * argp/argp.h: Use it to replace the kludgey __P in inline
2044 function definitions.
2045 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2046 * stdlib/stdlib.h: Likewise.
2047 * wcsmbs/wchar.h: Likewise.
2048 * libio/stdio.h: Likewise.
2049 * stdio/stdio.h: Likewise.
2050 * sysdeps/wordsize-64/inttypes.h: Likewise.
2051 * sysdeps/wordsize-32/inttypes.h: Likewise.
2052 * string/argz.h: Likewise.
2053 * io/sys/stat.h: Likewise.
2054
20551998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2056
2057 * Rules (stdio_lim): New variable.
2058 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
2059 on Rules and config.make, use $(move-if-change) to avoid unnessary
2060 recompilations, and cleanup command.
2061 (common-generated): Add bits/stdio_lim.st.
2062
1622fda9
UD
20631998-10-12 Ulrich Drepper <drepper@cygnus.com>
2064
2065 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
2066 variable to prevent warnings from use of modern CPU instructions.
2067 Patch by Richard Henderson <rth@cygnus.com>.
2068
2069 * sysdeps/unix/opendir.c: Test whether NAME is directory before
2070 opening it.
2071
20721998-10-12 Philip Blundell <pb@nexus.co.uk>
2073
2074 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
2075 semicolon so that profiling works.
2076
4875f665
RM
20771998-10-12 Roland McGrath <roland@baalperazim.frob.com>
2078
2079 * sysdeps/generic/glob.c: #undef mempcpy before #define.
2080
2081 * sysdeps/unix/bsd/clock.c: Use prototype defns.
2082
431f91ba
UD
20831998-10-11 Ulrich Drepper <drepper@cygnus.com>
2084
2085 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
2086 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2087
2088 * string/bits/string2.h [!_STRING_ARCH_unaligned]
2089 (__mempcpy_small): Add parameter for 1 byte copy and use it.
2090 Reported by Geoff Keating <geoffk@ozemail.com.au>.
2091
027acb51
UD
20921998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
2093
2094 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
2095 it is already defined in <bits/environments.h>.
2096
9a29bc37
UD
20971998-10-09 Ulrich Drepper <drepper@cygnus.com>
2098
2099 * posix/ptestcases.h: Fix typo.
2100
21011998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2102
2103 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
2104 (regexec): Allocate regs.start and regs.end as one block.
2105
21061998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2107
2108 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
2109 enum decl.
2110
21111998-10-08 Philip Blundell <pb@nexus.co.uk>
2112
2113 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
2114 sigcontext union to ...
2115 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
2116 file.
2117 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
2118 version 2.0 kernels.
2119
9ea350a4
UD
21201998-10-08 Ulrich Drepper <drepper@cygnus.com>
2121
8261bc4b
UD
2122 * malloc/mtrace.c (tr_reallochook): Produce better output for real
2123 reallocation case.
2124
16e866fa 2125 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 2126 * argp/argp-xinl.c: Likewise.
16e866fa 2127
9ea350a4
UD
2128 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
2129 Ruffian entry back.
2130 Patch by Christian Gafton.
2131
25b3b17b
UD
21321998-10-08 Paul Eggert <eggert@twinsun.com>
2133
2134 * time/mktime.c (__mktime_internal): When the requested time falls
2135 in a spring-forward gap of size DT, return a time that is DT away
2136 from the requested time, preferring a time whose tm_isdst differs
2137 from the requested value. Bump the max number of probes from 4 to
2138 6 to account for the extra probes needed to discover a
2139 spring-forward gap in the worst case.
2140
21411998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
2142
2143 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
2144 of the weird alpha architectures.
2145 Patch by Cristian Gafton <gafton@redhat.com>.
2146
21471998-02-18 23:31 Richard Henderson <rth@cygnus.com>
2148
2149 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
2150 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
2151
604510f7
UD
21521998-10-07 Ulrich Drepper <drepper@cygnus.com>
2153
2154 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
2155 (dl_open_worker): Use realloc, not malloc to resize array.
2156 * elf/rtld.c (_dl_initial_searchlist): New variable.
2157 (_dl_main): Copy content of _dl_main_searchlist to
2158 _dl_initial_searchlist.
2159 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
2160 _dl_global_scope_alloc.
2161 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
2162 * elf/dl-close.c (_dl_close): When removing object with global
2163 scope remove allocated searchlist if no dynamically loaded object
2164 is on it anymore.
2165 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
2166 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
2167
2168 * malloc/mtrace.c (tr_where): Don't print space in location string,
2169 print it afterwards. Print better symbol name information.
2170
0163d97b
UD
21711998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2172
2173 * manual/filesys.texi (Setting Permissions): Fix example for
2174 reading umask.
2175
21761998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2177
2178 * elf/sprof.c (load_profdata): Fix typo in error message.
2179
c0de721b
AS
21801998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2181
2182 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
2183 flag.
2184
442dc326
RM
21851998-10-04 Roland McGrath <roland@baalperazim.frob.com>
2186
2187 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
2188
d53427c8
UD
21891998-10-06 Ulrich Drepper <drepper@cygnus.com>
2190
2191 * version.h (VERSION): Bump to 2.0.97.
2192
acdf1251
UD
21931998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2194
2195 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
2196 in definitions of inline stat functions so that they match the
2197 declaration.
2198 * stdlib/stdlib.h: Likewise.
2199 * wcsmbs/wchar.h: Likewise.
2200 * libio/stdio.h: Likewise.
2201 * stdio/stdio.h: Likewise.
2202 * sysdeps/wordsize-64/inttypes.h: Likewise.
2203 * sysdeps/wordsize-32/inttypes.h: Likewise.
2204 * string/argz.h: Likewise.
2205 * argp/argp.h: Likewise.
2206
3cb07217
UD
22071998-10-06 Ulrich Drepper <drepper@cygnus.com>
2208
2209 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
2210 netinet/in.h.
2211
c10bb795
UD
22121998-10-05 Philip Blundell <philb@gnu.org>
2213
2214 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
2215 and constants. Tidy up formatting a little.
2216
2217 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
2218 Move definitions to in.h.
2219
8325d82c
UD
22201998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2221
2222 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
2223 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
2224 Remove inclusion of <linux/swap.h>.
2225
22261998-10-05 Ulrich Drepper <drepper@cygnus.com>
2227
2228 * io/sys/stat.h: Use __P in definitions of inline stat functions
2229 so that they match the declaration.
2230
22311998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2232
2233 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
2234
22351998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2236
2237 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
2238 linux 2.1 version.
2239
22401998-10-02 Philip Blundell <pb@nexus.co.uk>
2241
2242 * sysdeps/arm/dl-machine.h: Fix typo in last change.
2243
2244 * sysdeps/arm/bits/huge_val.h: New file.
2245
22461998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2247
2248 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
2249
2250 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
2251 define.
2252
22531998-10-05 Ulrich Drepper <drepper@cygnus.com>
2254
2255 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
2256 store result of realloc instead of using BUF.
2257
22581998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2259
2260 * misc/sgtty.h (_SGTTY_H): Correct spelling.
2261 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
2262
22631998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2264
2265 * manual/memory.texi (Obstacks): Document
2266 obstack_alloc_failed_handler usage.
2267
2268 * malloc/obstack.h: Enhance comment about
2269 obstack_alloc_failed_handler usage.
2270 * malloc/obstack.c: Likewise.
2271
22721998-10-05 Ulrich Drepper <drepper@cygnus.com>
2273
2274 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
2275 gcc before 2.8 is used.
2276
22771998-10-01 Philip Blundell <pb@nexus.co.uk>
2278
2279 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
2280 from Scott Bambrough.
2281
2282 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
2283
2284 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
2285 include the lock member.
2286
22871998-09-03 Philip Blundell <pb@nexus.co.uk>
2288
2289 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
2290
e3e4e463
UD
22911998-10-01 Ulrich Drepper <drepper@cygnus.com>
2292
2293 * timezone/zic.c: Update from tzcode1998h.
2294 * timezone/europe: Update from tzdata1998i.
2295 * timezone/southamerica: Likewise.
2296
7782d0bf
UD
2297 * sys/types.h: Protect use of long long by __extension__.
2298 * stdlib/stdlib.h: Likewise.
2299 * string/string.h: Likewise.
2300 * sysdeps/i386/bits/byteswap.h: Likewise.
2301 * sysdeps/geeric/bits/byteswap.h: Likewise.
2302 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2303 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2304 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2305 * sysdeps/wordsize-32/inttypes.h: Likewise.
2306 * sysdeps/wordsize-32/stdint.h: Likewise.
2307 * wcsmbs/wchar.h: Likewise.
2308
8325d82c
UD
23091998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2310
2311 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
2312 expression.
2313 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
2314 __strsep): Greatly reduce size of expansion by combining common
2315 expressions.
2316 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
2317 inline function.
2318 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
2319 by the above definitions.
2320
23211998-09-27 Geoff Keating <geoffk@ozemail.com.au>
2322
2323 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
2324 correct struct ipc_perm definition.
2325
23261998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2327
2328 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
2329
999b2f6b
UD
23301998-09-29 Cristian Gafton <gafton@redhat.com>
2331
8325d82c
UD
2332 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
2333 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
2334 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
2335 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
2336 Add net/if_shaper.h.
2337
87052ab7
UD
23381998-09-29 Ulrich Drepper <drepper@cygnus.com>
2339
cf26217d
UD
2340 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
2341
87052ab7
UD
2342 * nis/ypclnt.c: Remove not needed close calls.
2343
6ff5bc68
UD
23441998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
2345
2346 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
2347 check a bit. Also close socket of domain client. Close socket
2348 in IPPORT_RESERVED error case.
2349
23501998-09-28 Ulrich Drepper <drepper@cygnus.com>
2351
2352 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
2353 CMSG_ALIGN (fixes a bug) and correct test for availability of
2354 another entry.
2355 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
2356 Linux version.
2357 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
2358 availability of another entry.
2359 Patch by ak@muc.de.
2360
2361 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
2362 Patch by ak@muc.de.
2363
999b2f6b
UD
2364 * libio/libio.h [!__STDC__]: Define const only if not defined.
2365
6ff5bc68
UD
23661998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2367
2368 * posix/annexc.c (xsystem): New function. Use it instead of
2369 system.
2370
23711998-09-28 Ulrich Drepper <drepper@cygnus.com>
2372
2373 * stdlib/longlong.h: Remove #endif for #if removed in last change.
2374
e07a51b5
UD
23751998-09-25 Ulrich Drepper <drepper@cygnus.com>
2376
2377 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
2378 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
2379 allow using `ut' parameter.
2380 [!emacs]: Define ut_argument, ut_argument_spec, and
2381 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
2382 argument_spec to prototypes and definitions.
2383 (my_strftime): Don't call tzset of ut != 0.
2384 Compute diff as 0 is ut != 0;
2385 [emacs]: Define new emacs_strftime function.
2386 Based on a patch by Paul Eggert.
2387
23881998-09-24 Paul Eggert <eggert@twinsun.com>
2389
2390 * time/strftime.c (my_strftime): When asking for the length of the
2391 subformatted buffer, do not limit the length to look for;
2392 otherwise, we have no reliable way to distinguish between the
2393 empty buffer and an error.
2394
390a4882
UD
23951998-09-25 Ulrich Drepper <drepper@cygnus.com>
2396
2397 * math/Makefile (gmp-objs): Add mp_clz_tab.
2398
23991998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
2400
2401 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
2402 set them.
2403 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
2404 cpus lacking hardware multiply and divide.
2405
24061998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2407
2408 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
2409 $(<F), not $(^F).
2410
24111998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2412
2413 * db/btree/bt_delete.c: Fix -Wparentheses warning.
2414
24151998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2416
2417 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
2418 $(do-install).
2419
e503270c
UD
24201998-09-24 Ulrich Drepper <drepper@cygnus.com>
2421
e07a51b5 2422 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
2423
24241998-09-24 Paul Eggert <eggert@twinsun.com>
2425
390a4882 2426 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
2427 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
2428 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
2429 1998-09-11 fix to this case.
2430 (wkday_len, month_len): Remove these macros; they're no longer needed.
2431
24321998-09-24 Paul Eggert <eggert@twinsun.com>
2433
390a4882 2434 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
2435 zero-sized buffer.
2436
3465c0ce
UD
24371998-09-24 Paul Eggert <eggert@twinsun.com>
2438
e503270c 2439 * time/strftime.c (underlying_strftime):
3465c0ce
UD
2440 Set the buffer to a nonzero value before calling
2441 strftime, and check to see whether strftime has set the buffer to zero.
2442 This lets us distinguish between an empty buffer and an error.
2443
24441998-09-24 Paul Eggert <eggert@shade.twinsun.com>
2445
e503270c 2446 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
2447 This fix is propagated from tzcode1998g.tar.gz.
2448
7a3bfc4e
UD
24491998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
2450
2451 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
2452 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
2453 sys_siglist. This is handled correctly by the weak_alias macro.
2454
369b1933
UD
24551998-09-24 Ulrich Drepper <drepper@cygnus.com>
2456
50a1b837
UD
2457 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
2458 of mempcpy. Reported by Andreas Jaeger.
2459
369b1933
UD
2460 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
2461 pollute the namespace since the compiler will resolve it inline.
2462 Reported by Florian La Roche <florian@suse.de>.
2463
2b79b6d5
UD
24641998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
2465
2466 * timezone/private.h: Update from tzcode1998g.
2467
2468 * timezone/africa: Update from tzdata1998h.
2469 * timezone/asia: Likewise.
2470 * timezone/australasia: Likewise.
2471 * timezone/europe: Likewise.
2472 * timezone/northamerica: Likewise.
2473 * timezone/southamerica: Likewise.
2474 * timezone/zone.tab: Likewise.
2475
3d42e04d
UD
24761998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2477
2478 * misc/sys/mman.h: New file.
2479
2480 * sysdeps/generic/bits/mman.h: New file.
2481 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
2482 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
2483 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
2484 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
2485
2486 * sysdeps/generic/sys/mman.h: Removed.
2487 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
2488 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
2489 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
2490 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
2491 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
2492
2493 * include/sys/mman.h: Look directly for misc/sys/mman.h.
2494 * misc/Makefile (headers): Add bits/mman.h.
2495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2496 bits/mman.h.
2497
2498 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
2499 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2500 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2501 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2502 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2503 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2504 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2505 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
2506
25071998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2508
2509 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
2510 * sysdeps/mach/alpha/thread_state.h: Likewise.
2511 * sysdeps/mach/i386/sysdep.h: Likewise.
2512 * sysdeps/mach/i386/thread_state.h: Likewise.
2513 * sysdeps/mach/mips/sysdep.h: Likewise.
2514 * sysdeps/mach/mips/thread_state.h: Likewise.
2515 * sysdeps/posix/profil.c: Likewise.
2516 * sysdeps/i386/i586/memcopy.h: Likewise.
2517 * sysdeps/mach/pagecopy.h: Likewise.
2518
a379e56a
UD
25191998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
2520
2521 * libio/stdio.h: Define __need_getopt and include getopt.h to define
2522 getopt stuff.
2523 * posix/unistd.h: Likewise.
2524 * stdio/stdio.h: Likewise.
2525 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
2526 define only getopt and the variables.
2527
34a4b66d
UD
25281998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2529
2530 * scripts/test-installation.pl (installation_problem): Don't link
2531 the test program against libdb1.
2532
24fd4cc4
UD
25331998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
2534
2535 * Makeconfig (all-subdirs): Add db.
2536 * Versions.def: Add definition for libdb1.
2537 * shlib-versions: Add definitions for libdb1.
2538 * db/Makefile (extra-libs): Replace by libdb1.
2539 (libdb-routines): Rename to libdb1-routines.
2540 (headers): Rename to db1-headers.
2541 (distribute): Add $(db1-headers).
2542 (install-others): Define to install symlink libdb.so.NN and the
2543 $(db1-headers).
a379e56a 2544 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
2545 Remove rules to build makedb.
2546 * db/Versions: Rename libdb to libdb1.
2547 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 2548 * db/makedb.c: Removed.
24fd4cc4
UD
2549
2550 * scripts/versions.awk: Recognize digits in library names.
2551
2552 * db/btree/bt_open.c: Fix compiler warnings.
2553 * db/btree/bt_put.c: Likewise.
2554 * db/btree/bt_split.c: Likewise.
2555 * db/hash/hash.c: Likewise.
2556 * db/hash/hash_bigkey.c: Likewise.
2557 * db/recno/rec_close.c: Likewise.
2558
af564203
UD
2559 * Makefile: Add localedata/% goal.
2560
c94a8080
UD
25611998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2562
2563 * posix/execvp.c: Don't give up searching the PATH if execve
2564 returns ENOTDIR.
2565
25661998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
2567
2568 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
2569 if _dl_fpu_control_set is set.
2570 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
2571 * elf/rtld.c: Don't define _dl_fpu_control_set.
2572 * elf/Versions: Remove _dl_fpu_control_set.
2573
25741998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
2575
2576 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
2577 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2578 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2579 Correct values of other SA_* macros according to kernel headers.
2580
25811998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2582
2583 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
2584 variable l.
2585 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
2586 old.
2587
25881998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2589
2590 * elf/ldsodefs.h: Fix typo in comment.
2591
25921998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2593
2594 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
2595 char when comparing buffer contents with putback character.
2596
25971998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2598
2599 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
2600 Undo last change.
2601 * elf/Versions: Undo last change. Export _dl_fpu_control and
2602 _dl_fpu_control_set.
2603 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
2604 variables. Include <fpu_control.h>.
2605 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
2606 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
2607 to indicate that is was seen.
2608 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
2609 only if _dl_fpu_control was set and is equal to desired value.
2610 * math/Makefile (aux): Undo last change.
2611 * math/Versions: Export __fpu_control with version GLIBC_2.0.
2612
f74e8ed1
AS
26131998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2614
2615 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
2616 optimized.
2617
e7c5513d
UD
26181998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
2619
2620 * string/bits/string2.h: Add mempcpy optimization.
2621 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
2622 * intl/localealias.c: Define mempcpy only if not already defined.
2623
2624 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
2625 defined.
2626
26271998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2628
2629 * csu/abi-note.S: Emit the note directly instead of defining
2630 a preprocessor macro that's only used once. Don't include sysdep.h.
2631 * abi-tags: Generalize Solaris entry.
2632
26331998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2634
2635 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
2636 Change to array to avoid runtime relocation.
2637 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
2638
26391998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2640
2641 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
2642 * math/Makefile ($(objpfx)libieee.a): Likewise.
2643
26441998-09-21 Ulrich Drepper <drepper@cygnus.com>
2645
2646 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
2647 Patch by John Tobey <jtobey@banta-im.com>.
2648
b0fd6165
UD
26491998-09-20 Ulrich Drepper <drepper@cygnus.com>
2650
2651 * login/Makefile (distribute): Remove pty-internal.h, add
2652 pty-private.h.
1391f5d3
UD
2653
2654 * stdlib/tst-strtol.c: Add more checks.
2655 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2656
a0780919
UD
26571998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
2658
2659 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
2660 * elf/elf.h: Add AT_FPUCW.
2661 * elf/Makefile (dl-routines): Add fpu_control.
2662 (elide-routines.os): Add fpu_control.
2663 (rtld-routines): Add fpu_control.
2664 * math/Makefile (aux): Remove fpu_control.
2665 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
2666 (_dl_show_auxv): Likewise.
2667 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
2668 if different from OS default.
2669
2670 * stdio-common/tstscanf.c: Add test case for (nil).
2671
00bc5db0
UD
26721998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
2673
2674 * libio/fileops.c (_IO_new_file_underflow): Before allocating
2675 buffer make sure the pushback buffer is destroyed.
2676 (_IO_new_file_seekoff): Likewise.
2677 If mode==0 quit early with the result.
2678 Clear OEF flag after successful fseek.
2679 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
2680 * libio/ftello.c (ftello): Add offset from original buffer if
2681 stream has pushed back characters.
2682 * libio/ftello64.c (ftello64): Likewise.
2683 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
2684 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
2685 * libio/ioftell.c (_IO_ftell): Likewise.
2686 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
2687 and _IO_save_ptr.
2688 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
2689 (_IO_default_pbackfail): Only stored push back character in original
2690 buffer if it is the same as the one in the file at this position.
2691 * libio/iofclose.c: Free backup buffer if one is available.
2692 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
2693 mode!=0.
2694
2695 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
2696
2697 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
2698
c53a89d4
UD
2699 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
2700
00bc5db0
UD
27011998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
2702
2703 * login/programs/pt_chown.c (more_help): Correct message that
2704 describes the purpose of the program.
2705
2706 * login/openpty.c: Do not include pty-private.h.
2707 (pts_name): New function. Return name of slave pseudo terminal in
2708 an allocated buffer if necessary.
2709 (openpty): Use pts_name to get name of the slave end of the pseudo
2710 terminal pair.
2711
2712 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
2713 pts_name before return.
2714
27151998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
2716
2717 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
2718
88263bc9
UD
27191998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2720
2721 * login/openpty.c: Include pty-private.h instead of
2722 pty-internal.h.
2723
872ea854
UD
27241998-09-09 Philip Blundell <pb@nexus.co.uk>
2725
2726 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
2727
27281998-09-07 Philip Blundell <pb@nexus.co.uk>
2729
2730 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
2731 recent ld.so changes.
2732 (elf_machine_runtime_setup): Correct behaviour when profiling.
2733
9b3c7c3c
UD
27341998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
2735
2736 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
2737 Patch by John Tobey <jtobey@banta-im.com>.
2738
27391998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
2740
2741 * login/pty-internal.h: Removed. Moved constants related to the
2742 `grantpt' helper program protocol to ...
2743 * login/pty-private.h: ... here. New file.
2744 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
2745 to make the function work with kernels >= 2.1.115.
2746 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
2747 version if using the cloning device fails.
2748 * sysdeps/unix/sysv/linux/grantpt.c: New file.
2749 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
2750 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
2751 use by Linux specific code.
2752 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
2753 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
2754 function. (grantpt): Use pts_name, check group and permission
2755 mode in addition to owner. Try to set the owner, group and
2756 permission mode first without invoking the helper program.
2757 * login/programs/pt_chown.c: Largely rewritten. Add argp and
2758 internationalization support. Use symbolic constants instead of
2759 hardwired numbers for permission mode.
2760 * sysdeps/unix/bsd/ptsname.c: New file.
2761
27621998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
2763
2764 * posix/wordexp-test.c: Undo last change.
2765
2766 * posix/wordexp.c: Undo last change.
2767
d8f2b9ea
UD
27681998-09-16 Ulrich Drepper <drepper@cygnus.com>
2769
2770 * nscd/grpcache.c (save_grp): Partly undo last change.
2771
2772 * nscd/pwdcache.c (save_pwd): Undo last change.
2773
9c4c0024
UD
27741998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2775
2776 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
2777 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
2778
27791998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
2780
2781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2782 Add profiling support.
2783 (TRAMPOLINE_TEMPLATE): New macro.
2784 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2785 (RTLD_START): Prettify, and set __libc_stack_end properly.
2786 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
2787 and check for sym being NULL instead.
2788 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
2789 of stack space.
2790 * sysdeps/sparc/sparc64/lshift.S: Likewise.
2791 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
2792 * sysdeps/sparc/sparc64/rshift.S: Likewise.
2793 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
2794 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
2795 MEDANY code model %g4 usage.
2796 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
2797 MEDANY code model %g4 usage.
2798 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
2799 code model address formation.
2800 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
2801 include elf/ldsodefs.h
2802 (DT_SPARC): Remove.
2803 (elf_machine_matches_host): It is now EM_SPARCV9.
2804 (elf_machine_dynamic): Clean up to remove ugly cast.
2805 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
2806 new PLT formats.
2807 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
2808 Prettify rest of function.
2809 [R_SPARC_COPY]: Check for sym being NULL.
2810 [R_SPARC_32]: Handle it.
2811 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
2812 MEDMID code model.
2813 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
2814 MEDANY code model.
2815 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
2816 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
2817 Add profiling support.
2818 (TRAMPOLINE_TEMPLATE): New macro.
2819 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2820 (RTLD_START): Prettify and set __libc_stack_end.
2821 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
2822 Define.
2823 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
2824 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
2825 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
2826 unused variable scratch.
2827 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2828 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
2829 Declare.
2830 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
2831 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
2832 old format kernel sigaction structures.
2833 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
2834 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
2836 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
2837 ucontext include.
2838 (_JMPBUF_UNWINDS): Define.
2839 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
2840 statfs64 structure, which is exactly the same as the normal one.
2841 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
2842 of stack. Use correct syscall trap number. Add branch prediction
2843 settings to branch instructions. Remove old MEDANY code model %g4
2844 referneces for non-PIC.
2845 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2846 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2847 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
2848 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2850 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
2851 __libc_longjmp and __libc_siglongjmp strong aliases.
2852 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
2853 Also define to __no__readdir64_decl around readdir.c inclusion.
2854 (__readdir64): Add strong alias.
2855 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
2856 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
2857 Set strong and weak names properly.
2858
28591998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2860
2861 * manual/Makefile (AWK): Default to gawk if standalone.
2862
28631998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2864
2865 * Makefile (distribute): Undo last change.
2866 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
2867 for sysdep headers.
2868 (+subdir-headers): Removed, unused.
2869
28701998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2871
2872 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
2873 $(do-install).
2874
28751998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2876
2877 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
2878 absolute name in $(config-sysdirs), can never happen.
2879 ($(+sysdir_pfx)sysd-rules): Likewise.
2880 * Makeconfig (full-config-sysdirs): Likewise.
2881 (all-Subdirs-files): Prepend $(..).
2882
2883 * configure.in: Don't check for absolute name in $add_ons_pfx, can
2884 not happen. Let --enable-add-ons=yes work if no add-ons actually
2885 exist.
2886
28871998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2888
2889 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
2890 continuations in command.
2891
28921998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2893
2894 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
2895
a8125d85
UD
28961998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
2897
2898 * posix/wordexp-test.c: If expansion or substitution occurs
2899 anywhere in a word, the entire word is subject to field-splitting.
2900
2901 * posix/wordexp.c (parse_glob): Look for end of word instead of
2902 end of field when deciding what to glob.
2903 (field_split_word): New function, now the only place where
2904 field-splitting is performed.
2905 (parse_dollars): New parameter - tell the caller if
2906 field-splitting should be performed on this word.
2907
2908 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
2909 succeeded (or failed with WRDE_NOSPACE).
2910
29111998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
2912
2913 * posix/wordexp.c (wordexp): Don't convert IFS characters to
2914 blanks.
2915
2916 * posix/wordexp-test.c: Words not the result of expansion or
2917 substitution should remain unchanged.
2918
aa2bc6a3
UD
29191998-09-15 Ulrich Drepper <drepper@cygnus.com>
2920
2921 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
2922 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
2923
3a60301a
UD
29241998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2925
2926 * stdio-common/Makefile: Include Makeconfig so that
2927 $(inst_includedir) is defined.
2928
77f0d179
UD
29291998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2930
2931 * io/pwd.c: Include <mcheck.h>.
2932
6beaac4d
UD
29331998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
2934
2935 * nscd/pwdcache.c (save_pwd): Correct copying.
2936 * nscd/grpcache.c (save_grp): Likewise.
2937
0ff0d59e
UD
29381998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
2939
2940 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
2941 (free_pwd): Adjust for this change.
2942 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
2943 (free_grp): Adjust for this change.
2944
d3f8acb3
UD
29451998-09-14 Ulrich Drepper <drepper@cygnus.com>
2946
2947 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
2948
14eb5d5d
UD
29491998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
2950
2951 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
2952 (install-others): Add bits/stdio_lim.h.
2953 Add rule to install bits/stdio_lim.h.
2954
2955 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
2956
2957 * Makefile (distribute): Add include/sys/mman.h.
2958
2959 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
2960 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
2961 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
2962
0a1590ba
UD
2963 * grp/initgroups.c: Include stdlib.h.
2964 Patch by Zack Weinberg.
2965
1ffaaca2
UD
29661998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
2967
2968 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
2969 for field-splitting :abc: is correct, and that two fields should
2970 result. Revert tests to reflect this.
2971
2972 * posix/wordexp.c (w_emptyword): Remove function.
2973 (exec_comm): Don't use w_emptyword.
2974 (parse_param): Likewise.
2975
4ca020f5
UD
29761998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
2977
2978 * sysdeps/arm/fpu/Dist: Moved to...
2979 * sysdeps/arm/Dist: ...here.
2980 * sysdeps/posix/Dist: Removed.
2981 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
2982 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
2983
f624c216
UD
29841998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2985
2986 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
2987
7ef90c15
UD
29881998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
2989
2990 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
2991
29921998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2993
2994 * libc-work/nis/nss_nisplus/nisplus-service.c
2995 (_nss_nisplus_parse_servent): Convert port in network byte order.
2996
29971998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2998
2999 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
3000 to provide only malloc and calloc.
3001 * include/stdlib.h: Support the above.
3002 * string/bits/string2.h: Use __need_malloc_and_calloc when
3003 including stdlib.h.
3004 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
3005
3006 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
3007 * iconvdata/iso646.c: Include <stdlib.h>.
3008
30091998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3010
3011 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
3012 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3013 * sysdeps/libm-ieee754/w_powf.c: Likewise.
3014 * sysdeps/libm-ieee754/w_powl.c: Likewise.
3015
30161998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3017
3018 * stdio-common/stdio_lim.h.in: New file. All parameters
3019 are adjustable at build time.
3020 * Rules: Add a rule to build bits/stdio_lim.h from
3021 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
3022 all subdirectories know how to make the file. It can't be
3023 in Makerules because then it gets built at top level and the
3024 dependencies are wrong.)
3025
3026 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
3027 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
3028 stdio_lim.h.
3029 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
3030 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
3031 * sysdeps/posix/Makefile: Removed.
3032 * sysdeps/posix/mk-stdiolim.c: Removed.
3033 * sysdeps/generic/bits/stdio_lim.h: Removed.
3034
30351998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3036
3037 * argp/argp-help.c: Fixup indentation.
3038 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
3039 * resolv/nss_dns/dns-network.c: Likewise.
3040 * resolv/res_send.c: Likewise.
3041 * rt/aio_cancel.c: Likewise.
3042 * rt/aio_misc.c: Likewise.
3043
30441998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3045
3046 * Makefile (install-symbolic-link): Remove the link list file at last.
3047 * Makerules (install-clean-symbolic-link-list): Removed.
3048
30491998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3050
3051 * timezone/tst-timezone.c: Print time in UTC to get consistent
3052 output.
3053
30541998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3055
3056 * elf/rtld.c (_dl_rpath): Removed.
3057 * elf/dl-support.c (_dl_path): Removed.
3058 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
3059 (CFLAGS-dl-support.c): Removed.
3060
3061 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
3062 uses changed.
3063 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
3064 instead of appending it to the main map's rpath info.
3065 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
3066 DT_RPATHs. This makes it effective again.
3067 (decompose_rpath): Remove second parameter, callers changed.
3068 (fillin_rpath): Allocate enough space in curwd.
3069 (expand_dynamic_string_token): Cope with get_origin returning -1.
3070
30711998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3072
3073 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
3074 passwd.adjunct.
3075
3076 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
3077 invalid password.
3078
30791998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
3080
3081 * locale/programs/locale.c: Update dates.
3082
5d47ceca
UD
30831998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
3084
3085 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
b1fcf686 3086 size_t is defined. Some reordering of definitions to make
5d47ceca
UD
3087 maintaining this file in parallel with the linux-specific file easier.
3088
bd31edf2
UD
30891998-09-13 Ulrich Drepper <drepper@cygnus.com>
3090
3091 * io/pwd.c (main): Add call to mtrace.
3092
3093 * malloc/mtrace.pl: Quote @ in string.
3094
33c3e20e
UD
30951998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
3096
3097 * posix/wordexp.c (parse_arith): Fix memory leaks.
3098 (exec_comm): Likewise.
3099 (parse_param): Likewise.
3100 (wordexp): Likewise.
3101 (exec_comm): Reduce number of function return points.
3102 (parse_param): Likewise.
3103 (wordexp): Likewise.
3104
1720f4d0
UD
31051998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
3106
3107 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
3108 yield three fields, not two. Test both parameter expansion and
3109 command substitution for correct field-splitting behaviour.
3110
3111 * posix/wordexp.c (w_emptyword): New function.
3112 (parse_param): Use it.
3113 (exec_comm): Likewise, for consistency with the way parse_param
3114 splits fields.
3115 (parse_param): Fix some memory leaks.
3116
2d09b95d
UD
31171998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
3118
3119 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
3120 Don't mark asm `volatile'.
3121 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
3122 from the data cache too. Assume it isn't in the instruction cache yet.
3123 (__elf_machine_fixup_plt): Clear the modified address from the caches.
3124
b39c6f8b
UD
31251998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
3126
3127 * sysdeps/generic/segfault.c (install_handler): Install signal
3128 handler with SA_ONSTACK instead of setting the stack flags to
3129 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
3130 defined.
3131
31321998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3133
3134 * signal/signal.h: Fix multiple inclusion guard to cover the
3135 entire file.
3136 * wcsmbs/wchar.h: Remove prototype of internal function
3137 __mbsrtowcs.
3138 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
3139 arithmetic on `void *'.
3140
c06cc21c
UD
31411998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
3142
3143 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
3144
3145 * posix/wordexp.c (wordexp): Perform word-splitting instead of
3146 field-splitting here.
3147 (wordexp): If out of memory mid-word, free the word (but still
3148 leave pwordexp alone for caller to see).
3149 (parse_param): Allow for zero-length fields (smarter checking of
3150 memory allocation failure).
3151 (w_addword): Convert NULL words to "".
3152 (wordexp): Convert left-over IFS characters to blanks (like bash).
3153
81e0cb2d
UD
31541998-09-11 Ulrich Drepper <drepper@cygnus.com>
3155
350eb336
UD
3156 * configure.in: Use test -f instead of test -e.
3157 Patch by John Tobey <jtobey@banta-im.com>.
3158
3159 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
3160 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
3161 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
3162 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
3163 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
3164 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
3165 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
3166 Patches by John Tobey <jtobey@banta-im.com>.
3167
81e0cb2d
UD
3168 * time/strftime.c (my_strftime): Delay use of *tp values until
3169 latest possible point to allow partly initialized structures
3170 (e.g., from strptime).
3171
514d9bca
UD
3172 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
3173 and NATS-SEFI.
3174 Define *-routines variables for new modules.
3175 (distribute): Add .c files for new modules.
3176 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
3177 and nats-sefi.h.
3178 Add rules for header generation.
3179 * iconvdata/gconv-modules: Add entries for new modules.
3180 * iconvdata/iso_10367-box.c: New file.
3181 * iconvdata/mac-is.c: New file.
3182 * iconvdata/nats-dano.c: New file.
3183 * iconvdata/nats-sefi.c: New file.
3184
81e0cb2d
UD
31851998-04-30 18:20 H.J. Lu <hjl@gnu.org>
3186
3187 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
3188 loader if PIC is not defined.
3189
ec04e9ba
UD
31901998-09-11 Ulrich Drepper <drepper@cygnus.com>
3191
3192 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
3193 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
3194 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
3195 and ISO_5428.
3196 Define *-routines variables for new modules.
3197 (distribute): Add .c files for new modules.
3198 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
3199 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
3200 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
3201 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 3202 Add rules for header generation.
ec04e9ba
UD
3203 * iconvdata/gconv-modules: Add entries for new modules.
3204 * iconvdata/csn_369103.c: New file.
3205 * iconvdata/cwi.c: New file.
3206 * iconvdata/dec-mcs.c: New file.
3207 * iconvdata/ecma-cyrillic.c: New file.
3208 * iconvdata/gost_19768-74.c: New file.
3209 * iconvdata/greek-ccitt.c: New file.
3210 * iconvdata/greek7-old.c: New file.
3211 * iconvdata/greek7.c: New file.
3212 * iconvdata/inis-8.c: New file.
3213 * iconvdata/inis-cyrillic.c: New file.
3214 * iconvdata/inis.c: New file.
3215 * iconvdata/iso6937-2.c: New file.
3216 * iconvdata/iso_2033.c: New file.
3217 * iconvdata/iso_5427-ext.c: New file.
3218 * iconvdata/iso_5427.c: New file.
3219 * iconvdata/iso_5428.c: New file.
3220
3221 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
3222 entries.
3223 Convert U02dd correctly.
3224
25c849b1
RH
32251998-09-11 20:46 Richard Henderson <rth@cygnus.com>
3226
3227 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
3228 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3229 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
3230 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
3231
04795ad9
UD
32321998-09-11 Ulrich Drepper <drepper@cygnus.com>
3233
3234 * resolv/res_init.c (res_init): Handle resolv.conf file with only
3235 one nameserver correctly. Patch by HJ Lu.
3236
3237 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
3238 and ANSI_X3.110.
3239 Define *-routines variables for new modules.
3240 (distribute): Add .c files for new modules.
3241 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
3242 Add rules for hedaer generation.
3243 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
3244 * iconvdata/ansi_x3.110.c: New file.
3245 * iconvdata/asmo_449.c: New file.
3246 * iconvdata/baltic.c: New file.
3247 * iconvdata/iec_p27-1.c: New file.
3248
3249 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
3250 entries.
3251 Convert U02dc correctly.
3252
3253 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
3254 * math/atest-exp2.c: Likewise.
3255 * math/atest-sincos.c: Likewise.
3256
3257 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
3258 is defined.
3259
32601998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3261
3262 * string/strcoll.c: Optimize a few expressions.
3263 * string/strxfrm.c: Likewise.
3264
5e0889da
UD
32651998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3266
3267 * manual/locale.texi: Fix typos.
3268
2c86b2bc
UD
32691998-09-10 Ulrich Drepper <drepper@cygnus.com>
3270
26afaa63
UD
3271 * stdlib/random_r.c (__setstate_r): Allow call with same state
3272 array as currently used (PR libc/774).
3273
6c79e60c
UD
3274 * include/limits.h: Include gcc's header even if this file is
3275 found more than once before it (PR libc/778)
3276
ec04e9ba
UD
3277 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
3278 (sysdep_headers): Remove sys/debugreg.h.
3279 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
3280 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
3281 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
3282 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
3283
2c86b2bc
UD
3284 * stdio-common/tmpnam.c: Move local static variable buf to
3285 toplevel and rename to tmpnam_buffer to ease debugging.
3286 Patch by Joe Keane <jgk@jgk.org>.
3287 Optimize s == NULL case a bit.
3288
8e9f53fc
UD
3289 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
3290 correction.
3291
482a3be2
UD
32921998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
3293
3294 * resolv/res_init.c (res_init): Initialize _res.nscount and
3295 _res.nsaddr.sin_port differently for the can when no loopback
3296 is available to allow immediate timeout in non-networking environments.
3297 Patch by Cristian Gafton <gafton@redhat.com>.
3298
e8238963
UD
32991998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3300
3301 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
3302 BAR and not EM DASH.
3303 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
3304 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
3305 Fixes PR libc/717.
3306
90865aa8
UD
33071998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
3308
3309 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
3310 for test.
3311 * timezone/tst-timezone.c (tests): Fix typo in last patch.
3312
3313 * time/tzfile.c (__tzfile_read): Handle case when there are no
3314 transitions. Set __timezone based on computed offset.
3315 * time/tzset.c (tzset_internal): Set __timezone before returning.
3316
3317 * time/tzset.c (tzset_internal): Optimize handling of local string
3318 copy.
3319
33201998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3321
3322 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
3323 libc/776).
3324
adac8450
UD
33251998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3326
3327 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
3328 (csqrt_test): Likewise.
90865aa8 3329 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 3330
8e140239
UD
33311998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
3332
3333 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
3334 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3335 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
3336
78acf671
UD
33371998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
3338
3339 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
3340 the special `-1' pointer.
3341
6e4c40ba
UD
33421998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
3343
3344 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
3345 inline.
3346
33471998-09-07 Paul Eggert <eggert@twinsun.com>
3348
3349 * time/mktime.c (__EXTENSIONS__): Define if not defined.
3350 (_REENTRANT): Remove. It has undesirable consequences in
3351 Solaris 2.6 (e.g. it turns off the putc macro). Defining
3352 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
3353 is what we want.
3354 * time/strftime.c: Likewise.
3355
33561998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3357
3358 * elf/dl-error.c: Fix spelling.
3359
33601998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3361
3362 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
3363 * stdio-common/_itoa.c: Likewise.
3364 * stdio-common/printf_fp.c: Likewise.
3365 * stdio-common/vfscanf.c: Likewise.
3366 * wcsmbs/wcstok.c: Likewise.
3367 * sysdeps/generic/glob.c: Likewise.
3368 * posix/getopt.c: Likewise.
3369 * sysdeps/posix/getaddrinfo.c: Likewise.
3370 * posix/wordexp.c: Likewise.
3371 * io/ftw.c: Likewise.
3372 * io/fts.c: Likewise.
3373 * misc/getpass.c: Likewise.
3374 * iconv/gconv_conf.c: Likewise.
3375 * argp/argp-fmtstream.c: Likewise.
3376 * argp/argp-help.c: Likewise.
3377 * elf/dl-load.c: Likewise.
3378 * locale/programs/stringtrans.c: Likewise.
3379 * catgets/gencat.c: Likewise.
3380 * posix/getconf.c: Likewise.
3381 * iconv/gconv_conf.c: Likewise.
3382 * iconv/iconv_prog.c: Likewise.
3383
3384 * string/strcoll.c: Optimize a few expressions.
3385 * string/strxfrm.c: Likewise.
3386
33871998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3388
3389 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
3390 level to avoid uninit variable warning.
3391
33921998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 3393
769ca810 3394 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 3395 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 3396
2aa236b1
AS
3397 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
3398 C9x macro.
3399
8ea4a95a
UD
34001998-09-08 Ulrich Drepper <drepper@cygnus.com>
3401
6e4c40ba 3402 Fix compatibility problems introduced in last change.
dc27836e
UD
3403 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
3404 defined.
3405 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
3406 -DWEAK_GMON_START to CFLAGS-initfini.s.
3407
e4d50917
UD
3408 * elf/dl-object.c (_dl_new_object): Store map address in
3409 _dl_loaded if _dl_loaded is NULL.
87c812c2 3410 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 3411
8ea4a95a
UD
3412 * sysdeps/generic/setrlimit64.c: Remove stub warning.
3413
88c91118
UD
34141998-09-07 Ulrich Drepper <drepper@cygnus.com>
3415
3416 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
3417 quiet.
2c874db2
UD
3418 * db2/btree/bt_cursor.c: Likewise.
3419 * db2/common/db_region.db_c: Likewise.
3420 * db2/common/db_salloc.db_c: Likewise.
3421 * db2/db/db.c: Likewise.
3422 * db2/db/db_rec.c: Likewise.
3423 * db2/hash/hash.c: Likewise.
3424 * db2/hash/hash_page.c: Likewise.
3425 * db2/hash/hash_rec.c: Likewise.
3426 * db2/log/log_findckp.c: Likewise.
3427 * db2/log/log_get.c: Likewise.
3428 * db2/log/log_put.c: Likewise.
3429 * db2/mp/mp_fget.c: Likewise.
3430 * db2/mp/mp_fput.c: Likewise.
3431 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
3432 * stdlib/strtol.c: Likewise.
3433 * string/strcoll.c: Likewise.
3434 * string/strxfrm.c: Likewise.
94b78bb2
UD
3435 * argp/argp-help.c: Likewise.
3436 * argp/argp-parse.c: Likewise.
3121cc04 3437 * resolv/res_debug.c: Likewise.
88c91118 3438
26644e87
UD
34391998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
3440
3441 * math/tgmath.h (scalb): Only define for __USE_MISC or
3442 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
3443
2b33e5b0
UD
34441998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3445
3446 * libio/stdio.h: Fix comment.
3447
3448 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
3449 __USE_ISOC9X.
3450
6796bc80
UD
34511998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3452
3453 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
3454
3455 * elf/dl-open.c: Quiet -Wparentheses warnings.
3456 * iconvdata/johab.c: Likewise.
3457 * iconvdata/uhc.c: Likewise.
3458 * inet/inet_net.c: Likewise.
3459 * io/fts.c: Likewise.
3460 * locale/newlocale.c: Likewise.
3461 * misc/getttyent.c: Likewise.
3462 * misc/mntent_r.c: Likewise.
3463 * misc/ttyslot.c: Likewise.
3464 * nscd/nscd_conf.c: Likewise.
3465 * nss/nsswitch.c: Likewise.
3466 * resolv/gethnamaddr.c: Likewise.
3467 * resolv/nsap_addr.c: Likewise.
3468 * resolv/res_debug.c: Likewise.
3469 * stdio-common/_itoa.c: Likewise.
3470 * stdlib/strtod.c: Likewise.
3471 * string/strverscmp.c: Likewise.
3472 * sunrpc/svc.c: Likewise.
3473 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
3474 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
3475 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
3476 * sysdeps/posix/getaddrinfo.c: Likewise.
3477
baa3334a
UD
34781998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
3479
3480 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
3481 for use of global scope.
3482 * elf/dlvsym.c (dlvsym_doit): Likewise.
3483
34841998-09-02 Paul Eggert <eggert@twinsun.com>
3485
3486 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
3487 copy the redundant bytes at the end of the format as-is; don't
3488 just copy their first byte and then rescan, as that might get
3489 us an encoding error.
3490 Account correctly for the length of multibyte sequences in the
3491 format.
3492
34931998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
3494
3495 * posix/wordexp-test.c: Add tests for different IFS values.
3496 Change unquoted-newline test so that newline is not in IFS.
3497
3498 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
3499 determining IFS characters. Return WRDE_BADCHAR for unquoted
3500 special characters _except_ if they are separators.
3501
35021998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
3503
3504 * include/tgmath.h: New file.
3505
3506 * libio/stdio.h: Correct reversed #ifs.
3507 Patch by Zack Weinberg.
3508
3509 * manual/creature.texi: Better explain reason for feature select
3510 macros.
3511 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3512
35131998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3514
3515 * include/alloca.h: Add multiple-inclusion guard.
3516 * include/db.h: Likewise.
3517 * include/db_185.h: Likewise.
6796bc80 3518 * include/dlfcn.h: Likewise.
baa3334a
UD
3519 * include/fcntl.h: Likewise.
3520 * include/grp.h: Likewise.
3521 * include/libintl.h: Likewise.
3522 * include/mntent.h: Likewise.
3523 * include/pwd.h: Likewise.
3524 * include/sched.h: Likewise.
3525 * include/search.h: Likewise.
3526 * include/setjmp.h: Likewise.
3527 * include/shadow.h: Likewise.
3528 * include/signal.h: Likewise.
3529 * include/stdio.h: Likewise.
3530 * include/stdlib.h: Likewise.
3531 * include/string.h: Likewise.
3532 * include/termios.h: Likewise.
3533 * include/time.h: Likewise.
3534 * include/ulimit.h: Likewise.
3535 * include/utmp.h: Likewise.
3536 * include/wchar.h: Likewise.
3537 * include/sys/file.h: Likewise.
3538 * include/sys/gmon.h: Likewise.
3539 * include/sys/ioctl.h: Likewise.
3540 * include/sys/mman.h: Likewise.
3541 * include/sys/resource.h: Likewise.
3542 * include/sys/select.h: Likewise.
3543 * include/sys/socket.h: Likewise.
3544 * include/sys/statfs.h: Likewise.
3545 * include/sys/time.h: Likewise.
3546 * include/sys/times.h: Likewise.
3547 * include/sys/wait.h: Likewise.
3548
be935610
UD
35491998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
3550
3551 * version.h (VERSION): Bump to 2.0.96.
3552
3553 Rewrite runtime linker to be truly thread-safe. There is now no
3554 global variable specifying the scope. We create all needed
3555 scopes at the time the link maps are created.
3556 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
3557 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
3558 l_symbolic_searchlist, l_scope, and l_local_scope elements in
3559 struct link_map.
3560 * elf/dl-close.c: Rewritten accordingly.
3561 * elf/dl-deps.c: Likewise.
3562 * elf/dl-error.c: Likewise.
3563 * elf/dl-init.c: Likewise.
3564 * elf/dl-load.c: Likewise.
3565 * elf/dl-lookup.c: Likewise.
3566 * elf/dl-object.c: Likewise.
3567 * elf/dl-open.c: Likewise.
3568 * elf/dl-reloc.c: Likewise.
3569 * elf/dl-runtime.c: Likewise.
3570 * elf/dl-support.c: Likewise.
3571 * elf/dl-symbol.c: Likewise.
3572 * elf/dl-version.c: Likewise.
be935610
UD
3573 * elf/dlsym.c: Likewise.
3574 * elf/dlvsym.c: Likewise.
3575 * elf/ldsodefs.h: Likewise.
3576 * elf/rtld.c: Likewise.
3577 * iconv/gconv_dl.c: Likewise.
3578 * nss/nsswitch.c: Likewise.
3579 * sysdeps/i386/dl-machine.h: Likewise.
3580 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3581
6796bc80
UD
3582 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
3583 Define RTLD_DEFAULT.
3584
2b4083dd
RM
35851998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
3586
3587 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
3588 __getopt_clean_environment with __environ instead of envp.
3589
a361203e
RM
35901998-09-05 Roland McGrath <roland@baalperazim.frob.com>
3591
2b4083dd
RM
3592 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
3593
531e4bca
RM
3594 * string/argz-extract.c (__argz_extract): Add de-consting cast for
3595 setting results.
3596
62ee0979 3597 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 3598 * string/argz-next.c (__argz_next): Likewise.
62ee0979 3599
59cacc81
RM
3600 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
3601 Don't add netinet/udp.h, netinet/ip_icmp.h here.
3602 * sysdeps/gnu/Makefile: Do it here instead.
3603 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
3604 * sysdeps/gnu/Dist: ... to here.
3605
a361203e
RM
3606 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
3607 sysdeps/unix/sysv/linux/netinet/tcp.h,
3608 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
3609
29659dd2
RM
36101998-09-04 Roland McGrath <roland@baalperazim.frob.com>
3611
3612 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
3613 * string/argz-next.c, string/argz-extract.c: Fix defns.
3614
1097c603
RM
36151998-09-03 Roland McGrath <roland@baalperazim.frob.com>
3616
3617 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
3618
3619 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
3620 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
3621 * sysdeps/generic/sysd-stdio.c: Likewise.
3622
143e2b96
UD
36231998-09-02 Ulrich Drepper <drepper@cygnus.com>
3624
3625 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
3626 (_dl_map_object_from_fd): Make NAME argument const.
3627 Remove last parameter in _dl_new_object call.
3628 (print_search_path): Correct construction of composed path name.
3629 (_dl_map_object): Prevent looking at RPATH of the main map twice.
3630 Remove last parameter in _dl_new_object call.
3631 * elf/dl-object.c: Remove last parameter. Determine whether create
3632 origin entry based on empty realname. Handle file in root directory
3633 correctly.
3634 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
3635 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
3636 Remove last parameter in _dl_new_object call.
3637 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
3638 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
3639
fc3597c0
UD
36401998-09-01 Ulrich Drepper <drepper@cygnus.com>
3641
4ce636da
UD
3642 * elf/dl-close.c (_dl_close): Add more comments and correct some.
3643 Free l_searchlist and l_dupsearchlist.
3644
fc3597c0
UD
3645 * debug/catchsegv.sh: Add one more pair of quotes.
3646
76156ea1
UD
36471998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
3648
3649 * elf/dl-load.c (add_name_to_object): Change return type to void and
3650 make NAME parameter const. Allocate room for NAME in same memory
3651 block used for l_libname entry.
3652 (_dl_map_object_from_fd): Don't free NAME on failure.
3653 (map_segment): Pass SONAME to add_name_to_object, not a copy.
3654 (_dl_map_object): Don't create copy of NAME. Pass NAME to
3655 _dl_map_object_from_fd.
3656 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
3657 memory block used for l_libname entry.
3658 * elf/dl-close.c: Adjust free()ing for this change.
3659
a8a1269d
UD
36601998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
3661
3662 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
3663
3664 * malloc/mtrace.c: Add bug report address. Update email address.
3665 Add more @XXX@ to print correct address size.
3666
3667 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
3668 really initialized.
3669
3670 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
3671 for munmap call instead of examining phdr again.
3672 Free all malloc()ed strings and arrays.
3673
052b6a6c
UD
36741998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3675
3676 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
3677 dl-machine.h.
3678 * sysdeps/powerpc/dl-machine.c: New file.
3679 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
3680 files. Revise ELF_PREFERRED_ADDRESS to take account of
3681 the new mapping information (fixes bug involving huge bloated
3682 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
3683 * sysdeps/powerpc/dl-start.S: New file.
3684
3685 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
3686 l_map_end.
3687 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
3688 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
3689 others. Call elf_dynamic_do_##reloc only once (to save even more
3690 space).
3691 * elf/link.h: Add new members l_map_start and l_map_end to keep
3692 track of the memory map.
3693 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
3694 the executable.
3695
36961998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
3697
3698 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
3699 Reported by Andreas Jaeger.
3700
3701 * posix/glob.h: Use __size_t instead of size_t in definitions and
3702 make sure this is defined.
3703
85c165be
UD
37041998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
3705
052b6a6c 3706 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
3707 and functionality.
3708 * manual/arith.texi: Correct reference.
3709 * manual/string.texi: Pretty printing.
3710
3711 * manual/texinfo.tex: Update from last available version.
3712
37131998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
3714
3715 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
3716 invalid password.
3717 (_nss_nis_getpwuid_r): Likewise.
3718 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
3719
3720 * inet/rcmd.c: Implement netgroup support.
3721 Patch by Dick Streefland <dick_streefland@tasking.com>.
3722
7afab53d
UD
37231998-08-31 Ulrich Drepper <drepper@cygnus.com>
3724
3725 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
3726 object on the list is removed. Don't use this code for PIC.
3727 Reported by HJ Lu [PR libc/770].
3728
bfce746a
UD
37291998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
3730
3731 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
3732
3733 * include/stdio.h: Add __vsscanf.
3734
3735 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
3736 __USE_ISOC9X.
3737 Remove __vsscanf declaration.
3738 Always declare fgetpos and fsetpos.
3739
3740 * math/math.h: Define isinf as macro.
3741 * math/bits/mathcalls.h: Change to declare __isinf all the time.
3742 Don't declare scalb for ISO C 9x.
3743
3744 * math/tgmath.h: Define fma. Rewrite the underlying macros.
3745
3746 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
3747
3748 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
3749 sys/ucontext.h.
3750
3751 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
3752 macros.
3753
37541998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3755
3756 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
3757 Reported by jreising@frequentis.com [PR libc/767].
3758
37591998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3760
3761 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
3762 fl.l_start at beginning of function.
3763 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
3764
ac72fbb1
UD
37651998-08-31 Ulrich Drepper <drepper@cygnus.com>
3766
3767 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
3768 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
3769
3770 * nscd/nscd.init: Make it work in RedHat systems.
3771 Patch by Christian Gafton.
3772
37731998-08-29 Philip Blundell <philb@gnu.org>
3774
3775 * catgets/Makefile: Don't try to run test programs when
3776 cross-compiling.
3777
37781998-08-31 Ulrich Drepper <drepper@cygnus.com>
3779
3780 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
3781 Reported by Zack Weinberg.
3782
37831998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3784
3785 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
3786 * elf/Makefile (distribute): Remove ldd.sh.in.
3787
37881998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3789
3790 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
3791 variable.
3792
e0d46614
UD
37931998-08-29 Ulrich Drepper <drepper@cygnus.com>
3794
3795 * sysdeps/i386/register-dump.h: Move to ...
3796 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
3797
b0cf070b
UD
37981998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
3799
3800 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
3801 with load address, not map address.
3802 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
3803 parameter and use this value.
3804 * sysdeps/arm/dl-machine.h: Likewise.
3805 * sysdeps/i386/dl-machine.h: Likewise.
3806 * sysdeps/m68k/dl-machine.h: Likewise.
3807 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
3808 parameter.
3809 * sysdeps/powerpc/dl-machine.h: Likewise
3810 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
3811 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
3812
997a4165
UD
38131998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
3814
3815 * elf/rtld.c (process_envvars): Fix copy&paste error.
3816
3817 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
3818 memalign hook.
3819 (realloc_hook_ini): Don't overwrite memalign hook.
3820 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
3821 Reported by Philippe Troin <phil@fifi.org>.
3822
3823 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
3824 Patch by Philippe Troin <phil@fifi.org>.
3825
38261998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3827
3828 * sysdeps/generic/segfault.c (install_handler): Protect the
3829 non-POSIX signals with #ifdef.
3830 (catch_segfault): Add missing mode parameter for open.
3831 * debug/catchsegv.sh: Avoid termination message from shell. Allow
3832 other termination signals.
3833
38341998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3835
3836 * debug/Makefile (distribute): Add register-dump.h.
3837
38381998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
3839
3840 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
3841
f787edde
UD
38421998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
3843
3844 * elf/Makefile (distribute): Add dl-origin.h.
3845 * sysdeps/generic/dl-origin.h: New file.
3846 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
3847 * elf/link.h (struct link_map): Add l_origin field.
3848 * elf/dl-load.c (expand_dynamic_string_token): New function.
3849 (decompose_path): Remove WHERE argument, take link map pointer instead.
3850 Call expand_dynamic_string_token instead of local_strdup to make copy
3851 of rpath.
3852 (_dl_init_paths): Call decompose_path with correct argument.
3853 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
3854 not defined.
3855 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 3856 Call _dl_new_object with extra argument.
f787edde
UD
3857 (_dl_map_object): Call decompose_path with correct argument.
3858 Call expand_dynamic_string_token instead of local_strdup to also
3859 expand DST.
5f623941 3860 Call _dl_new_object with extra argument.
f787edde 3861 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
3862 but the main one if new argument is nonzero.
3863 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
3864 * elf/dl-support.c: Define _dl_origin_path.
3865 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 3866 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
3867
3868 * elf/dl-close (_dl_close): Free l_name and l_origin.
3869
3870 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
3871 modifier in asm, not c.
3872
3873 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
3874 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
3875
6075607b
UD
38761998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
3877
3878 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
3879 variable so that map can be freed.
3880 Reported by Philippe Troin <phil@fifi.org>.
3881
3882 * elf/dl-open.c (dl_open_worker): Correct test for extending global
3883 scope array.
3884 Patch by Philippe Troin <phil@fifi.org>.
3885
38861998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3887
3888 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
3889 Don't call writev() with a 100-element vector.
3890 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
3891 return address.
3892
3893 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
3894 In particular, set __libc_stack_end.
3895 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
3896 undefined. Fix copyright notice.
3897
38981998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3899
3900 * math/Makefile (gmp-objs): New variable.
3901 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
3902 Depend on it.
3903 (tests): Add atest-exp atest-sincos atest-exp2.
3904 (tests-static): Remove atest-exp atest-sincos atest-exp2.
3905
08cac4ac
UD
39061998-08-25 Ulrich Drepper <drepper@cygnus.com>
3907
3908 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
3909 to toplevel.
3910 (_dl_unload_cache): New function.
3911 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
3912 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 3913 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
3914
3915 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
3916 Correct comment for O_LARGEFILE.
3917 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
3918 Change O_LARGEFILE to correct value.
3919
39201998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
3921
3922 * libio/iogetline.c (_IO_getline_info): Don't read anything for
3923 N == 0. Patch by HJ Lu.
3924
6dbb7062
UD
39251998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
3926
3927 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
3928
39291998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3930
3931 * argp/argp.h: Use __inline__ not inline.
3932
3933 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
3934 an input register as being clobbered.
3935 * sysdeps/i386/memset.c (memset): Likewise.
3936 * sysdeps/i386/bzero.c (__bzero): Likewise.
3937 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
3938
39391998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3940
3941 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
3942 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
3943
ed1ac6a2
UD
39441998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
3945
3946 * debug/catchsegv.sh: Handle text preceding backtrace better.
3947 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
3948 to be installed for other signals than SIGSEGV.
3949 * sysdeps/generic/register-dump.h: New file.
3950 * sysdeps/i386/register-dump.h: New file.
3951 * sysdeps/powerpc/register-dump.h: New file.
3952
3953 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
3954 sigcontextinfo.h.
3955 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
3956
39571998-08-24 Geoff Keating <geoffk@ozemail.com.au>
3958
3959 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
3960
39611998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3962
3963 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
3964 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
3965 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
3966 getresuid, getresgid.
3967
39681998-08-16 Geoff Keating <geoffk@ozemail.com.au>
3969
3970 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
3971 pointer in userland.
3972
39731998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3974
3975 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
3976 and fix value.
3977
39781998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3979
3980 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
3981 over arguments Bourne shell compatible. Don't exit unsuccessfully
3982 if nonelf returns successfully. Avoid duplicating most of the
3983 script.
3984 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
3985 around $file.
3986
39871998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
3988
3989 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
3990 sys/reg.h.
3991 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
3992 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
3993
b259e746
UD
39941998-08-23 Ulrich Drepper <drepper@cygnus.com>
3995
3996 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
3997 __modify_ldt and modify_ldt.
3998 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
3999
4000 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4001 Use orl $-1 instead of movl $-1 to save two bytes.
4002 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
4003 Likewise.
4004
40051998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
4006
4007 * libio/Versions (_IO_do_write, _IO_file_attach,
4008 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4009 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4010 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4011 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
4012
4013 * libio/fileops.c (_IO_do_write, _IO_file_attach,
4014 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4015 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4016 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4017 _IO_file_write, _IO_file_xsputn): Change the prefix to
4018 "_IO_new_". Added to GLIBC_2.1.
4019
4020 * libio/libioP.h (_IO_do_write, _IO_file_attach,
4021 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4022 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4023 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4024 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
4025 "_IO_new_".
4026
4027 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
4028 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4029 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4030 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4031 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
4032
b259e746
UD
40331998-08-23 Richard Henderson <rth@cygnus.com>
4034
4035 * Makeconfig (LDFLAGS): Remove.
4036
ed1ac6a2 4037 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 4038
ed1ac6a2
UD
4039 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
4040 (STO_MIPS_*): Rename from STO_*.
4041 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
4042 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 4043
ed1ac6a2
UD
4044 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
4045 (main): e3s is negative on zero.
4046 * math/atest-exp2.c: Likewise.
b259e746
UD
4047 * math/atest-sincos.c: Likewise.
4048
ed1ac6a2
UD
40491998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4050
4051 * Makerules (install): Add comment about absolute paths.
4052
b259e746
UD
40531998-08-23 Ulrich Drepper <drepper@cygnus.com>
4054
4055 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
4056 array to NUL to handle maxlen==1 case correctly.
4057 Patch by HJ Lu.
4058
40591998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
4060
4061 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
4062 * sysdeps/alpha/elf/crtend.S: Likewise.
4063 * sysdeps/alpha/elf/start.S: Likewise.
4064
4065 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
4066 non-standard pv usage.
4067
4068 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
4069 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
4070 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4071 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4072 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
4073 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
4074 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4075 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4076 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4077 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4078 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4079
4080 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
4081 a finite non-denormal, deferring to the full IEEE version otherwise.
4082
4083 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
4084 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
4085 * sysdeps/alpha/fpu/s_floor.c: New.
4086 * sysdeps/alpha/fpu/s_floorf.c: New.
4087 * sysdeps/alpha/fpu/s_ceil.c: New.
4088 * sysdeps/alpha/fpu/s_ceilf.c: New.
4089
e86e2df1
UD
40901998-08-22 Philip Blundell <philb@gnu.org>
4091
4092 * sysdeps/arm/bits/string.h: New file.
4093
14a44a69
UD
40941998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4095
4096 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
4097 document it.
4098
4099 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
4100 test for recent Linux 2.1.100+ headers.
4101
e36b0b57
UD
41021998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4103
4104 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
4105
5148d49f
UD
41061998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
4107
4108 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
4109
41101998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4111
4112 * Makefile (elf/ldso_install): Put back. The problem still persists.
4113 * elf/Makefile (ldso_install): Likewise.
4114
41151998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4116
4117 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
4118 create weak alias.
4119 * include/db.h: Declare __nss_db_open.
4120 * db2/Versions: Export it.
4121
4122 * db2/makedb.c: Convert to use db2 API.
4123 * nss/nss_db/db-XXX.c: Likewise.
4124 * nss/nss_db/db-netgrp.c: Likewise.
4125 * nss/nss_db/db-alias.c: Likewise.
4126 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
4127
41281998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4129
4130 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4131 sys_setresuid, already built automatically (or not).
4132 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
4133 instead of __syscall_setresuid and add back setresuid.
4134 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
4135 __syscall_setresuid.
4136
41371998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4138
4139 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
4140
1ddf537f
UD
41411998-08-20 Ulrich Drepper <drepper@cygnus.com>
4142
4143 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
4144 BASH-ONLY marked region.
4145 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
4146
41471998-02-20 17:54 H.J. Lu <hjl@gnu.org>
4148
4149 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
4150 _IO_SYSSEEK fails.
4151
4152 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
4153
4df28840 4154 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
4155 element.
4156
8e48355c
RM
41571998-08-21 Roland McGrath <roland@baalperazim.frob.com>
4158
4159 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
4160 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
4161 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
4162 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
4163 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
4164 those magic comments, and to use /bin/sh for @BASH@.
4165 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
4166 * elf/ldd.sh.in: File removed.
4167
d762684b
UD
41681998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
4169
4170 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
4171 cast them to unsigned long int.
4172 * pwd/putpwent.c (putpwent): Likewise.
4173 Patch by John Tobey <jtobey@banta-im.com>.
4174
41751998-08-20 17:14 H.J. Lu <hjl@gnu.org>
4176
4177 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
4178 _IO_pos_BAD.
4179
41801998-02-20 17:54 H.J. Lu <hjl@gnu.org>
4181
4182 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
4183 _IO_SYSSEEK fails.
4184
7934cc16
UD
41851998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
4186
4187 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
4188 Add umount and umount2.
4189 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
4190 * sysdeps/unix/sysv/linux/umount.S: New file.
4191 * sysdeps/unix/sysv/linux/umount2.S: New file.
4192 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
4193 Define MNT_FORCE.
4194
d762684b
UD
4195 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
4196 Add sys/sendfile.h.
4197 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
4198 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
4199
4200 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
4201
4202 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
4203 sendfile.
4204
df777c40
UD
42051998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
4206
4207 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
4208 * elf/ldd.bash.in: Likewise.
4209
4210 * elf/sln.c: Avoid warning for no main prototype.
4211
4212 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
4213 O_WRITE.
4214 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4215 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4216
4217 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
4218 F_GETSIG.
4219 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4220 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4222
42231998-08-20 Philip Blundell <pb@nexus.co.uk>
4224
4225 * sysdeps/arm/fpu/ieee754.h: Move to...
4226 * sysdeps/arm/ieee754.h: ... here.
4227
4228 * sysdeps/arm/__longjmp.S: Put return value in correct register.
4229 Don't set the condition flags unnecessarily.
4230 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
4231 registers correctly.
4232
4233 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
4234 (patch from Scott Bambrough).
4235
4236 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
4237
4238 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
4239 NULL, just call it unconditionally.
4240 (__gmon_start__): Provide stub version as a weak symbol.
4241
42421998-07-30 Philip Blundell <philb@gnu.org>
4243
4244 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
4245 by Scott Bambrough)
4246
4247 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
4248 like `@' in .type directives.
4249
4250 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
4251 * sysdeps/arm/bsd-_setjmp.S: Likewise.
4252
4253 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
4254
42551998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4256
4257 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
4258 (F_GETOWN): Likewise.
4259
4260 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
4261 Linux 2.1.117).
4262
42631998-08-20 Ulrich Drepper <drepper@cygnus.com>
4264
4265 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
4266 already defined.
4267
0c6cee5d
UD
42681998-08-18 Ulrich Drepper <drepper@cygnus.com>
4269
4270 * include/features.h: Define __USE_EXTERN_INLINES for recent
4271 enough gcc.
4272 * argp/argp.h: Define extern inline functions only if
4273 __USE_EXTERN_INLINES is defined.
4274 * libio/stdio.h: Likewise.
4275 * math/math.h: Likewise.
4276 * stdlib/stdlib.h: Likewise.
4277 * string/argz.h: Likewise.
4278 * sysdeps/generic/bits/sigset.h: Likewise.
4279 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4280 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
4281 * sysdeps/wordsize-32/inttypes.h: Likewise.
4282 * sysdeps/wordsize-64/inttypes.h: Likewise.
4283 * wcsmbs/wchar.h: Likewise.
4284
4285 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
4286 to allow compilation without optimization.
4287
df777c40
UD
42881998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4289
4290 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
4291 more entries.
4292 * nis/nss_compat/compat-initgroups.c: Likewise.
4293 * nis/nss_compat/compat-pwd.c: Likewise.
4294 * nis/nss_compat/compat-spwd.c: Likewise.
4295 * nis/nss_nis/nis-alias.c: Likewise.
4296 * nis/nss_nis/nis-ethers.c: Likewise.
4297 * nis/nss_nis/nis-grp.c: Likewise.
4298 * nis/nss_nis/nis-hosts.c: Likewise.
4299 * nis/nss_nis/nis-initgroups.c: Likewise.
4300 * nis/nss_nis/nis-network.c: Likewise.
4301 * nis/nss_nis/nis-proto.c: Likewise.
4302 * nis/nss_nis/nis-pwd.c: Likewise.
4303 * nis/nss_nis/nis-rpc.c: Likewise.
4304 * nis/nss_nis/nis-service.c: Likewise.
4305 * nis/nss_nis/nis-spwd.c: Likewise.
4306
4307 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
4308
4309 * nis/ypclnt.c: Try binding dir only first time, could be to old.
4310
4311 * nis/yp_xdr.c: Remove 1024 byte limit.
4312 * nis/ypupdate_xdr.c: Likewise.
4313
4314 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
4315 wrong data.
4316
c82e6116
RM
43171998-08-18 Roland McGrath <roland@baalperazim.frob.com>
4318
4319 * Rules (binaries-static, binaries-shared static pattern rules):
4320 Depend on lib%, not just libc%, from $(link-libc{,-static}).
4321
4322 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
4323 this here, overriding Makeconfig generic value so we link against
4324 the RPC libs.
4325
364ff81f
UD
43261998-08-17 Ulrich Drepper <drepper@cygnus.com>
4327
4328 * posix/tstgetopt.c (options): Add NULL entry at end
4329 Patch by Adrian Miranda <ade@psg.com>.
4330
5d7de7aa
UD
43311998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
4332
4333 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
4334 to 9.
4335
d610a544
UD
43361998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
4337
4338 * elf/elf.h: Add PPC Diab relocations.
4339
4340 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
4341
409dfcea
UD
43421998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
4343
4344 * manual/texinfo.tex: Update.
4345
43461998-08-07 Geoff Keating <geoffk@ozemail.com.au>
4347
4348 * sysdeps/powerpc/backtrace.c: New file.
4349
43501998-08-14 Philip Blundell <pb@nexus.co.uk>
4351
4352 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
4353 sigjmp_save.
4354 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
4355
43561998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4357
4358 * Makefile (install-symbolic-link): Fix spelling.
4359
43601998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4361
4362 * elf/elf.h (SHT_HIOS): Fix value.
4363
43641998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4365
4366 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
4367 part of the expansion, this is undefined by the standard.
4368
9d141cae
UD
43691998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
4370
4371 * posix/getconf.c: Add support for systems with incomplete confname.h.
4372
4373 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
4374
4375 * sysdeps/posix/wait3.c: Make it work.
4376
43771998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4378
4379 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
4380 (elf/ldso_install): Remove.
4381
4382 * elf/Makefile (distribute): Add sln.c.
4383 (others): Add sln.
4384 (others-static): Add sln.
4385 (install-rootsbin): Add sln.
4386 (others-static): Add sln.
4387 (ldso_install): Remove.
4388
43891998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4390
4391 * Makerules (install-clean-symbolic-link-list): Make phony.
4392 * Makefile (install-symbolic-link): Make phony. Depend on
4393 subdir_install for parallel makes.
4394
4395
43961998-07-22 Ulrich Drepper <drepper@cygnus.com>
4397
4398 * elf/Makefile (distribute): Add sln.c
4399
44001998-07-21 07:10 H.J. Lu <hjl@gnu.org>
4401
4402 * elf/sln.c: New file.
4403
4404 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
4405 (install-clean-symbolic-link-list): New target.
4406 (install): Depend on install-clean-symbolic-link-list.
4407 (make-shlib-link): Changed for $(symbolic-link-list).
4408
4409 * Makefile (install-symbolic-link): New target.
4410 (install): Depend on install-symbolic-link.
4411
1f539fd1
UD
44121998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
4413
4414 * include/unistd.h: Protect against multiple inclusion.
4415
4416 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
4417 is defined, not is glob is defined.
4418 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
4419
44201998-08-01 17:18 H.J. Lu <hjl@gnu.org>
4421
4422 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
4423 xdr_string for ut_line, ut_name and ut_host.
4424
44251998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4426
4427 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
4428 /var/mail in accordance with FHS 2.0.
4429 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
4430
44311998-08-12 Richard Henderson <rth@cygnus.com>
4432
4433 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
4434 Update aliases for cancelation.
4435
4436 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
4437 playing with symbol versions.
4438
259d930a
RM
44391998-08-12 Roland McGrath <roland@baalperazim.frob.com>
4440
4441 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
4442 multiple inclusion protection.
4443 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
4444 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
4445 define all these to 1.
4446 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
4447
d6765f1d
RM
44481998-08-12 Roland McGrath <roland@baalperazim.frob.com>
4449
4450 * sysdeps/mach/usleep.c: Include <unistd.h>.
4451 (usleep): Return void.
4452
44531998-08-11 Roland McGrath <roland@baalperazim.frob.com>
4454
4455 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
4456 decl to inhibit warning in if_freenameindex defn.
4457
4458 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
4459
4460 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
4461
4462 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
4463 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
4464 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
4465 * sysdeps/mach/usleep.c: Likewise.
4466
4467 * sysdeps/mach/hurd/bind.c (bind): Add a const.
4468
4469 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
4470 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
4471 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
4472 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
4473 * sysdeps/mach/usleep.c (usleep): Likewise.
4474 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4475 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4476 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
4477 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
4478
44791998-08-11 Roland McGrath <roland@baalperazim.frob.com>
4480
4481 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
4482 (glob64): Fix typo.
4483
4484 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
4485 %p arg to fprintf, since `void *' is the right type already.
4486
b5876a19
RM
44871998-07-25 19:47 Jose M. Moya <josem@gnu.org>
4488
4489 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
4490 (_hurd_canonicalize_directory_name_internal): Do not loop forever
4491 for unknown root directories.
b5876a19 4492 (__getcwd): Return NULL when the current root directory could not
1f539fd1 4493 be reached.
b5876a19 4494
f81d98d6 44951998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 4496
f81d98d6 4497 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 4498
a5f4e34a 4499
f81d98d6 4500See ChangeLog.8 for earlier changes.