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