]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
090ca000
UD
11998-11-18 Ulrich Drepper <drepper@cygnus.com>
2
3 * io/Makefile (CFLAGS-ftw.c): Removed.
4
51998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
6
7 * io/Makefile (tests): Make sure that the test program has an
8 explicit directory part.
9
101998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
11
12 * configure.in: Fix last change.
13
141998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
15
16 * sunrpc/Makefile (routines): Add create_xid.
17
18 * sunrpc/clnt_tcp.c: Use non-guessable xid.
19 * sunrpc/clnt_udp.c: Likewise.
20 * sunrpc/clnt_unix.c: Likewise.
21 * sunrpc/pmap_rmt.c: Likewise.
22 * sunrpc/create_xid.c: New, create non-guessable xid.
23
24 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
25 of select.
26 * sunrpc/svc_unix.c: Use poll instead of select.
27
d8cceb4f
UD
281998-11-17 Ulrich Drepper <drepper@cygnus.com>
29
45a9a50e
UD
30 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
31 by working removing SIG_IGN handler for SIGCHLD if necessary.
32 Patch by H.J. Lu <hjl@lucon.org>.
33
d8cceb4f
UD
34 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
35 of denormalized numbers.
36
371998-10-06 Geoff Keating <geoffk@ozemail.com.au>
38
39 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
40 another parentheses warning, make nano-optimisation.
41
42 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
43 saved LR on stack so _mcount works.
44 (_dl_prof_resolve): Likewise.
45 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
46 signal handler calling convention.
47 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
48 correct signal handler calling convention---more like x86 linux and
49 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
50
511998-11-17 Ulrich Drepper <drepper@cygnus.com>
52
53 * configure.in: Correct allowed makeinfo version.
54
551998-11-17 Philip Blundell <pb@nexus.co.uk>
56
57 * sysdeps/generic/bits/mathdef.h: Fix typo.
58
cae88996
UD
591998-11-17 Geoff Keating <geoffk@ozemail.com.au>
60
61 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
62 under the right name (squish warning).
63 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
64
651998-11-17 Geoff Keating <geoffk@ozemail.com.au>
66
67 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
68 prevent warnings.
69
9d1efe33
UD
701998-11-16 Ulrich Drepper <drepper@cygnus.com>
71
d8cceb4f 72 * intl/locale.alias: Change `japanese' alias to match X11R6's.
9d1efe33
UD
73 Add `japanese.euc' alias.
74
75 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
76 before running makeinfo.
77
78 * math/Makefile (libm-routines): $(strip) entire value.
79
80 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
81
821998-10-24 H.J. Lu <hjl@gnu.org>
83
84 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
85 (_IO_cookie_file): Likewise.
86
871998-11-16 Philip Blundell <philb@gnu.org>
88
89 * inet/netinet/icmp6.h: Correct naming of constants.
90
8b7fb588
UD
911998-11-16 Ulrich Drepper <drepper@cygnus.com>
92
93 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
94 zero value as uninitialized so that variable can go into .bss.
95
96 * dirent/opendir-tst1.c: Print error strings to stdout.
97
98 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
99 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
100 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
101 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
102 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
103
1041998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
105
106 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
107 range.
108
1091998-11-16 Ulrich Drepper <drepper@cygnus.com>
110
111 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
112 (fwrite_unlocked): Likewise.
113
1141998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
115
116 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
117 twice. Don't bother handling zero size.
9d1efe33 118 (fwrite_unlocked): Likewise.
8b7fb588
UD
119
1201998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
121
122 * configure.in: Fix regex for makeinfo version string.
123
1241998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
125
126 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
127 warning.
128 * sunrpc/rpc_svcout.c (write_program): Likewise.
129
1301998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
131
132 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
133
1341998-11-16 Ulrich Drepper <drepper@cygnus.com
135
136 * misc/sys/mman.h: Pretty print prototypes.
137
1381998-11-15 Ulrich Drepper <drepper@cygnus.com
139
140 * misc/error.c (error): Don't use result of strerror_r call directly
141 since at least DEC Unix has a wrong return type.
142 Patch by Johan Danielsson <joda@pdc.kth.se>.
143
1441998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22bb3c7f
AS
145
146 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
147 last change.
148
77d10f94
UD
1491998-11-13 Ulrich Drepper <drepper@cygnus.com>
150
27658f20 151 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
9d1efe33 152 format, just stop.
27658f20 153
77d10f94
UD
154 * version.h (VERSION): Bump to 2.0.102.
155
156 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
157 change.
158 * stdio-common/scanf7.c (main): Likewise.
159
99c9e773
UD
1601998-11-13 Ulrich Drepper <drepper@cygnus.com>
161
47b856a9
UD
162 * stdio-common/vfscanf.c: Return EOF for invalid format
163 characters.
164
fb3d8ad6
UD
165 * version.h (VERSION): Bump to 2.0.101.
166
99c9e773
UD
167 * Makerules (Versions.all): Generate this file from all Versions.def
168 files.
169 (sysd-versions): Use Versions.all instead of Versions.def.
170
47b856a9
UD
1711998-11-13 Philip Blundell <philb@gnu.org>
172
173 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
174 Reported by Scott Bambrough.
175
93d63a59
UD
1761998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
177
178 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
179
a3e0e9ae
UD
1801998-11-13 Ulrich Drepper <drepper@cygnus.com>
181
182 * libio/bits/stdio.h: Correct and improve fread_unlocked and
183 fwrite_unlocked optimizations.
184
185 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
186 in time not to last entries in the file.
187 (__tzfile_compute): Likewise. Fix for PR libc/863.
188
189 * timezone/Makefile: Generate GB timezone data for test.
190 * timezone/tst-timezone.c: More tests for DST switching time (disabled
191 for now).
192
1931998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2dc9c8cd
AS
194
195 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
196 d0 from clobber list.
197
d2537a47
UD
1981998-11-12 Ulrich Drepper <drepper@cygnus.com>
199
200 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
201
202 * libio/Makefile (headers): Add bits/stdio.h.
203 * libio/iofread_u.c: Undefine fread_unlocked before definition.
204 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
205 * libio/stdio.h: Move optimizations into ...
206 * libio/bits/stdio.h: ...here. New file.
207
208 * libio/iofread.c: Pretty print.
209
2101998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
211
212 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
213 __exit_status with `__'. Rename pad member of struct utmpx to
214 __unused.
215 (RUN_LVL): Define unconditionally.
a3e0e9ae 216 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
d2537a47
UD
217 __unused.
218
2191998-11-12 Philip Blundell <philb@gnu.org>
220
221 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
222 Linux AF_NETLINK sockets (needed since the kernel version is
223 unusable).
224 * sysdeps/unix/sysv/linux/Makefile: Install it.
225 * sysdeps/unix/sysv/linux/Dist: Distribute it.
226
2271998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
228
229 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
230 to test for bug in PR libc/863.
231
2321998-11-12 Ulrich Drepper <drepper@cygnus.com>
233
234 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
235
236 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
237 parameter lazy to do_lazy to avoid clashing with struct member name.
238 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
239
2401998-11-10 H.J. Lu <hjl@gnu.org>
241
242 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
243 if it is defined in <linux/limits.h>.
244
2451998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
246
247 * include/protocols/routed.h: Include the real header with
248 a full path from the top of the source tree.
249 * include/protocols/rwhod.h: Likewise.
250 * include/protocols/talkd.h: Likewise.
251 * include/protocols/timed.h: Likewise.
252
253 * timezone/Makefile: Don't include z.ZONE files if no_deps
254 is set, not if avoid-generated is set.
255
2561998-11-12 Ulrich Drepper <drepper@cygnus.com>
257
258 * signal/signal.h: Undo last change. Get definition of timespec
259 if __USE_POSIX199309.
260
261 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
262 size_t to prevent gcc warning when using -Wqual-cast.
263 (__strpbrk_c3): Likewise.
264 Suggested by Alan Curry <pacman@cqc.com>.
265
fc7af6d6
RM
2661998-11-11 Roland McGrath <roland@baalperazim.frob.com>
267
159d4836
RM
268 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
269 unblocked signals are set in the startup masks.
270
fc7af6d6
RM
271 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
272 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
159d4836 273
fc7af6d6
RM
274 * hurd/hurd/signal.h: Update _hurdsig_init decl.
275 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
276 INTARRAYSIZE, pass them down to _hurdsig_init.
277 * hurd/hurd.h: Update _hurd_proc_init decl.
278
74eee886
UD
2791998-11-10 Ulrich Drepper <drepper@cygnus.com>
280
281 * math/cabs.c: Replace complex by _Complex.
282 * math/cabsf.c: Likewise.
283 * math/cabsl.c: Likewise.
284 * math/cimag.c: Likewise.
285 * math/cimagf.c: Likewise.
286 * math/cimagl.c: Likewise.
287 * math/conj.c: Likewise.
288 * math/conjf.c: Likewise.
289 * math/conjl.c: Likewise.
290 * math/creal.c: Likewise.
291 * math/crealf.c: Likewise.
292 * math/creall.c: Likewise.
293
294 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
295 included from math.h and __USE_ISOC9X is defined.
296 * sysdeps/generic/bits/mathdef.h: Likewise.
297 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
298 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
299 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
300 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
301
3021998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
303
304 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
305 <complex.h>.
306 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
307 * sysdeps/generic/bits/mathdef.h: Likewise.
308 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
309 * sysdeps/powerpc/bits/mathdef.h: Likewise.
310 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
311
3121998-11-09 Ulrich Drepper <drepper@cygnus.com>
313
314 * extra-lib.mk: Fix typo in last change.
1792d4db
UD
315
316 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
317 is needed.
318 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
319 Don't define `complex' but instead `_Complex'. The later is the
320 reserved keyword.
321 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
322 not complex.
323
3241998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
325
326 * manual/libc.texinfo: Remove colon from category name.
327 * manual/Makefile (dir-add.info): Likewise.
328
3291998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
330
331 * configure.in: Avoid autoconf bug.
332
3331998-10-28 H.J. Lu <hjl@gnu.org>
334
335 * posix/getopt.h: Add "__" to arguments in prototypes.
336
3371998-11-05 H.J. Lu <hjl@gnu.org>
338
339 * libio/iofgets.c (_IO_fgets): Don't report error
340 if something was read in and errno is set to
341 EAGAIN.
342 * libio/iofgets_u.c (fgets_unlocked): Likewise.
343
3441998-11-05 Philip Blundell <philb@gnu.org>
345
346 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
347 header; it defines too much. Provide a local definition of struct
348 sockaddr_pkt and a comment advising against its use.
349
3501998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
351
352 * extra-lib.mk: Avoid empty include list.
353
3541998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
355
356 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
357
358 * elf/Makefile (libdl-routines): Add dlopenold only if doing
359 versioning.
360 (libdl-shared-only-routines): New variable.
361
3621998-11-06 Paul Eggert <eggert@twinsun.com>
363
364 Don't invoke localtime_r or gmtime_r unless it's the GNU C
365 library's localtime_r and gmtime_r; there are too many buggy
366 implementations of localtime_r and gmtime_r out there, and
367 it's not worth keeping track of all the different bugs.
368
369 * time/mktime.c (__EXTENSIONS__): Remove.
370 (<unistd.h>): No need to include.
05f732b3
UD
371 * time/strftime.c: Likewise.
372
373 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1792d4db
UD
374 Remove.
375 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
376 Base it on localtime unless _LIBC.
377
378 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
379 all uses changed.
380 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
381 Base them on localtime/gmtime if not _LIBC.
05f732b3
UD
382
3831998-11-07 Ulrich Drepper <drepper@cygnus.com>
384
385 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
386 file descriptor. This makes this function actually usable.
387 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
388
9a821cf9
UD
3891998-11-05 Ulrich Drepper <drepper@cygnus.com>
390
d76bd17f
UD
391 * math/math.h: Unconditionally include bits/mathdef.h. Declare
392 long double functions only if __NO_LONG_DOUBLE_MATH is not
393 defined.
394 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
395 Define __NO_LONG_DOUBLE_MATH.
396 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
397 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
398
9a821cf9
UD
399 * elf/rtld.c: Add a few __builtin_expects where they will improve
400 a lot.
401
c0016081
UD
4021998-11-05 Ulrich Drepper <drepper@cygnus.com>
403
fe959e1e
UD
404 * version.h (VERSION): Bump to 2.0.100.
405
c0016081
UD
406 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
407
408 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
409 * sysdeps/libm-i387/s_fmaf.S: Likewise.
410
9a821cf9
UD
4111998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
412
413 * libio/genops.c (_IO_least_marker): Add additional parameter
414 end_p replacing fp->_IO_read_end.
415 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
416 and _IO_ssize_t instead of int.
417 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
418 (_IO_switch_to_backup_area): Likewise. Fix comments.
419 (_IO_seekmark): Undo last change.
420 (_IO_default_pbackfail): Correct use of backup area.
421 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
422
c0016081
UD
4231998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
424
425 * configure.in: Search for install-info and substitute it.
426 Determine whether install-info is the buggy Debian version
427 that doesn't understand INFO-DIR-SECTION.
428 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
429 to be substituted.
430 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
431 install-info the --section argument it needs to work properly.
432 (dir-add.texinfo): Delete target.
433 (dir-add.info): Generate this directly. Sort entries. Put a
434 colon at the end of the INFO-DIR-SECTION line.
435 * manual/libc.texinfo: Put a colon at the end of the
436 @dircategory line.
437
4381998-11-05 Paul Eggert <eggert@twinsun.com>
439
440 * time/mktime.c (__mktime_internal): Adopt the traditional (and
441 problematic) notion of what to do when tm_isdst doesn't match.
442
4431998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
444
445 * posix/PTESTS: Fix spelling.
446
ff8ac383
UD
4471998-11-04 Ulrich Drepper <drepper@cygnus.com>
448
449 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
450 functions. Reduce error in computing normalized value by multiplying
451 factor in loop and compute result in one step.
a92599ea
UD
452 Reported by Christian Gafton.
453
454 * sysdeps/libm-i387/e_hypot.S: New file.
455 * sysdeps/libm-i387/e_hypotf.S: New file.
ff8ac383 456
c0016081
UD
4571998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
458
459 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
460
4611998-11-03 H.J. Lu <hjl@gnu.org>
462
463 * libio/fileops.c (new_do_write): New function.
464 (_IO_new_do_write): Call new_do_write.
465 (_IO_new_file_xsputn): Likewise.
466
467 * libio/oldfileops.c (old_do_write): New function.
468 (_IO_old_do_write): Call old_do_write.
469 (_IO_old_file_xsputn): Likewise.
470
3ddfec55
UD
4711998-11-04 Ulrich Drepper <drepper@cygnus.com>
472
98b567ff
UD
473 * time/mktime.c (__mktime_internal): Correct last change. We must
474 stop searching for the right isdst value before stepping to the
475 initial value.
476
3ddfec55
UD
477 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
478 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
479
f540c0a4
UD
4801998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
481
482 * sysdeps/generic/bits/signum.h: Define signals with their
483 historical numbers when those are in the 1-15 range and
484 consistent across platforms.
485 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
486 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
487 appropriately instead of with fake function declarations
488 (would cause link errors).
489 If __USE_UNIX98, define SIG_HOLD.
490
4911998-10-29 H.J. Lu <hjl@gnu.org>
492
493 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
494 union only if __USE_POSIX199309 is defined.
495
496 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
497 defined.
498
5fea58fb
UD
4991998-11-03 Ulrich Drepper <drepper@cygnus.com>
500
501 * time/mktime.c (__mktime_internal): Handle broken down times
502 around the time of the DST switches more correctly.
503
e254df14
UD
5041998-11-02 Ulrich Drepper <drepper@cygnus.com>
505
506 * elf/Makefile (libdl-routines): Add dlopenold.
507 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
508 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
509 is set and bounce otherwise.
510 * elf/dlopen.c: Rename function to __dlopen_check and make version
511 named dlopen.
512 * elf/dlopenold.c: New file.
513
e3e35cfc
UD
5141998-11-02 Ulrich Drepper <drepper@cygnus.com>
515
516 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
517 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
518 * elf/dl-deps.c: ...here.
519 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
520 new parameter and expect result. Remove code handling RTLD_GLOBAL.
521 Add return value of _dl_map_object_deps to
522 _dl_main_searchlist->r_nlist.
523 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
524 If we parameter GLOBAL is nonzero add object and dependencies to
525 the global scope.
526 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
527 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
528 Mark all objects as in global scope.
529 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
530
531 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
532
533 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
534 used in macro magic.
535
5fea58fb
UD
5361998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
537
f540c0a4
UD
538 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
539 before <sys/socket.h> to make sockaddr_at available to
540 <sys/socket.h>.
e3e35cfc
UD
541
542 * posix/glob.h: Remove __P from parameter lists of declarations.
5fea58fb
UD
543
5441998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
545
546 * time/tzset.c (tz_compute): Remove unused parameter timer.
547 Change caller.
548
5491998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
550
551 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
552
160698e2
UD
5531998-11-02 Ulrich Drepper <drepper@cygnus.com>
554
555 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
556 unnecessary test and add cast.
557
5581998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
559
560 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
561
562 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
563 parameter fd.
564 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
565
5661998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
567
568 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
569 fds_bits member.
570 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
571
5721998-10-31 Richard Henderson <rth@cygnus.com>
573
574 * math/Makefile (gmp-objs): Add udiv_qrnnd.
575
576 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
577 (inline_syscall*): New.
578 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
579 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
580
256705f4
UD
5811998-10-31 Ulrich Drepper <drepper@cygnus.com>
582
583 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
584 avoid ld test generating an unwanted file.
585
c55be36d
UD
586 * posix/PTESTS: Remove comment about incorrect test (it is correct).
587
160698e2
UD
5881998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
589
590 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
591 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
592 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
593 * sunrpc/rpc/xdr.h: Add INT32 support.
a1129917 594 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
160698e2
UD
595
596 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
597 * nis/nis_callback.c: Likewise.
598 * nis/nis_creategroup.c: Likewise.
599 * nis/nis_defaults.c: Likewise.
600 * nis/nis_intern.h: Likewise.
601 * nis/nis_lookup.c: Likewise.
602 * nis/nis_ping.c: Likewise.
603 * nis/nis_print.c: Likewise.
604 * nis/nis_table.c: Likewise.
605 * nis/nis_util.c: Likewise.
606 * nis/nis_xdr.c: Likewise.
607 * nis/rpcsvc/nis.h: Likewise.
608 * nis/rpcsvc/nis.x: Likewise.
609 * nis/rpcsvc/nis_callback.h: Likewise.
610 * nis/rpcsvc/nis_object.x: Likewise.
611 * nis/rpcsvc/nislib.h: Likewise.
612
613 * nis/rpcsvc/yp.h: Remove casts to (u_long).
614 * nis/rpcsvc/yp_prot.h: Likewise.
615 * nis/rpcsvc/ypupd.h: Likewise.
616 * nis/ypclnt.c: Change %ld to %d in sprintf.
617
6181998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
619
620 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
621
6221998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
623
624 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
625 0, __fd_mask is usually not a char.
626
6271998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
628
629 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
630 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
631 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
632 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
633 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
634 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
635 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
636 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
637
638 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
639 compiling on systems without rt_sigaction syscall.
640 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
641 Likewise.
642
6431998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
644
645 * time/strptime.c (HERE_D_FMT): Fix typo.
646 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
647
a3b2008a
UD
6481998-10-30 Ulrich Drepper <drepper@cygnus.com>
649
646fffb9
UD
650 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
651 (generate): Add test1.cat and test1.h.
652 (distribute): Add test1.msg.
655b26bb 653 * catgets/test1.msg: New file.
646fffb9 654
a3b2008a
UD
655 * catgets/gencat.c: Do a better job in initializing dynamic
656 memory [PR libc/844].
657
00995ca9
UD
6581998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
659
660 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
661 internal_function since it is called through a pointer.
662 * iconv/gconv_db.c (free_derivation): Likewise.
663 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
664
665 * posix/wordexp.c: Add internal_function to parse_backtick definition.
666 * rt/aio_misc.c: Add internal_function to __aio_free_request,
667 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
668 definitions.
669 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
670 __aio_notify definitions.
671 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
672
e980ca92
UD
6731998-10-30 Ulrich Drepper <drepper@cygnus.com>
674
675 * Makerules (build-shlib): Add -O to generate optimized shared
676 objects.
677
0e19d4a3
UD
6781998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
679
680 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
681 * sysdeps/libm-i387/e_fmodf.S: Likewise.
682 * sysdeps/libm-i387/e_fmodl.S: Likewise.
683 * sysdeps/libm-i387/s_ilogb.S: Likewise.
684 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
685 * sysdeps/libm-i387/s_logb.S: Likewise.
686 * sysdeps/libm-i387/s_logbf.S: Likewise.
687 * sysdeps/libm-i387/s_remquo.S: Likewise.
688 * sysdeps/libm-i387/s_remquof.S: Likewise.
689 * sysdeps/libm-i387/s_remquol.S: Likewise.
690 * sysdeps/libm-i387/s_significand.S: Likewise.
691 * sysdeps/libm-i387/s_significandf.S: Likewise.
692
6931998-10-30 Geoff Keating <geoffk@ozemail.com.au>
694
695 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
696 _llseek.
697
6981998-10-30 Geoff Keating <geoffk@ozemail.com.au>
699
700 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
701
c5e340c7
UD
7021998-10-29 Ulrich Drepper <drepper@cygnus.com>
703
b0882748
UD
704 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
705 returns without cleaning up the lock.
d8334b9a 706 (printf_unknown): Add label all_done.
b0882748 707
7dc7f7b2
UD
708 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
709 kernels in mind when reading /proc/self/fd/FD.
710 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
711
67a96999
UD
712 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
713
d5cabaa4
UD
714 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
715 _fitoa.
716
c5e340c7
UD
717 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
718 /prof/self/fd/FD first.
719 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
720
721 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
722 formatted number starting at given position and return pointer to
723 following byte.
724 (_fitoa): Likewise, for long long.
725
cf3a0eca
RM
7261998-10-29 Roland McGrath <roland@baalperazim.frob.com>
727
728 * sysdeps/unix/sysv/linux/bits/sem.h,
729 sysdeps/unix/sysv/linux/bits/ipc.h,
730 sysdeps/unix/sysv/linux/bits/shm.h,
731 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
732 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
733 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
734 so the same bits will be used for the Hurd.
735
f3c1143b
UD
7361998-10-29 Ulrich Drepper <drepper@cygnus.com>
737
738 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
739 compiling on systems without rt_sigaction syscall.
740
7411998-10-12 Philip Blundell <pb@nexus.co.uk>
742
743 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
744 directories as well as add them.
745
7461998-10-28 Philip Blundell <pb@nexus.co.uk>
747
748 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
749 AF_ECONET sockets as found in recent Linux 2.1 kernels.
750 * sysdeps/unix/sysv/linux/Dist: Distribute it.
751 * sysdeps/unix/sysv/linux/Makefile: Install it.
752
7531998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
754
755 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
756
7571998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
758
759 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
760 fds_bits member.
761 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
762 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
763 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
764 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
765 Likewise.
766 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
767 Likewise.
768 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
769 __FD_ISSET): Use it.
770 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
771 __FD_ISSET): Likewise.
6e2cc2c1 772
91cc83ff
UD
7731998-10-28 Geoff Keating <geoffk@ozemail.com.au>
774
775 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
776 llseek.
777
c70ca1fa
UD
778 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
779 Instead call the system call wrapper function using an 64bit argument.
780 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
781 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
782 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
783
2898c3a5
UD
7841998-10-27 Ulrich Drepper <drepper@cygnus.com>
785
7e986b8b
UD
786 * signal/signal.h: Don't include <time.h> for timespec, add
787 forward declaration.
788
2898c3a5
UD
789 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
790 of __FD_* macros which use __fds_bits.
791 * sysdeps/generic/bits/select.h: Likewise.
792 Reported by Matt McLean <keys@yikes.com>.
793
c1a61edb
UD
7941998-10-27 Philip Blundell <pb@nexus.co.uk>
795
796 * elf/elf.h: Update ARM definitions.
797
cc368887
UD
7981998-10-27 Ulrich Drepper <drepper@cygnus.com>
799
800 * signal/signal.h: Include bits/sigthread.h only for Unix98.
801
665a657e
UD
8021998-10-26 Ulrich Drepper <drepper@cygnus.com>
803
a8eab8b1
UD
804 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
805 define __builtin_expect as a macro substituting to the first
806 argument.
807 * config.h.in: Define HAVE_BUILTIN_EXPECT.
808 * configure.in: Add test for __builtin_expect.
809
665a657e
UD
810 * sysdeps/unix/sysv/linux/bits/types.h: Include
811 bits/pthreadtypes.h only not for POSIX 199506.
812 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
813 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
814 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
815
48ab6a9e
UD
8161998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
817
818 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
819 * socket/Versions [libc, GLIBC_2.0]: ... to here.
820
992af677
UD
8211998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
822
823 * include/stdio.h: Included <stddef.h> for size_t.
824
825 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
826 to ...
827 * include/stdio.h: ...here.
828 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
829
0e103c6d
UD
8301998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
831
832 * time/Makefile (tests): Add tst-posixtz.
833 * time/tst-posixtz.c: New file.
834
8351998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
836
837 * elf/rtld.c (process_envvars): Accept any non-null value of
838 LD_BIND_NOW, as mandated by the ABI.
839
8401998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
841
842 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
843 __syscall_pread.
844 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
845 __syscall_pwrite.
846 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
847 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
848 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
850 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
851 duplicate entries.
852 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
853 s_pread64 and s_pwrite64.
854 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
855
8561998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
857
858 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
859 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
860 to __syscall__llseek.
861 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
862 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
864 __sys_llseek.
865
8661998-10-26 Cristian Gafton <gafton@redhat.com>
867
868 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
869 and s_setfsuid.
870
8711998-10-26 Ulrich Drepper <drepper@cygnus.com>
872
873 * time/tzset.c (tz_compute): Correct last patch and describe this
874 in a comment.
875
d499a27c
AS
8761998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
877
878 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
879 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
880 rt_sigaction and rt_sigpending.
881 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
882 for __syscall_* functions.
883 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
884
c2ef7930
RM
8851998-10-26 Roland McGrath <roland@baalperazim.frob.com>
886
887 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
888 _hurd_dtable_lock, _hurd_intern_fd.
889
890 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
891 cthread_getspecific, cthread_setspecific, __libc_getspecific.
892
893 * mach/Versions: Fix typo in last change.
894
1938c489
UD
8951998-10-25 Ulrich Drepper <drepper@cygnus.com>
896
897 * time/tzset.c (tz_compute): If time to switch to DST is later in
898 the year switch back in the next year.
899 Reported by jwitford@hutch.com.au.
c2ef7930 900
a825f8e8
RM
9011998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
902
903 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
904 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
905 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
906 __mach_port_allocate, __mach_port_allocate_name,
c2ef7930
RM
907 __mach_port_insert_right __mutex_trylock, __mutex_lock,
908 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
909 __task_set_special_port, __task_terminate, __thread_depress_abort,
910 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
911 functions are not used outside libc.
a825f8e8
RM
912
913 * sysdeps/mach/hurd/Versions: New file.
914 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
915 _cthread_init_routine. These are set by the Hurd cthreads library.
916 Add __getcwd, __mmap. If we don't add these, the weak definitions in
917 the dynamic linker will not be replaced by the corresponding shared
918 library routines once they are loaded.
919
9201998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
921
922 * sysdeps/mach/hurd/i386/init-first.c: Only define
923 __libc_enable_secure if PIC is not defined.
924
9251998-10-25 Roland McGrath <roland@baalperazim.frob.com>
926
927 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
928 to recurse into argp.
929
4a582094
UD
9301998-10-25 Ulrich Drepper <drepper@cygnus.com>
931
932 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
933 greater or equal than 199506L.
934
935 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
936 only is __USE_XOPEN. Otherwise use __fds_bits.
937 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
938 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
939 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
940 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
941 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
942
9431998-10-24 H.J. Lu <hjl@gnu.org>
944
945 * locale/programs/charmap.c (parse_charmap): Accept tok_string
946 for <code_set_name>.
947
9481998-10-25 H.J. Lu <hjl@gnu.org>
949
950 * locale/programs/ld-ctype.c (ctype_finish): Also check
951 <space>.
952
9531998-10-25 Ulrich Drepper <drepper@cygnus.com>
954
955 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
956
957 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
958 if __USE_POSIX199506 or __USE_UNIX98.
959
9601998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
961
962 * string/bits/string2.h: Inline strdup+friends only if
963 __USE_MISC || __USE_GNU (prevents namespace pollution).
964
9651998-10-24 H.J. Lu <hjl@gnu.org>
966
967 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
968 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
969 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
970 LOCK_NB, LOCK_UN): Likewise.
971 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
972 LOCK_NB, LOCK_UN): Likewise.
973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
974 LOCK_NB, LOCK_UN): Likewise.
975 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
976 LOCK_NB, LOCK_UN): Likewise.
977
9781998-10-24 H.J. Lu <hjl@gnu.org>
979
980 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
981
982 * libio/rewind.c (rewind): Clear the error.
983
9841998-10-24 H.J. Lu <hjl@gnu.org>
985
986 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
987 "buffer".
988
9891998-10-24 H.J. Lu <hjl@gnu.org>
990
991 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
992 with __need_timeval.
993 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
994 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
995
9961998-10-24 H.J. Lu <hjl@gnu.org>
997
998 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
999 sigqueue): Protect with __USE_POSIX199309.
1000
10011998-10-24 H.J. Lu <hjl@gnu.org>
1002
1003 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
1004 __USE_POSIX.
1005
10061998-10-24 H.J. Lu <hjl@gnu.org>
1007
1008 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
1009 the kernel file offset.
1010 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
1011
88455219
UD
10121998-10-24 H.J. Lu <hjl@gnu.org>
1013
1014 * time/tzfile.c (__tzfile_default): Set num_types to 2.
1015
10161998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1017
1018 * rt/aio.h: Move __aio_init to...
1019 * include/aio.h: ...here.
1020
10211998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1022
1023 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
1024 definition of O_LARGEFILE.
1025
10261998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1027
1028 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
1029 as first argument to statfs.
1030
10311998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1032
1033 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
1034
10351998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1036
1037 * malloc/mtrace.c: Include <string.h> for strlen.
1038
3c068816
RM
10391998-10-24 Roland McGrath <roland@baalperazim.frob.com>
1040
184edc95
RM
1041 * sysdeps/mach/hurd/bits/environments.h: New file.
1042
3c068816
RM
1043 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
1044
1045 * mach/Versions, hurd/Versions: Add numerous symbols.
1046 Remove libmachuser and libhurduser sections, punt
1047 versioning for those libraries for now.
1048
1049 * misc/Versions: Add reboot here; it exists on all platforms.
1050 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
1051
fc40fc6c
UD
10521998-10-23 Ulrich Drepper <drepper@cygnus.com>
1053
1054 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
1055 macro.
1056 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1057 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1058 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
1059 O_NOFOLLOW, O_DIRECT): New macros.
1060 (O_DIRECTORY): Correct definition according to official 2.1.126.
1061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
1062 O_NOFOLLOW): New macros.
1063
b1fcf686
RM
10641998-10-24 Roland McGrath <roland@baalperazim.frob.com>
1065
d606f528
RM
1066 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
1067
b1fcf686
RM
1068 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
1069 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
1070
24f25de6
UD
10711998-10-23 Ulrich Drepper <drepper@cygnus.com>
1072
0d486134
UD
1073 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
1074 setfsuid.c, and setfsgid.c.
1075 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1076 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1077 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1078
24f25de6
UD
1079 * version.h (VERSION): Bump to 2.0.99.
1080
8a6da7e6
UD
1081 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
1082 ustat definition.
1083
1e8f0e3e
UD
1084 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
1085 s_pwrite64.c.
1086
24f25de6
UD
1087 * posix/fnmath.h: Don't redefine __P when used in glibc.
1088 * posix/glob.h: Likewise.
1089
1090 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
1091 Patch by Dick Streefland <dick_streefland@tasking.com>.
1092
1093 * stdio-common/tst-ungetc.c: Add more test cases.
1094
1095 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
1096 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
1097 definitions to ...
1098 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
1099 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
1100 * sysdeps/unix/sysv/linux/pathconf.c: New file.
1101 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
1102 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1103
11041998-10-20 Philip Blundell <pb@nexus.co.uk>
1105
1106 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
1107 <asm/ptrace.h> to define struct pt_regs.
1108 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
1109 including <asm/ptrace.h> here.
1110
1111 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
1112 C_SYMBOL_NAME macro.
1113
11141998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1115
1116 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
1117 end of enumerator list.
1118 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
1119 * posix/wordexp.h: Likewise.
1120
1121 * db/db.h: Use __PMT instead of __P in typedefs.
1122 * db/mpool.h: Likewise.
1123 * sysdeps/generic/bits/siginfo.h: Likewise.
1124 * nis/rpcsvc/ypclnt.h: Likewise.
1125
d6787ff2
UD
11261998-10-23 Ulrich Drepper <drepper@cygnus.com>
1127
1128 * libio/genops.c (_IO_seekmark): When switching to backup buffer
1129 make sure all characters from the read buffer are read after
1130 switching back to it.
1131
98393660
UD
11321998-10-22 Ulrich Drepper <drepper@cygnus.com>
1133
1134 * configure.in: Add support for Cygnus GNUPro compilers.
1135
84c8da0e
UD
11361998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1137
1138 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
1139
1140 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
1141 of __P for sa_restorer.
1142 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1143 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1144 kernel_sigaction, old_kernel_sigaction): Likewise.
1145
ed304158
UD
11461998-10-22 Ulrich Drepper <drepper@cygnus.com>
1147
c7f5a0c7
UD
1148 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
1149 and __syscall_pwrite aliases.
1150
ed304158 1151 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
78e5779b
UD
1152
1153 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
1154 improve INLINE_SYSCALL using macro assembler magic.
1155
9271a050
UD
11561998-10-22 H.J. Lu <hjl@gnu.org>
1157
1158 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
1159 sanity check for n.
1160 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
1161
1162 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
1163 EINVAL if errno == ENODEV. Tested by VSX-PCT.
1164
1165 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
1166 by VSX-PCT.
1167
1168 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
1169
e595c802
UD
11701998-10-22 Philip Blundell <pb@nexus.co.uk>
1171
1172 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
1173 __ASSEMBLER__.
1174
7bb38c70
UD
11751998-10-21 Ulrich Drepper <drepper@cygnus.com>
1176
1177 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
1178 and adjust formats.
1179
0dee6738
UD
11801998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
1181
1182 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
1183 __syscall_* function.
1184 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
1185 of calling __syscall_* function.
1186 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1187 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1188 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1189 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1190 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
1191 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1192 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1193 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1194 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1195 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1196 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1197 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1198 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1199 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1200 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1201 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1202 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1203 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1204 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
1205 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1206 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1207 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1208 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1209 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1210 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1211 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1212 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1213 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1214 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1215 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1216 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1217 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1218 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1219 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 1220 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
1221 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1222 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1223 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1224 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1225 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1226 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1227 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1228
1229 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
1230 inline assembler.
1231 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
1232 __syscall_* definitions.
1233
1234 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
1235 definitions to...
1236 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
1237 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1238 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1239 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1240 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1241 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1242 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1243
adcb550c
UD
1244 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
1245 Move definition to...
1246 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
1247 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1248 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1249 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1250 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1251 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1252 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1253
0dee6738
UD
1254 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1255 (sysdep_routines): Remove s_pread64 and s_pwrite64.
1256
1257 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
1258 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
1259 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
1260 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
1261 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
1262 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
1263
12641998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1265
1266 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
1267 and bring them in synch.
1268 * sysdeps/unix/siglist.c: Likewise.
1269 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
1270
12711998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1272
1273 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
1274 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1275
1276 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
1277 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
1278 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
1279 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
1280 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
1281 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
1282 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
1283 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
1284 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
1285 s_setregid.
1286 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1287 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1288 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1289
12901998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1291
1292 * sunrpc/rpc_main.c (close_output, close_input): New functions.
1293 (c_output, h_output, s_output, l_output, t_output, svc_output,
1294 clnt_output, mkfile_output): Call them at the end.
1295
12961998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1297
1298 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
1299 link command.
1300
39f0e778
AS
13011998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1302
1303 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
1304 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1305
d523c981
UD
13061998-10-20 Ulrich Drepper <drepper@cygnus.com>
1307
1308 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
1309 s_pwrite64.
1310 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
1311 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
1312 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
1313 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
1314 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
1315
0dee6738
UD
13161998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
1317
1318 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
1319 O_DIRECTORY.
1320
13211998-10-20 H.J. Lu <hjl@gnu.org>
1322
1323 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
1324 argument types.
1325
4bd8be48
UD
13261998-10-19 Ulrich Drepper <drepper@cygnus.com>
1327
48244d09
UD
1328 * math/tgmath.h: Make nested function calls work.
1329
10411f2d
UD
1330 * include/ldsodefs.h: Fix typo.
1331
a9b171ef
UD
1332 * posix/Makefile (tests): Add tst-preadwrite.
1333 * posix/tst-preadwrite.c: New file.
1334
4bd8be48
UD
1335 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
1336 sure that descriptor is in any case for a directory.
1337
cfb32a6c
UD
13381998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1339
1340 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
1341 (atan2): Takes two arguments.
1342
ce85d65b
UD
13431998-10-19 Ulrich Drepper <drepper@cygnus.com>
1344
1345 * include/ldsodefs.h: New file.
1346
1347 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
1348 Remove change to avoid using _CALL_DL_FCT.
1349 * iconv/gconv_db.c: Likewise.
1350 * iconv/gconv_dl.c: Likewise.
1351 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
1352 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
1353 * nss/nsswitch.c: Likewise.
1354 * nss/nsswitch.h: Likewise.
1355
13561998-10-19 Philip Blundell <pb@nexus.co.uk>
1357
1358 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
1359 required libraries.
1360 * login/Makefile (otherlibs): Likewise.
1361 * nscd/Makefile (otherlibs): Likewise.
1362 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
1363
1364 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
1365
1366 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
1367
13681998-10-19 Philip Blundell <pb@nexus.co.uk>
1369
1370 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
1371 and setfsuid.
1372
13731998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1374
1375 * nscd/connections.c: Fix typos in comments and strings.
1376
1377 * nscd/nscd.conf: Update according to recent changes to nscd.
1378
1379 * nscd/cache.c (prune_cache): Remove wrong comment.
1380
816e6eb5
UD
13811998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
1382
1383 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
1384 category in copy_posix.
1385 (collate_finish): Don't warn about UNDEFINED not being defined.
1386 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
1387 category in copy_posix.
1388 * locale/programs/ld-messages.c (messages_startup): Likewise.
1389 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
1390 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
1391 * locale/programs/ld-time.c (time_startup): Likewise.
1392 * locale/programs/localedef.c: Move copy_def_list_t definition into
1393 locales.h. Define copy_posix variable.
1394 (main): Before processing copy list add &copy_posix to copy_list.
1395 * locale/programs/locales.h: Add definition of copy_def_list_t.
1396 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 1397 copy_posix.mask for copy instruction.
816e6eb5 1398
685c1676
UD
13991998-10-19 Ulrich Drepper <drepper@cygnus.com>
1400
1401 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
1402 non-existing file with generic implementation.
1403 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1404
14051998-10-19 Philip Blundell <pb@nexus.co.uk>
1406
1407 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
1408 defined. Avoid using _CALL_DL_FCT if it is not defined.
1409 * iconv/gconv.c: Likewise.
1410
9bbe7c3b
UD
14111998-10-19 Ulrich Drepper <drepper@cygnus.com>
1412
34489d95
UD
1413 * nscd/connections.c (dbs): Define defualt values for timeouts and
1414 set enabled to 0 by default.
1415 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
1416 nscd_run.
1417
9bbe7c3b
UD
1418 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
1419 character >= 0x80.
1420 (_nl_C_LC_CTYPE_class32): Likewise.
1421 Reported by HJ Lu.
1422
7d25696a
RM
14231998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1424
1425 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1426 _HURD_THREADVAR_DL_ERROR.
1427
1428 * hurd/Makefile (user-interfaces): Add login, password.
1429
1430 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
1431
37eb58de
RM
14321998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
1433
1434 [submitted 1998-08-06]
1435 * mach/Machrules: Create target directory and force re-evaluation
1436 of Makefile to prevent `make' from optimizing away most of the
1437 implicit rules and `vpath' directives.
1438
7434cee2
RM
14391998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1440
37eb58de
RM
1441 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
1442 is null, short-circuit to __mach_msg.
1443
a13d5ca5
RM
1444 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
1445 broken out of init1.
1446 (init1) [PIC]: Call it.
1447 (__libc_init_first) [! PIC]: Call it.
1448
7434cee2
RM
1449 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
1450 __libc_init_secure. Instead set __libc_enable_secure here from
1451 the exec flags.
1452 (__libc_enable_secure): New variable it.
1453 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
1454
3f804c95
RM
14551998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1456
1457 * nscd/nscd-client.h: New file, broken out of "nscd.h".
1458 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
1459 and #include that.
1460 * nscd/Makefile (distribute): Add nscd-client.h.
1461 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
1462 Include "nscd-client.h" instead of "nscd.h"
1463
67479a70
UD
14641998-10-18 Ulrich Drepper <drepper@cygnus.com>
1465
74f7e7c0
UD
1466 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
1467 directory entries when a lstat call fails.
1468 Patch by Colin Plumb <colin@nyx.net>.
1469
67479a70
UD
1470 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
1471 NSS functions.
1472 * resolv/nss_dns/dns-network.c: Likewise.
1473
9bbe7c3b 1474 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
1475 have-thread-library to determine whether threads are available.
1476 * pwd/Makefile: Remove wrong comment.
1477
1478 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
1479 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
1480
1481 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
1482
1483 * nss/Versions: Add __nss_hosts_lookup.
1484
1485 * nss/getXXbyYY.c: Remove unneeded assignment.
1486
1487 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
1488
1489 Almost complete rewrite of the NSCD to make it smaller, faster,
1490 add more functionnality and make it easier to extend.
1491 * nscd/Makfile (routines): Add nscd_gethst_r.
1492 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
1493 * nscd/cache.c: New file.
1494 * nscd/gethstbyad_r.c: New file.
1495 * nscd/gethstbynm2_r.c: New file.
1496 * nscd/hstcache.c: New file.
1497 * nscd/nscd_gethst_r.c: New file.
1498 * nscd/connections.c: Rewritten. Don't start new thread for every
1499 new connection. Use a fixed set of threads which handle all
1500 connections and also the cache cleanup.
1501 * nscd/grpcache.c: Rewritten to use generic cache handling functions
1502 in cache.c.
1503 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
1504 for rewrite. Remove handle_requests function.
1505 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
1506 Define new data structure for the new unified cache and the host
1507 database entries.
1508 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
1509 databases easily. Recognize check-files and threads definitions.
1510 * nscd/nscd.conf: Add definition of enable-cache and check-files to
1511 passwd and group definitions. Add new set of definitions for hosts.
1512 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
1513 * nscd/nscd_getpw_r.c: Likewise.
1514 * nscd/nscd_proto.h: Add prototype for host database functions.
1515 * nscd/nscd_stat.c: Rewrite to simplify printing of information
1516 for many databases.
1517 * nscd/dbg_log.c: Remove unnecessary variable initializations.
1518 Global variable debug_flag is renamed to dbg_level.
1519 * nscd/dbg_log.h: Declare set_logfile.
1520
6cde0c60
UD
15211998-10-16 Ulrich Drepper <drepper@cygnus.com>
1522
1523 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
1524 O_LARGEFILE back.
1525
c7a9f249
UD
15261998-10-16 Paul Eggert <eggert@shade.twinsun.com>
1527
1528 * time/mktime.c: Some systems require <unistd.h> to be
1529 included before <time.h> for localtime_r to be declared
1530 properly.
1531 * time/strftime.c: Likewise.
1532
9ffbb612
UD
15331998-10-16 Ulrich Drepper <drepper@cygnus.com>
1534
0049f576
UD
1535 * db/Makefile: Add rule to generate shared object with the soname
1536 from glibc 2.0.
1537
9ffbb612
UD
1538 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
1539 available double check to verify it's a directory.
1540
1541 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
1542 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
1543 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
1544 are not generally available.
1545 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
1546
1547 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
1548 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
1549 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
1550 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
1551 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
1552 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
1553 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
1554 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
1555 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
1556 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
1557 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
1558 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
1559 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
1560 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
1561 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
1562 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
1563 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
1564 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
1565 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
1566 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
1567 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
1568 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
1569 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
1570 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
1571 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
1572 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
1573 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
1574 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
1575 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
1576 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1577 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1578 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
1579 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
1580 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
1581 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1582 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
1583 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
1584 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
1585
1586 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
1587 s_setresgid, and s_setuid.
1588 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1589 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1590 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1591 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1592 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
1593 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1594 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1595
39e4f7f8
UD
15961998-10-16 Ulrich Drepper <drepper@cygnus.com>
1597
1598 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
1599 localtime_t declaration on some systems.
1600
c66dbe00
UD
16011998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
1602
1603 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
1604 -DSTATIC_GCONV.
9ffbb612 1605 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
1606 defined. Avoid using DL_CLL_FCT if it is not defined.
1607
16081998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1609
1610 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
1611 Include endian.h unconditionally. Remove portability goop
1612 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1613
16141998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1615
1616 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
1617
909927d2
UD
16181998-10-15 Ulrich Drepper <drepper@cygnus.com>
1619
1620 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
1621 again. Use char[44] to define size of the struct.
1622
a9e73d40
UD
1623 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
1624
fcab9698 16251998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 1626
fcab9698
UD
1627 * string/bits/string2.h (strcmp): Don't cache the result of
1628 __builtin_constant_p in variables, otherwise constant folding
1629 can fail in big functions.
c66dbe00 1630
fcab9698 16311998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 1632
fcab9698
UD
1633 * string/bits/string2.h: Add prototypes for the new inline
1634 functions.
c66dbe00 1635
7edb4c25
UD
16361998-10-15 Ulrich Drepper <drepper@cygnus.com>
1637
1638 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
1639 have all types defined.
1640 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
1641
fcab9698 16421998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 1643
fcab9698
UD
1644 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
1645 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
1646 a body that merely expands localtime_r; this works around a
1647 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
1648
16491998-10-14 Ulrich Drepper <drepper@cygnus.com>
1650
1651 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
1652 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
1653 __ioctl to __syscall_ioctl and include Linux version of this file.
1654 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
1655 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
1656 ioctl calls which handle struct termios.
1657 Based on a patch by Dan Jacobowitz <drow@false.org>.
1658
8583916e
UD
16591998-10-14 Ulrich Drepper <drepper@cygnus.com>
1660
1661 * version.h (VERSION): Bump to 2.0.98.
1662
6f100d04
UD
1663 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
1664 here instead of including kernel_termios.h.
1665
fcab9698 16661998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 1667
fcab9698
UD
1668 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
1669 unnecessary after the changes of 1998-10-12.
c66dbe00 1670
99e46354
UD
16711998-10-13 Ulrich Drepper <drepper@cygnus.com>
1672
6c5a700e
UD
1673 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
1674 parameter format string.
1675 (inline_outw): Likewise.
1676
99e46354
UD
1677 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
1678 string.h to get memcpy prototype and NULL definition.
1679
16801998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1681
1682 * misc/sys/cdefs.h (__THROW): New macro.
1683 * argp/argp.h: Use it to replace the kludgey __P in inline
1684 function definitions.
1685 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1686 * stdlib/stdlib.h: Likewise.
1687 * wcsmbs/wchar.h: Likewise.
1688 * libio/stdio.h: Likewise.
1689 * stdio/stdio.h: Likewise.
1690 * sysdeps/wordsize-64/inttypes.h: Likewise.
1691 * sysdeps/wordsize-32/inttypes.h: Likewise.
1692 * string/argz.h: Likewise.
1693 * io/sys/stat.h: Likewise.
1694
16951998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1696
1697 * Rules (stdio_lim): New variable.
1698 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1699 on Rules and config.make, use $(move-if-change) to avoid unnessary
1700 recompilations, and cleanup command.
1701 (common-generated): Add bits/stdio_lim.st.
1702
1622fda9
UD
17031998-10-12 Ulrich Drepper <drepper@cygnus.com>
1704
1705 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1706 variable to prevent warnings from use of modern CPU instructions.
1707 Patch by Richard Henderson <rth@cygnus.com>.
1708
1709 * sysdeps/unix/opendir.c: Test whether NAME is directory before
1710 opening it.
1711
17121998-10-12 Philip Blundell <pb@nexus.co.uk>
1713
1714 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1715 semicolon so that profiling works.
1716
4875f665
RM
17171998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1718
1719 * sysdeps/generic/glob.c: #undef mempcpy before #define.
1720
1721 * sysdeps/unix/bsd/clock.c: Use prototype defns.
1722
431f91ba
UD
17231998-10-11 Ulrich Drepper <drepper@cygnus.com>
1724
1725 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1726 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1727
1728 * string/bits/string2.h [!_STRING_ARCH_unaligned]
1729 (__mempcpy_small): Add parameter for 1 byte copy and use it.
1730 Reported by Geoff Keating <geoffk@ozemail.com.au>.
1731
027acb51
UD
17321998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
1733
1734 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1735 it is already defined in <bits/environments.h>.
1736
9a29bc37
UD
17371998-10-09 Ulrich Drepper <drepper@cygnus.com>
1738
1739 * posix/ptestcases.h: Fix typo.
1740
17411998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1742
1743 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1744 (regexec): Allocate regs.start and regs.end as one block.
1745
17461998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1747
1748 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1749 enum decl.
1750
17511998-10-08 Philip Blundell <pb@nexus.co.uk>
1752
1753 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1754 sigcontext union to ...
1755 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1756 file.
1757 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1758 version 2.0 kernels.
1759
9ea350a4
UD
17601998-10-08 Ulrich Drepper <drepper@cygnus.com>
1761
8261bc4b
UD
1762 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1763 reallocation case.
1764
16e866fa 1765 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 1766 * argp/argp-xinl.c: Likewise.
16e866fa 1767
9ea350a4
UD
1768 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1769 Ruffian entry back.
1770 Patch by Christian Gafton.
1771
25b3b17b
UD
17721998-10-08 Paul Eggert <eggert@twinsun.com>
1773
1774 * time/mktime.c (__mktime_internal): When the requested time falls
1775 in a spring-forward gap of size DT, return a time that is DT away
1776 from the requested time, preferring a time whose tm_isdst differs
1777 from the requested value. Bump the max number of probes from 4 to
1778 6 to account for the extra probes needed to discover a
1779 spring-forward gap in the worst case.
1780
17811998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1782
1783 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1784 of the weird alpha architectures.
1785 Patch by Cristian Gafton <gafton@redhat.com>.
1786
17871998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1788
1789 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1790 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1791
604510f7
UD
17921998-10-07 Ulrich Drepper <drepper@cygnus.com>
1793
1794 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1795 (dl_open_worker): Use realloc, not malloc to resize array.
1796 * elf/rtld.c (_dl_initial_searchlist): New variable.
1797 (_dl_main): Copy content of _dl_main_searchlist to
1798 _dl_initial_searchlist.
1799 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1800 _dl_global_scope_alloc.
1801 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1802 * elf/dl-close.c (_dl_close): When removing object with global
1803 scope remove allocated searchlist if no dynamically loaded object
1804 is on it anymore.
1805 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1806 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1807
1808 * malloc/mtrace.c (tr_where): Don't print space in location string,
1809 print it afterwards. Print better symbol name information.
1810
0163d97b
UD
18111998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1812
1813 * manual/filesys.texi (Setting Permissions): Fix example for
1814 reading umask.
1815
18161998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1817
1818 * elf/sprof.c (load_profdata): Fix typo in error message.
1819
c0de721b
AS
18201998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1821
1822 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1823 flag.
1824
442dc326
RM
18251998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1826
1827 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1828
d53427c8
UD
18291998-10-06 Ulrich Drepper <drepper@cygnus.com>
1830
1831 * version.h (VERSION): Bump to 2.0.97.
1832
acdf1251
UD
18331998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1834
1835 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1836 in definitions of inline stat functions so that they match the
1837 declaration.
1838 * stdlib/stdlib.h: Likewise.
1839 * wcsmbs/wchar.h: Likewise.
1840 * libio/stdio.h: Likewise.
1841 * stdio/stdio.h: Likewise.
1842 * sysdeps/wordsize-64/inttypes.h: Likewise.
1843 * sysdeps/wordsize-32/inttypes.h: Likewise.
1844 * string/argz.h: Likewise.
1845 * argp/argp.h: Likewise.
1846
3cb07217
UD
18471998-10-06 Ulrich Drepper <drepper@cygnus.com>
1848
1849 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1850 netinet/in.h.
1851
c10bb795
UD
18521998-10-05 Philip Blundell <philb@gnu.org>
1853
1854 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1855 and constants. Tidy up formatting a little.
1856
1857 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1858 Move definitions to in.h.
1859
8325d82c
UD
18601998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1861
1862 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1863 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1864 Remove inclusion of <linux/swap.h>.
1865
18661998-10-05 Ulrich Drepper <drepper@cygnus.com>
1867
1868 * io/sys/stat.h: Use __P in definitions of inline stat functions
1869 so that they match the declaration.
1870
18711998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1872
1873 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1874
18751998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1876
1877 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1878 linux 2.1 version.
1879
18801998-10-02 Philip Blundell <pb@nexus.co.uk>
1881
1882 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1883
1884 * sysdeps/arm/bits/huge_val.h: New file.
1885
18861998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1887
1888 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1889
1890 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1891 define.
1892
18931998-10-05 Ulrich Drepper <drepper@cygnus.com>
1894
1895 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1896 store result of realloc instead of using BUF.
1897
18981998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1899
1900 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1901 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1902
19031998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1904
1905 * manual/memory.texi (Obstacks): Document
1906 obstack_alloc_failed_handler usage.
1907
1908 * malloc/obstack.h: Enhance comment about
1909 obstack_alloc_failed_handler usage.
1910 * malloc/obstack.c: Likewise.
1911
19121998-10-05 Ulrich Drepper <drepper@cygnus.com>
1913
1914 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1915 gcc before 2.8 is used.
1916
19171998-10-01 Philip Blundell <pb@nexus.co.uk>
1918
1919 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1920 from Scott Bambrough.
1921
1922 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1923
1924 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1925 include the lock member.
1926
19271998-09-03 Philip Blundell <pb@nexus.co.uk>
1928
1929 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1930
e3e4e463
UD
19311998-10-01 Ulrich Drepper <drepper@cygnus.com>
1932
1933 * timezone/zic.c: Update from tzcode1998h.
1934 * timezone/europe: Update from tzdata1998i.
1935 * timezone/southamerica: Likewise.
1936
7782d0bf
UD
1937 * sys/types.h: Protect use of long long by __extension__.
1938 * stdlib/stdlib.h: Likewise.
1939 * string/string.h: Likewise.
1940 * sysdeps/i386/bits/byteswap.h: Likewise.
1941 * sysdeps/geeric/bits/byteswap.h: Likewise.
1942 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1943 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1944 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1945 * sysdeps/wordsize-32/inttypes.h: Likewise.
1946 * sysdeps/wordsize-32/stdint.h: Likewise.
1947 * wcsmbs/wchar.h: Likewise.
1948
8325d82c
UD
19491998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1950
1951 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1952 expression.
1953 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1954 __strsep): Greatly reduce size of expansion by combining common
1955 expressions.
1956 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1957 inline function.
1958 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1959 by the above definitions.
1960
19611998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1962
1963 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1964 correct struct ipc_perm definition.
1965
19661998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1967
1968 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1969
999b2f6b
UD
19701998-09-29 Cristian Gafton <gafton@redhat.com>
1971
8325d82c
UD
1972 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1973 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
1974 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1975 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1976 Add net/if_shaper.h.
1977
87052ab7
UD
19781998-09-29 Ulrich Drepper <drepper@cygnus.com>
1979
cf26217d
UD
1980 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1981
87052ab7
UD
1982 * nis/ypclnt.c: Remove not needed close calls.
1983
6ff5bc68
UD
19841998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1985
1986 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1987 check a bit. Also close socket of domain client. Close socket
1988 in IPPORT_RESERVED error case.
1989
19901998-09-28 Ulrich Drepper <drepper@cygnus.com>
1991
1992 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1993 CMSG_ALIGN (fixes a bug) and correct test for availability of
1994 another entry.
1995 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1996 Linux version.
1997 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1998 availability of another entry.
1999 Patch by ak@muc.de.
2000
2001 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
2002 Patch by ak@muc.de.
2003
999b2f6b
UD
2004 * libio/libio.h [!__STDC__]: Define const only if not defined.
2005
6ff5bc68
UD
20061998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2007
2008 * posix/annexc.c (xsystem): New function. Use it instead of
2009 system.
2010
20111998-09-28 Ulrich Drepper <drepper@cygnus.com>
2012
2013 * stdlib/longlong.h: Remove #endif for #if removed in last change.
2014
e07a51b5
UD
20151998-09-25 Ulrich Drepper <drepper@cygnus.com>
2016
2017 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
2018 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
2019 allow using `ut' parameter.
2020 [!emacs]: Define ut_argument, ut_argument_spec, and
2021 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
2022 argument_spec to prototypes and definitions.
2023 (my_strftime): Don't call tzset of ut != 0.
2024 Compute diff as 0 is ut != 0;
2025 [emacs]: Define new emacs_strftime function.
2026 Based on a patch by Paul Eggert.
2027
20281998-09-24 Paul Eggert <eggert@twinsun.com>
2029
2030 * time/strftime.c (my_strftime): When asking for the length of the
2031 subformatted buffer, do not limit the length to look for;
2032 otherwise, we have no reliable way to distinguish between the
2033 empty buffer and an error.
2034
390a4882
UD
20351998-09-25 Ulrich Drepper <drepper@cygnus.com>
2036
2037 * math/Makefile (gmp-objs): Add mp_clz_tab.
2038
20391998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
2040
2041 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
2042 set them.
2043 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
2044 cpus lacking hardware multiply and divide.
2045
20461998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2047
2048 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
2049 $(<F), not $(^F).
2050
20511998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2052
2053 * db/btree/bt_delete.c: Fix -Wparentheses warning.
2054
20551998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2056
2057 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
2058 $(do-install).
2059
e503270c
UD
20601998-09-24 Ulrich Drepper <drepper@cygnus.com>
2061
e07a51b5 2062 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
2063
20641998-09-24 Paul Eggert <eggert@twinsun.com>
2065
390a4882 2066 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
2067 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
2068 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
2069 1998-09-11 fix to this case.
2070 (wkday_len, month_len): Remove these macros; they're no longer needed.
2071
20721998-09-24 Paul Eggert <eggert@twinsun.com>
2073
390a4882 2074 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
2075 zero-sized buffer.
2076
3465c0ce
UD
20771998-09-24 Paul Eggert <eggert@twinsun.com>
2078
e503270c 2079 * time/strftime.c (underlying_strftime):
3465c0ce
UD
2080 Set the buffer to a nonzero value before calling
2081 strftime, and check to see whether strftime has set the buffer to zero.
2082 This lets us distinguish between an empty buffer and an error.
2083
20841998-09-24 Paul Eggert <eggert@shade.twinsun.com>
2085
e503270c 2086 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
2087 This fix is propagated from tzcode1998g.tar.gz.
2088
7a3bfc4e
UD
20891998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
2090
2091 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
2092 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
2093 sys_siglist. This is handled correctly by the weak_alias macro.
2094
369b1933
UD
20951998-09-24 Ulrich Drepper <drepper@cygnus.com>
2096
50a1b837
UD
2097 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
2098 of mempcpy. Reported by Andreas Jaeger.
2099
369b1933
UD
2100 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
2101 pollute the namespace since the compiler will resolve it inline.
2102 Reported by Florian La Roche <florian@suse.de>.
2103
2b79b6d5
UD
21041998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
2105
2106 * timezone/private.h: Update from tzcode1998g.
2107
2108 * timezone/africa: Update from tzdata1998h.
2109 * timezone/asia: Likewise.
2110 * timezone/australasia: Likewise.
2111 * timezone/europe: Likewise.
2112 * timezone/northamerica: Likewise.
2113 * timezone/southamerica: Likewise.
2114 * timezone/zone.tab: Likewise.
2115
3d42e04d
UD
21161998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2117
2118 * misc/sys/mman.h: New file.
2119
2120 * sysdeps/generic/bits/mman.h: New file.
2121 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
2122 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
2123 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
2124 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
2125
2126 * sysdeps/generic/sys/mman.h: Removed.
2127 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
2128 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
2129 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
2130 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
2131 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
2132
2133 * include/sys/mman.h: Look directly for misc/sys/mman.h.
2134 * misc/Makefile (headers): Add bits/mman.h.
2135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2136 bits/mman.h.
2137
2138 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
2139 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2140 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2141 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2142 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2143 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2144 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2145 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
2146
21471998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2148
2149 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
2150 * sysdeps/mach/alpha/thread_state.h: Likewise.
2151 * sysdeps/mach/i386/sysdep.h: Likewise.
2152 * sysdeps/mach/i386/thread_state.h: Likewise.
2153 * sysdeps/mach/mips/sysdep.h: Likewise.
2154 * sysdeps/mach/mips/thread_state.h: Likewise.
2155 * sysdeps/posix/profil.c: Likewise.
2156 * sysdeps/i386/i586/memcopy.h: Likewise.
2157 * sysdeps/mach/pagecopy.h: Likewise.
2158
a379e56a
UD
21591998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
2160
2161 * libio/stdio.h: Define __need_getopt and include getopt.h to define
2162 getopt stuff.
2163 * posix/unistd.h: Likewise.
2164 * stdio/stdio.h: Likewise.
2165 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
2166 define only getopt and the variables.
2167
34a4b66d
UD
21681998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2169
2170 * scripts/test-installation.pl (installation_problem): Don't link
2171 the test program against libdb1.
2172
24fd4cc4
UD
21731998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
2174
2175 * Makeconfig (all-subdirs): Add db.
2176 * Versions.def: Add definition for libdb1.
2177 * shlib-versions: Add definitions for libdb1.
2178 * db/Makefile (extra-libs): Replace by libdb1.
2179 (libdb-routines): Rename to libdb1-routines.
2180 (headers): Rename to db1-headers.
2181 (distribute): Add $(db1-headers).
2182 (install-others): Define to install symlink libdb.so.NN and the
2183 $(db1-headers).
a379e56a 2184 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
2185 Remove rules to build makedb.
2186 * db/Versions: Rename libdb to libdb1.
2187 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 2188 * db/makedb.c: Removed.
24fd4cc4
UD
2189
2190 * scripts/versions.awk: Recognize digits in library names.
2191
2192 * db/btree/bt_open.c: Fix compiler warnings.
2193 * db/btree/bt_put.c: Likewise.
2194 * db/btree/bt_split.c: Likewise.
2195 * db/hash/hash.c: Likewise.
2196 * db/hash/hash_bigkey.c: Likewise.
2197 * db/recno/rec_close.c: Likewise.
2198
af564203
UD
2199 * Makefile: Add localedata/% goal.
2200
c94a8080
UD
22011998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2202
2203 * posix/execvp.c: Don't give up searching the PATH if execve
2204 returns ENOTDIR.
2205
22061998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
2207
2208 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
2209 if _dl_fpu_control_set is set.
2210 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
2211 * elf/rtld.c: Don't define _dl_fpu_control_set.
2212 * elf/Versions: Remove _dl_fpu_control_set.
2213
22141998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
2215
2216 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
2217 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2218 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2219 Correct values of other SA_* macros according to kernel headers.
2220
22211998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2222
2223 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
2224 variable l.
2225 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
2226 old.
2227
22281998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2229
2230 * elf/ldsodefs.h: Fix typo in comment.
2231
22321998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2233
2234 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
2235 char when comparing buffer contents with putback character.
2236
22371998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2238
2239 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
2240 Undo last change.
2241 * elf/Versions: Undo last change. Export _dl_fpu_control and
2242 _dl_fpu_control_set.
2243 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
2244 variables. Include <fpu_control.h>.
2245 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
2246 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
2247 to indicate that is was seen.
2248 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
2249 only if _dl_fpu_control was set and is equal to desired value.
2250 * math/Makefile (aux): Undo last change.
2251 * math/Versions: Export __fpu_control with version GLIBC_2.0.
2252
f74e8ed1
AS
22531998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2254
2255 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
2256 optimized.
2257
e7c5513d
UD
22581998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
2259
2260 * string/bits/string2.h: Add mempcpy optimization.
2261 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
2262 * intl/localealias.c: Define mempcpy only if not already defined.
2263
2264 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
2265 defined.
2266
22671998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2268
2269 * csu/abi-note.S: Emit the note directly instead of defining
2270 a preprocessor macro that's only used once. Don't include sysdep.h.
2271 * abi-tags: Generalize Solaris entry.
2272
22731998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2274
2275 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
2276 Change to array to avoid runtime relocation.
2277 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
2278
22791998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2280
2281 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
2282 * math/Makefile ($(objpfx)libieee.a): Likewise.
2283
22841998-09-21 Ulrich Drepper <drepper@cygnus.com>
2285
2286 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
2287 Patch by John Tobey <jtobey@banta-im.com>.
2288
b0fd6165
UD
22891998-09-20 Ulrich Drepper <drepper@cygnus.com>
2290
2291 * login/Makefile (distribute): Remove pty-internal.h, add
2292 pty-private.h.
1391f5d3
UD
2293
2294 * stdlib/tst-strtol.c: Add more checks.
2295 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2296
a0780919
UD
22971998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
2298
2299 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
2300 * elf/elf.h: Add AT_FPUCW.
2301 * elf/Makefile (dl-routines): Add fpu_control.
2302 (elide-routines.os): Add fpu_control.
2303 (rtld-routines): Add fpu_control.
2304 * math/Makefile (aux): Remove fpu_control.
2305 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
2306 (_dl_show_auxv): Likewise.
2307 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
2308 if different from OS default.
2309
2310 * stdio-common/tstscanf.c: Add test case for (nil).
2311
00bc5db0
UD
23121998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
2313
2314 * libio/fileops.c (_IO_new_file_underflow): Before allocating
2315 buffer make sure the pushback buffer is destroyed.
2316 (_IO_new_file_seekoff): Likewise.
2317 If mode==0 quit early with the result.
2318 Clear OEF flag after successful fseek.
2319 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
2320 * libio/ftello.c (ftello): Add offset from original buffer if
2321 stream has pushed back characters.
2322 * libio/ftello64.c (ftello64): Likewise.
2323 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
2324 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
2325 * libio/ioftell.c (_IO_ftell): Likewise.
2326 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
2327 and _IO_save_ptr.
2328 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
2329 (_IO_default_pbackfail): Only stored push back character in original
2330 buffer if it is the same as the one in the file at this position.
2331 * libio/iofclose.c: Free backup buffer if one is available.
2332 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
2333 mode!=0.
2334
2335 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
2336
2337 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
2338
c53a89d4
UD
2339 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
2340
00bc5db0
UD
23411998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
2342
2343 * login/programs/pt_chown.c (more_help): Correct message that
2344 describes the purpose of the program.
2345
2346 * login/openpty.c: Do not include pty-private.h.
2347 (pts_name): New function. Return name of slave pseudo terminal in
2348 an allocated buffer if necessary.
2349 (openpty): Use pts_name to get name of the slave end of the pseudo
2350 terminal pair.
2351
2352 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
2353 pts_name before return.
2354
23551998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
2356
2357 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
2358
88263bc9
UD
23591998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2360
2361 * login/openpty.c: Include pty-private.h instead of
2362 pty-internal.h.
2363
872ea854
UD
23641998-09-09 Philip Blundell <pb@nexus.co.uk>
2365
2366 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
2367
23681998-09-07 Philip Blundell <pb@nexus.co.uk>
2369
2370 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
2371 recent ld.so changes.
2372 (elf_machine_runtime_setup): Correct behaviour when profiling.
2373
9b3c7c3c
UD
23741998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
2375
2376 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
2377 Patch by John Tobey <jtobey@banta-im.com>.
2378
23791998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
2380
2381 * login/pty-internal.h: Removed. Moved constants related to the
2382 `grantpt' helper program protocol to ...
2383 * login/pty-private.h: ... here. New file.
2384 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
2385 to make the function work with kernels >= 2.1.115.
2386 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
2387 version if using the cloning device fails.
2388 * sysdeps/unix/sysv/linux/grantpt.c: New file.
2389 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
2390 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
2391 use by Linux specific code.
2392 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
2393 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
2394 function. (grantpt): Use pts_name, check group and permission
2395 mode in addition to owner. Try to set the owner, group and
2396 permission mode first without invoking the helper program.
2397 * login/programs/pt_chown.c: Largely rewritten. Add argp and
2398 internationalization support. Use symbolic constants instead of
2399 hardwired numbers for permission mode.
2400 * sysdeps/unix/bsd/ptsname.c: New file.
2401
24021998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
2403
2404 * posix/wordexp-test.c: Undo last change.
2405
2406 * posix/wordexp.c: Undo last change.
2407
d8f2b9ea
UD
24081998-09-16 Ulrich Drepper <drepper@cygnus.com>
2409
2410 * nscd/grpcache.c (save_grp): Partly undo last change.
2411
2412 * nscd/pwdcache.c (save_pwd): Undo last change.
2413
9c4c0024
UD
24141998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2415
2416 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
2417 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
2418
24191998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
2420
2421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2422 Add profiling support.
2423 (TRAMPOLINE_TEMPLATE): New macro.
2424 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2425 (RTLD_START): Prettify, and set __libc_stack_end properly.
2426 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
2427 and check for sym being NULL instead.
2428 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
2429 of stack space.
2430 * sysdeps/sparc/sparc64/lshift.S: Likewise.
2431 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
2432 * sysdeps/sparc/sparc64/rshift.S: Likewise.
2433 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
2434 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
2435 MEDANY code model %g4 usage.
2436 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
2437 MEDANY code model %g4 usage.
2438 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
2439 code model address formation.
2440 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
2441 include elf/ldsodefs.h
2442 (DT_SPARC): Remove.
2443 (elf_machine_matches_host): It is now EM_SPARCV9.
2444 (elf_machine_dynamic): Clean up to remove ugly cast.
2445 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
2446 new PLT formats.
2447 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
2448 Prettify rest of function.
2449 [R_SPARC_COPY]: Check for sym being NULL.
2450 [R_SPARC_32]: Handle it.
2451 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
2452 MEDMID code model.
2453 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
2454 MEDANY code model.
2455 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
2456 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
2457 Add profiling support.
2458 (TRAMPOLINE_TEMPLATE): New macro.
2459 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2460 (RTLD_START): Prettify and set __libc_stack_end.
2461 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
2462 Define.
2463 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
2464 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
2465 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
2466 unused variable scratch.
2467 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2468 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
2469 Declare.
2470 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
2471 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
2472 old format kernel sigaction structures.
2473 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
2474 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
2475 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
2476 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
2477 ucontext include.
2478 (_JMPBUF_UNWINDS): Define.
2479 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
2480 statfs64 structure, which is exactly the same as the normal one.
2481 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
2482 of stack. Use correct syscall trap number. Add branch prediction
2483 settings to branch instructions. Remove old MEDANY code model %g4
2484 referneces for non-PIC.
2485 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2486 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2487 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
2488 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2489 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2490 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
2491 __libc_longjmp and __libc_siglongjmp strong aliases.
2492 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
2493 Also define to __no__readdir64_decl around readdir.c inclusion.
2494 (__readdir64): Add strong alias.
2495 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
2496 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
2497 Set strong and weak names properly.
2498
24991998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2500
2501 * manual/Makefile (AWK): Default to gawk if standalone.
2502
25031998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2504
2505 * Makefile (distribute): Undo last change.
2506 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
2507 for sysdep headers.
2508 (+subdir-headers): Removed, unused.
2509
25101998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2511
2512 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
2513 $(do-install).
2514
25151998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2516
2517 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
2518 absolute name in $(config-sysdirs), can never happen.
2519 ($(+sysdir_pfx)sysd-rules): Likewise.
2520 * Makeconfig (full-config-sysdirs): Likewise.
2521 (all-Subdirs-files): Prepend $(..).
2522
2523 * configure.in: Don't check for absolute name in $add_ons_pfx, can
2524 not happen. Let --enable-add-ons=yes work if no add-ons actually
2525 exist.
2526
25271998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2528
2529 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
2530 continuations in command.
2531
25321998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2533
2534 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
2535
a8125d85
UD
25361998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
2537
2538 * posix/wordexp-test.c: If expansion or substitution occurs
2539 anywhere in a word, the entire word is subject to field-splitting.
2540
2541 * posix/wordexp.c (parse_glob): Look for end of word instead of
2542 end of field when deciding what to glob.
2543 (field_split_word): New function, now the only place where
2544 field-splitting is performed.
2545 (parse_dollars): New parameter - tell the caller if
2546 field-splitting should be performed on this word.
2547
2548 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
2549 succeeded (or failed with WRDE_NOSPACE).
2550
25511998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
2552
2553 * posix/wordexp.c (wordexp): Don't convert IFS characters to
2554 blanks.
2555
2556 * posix/wordexp-test.c: Words not the result of expansion or
2557 substitution should remain unchanged.
2558
aa2bc6a3
UD
25591998-09-15 Ulrich Drepper <drepper@cygnus.com>
2560
2561 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
2562 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
2563
3a60301a
UD
25641998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2565
2566 * stdio-common/Makefile: Include Makeconfig so that
2567 $(inst_includedir) is defined.
2568
77f0d179
UD
25691998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2570
2571 * io/pwd.c: Include <mcheck.h>.
2572
6beaac4d
UD
25731998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
2574
2575 * nscd/pwdcache.c (save_pwd): Correct copying.
2576 * nscd/grpcache.c (save_grp): Likewise.
2577
0ff0d59e
UD
25781998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
2579
2580 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
2581 (free_pwd): Adjust for this change.
2582 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
2583 (free_grp): Adjust for this change.
2584
d3f8acb3
UD
25851998-09-14 Ulrich Drepper <drepper@cygnus.com>
2586
2587 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
2588
14eb5d5d
UD
25891998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
2590
2591 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
2592 (install-others): Add bits/stdio_lim.h.
2593 Add rule to install bits/stdio_lim.h.
2594
2595 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
2596
2597 * Makefile (distribute): Add include/sys/mman.h.
2598
2599 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
2600 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
2601 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
2602
0a1590ba
UD
2603 * grp/initgroups.c: Include stdlib.h.
2604 Patch by Zack Weinberg.
2605
1ffaaca2
UD
26061998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
2607
2608 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
2609 for field-splitting :abc: is correct, and that two fields should
2610 result. Revert tests to reflect this.
2611
2612 * posix/wordexp.c (w_emptyword): Remove function.
2613 (exec_comm): Don't use w_emptyword.
2614 (parse_param): Likewise.
2615
4ca020f5
UD
26161998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
2617
2618 * sysdeps/arm/fpu/Dist: Moved to...
2619 * sysdeps/arm/Dist: ...here.
2620 * sysdeps/posix/Dist: Removed.
2621 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
2622 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
2623
f624c216
UD
26241998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2625
2626 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
2627
7ef90c15
UD
26281998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
2629
2630 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
2631
26321998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2633
2634 * libc-work/nis/nss_nisplus/nisplus-service.c
2635 (_nss_nisplus_parse_servent): Convert port in network byte order.
2636
26371998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2638
2639 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
2640 to provide only malloc and calloc.
2641 * include/stdlib.h: Support the above.
2642 * string/bits/string2.h: Use __need_malloc_and_calloc when
2643 including stdlib.h.
2644 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
2645
2646 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
2647 * iconvdata/iso646.c: Include <stdlib.h>.
2648
26491998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2650
2651 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
2652 * sysdeps/libm-ieee754/w_pow.c: Likewise.
2653 * sysdeps/libm-ieee754/w_powf.c: Likewise.
2654 * sysdeps/libm-ieee754/w_powl.c: Likewise.
2655
26561998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2657
2658 * stdio-common/stdio_lim.h.in: New file. All parameters
2659 are adjustable at build time.
2660 * Rules: Add a rule to build bits/stdio_lim.h from
2661 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
2662 all subdirectories know how to make the file. It can't be
2663 in Makerules because then it gets built at top level and the
2664 dependencies are wrong.)
2665
2666 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
2667 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
2668 stdio_lim.h.
2669 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
2670 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
2671 * sysdeps/posix/Makefile: Removed.
2672 * sysdeps/posix/mk-stdiolim.c: Removed.
2673 * sysdeps/generic/bits/stdio_lim.h: Removed.
2674
26751998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2676
2677 * argp/argp-help.c: Fixup indentation.
2678 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
2679 * resolv/nss_dns/dns-network.c: Likewise.
2680 * resolv/res_send.c: Likewise.
2681 * rt/aio_cancel.c: Likewise.
2682 * rt/aio_misc.c: Likewise.
2683
26841998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2685
2686 * Makefile (install-symbolic-link): Remove the link list file at last.
2687 * Makerules (install-clean-symbolic-link-list): Removed.
2688
26891998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2690
2691 * timezone/tst-timezone.c: Print time in UTC to get consistent
2692 output.
2693
26941998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2695
2696 * elf/rtld.c (_dl_rpath): Removed.
2697 * elf/dl-support.c (_dl_path): Removed.
2698 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2699 (CFLAGS-dl-support.c): Removed.
2700
2701 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
2702 uses changed.
2703 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2704 instead of appending it to the main map's rpath info.
2705 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2706 DT_RPATHs. This makes it effective again.
2707 (decompose_rpath): Remove second parameter, callers changed.
2708 (fillin_rpath): Allocate enough space in curwd.
2709 (expand_dynamic_string_token): Cope with get_origin returning -1.
2710
27111998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2712
2713 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2714 passwd.adjunct.
2715
2716 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2717 invalid password.
2718
27191998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2720
2721 * locale/programs/locale.c: Update dates.
2722
5d47ceca
UD
27231998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2724
2725 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
b1fcf686 2726 size_t is defined. Some reordering of definitions to make
5d47ceca
UD
2727 maintaining this file in parallel with the linux-specific file easier.
2728
bd31edf2
UD
27291998-09-13 Ulrich Drepper <drepper@cygnus.com>
2730
2731 * io/pwd.c (main): Add call to mtrace.
2732
2733 * malloc/mtrace.pl: Quote @ in string.
2734
33c3e20e
UD
27351998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2736
2737 * posix/wordexp.c (parse_arith): Fix memory leaks.
2738 (exec_comm): Likewise.
2739 (parse_param): Likewise.
2740 (wordexp): Likewise.
2741 (exec_comm): Reduce number of function return points.
2742 (parse_param): Likewise.
2743 (wordexp): Likewise.
2744
1720f4d0
UD
27451998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2746
2747 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2748 yield three fields, not two. Test both parameter expansion and
2749 command substitution for correct field-splitting behaviour.
2750
2751 * posix/wordexp.c (w_emptyword): New function.
2752 (parse_param): Use it.
2753 (exec_comm): Likewise, for consistency with the way parse_param
2754 splits fields.
2755 (parse_param): Fix some memory leaks.
2756
2d09b95d
UD
27571998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2758
2759 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2760 Don't mark asm `volatile'.
2761 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2762 from the data cache too. Assume it isn't in the instruction cache yet.
2763 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2764
b39c6f8b
UD
27651998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2766
2767 * sysdeps/generic/segfault.c (install_handler): Install signal
2768 handler with SA_ONSTACK instead of setting the stack flags to
2769 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2770 defined.
2771
27721998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2773
2774 * signal/signal.h: Fix multiple inclusion guard to cover the
2775 entire file.
2776 * wcsmbs/wchar.h: Remove prototype of internal function
2777 __mbsrtowcs.
2778 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2779 arithmetic on `void *'.
2780
c06cc21c
UD
27811998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2782
2783 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2784
2785 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2786 field-splitting here.
2787 (wordexp): If out of memory mid-word, free the word (but still
2788 leave pwordexp alone for caller to see).
2789 (parse_param): Allow for zero-length fields (smarter checking of
2790 memory allocation failure).
2791 (w_addword): Convert NULL words to "".
2792 (wordexp): Convert left-over IFS characters to blanks (like bash).
2793
81e0cb2d
UD
27941998-09-11 Ulrich Drepper <drepper@cygnus.com>
2795
350eb336
UD
2796 * configure.in: Use test -f instead of test -e.
2797 Patch by John Tobey <jtobey@banta-im.com>.
2798
2799 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2800 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2801 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2802 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2803 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2804 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2805 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2806 Patches by John Tobey <jtobey@banta-im.com>.
2807
81e0cb2d
UD
2808 * time/strftime.c (my_strftime): Delay use of *tp values until
2809 latest possible point to allow partly initialized structures
2810 (e.g., from strptime).
2811
514d9bca
UD
2812 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2813 and NATS-SEFI.
2814 Define *-routines variables for new modules.
2815 (distribute): Add .c files for new modules.
2816 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2817 and nats-sefi.h.
2818 Add rules for header generation.
2819 * iconvdata/gconv-modules: Add entries for new modules.
2820 * iconvdata/iso_10367-box.c: New file.
2821 * iconvdata/mac-is.c: New file.
2822 * iconvdata/nats-dano.c: New file.
2823 * iconvdata/nats-sefi.c: New file.
2824
81e0cb2d
UD
28251998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2826
2827 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2828 loader if PIC is not defined.
2829
ec04e9ba
UD
28301998-09-11 Ulrich Drepper <drepper@cygnus.com>
2831
2832 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2833 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2834 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2835 and ISO_5428.
2836 Define *-routines variables for new modules.
2837 (distribute): Add .c files for new modules.
2838 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2839 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2840 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2841 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 2842 Add rules for header generation.
ec04e9ba
UD
2843 * iconvdata/gconv-modules: Add entries for new modules.
2844 * iconvdata/csn_369103.c: New file.
2845 * iconvdata/cwi.c: New file.
2846 * iconvdata/dec-mcs.c: New file.
2847 * iconvdata/ecma-cyrillic.c: New file.
2848 * iconvdata/gost_19768-74.c: New file.
2849 * iconvdata/greek-ccitt.c: New file.
2850 * iconvdata/greek7-old.c: New file.
2851 * iconvdata/greek7.c: New file.
2852 * iconvdata/inis-8.c: New file.
2853 * iconvdata/inis-cyrillic.c: New file.
2854 * iconvdata/inis.c: New file.
2855 * iconvdata/iso6937-2.c: New file.
2856 * iconvdata/iso_2033.c: New file.
2857 * iconvdata/iso_5427-ext.c: New file.
2858 * iconvdata/iso_5427.c: New file.
2859 * iconvdata/iso_5428.c: New file.
2860
2861 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2862 entries.
2863 Convert U02dd correctly.
2864
25c849b1
RH
28651998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2866
2867 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2868 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2869 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2870 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2871
04795ad9
UD
28721998-09-11 Ulrich Drepper <drepper@cygnus.com>
2873
2874 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2875 one nameserver correctly. Patch by HJ Lu.
2876
2877 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2878 and ANSI_X3.110.
2879 Define *-routines variables for new modules.
2880 (distribute): Add .c files for new modules.
2881 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2882 Add rules for hedaer generation.
2883 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2884 * iconvdata/ansi_x3.110.c: New file.
2885 * iconvdata/asmo_449.c: New file.
2886 * iconvdata/baltic.c: New file.
2887 * iconvdata/iec_p27-1.c: New file.
2888
2889 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2890 entries.
2891 Convert U02dc correctly.
2892
2893 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2894 * math/atest-exp2.c: Likewise.
2895 * math/atest-sincos.c: Likewise.
2896
2897 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2898 is defined.
2899
29001998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2901
2902 * string/strcoll.c: Optimize a few expressions.
2903 * string/strxfrm.c: Likewise.
2904
5e0889da
UD
29051998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2906
2907 * manual/locale.texi: Fix typos.
2908
2c86b2bc
UD
29091998-09-10 Ulrich Drepper <drepper@cygnus.com>
2910
26afaa63
UD
2911 * stdlib/random_r.c (__setstate_r): Allow call with same state
2912 array as currently used (PR libc/774).
2913
6c79e60c
UD
2914 * include/limits.h: Include gcc's header even if this file is
2915 found more than once before it (PR libc/778)
2916
ec04e9ba
UD
2917 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2918 (sysdep_headers): Remove sys/debugreg.h.
2919 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2920 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
2921 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2922 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2923
2c86b2bc
UD
2924 * stdio-common/tmpnam.c: Move local static variable buf to
2925 toplevel and rename to tmpnam_buffer to ease debugging.
2926 Patch by Joe Keane <jgk@jgk.org>.
2927 Optimize s == NULL case a bit.
2928
8e9f53fc
UD
2929 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2930 correction.
2931
482a3be2
UD
29321998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2933
2934 * resolv/res_init.c (res_init): Initialize _res.nscount and
2935 _res.nsaddr.sin_port differently for the can when no loopback
2936 is available to allow immediate timeout in non-networking environments.
2937 Patch by Cristian Gafton <gafton@redhat.com>.
2938
e8238963
UD
29391998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2940
2941 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2942 BAR and not EM DASH.
2943 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2944 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2945 Fixes PR libc/717.
2946
90865aa8
UD
29471998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2948
2949 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2950 for test.
2951 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2952
2953 * time/tzfile.c (__tzfile_read): Handle case when there are no
2954 transitions. Set __timezone based on computed offset.
2955 * time/tzset.c (tzset_internal): Set __timezone before returning.
2956
2957 * time/tzset.c (tzset_internal): Optimize handling of local string
2958 copy.
2959
29601998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2961
2962 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2963 libc/776).
2964
adac8450
UD
29651998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2966
2967 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2968 (csqrt_test): Likewise.
90865aa8 2969 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 2970
8e140239
UD
29711998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2972
2973 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2974 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2975 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2976
78acf671
UD
29771998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2978
2979 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2980 the special `-1' pointer.
2981
6e4c40ba
UD
29821998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2983
2984 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2985 inline.
2986
29871998-09-07 Paul Eggert <eggert@twinsun.com>
2988
2989 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2990 (_REENTRANT): Remove. It has undesirable consequences in
2991 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2992 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2993 is what we want.
2994 * time/strftime.c: Likewise.
2995
29961998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2997
2998 * elf/dl-error.c: Fix spelling.
2999
30001998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3001
3002 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
3003 * stdio-common/_itoa.c: Likewise.
3004 * stdio-common/printf_fp.c: Likewise.
3005 * stdio-common/vfscanf.c: Likewise.
3006 * wcsmbs/wcstok.c: Likewise.
3007 * sysdeps/generic/glob.c: Likewise.
3008 * posix/getopt.c: Likewise.
3009 * sysdeps/posix/getaddrinfo.c: Likewise.
3010 * posix/wordexp.c: Likewise.
3011 * io/ftw.c: Likewise.
3012 * io/fts.c: Likewise.
3013 * misc/getpass.c: Likewise.
3014 * iconv/gconv_conf.c: Likewise.
3015 * argp/argp-fmtstream.c: Likewise.
3016 * argp/argp-help.c: Likewise.
3017 * elf/dl-load.c: Likewise.
3018 * locale/programs/stringtrans.c: Likewise.
3019 * catgets/gencat.c: Likewise.
3020 * posix/getconf.c: Likewise.
3021 * iconv/gconv_conf.c: Likewise.
3022 * iconv/iconv_prog.c: Likewise.
3023
3024 * string/strcoll.c: Optimize a few expressions.
3025 * string/strxfrm.c: Likewise.
3026
30271998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3028
3029 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
3030 level to avoid uninit variable warning.
3031
30321998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 3033
769ca810 3034 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 3035 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 3036
2aa236b1
AS
3037 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
3038 C9x macro.
3039
8ea4a95a
UD
30401998-09-08 Ulrich Drepper <drepper@cygnus.com>
3041
6e4c40ba 3042 Fix compatibility problems introduced in last change.
dc27836e
UD
3043 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
3044 defined.
3045 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
3046 -DWEAK_GMON_START to CFLAGS-initfini.s.
3047
e4d50917
UD
3048 * elf/dl-object.c (_dl_new_object): Store map address in
3049 _dl_loaded if _dl_loaded is NULL.
87c812c2 3050 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 3051
8ea4a95a
UD
3052 * sysdeps/generic/setrlimit64.c: Remove stub warning.
3053
88c91118
UD
30541998-09-07 Ulrich Drepper <drepper@cygnus.com>
3055
3056 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
3057 quiet.
2c874db2
UD
3058 * db2/btree/bt_cursor.c: Likewise.
3059 * db2/common/db_region.db_c: Likewise.
3060 * db2/common/db_salloc.db_c: Likewise.
3061 * db2/db/db.c: Likewise.
3062 * db2/db/db_rec.c: Likewise.
3063 * db2/hash/hash.c: Likewise.
3064 * db2/hash/hash_page.c: Likewise.
3065 * db2/hash/hash_rec.c: Likewise.
3066 * db2/log/log_findckp.c: Likewise.
3067 * db2/log/log_get.c: Likewise.
3068 * db2/log/log_put.c: Likewise.
3069 * db2/mp/mp_fget.c: Likewise.
3070 * db2/mp/mp_fput.c: Likewise.
3071 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
3072 * stdlib/strtol.c: Likewise.
3073 * string/strcoll.c: Likewise.
3074 * string/strxfrm.c: Likewise.
94b78bb2
UD
3075 * argp/argp-help.c: Likewise.
3076 * argp/argp-parse.c: Likewise.
3121cc04 3077 * resolv/res_debug.c: Likewise.
88c91118 3078
26644e87
UD
30791998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
3080
3081 * math/tgmath.h (scalb): Only define for __USE_MISC or
3082 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
3083
2b33e5b0
UD
30841998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3085
3086 * libio/stdio.h: Fix comment.
3087
3088 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
3089 __USE_ISOC9X.
3090
6796bc80
UD
30911998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3092
3093 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
3094
3095 * elf/dl-open.c: Quiet -Wparentheses warnings.
3096 * iconvdata/johab.c: Likewise.
3097 * iconvdata/uhc.c: Likewise.
3098 * inet/inet_net.c: Likewise.
3099 * io/fts.c: Likewise.
3100 * locale/newlocale.c: Likewise.
3101 * misc/getttyent.c: Likewise.
3102 * misc/mntent_r.c: Likewise.
3103 * misc/ttyslot.c: Likewise.
3104 * nscd/nscd_conf.c: Likewise.
3105 * nss/nsswitch.c: Likewise.
3106 * resolv/gethnamaddr.c: Likewise.
3107 * resolv/nsap_addr.c: Likewise.
3108 * resolv/res_debug.c: Likewise.
3109 * stdio-common/_itoa.c: Likewise.
3110 * stdlib/strtod.c: Likewise.
3111 * string/strverscmp.c: Likewise.
3112 * sunrpc/svc.c: Likewise.
3113 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
3114 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
3115 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
3116 * sysdeps/posix/getaddrinfo.c: Likewise.
3117
baa3334a
UD
31181998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
3119
3120 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
3121 for use of global scope.
3122 * elf/dlvsym.c (dlvsym_doit): Likewise.
3123
31241998-09-02 Paul Eggert <eggert@twinsun.com>
3125
3126 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
3127 copy the redundant bytes at the end of the format as-is; don't
3128 just copy their first byte and then rescan, as that might get
3129 us an encoding error.
3130 Account correctly for the length of multibyte sequences in the
3131 format.
3132
31331998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
3134
3135 * posix/wordexp-test.c: Add tests for different IFS values.
3136 Change unquoted-newline test so that newline is not in IFS.
3137
3138 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
3139 determining IFS characters. Return WRDE_BADCHAR for unquoted
3140 special characters _except_ if they are separators.
3141
31421998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
3143
3144 * include/tgmath.h: New file.
3145
3146 * libio/stdio.h: Correct reversed #ifs.
3147 Patch by Zack Weinberg.
3148
3149 * manual/creature.texi: Better explain reason for feature select
3150 macros.
3151 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3152
31531998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3154
3155 * include/alloca.h: Add multiple-inclusion guard.
3156 * include/db.h: Likewise.
3157 * include/db_185.h: Likewise.
6796bc80 3158 * include/dlfcn.h: Likewise.
baa3334a
UD
3159 * include/fcntl.h: Likewise.
3160 * include/grp.h: Likewise.
3161 * include/libintl.h: Likewise.
3162 * include/mntent.h: Likewise.
3163 * include/pwd.h: Likewise.
3164 * include/sched.h: Likewise.
3165 * include/search.h: Likewise.
3166 * include/setjmp.h: Likewise.
3167 * include/shadow.h: Likewise.
3168 * include/signal.h: Likewise.
3169 * include/stdio.h: Likewise.
3170 * include/stdlib.h: Likewise.
3171 * include/string.h: Likewise.
3172 * include/termios.h: Likewise.
3173 * include/time.h: Likewise.
3174 * include/ulimit.h: Likewise.
3175 * include/utmp.h: Likewise.
3176 * include/wchar.h: Likewise.
3177 * include/sys/file.h: Likewise.
3178 * include/sys/gmon.h: Likewise.
3179 * include/sys/ioctl.h: Likewise.
3180 * include/sys/mman.h: Likewise.
3181 * include/sys/resource.h: Likewise.
3182 * include/sys/select.h: Likewise.
3183 * include/sys/socket.h: Likewise.
3184 * include/sys/statfs.h: Likewise.
3185 * include/sys/time.h: Likewise.
3186 * include/sys/times.h: Likewise.
3187 * include/sys/wait.h: Likewise.
3188
be935610
UD
31891998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
3190
3191 * version.h (VERSION): Bump to 2.0.96.
3192
3193 Rewrite runtime linker to be truly thread-safe. There is now no
3194 global variable specifying the scope. We create all needed
3195 scopes at the time the link maps are created.
3196 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
3197 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
3198 l_symbolic_searchlist, l_scope, and l_local_scope elements in
3199 struct link_map.
3200 * elf/dl-close.c: Rewritten accordingly.
3201 * elf/dl-deps.c: Likewise.
3202 * elf/dl-error.c: Likewise.
3203 * elf/dl-init.c: Likewise.
3204 * elf/dl-load.c: Likewise.
3205 * elf/dl-lookup.c: Likewise.
3206 * elf/dl-object.c: Likewise.
3207 * elf/dl-open.c: Likewise.
3208 * elf/dl-reloc.c: Likewise.
3209 * elf/dl-runtime.c: Likewise.
3210 * elf/dl-support.c: Likewise.
3211 * elf/dl-symbol.c: Likewise.
3212 * elf/dl-version.c: Likewise.
be935610
UD
3213 * elf/dlsym.c: Likewise.
3214 * elf/dlvsym.c: Likewise.
3215 * elf/ldsodefs.h: Likewise.
3216 * elf/rtld.c: Likewise.
3217 * iconv/gconv_dl.c: Likewise.
3218 * nss/nsswitch.c: Likewise.
3219 * sysdeps/i386/dl-machine.h: Likewise.
3220 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3221
6796bc80
UD
3222 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
3223 Define RTLD_DEFAULT.
3224
2b4083dd
RM
32251998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
3226
3227 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
3228 __getopt_clean_environment with __environ instead of envp.
3229
a361203e
RM
32301998-09-05 Roland McGrath <roland@baalperazim.frob.com>
3231
2b4083dd
RM
3232 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
3233
531e4bca
RM
3234 * string/argz-extract.c (__argz_extract): Add de-consting cast for
3235 setting results.
3236
62ee0979 3237 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 3238 * string/argz-next.c (__argz_next): Likewise.
62ee0979 3239
59cacc81
RM
3240 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
3241 Don't add netinet/udp.h, netinet/ip_icmp.h here.
3242 * sysdeps/gnu/Makefile: Do it here instead.
3243 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
3244 * sysdeps/gnu/Dist: ... to here.
3245
a361203e
RM
3246 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
3247 sysdeps/unix/sysv/linux/netinet/tcp.h,
3248 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
3249
29659dd2
RM
32501998-09-04 Roland McGrath <roland@baalperazim.frob.com>
3251
3252 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
3253 * string/argz-next.c, string/argz-extract.c: Fix defns.
3254
1097c603
RM
32551998-09-03 Roland McGrath <roland@baalperazim.frob.com>
3256
3257 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
3258
3259 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
3260 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
3261 * sysdeps/generic/sysd-stdio.c: Likewise.
3262
143e2b96
UD
32631998-09-02 Ulrich Drepper <drepper@cygnus.com>
3264
3265 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
3266 (_dl_map_object_from_fd): Make NAME argument const.
3267 Remove last parameter in _dl_new_object call.
3268 (print_search_path): Correct construction of composed path name.
3269 (_dl_map_object): Prevent looking at RPATH of the main map twice.
3270 Remove last parameter in _dl_new_object call.
3271 * elf/dl-object.c: Remove last parameter. Determine whether create
3272 origin entry based on empty realname. Handle file in root directory
3273 correctly.
3274 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
3275 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
3276 Remove last parameter in _dl_new_object call.
3277 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
3278 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
3279
fc3597c0
UD
32801998-09-01 Ulrich Drepper <drepper@cygnus.com>
3281
4ce636da
UD
3282 * elf/dl-close.c (_dl_close): Add more comments and correct some.
3283 Free l_searchlist and l_dupsearchlist.
3284
fc3597c0
UD
3285 * debug/catchsegv.sh: Add one more pair of quotes.
3286
76156ea1
UD
32871998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
3288
3289 * elf/dl-load.c (add_name_to_object): Change return type to void and
3290 make NAME parameter const. Allocate room for NAME in same memory
3291 block used for l_libname entry.
3292 (_dl_map_object_from_fd): Don't free NAME on failure.
3293 (map_segment): Pass SONAME to add_name_to_object, not a copy.
3294 (_dl_map_object): Don't create copy of NAME. Pass NAME to
3295 _dl_map_object_from_fd.
3296 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
3297 memory block used for l_libname entry.
3298 * elf/dl-close.c: Adjust free()ing for this change.
3299
a8a1269d
UD
33001998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
3301
3302 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
3303
3304 * malloc/mtrace.c: Add bug report address. Update email address.
3305 Add more @XXX@ to print correct address size.
3306
3307 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
3308 really initialized.
3309
3310 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
3311 for munmap call instead of examining phdr again.
3312 Free all malloc()ed strings and arrays.
3313
052b6a6c
UD
33141998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3315
3316 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
3317 dl-machine.h.
3318 * sysdeps/powerpc/dl-machine.c: New file.
3319 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
3320 files. Revise ELF_PREFERRED_ADDRESS to take account of
3321 the new mapping information (fixes bug involving huge bloated
3322 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
3323 * sysdeps/powerpc/dl-start.S: New file.
3324
3325 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
3326 l_map_end.
3327 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
3328 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
3329 others. Call elf_dynamic_do_##reloc only once (to save even more
3330 space).
3331 * elf/link.h: Add new members l_map_start and l_map_end to keep
3332 track of the memory map.
3333 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
3334 the executable.
3335
33361998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
3337
3338 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
3339 Reported by Andreas Jaeger.
3340
3341 * posix/glob.h: Use __size_t instead of size_t in definitions and
3342 make sure this is defined.
3343
85c165be
UD
33441998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
3345
052b6a6c 3346 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
3347 and functionality.
3348 * manual/arith.texi: Correct reference.
3349 * manual/string.texi: Pretty printing.
3350
3351 * manual/texinfo.tex: Update from last available version.
3352
33531998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
3354
3355 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
3356 invalid password.
3357 (_nss_nis_getpwuid_r): Likewise.
3358 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
3359
3360 * inet/rcmd.c: Implement netgroup support.
3361 Patch by Dick Streefland <dick_streefland@tasking.com>.
3362
7afab53d
UD
33631998-08-31 Ulrich Drepper <drepper@cygnus.com>
3364
3365 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
3366 object on the list is removed. Don't use this code for PIC.
3367 Reported by HJ Lu [PR libc/770].
3368
bfce746a
UD
33691998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
3370
3371 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
3372
3373 * include/stdio.h: Add __vsscanf.
3374
3375 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
3376 __USE_ISOC9X.
3377 Remove __vsscanf declaration.
3378 Always declare fgetpos and fsetpos.
3379
3380 * math/math.h: Define isinf as macro.
3381 * math/bits/mathcalls.h: Change to declare __isinf all the time.
3382 Don't declare scalb for ISO C 9x.
3383
3384 * math/tgmath.h: Define fma. Rewrite the underlying macros.
3385
3386 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
3387
3388 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
3389 sys/ucontext.h.
3390
3391 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
3392 macros.
3393
33941998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3395
3396 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
3397 Reported by jreising@frequentis.com [PR libc/767].
3398
33991998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3400
3401 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
3402 fl.l_start at beginning of function.
3403 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
3404
ac72fbb1
UD
34051998-08-31 Ulrich Drepper <drepper@cygnus.com>
3406
3407 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
3408 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
3409
3410 * nscd/nscd.init: Make it work in RedHat systems.
3411 Patch by Christian Gafton.
3412
34131998-08-29 Philip Blundell <philb@gnu.org>
3414
3415 * catgets/Makefile: Don't try to run test programs when
3416 cross-compiling.
3417
34181998-08-31 Ulrich Drepper <drepper@cygnus.com>
3419
3420 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
3421 Reported by Zack Weinberg.
3422
34231998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3424
3425 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
3426 * elf/Makefile (distribute): Remove ldd.sh.in.
3427
34281998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3429
3430 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
3431 variable.
3432
e0d46614
UD
34331998-08-29 Ulrich Drepper <drepper@cygnus.com>
3434
3435 * sysdeps/i386/register-dump.h: Move to ...
3436 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
3437
b0cf070b
UD
34381998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
3439
3440 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
3441 with load address, not map address.
3442 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
3443 parameter and use this value.
3444 * sysdeps/arm/dl-machine.h: Likewise.
3445 * sysdeps/i386/dl-machine.h: Likewise.
3446 * sysdeps/m68k/dl-machine.h: Likewise.
3447 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
3448 parameter.
3449 * sysdeps/powerpc/dl-machine.h: Likewise
3450 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
3451 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
3452
997a4165
UD
34531998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
3454
3455 * elf/rtld.c (process_envvars): Fix copy&paste error.
3456
3457 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
3458 memalign hook.
3459 (realloc_hook_ini): Don't overwrite memalign hook.
3460 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
3461 Reported by Philippe Troin <phil@fifi.org>.
3462
3463 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
3464 Patch by Philippe Troin <phil@fifi.org>.
3465
34661998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3467
3468 * sysdeps/generic/segfault.c (install_handler): Protect the
3469 non-POSIX signals with #ifdef.
3470 (catch_segfault): Add missing mode parameter for open.
3471 * debug/catchsegv.sh: Avoid termination message from shell. Allow
3472 other termination signals.
3473
34741998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3475
3476 * debug/Makefile (distribute): Add register-dump.h.
3477
34781998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
3479
3480 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
3481
f787edde
UD
34821998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
3483
3484 * elf/Makefile (distribute): Add dl-origin.h.
3485 * sysdeps/generic/dl-origin.h: New file.
3486 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
3487 * elf/link.h (struct link_map): Add l_origin field.
3488 * elf/dl-load.c (expand_dynamic_string_token): New function.
3489 (decompose_path): Remove WHERE argument, take link map pointer instead.
3490 Call expand_dynamic_string_token instead of local_strdup to make copy
3491 of rpath.
3492 (_dl_init_paths): Call decompose_path with correct argument.
3493 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
3494 not defined.
3495 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 3496 Call _dl_new_object with extra argument.
f787edde
UD
3497 (_dl_map_object): Call decompose_path with correct argument.
3498 Call expand_dynamic_string_token instead of local_strdup to also
3499 expand DST.
5f623941 3500 Call _dl_new_object with extra argument.
f787edde 3501 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
3502 but the main one if new argument is nonzero.
3503 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
3504 * elf/dl-support.c: Define _dl_origin_path.
3505 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 3506 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
3507
3508 * elf/dl-close (_dl_close): Free l_name and l_origin.
3509
3510 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
3511 modifier in asm, not c.
3512
3513 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
3514 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
3515
6075607b
UD
35161998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
3517
3518 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
3519 variable so that map can be freed.
3520 Reported by Philippe Troin <phil@fifi.org>.
3521
3522 * elf/dl-open.c (dl_open_worker): Correct test for extending global
3523 scope array.
3524 Patch by Philippe Troin <phil@fifi.org>.
3525
35261998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3527
3528 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
3529 Don't call writev() with a 100-element vector.
3530 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
3531 return address.
3532
3533 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
3534 In particular, set __libc_stack_end.
3535 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
3536 undefined. Fix copyright notice.
3537
35381998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3539
3540 * math/Makefile (gmp-objs): New variable.
3541 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
3542 Depend on it.
3543 (tests): Add atest-exp atest-sincos atest-exp2.
3544 (tests-static): Remove atest-exp atest-sincos atest-exp2.
3545
08cac4ac
UD
35461998-08-25 Ulrich Drepper <drepper@cygnus.com>
3547
3548 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
3549 to toplevel.
3550 (_dl_unload_cache): New function.
3551 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
3552 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 3553 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
3554
3555 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
3556 Correct comment for O_LARGEFILE.
3557 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
3558 Change O_LARGEFILE to correct value.
3559
35601998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
3561
3562 * libio/iogetline.c (_IO_getline_info): Don't read anything for
3563 N == 0. Patch by HJ Lu.
3564
6dbb7062
UD
35651998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
3566
3567 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
3568
35691998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3570
3571 * argp/argp.h: Use __inline__ not inline.
3572
3573 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
3574 an input register as being clobbered.
3575 * sysdeps/i386/memset.c (memset): Likewise.
3576 * sysdeps/i386/bzero.c (__bzero): Likewise.
3577 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
3578
35791998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3580
3581 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
3582 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
3583
ed1ac6a2
UD
35841998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
3585
3586 * debug/catchsegv.sh: Handle text preceding backtrace better.
3587 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
3588 to be installed for other signals than SIGSEGV.
3589 * sysdeps/generic/register-dump.h: New file.
3590 * sysdeps/i386/register-dump.h: New file.
3591 * sysdeps/powerpc/register-dump.h: New file.
3592
3593 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
3594 sigcontextinfo.h.
3595 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
3596
35971998-08-24 Geoff Keating <geoffk@ozemail.com.au>
3598
3599 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
3600
36011998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3602
3603 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
3604 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
3605 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
3606 getresuid, getresgid.
3607
36081998-08-16 Geoff Keating <geoffk@ozemail.com.au>
3609
3610 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
3611 pointer in userland.
3612
36131998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3614
3615 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
3616 and fix value.
3617
36181998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3619
3620 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
3621 over arguments Bourne shell compatible. Don't exit unsuccessfully
3622 if nonelf returns successfully. Avoid duplicating most of the
3623 script.
3624 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
3625 around $file.
3626
36271998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
3628
3629 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
3630 sys/reg.h.
3631 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
3632 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
3633
b259e746
UD
36341998-08-23 Ulrich Drepper <drepper@cygnus.com>
3635
3636 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
3637 __modify_ldt and modify_ldt.
3638 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
3639
3640 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3641 Use orl $-1 instead of movl $-1 to save two bytes.
3642 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
3643 Likewise.
3644
36451998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
3646
3647 * libio/Versions (_IO_do_write, _IO_file_attach,
3648 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3649 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3650 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3651 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
3652
3653 * libio/fileops.c (_IO_do_write, _IO_file_attach,
3654 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3655 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3656 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3657 _IO_file_write, _IO_file_xsputn): Change the prefix to
3658 "_IO_new_". Added to GLIBC_2.1.
3659
3660 * libio/libioP.h (_IO_do_write, _IO_file_attach,
3661 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3662 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3663 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3664 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
3665 "_IO_new_".
3666
3667 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
3668 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3669 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3670 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3671 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
3672
b259e746
UD
36731998-08-23 Richard Henderson <rth@cygnus.com>
3674
3675 * Makeconfig (LDFLAGS): Remove.
3676
ed1ac6a2 3677 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 3678
ed1ac6a2
UD
3679 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
3680 (STO_MIPS_*): Rename from STO_*.
3681 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
3682 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 3683
ed1ac6a2
UD
3684 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
3685 (main): e3s is negative on zero.
3686 * math/atest-exp2.c: Likewise.
b259e746
UD
3687 * math/atest-sincos.c: Likewise.
3688
ed1ac6a2
UD
36891998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3690
3691 * Makerules (install): Add comment about absolute paths.
3692
b259e746
UD
36931998-08-23 Ulrich Drepper <drepper@cygnus.com>
3694
3695 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3696 array to NUL to handle maxlen==1 case correctly.
3697 Patch by HJ Lu.
3698
36991998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
3700
3701 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3702 * sysdeps/alpha/elf/crtend.S: Likewise.
3703 * sysdeps/alpha/elf/start.S: Likewise.
3704
3705 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3706 non-standard pv usage.
3707
3708 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3709 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3710 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3711 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3712 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3713 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3714 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3715 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3716 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3717 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3718 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3719
3720 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3721 a finite non-denormal, deferring to the full IEEE version otherwise.
3722
3723 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3724 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
3725 * sysdeps/alpha/fpu/s_floor.c: New.
3726 * sysdeps/alpha/fpu/s_floorf.c: New.
3727 * sysdeps/alpha/fpu/s_ceil.c: New.
3728 * sysdeps/alpha/fpu/s_ceilf.c: New.
3729
e86e2df1
UD
37301998-08-22 Philip Blundell <philb@gnu.org>
3731
3732 * sysdeps/arm/bits/string.h: New file.
3733
14a44a69
UD
37341998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3735
3736 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3737 document it.
3738
3739 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3740 test for recent Linux 2.1.100+ headers.
3741
e36b0b57
UD
37421998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3743
3744 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3745
5148d49f
UD
37461998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3747
3748 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3749
37501998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3751
3752 * Makefile (elf/ldso_install): Put back. The problem still persists.
3753 * elf/Makefile (ldso_install): Likewise.
3754
37551998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3756
3757 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3758 create weak alias.
3759 * include/db.h: Declare __nss_db_open.
3760 * db2/Versions: Export it.
3761
3762 * db2/makedb.c: Convert to use db2 API.
3763 * nss/nss_db/db-XXX.c: Likewise.
3764 * nss/nss_db/db-netgrp.c: Likewise.
3765 * nss/nss_db/db-alias.c: Likewise.
3766 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3767
37681998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3769
3770 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3771 sys_setresuid, already built automatically (or not).
3772 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3773 instead of __syscall_setresuid and add back setresuid.
3774 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3775 __syscall_setresuid.
3776
37771998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3778
3779 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3780
1ddf537f
UD
37811998-08-20 Ulrich Drepper <drepper@cygnus.com>
3782
3783 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3784 BASH-ONLY marked region.
3785 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3786
37871998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3788
3789 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3790 _IO_SYSSEEK fails.
3791
3792 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3793
4df28840 3794 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
3795 element.
3796
8e48355c
RM
37971998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3798
3799 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3800 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3801 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3802 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3803 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3804 those magic comments, and to use /bin/sh for @BASH@.
3805 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3806 * elf/ldd.sh.in: File removed.
3807
d762684b
UD
38081998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3809
3810 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3811 cast them to unsigned long int.
3812 * pwd/putpwent.c (putpwent): Likewise.
3813 Patch by John Tobey <jtobey@banta-im.com>.
3814
38151998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3816
3817 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3818 _IO_pos_BAD.
3819
38201998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3821
3822 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3823 _IO_SYSSEEK fails.
3824
7934cc16
UD
38251998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3826
3827 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3828 Add umount and umount2.
3829 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3830 * sysdeps/unix/sysv/linux/umount.S: New file.
3831 * sysdeps/unix/sysv/linux/umount2.S: New file.
3832 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3833 Define MNT_FORCE.
3834
d762684b
UD
3835 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3836 Add sys/sendfile.h.
3837 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3838 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3839
3840 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3841
3842 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3843 sendfile.
3844
df777c40
UD
38451998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3846
3847 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3848 * elf/ldd.bash.in: Likewise.
3849
3850 * elf/sln.c: Avoid warning for no main prototype.
3851
3852 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3853 O_WRITE.
3854 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3856
3857 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3858 F_GETSIG.
3859 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3860 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3862
38631998-08-20 Philip Blundell <pb@nexus.co.uk>
3864
3865 * sysdeps/arm/fpu/ieee754.h: Move to...
3866 * sysdeps/arm/ieee754.h: ... here.
3867
3868 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3869 Don't set the condition flags unnecessarily.
3870 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3871 registers correctly.
3872
3873 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3874 (patch from Scott Bambrough).
3875
3876 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3877
3878 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3879 NULL, just call it unconditionally.
3880 (__gmon_start__): Provide stub version as a weak symbol.
3881
38821998-07-30 Philip Blundell <philb@gnu.org>
3883
3884 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3885 by Scott Bambrough)
3886
3887 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3888 like `@' in .type directives.
3889
3890 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3891 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3892
3893 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3894
38951998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3896
3897 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3898 (F_GETOWN): Likewise.
3899
3900 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3901 Linux 2.1.117).
3902
39031998-08-20 Ulrich Drepper <drepper@cygnus.com>
3904
3905 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3906 already defined.
3907
0c6cee5d
UD
39081998-08-18 Ulrich Drepper <drepper@cygnus.com>
3909
3910 * include/features.h: Define __USE_EXTERN_INLINES for recent
3911 enough gcc.
3912 * argp/argp.h: Define extern inline functions only if
3913 __USE_EXTERN_INLINES is defined.
3914 * libio/stdio.h: Likewise.
3915 * math/math.h: Likewise.
3916 * stdlib/stdlib.h: Likewise.
3917 * string/argz.h: Likewise.
3918 * sysdeps/generic/bits/sigset.h: Likewise.
3919 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3920 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3921 * sysdeps/wordsize-32/inttypes.h: Likewise.
3922 * sysdeps/wordsize-64/inttypes.h: Likewise.
3923 * wcsmbs/wchar.h: Likewise.
3924
3925 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3926 to allow compilation without optimization.
3927
df777c40
UD
39281998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3929
3930 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3931 more entries.
3932 * nis/nss_compat/compat-initgroups.c: Likewise.
3933 * nis/nss_compat/compat-pwd.c: Likewise.
3934 * nis/nss_compat/compat-spwd.c: Likewise.
3935 * nis/nss_nis/nis-alias.c: Likewise.
3936 * nis/nss_nis/nis-ethers.c: Likewise.
3937 * nis/nss_nis/nis-grp.c: Likewise.
3938 * nis/nss_nis/nis-hosts.c: Likewise.
3939 * nis/nss_nis/nis-initgroups.c: Likewise.
3940 * nis/nss_nis/nis-network.c: Likewise.
3941 * nis/nss_nis/nis-proto.c: Likewise.
3942 * nis/nss_nis/nis-pwd.c: Likewise.
3943 * nis/nss_nis/nis-rpc.c: Likewise.
3944 * nis/nss_nis/nis-service.c: Likewise.
3945 * nis/nss_nis/nis-spwd.c: Likewise.
3946
3947 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3948
3949 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3950
3951 * nis/yp_xdr.c: Remove 1024 byte limit.
3952 * nis/ypupdate_xdr.c: Likewise.
3953
3954 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3955 wrong data.
3956
c82e6116
RM
39571998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3958
3959 * Rules (binaries-static, binaries-shared static pattern rules):
3960 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3961
3962 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3963 this here, overriding Makeconfig generic value so we link against
3964 the RPC libs.
3965
364ff81f
UD
39661998-08-17 Ulrich Drepper <drepper@cygnus.com>
3967
3968 * posix/tstgetopt.c (options): Add NULL entry at end
3969 Patch by Adrian Miranda <ade@psg.com>.
3970
5d7de7aa
UD
39711998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3972
3973 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3974 to 9.
3975
d610a544
UD
39761998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3977
3978 * elf/elf.h: Add PPC Diab relocations.
3979
3980 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3981
409dfcea
UD
39821998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3983
3984 * manual/texinfo.tex: Update.
3985
39861998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3987
3988 * sysdeps/powerpc/backtrace.c: New file.
3989
39901998-08-14 Philip Blundell <pb@nexus.co.uk>
3991
3992 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3993 sigjmp_save.
3994 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3995
39961998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3997
3998 * Makefile (install-symbolic-link): Fix spelling.
3999
40001998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4001
4002 * elf/elf.h (SHT_HIOS): Fix value.
4003
40041998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4005
4006 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
4007 part of the expansion, this is undefined by the standard.
4008
9d141cae
UD
40091998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
4010
4011 * posix/getconf.c: Add support for systems with incomplete confname.h.
4012
4013 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
4014
4015 * sysdeps/posix/wait3.c: Make it work.
4016
40171998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4018
4019 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
4020 (elf/ldso_install): Remove.
4021
4022 * elf/Makefile (distribute): Add sln.c.
4023 (others): Add sln.
4024 (others-static): Add sln.
4025 (install-rootsbin): Add sln.
4026 (others-static): Add sln.
4027 (ldso_install): Remove.
4028
40291998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4030
4031 * Makerules (install-clean-symbolic-link-list): Make phony.
4032 * Makefile (install-symbolic-link): Make phony. Depend on
4033 subdir_install for parallel makes.
4034
4035
40361998-07-22 Ulrich Drepper <drepper@cygnus.com>
4037
4038 * elf/Makefile (distribute): Add sln.c
4039
40401998-07-21 07:10 H.J. Lu <hjl@gnu.org>
4041
4042 * elf/sln.c: New file.
4043
4044 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
4045 (install-clean-symbolic-link-list): New target.
4046 (install): Depend on install-clean-symbolic-link-list.
4047 (make-shlib-link): Changed for $(symbolic-link-list).
4048
4049 * Makefile (install-symbolic-link): New target.
4050 (install): Depend on install-symbolic-link.
4051
1f539fd1
UD
40521998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
4053
4054 * include/unistd.h: Protect against multiple inclusion.
4055
4056 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
4057 is defined, not is glob is defined.
4058 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
4059
40601998-08-01 17:18 H.J. Lu <hjl@gnu.org>
4061
4062 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
4063 xdr_string for ut_line, ut_name and ut_host.
4064
40651998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4066
4067 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
4068 /var/mail in accordance with FHS 2.0.
4069 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
4070
40711998-08-12 Richard Henderson <rth@cygnus.com>
4072
4073 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
4074 Update aliases for cancelation.
4075
4076 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
4077 playing with symbol versions.
4078
259d930a
RM
40791998-08-12 Roland McGrath <roland@baalperazim.frob.com>
4080
4081 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
4082 multiple inclusion protection.
4083 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
4084 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
4085 define all these to 1.
4086 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
4087
d6765f1d
RM
40881998-08-12 Roland McGrath <roland@baalperazim.frob.com>
4089
4090 * sysdeps/mach/usleep.c: Include <unistd.h>.
4091 (usleep): Return void.
4092
40931998-08-11 Roland McGrath <roland@baalperazim.frob.com>
4094
4095 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
4096 decl to inhibit warning in if_freenameindex defn.
4097
4098 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
4099
4100 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
4101
4102 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
4103 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
4104 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
4105 * sysdeps/mach/usleep.c: Likewise.
4106
4107 * sysdeps/mach/hurd/bind.c (bind): Add a const.
4108
4109 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
4110 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
4111 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
4112 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
4113 * sysdeps/mach/usleep.c (usleep): Likewise.
4114 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4115 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4116 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
4117 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
4118
41191998-08-11 Roland McGrath <roland@baalperazim.frob.com>
4120
4121 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
4122 (glob64): Fix typo.
4123
4124 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
4125 %p arg to fprintf, since `void *' is the right type already.
4126
b5876a19
RM
41271998-07-25 19:47 Jose M. Moya <josem@gnu.org>
4128
4129 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
4130 (_hurd_canonicalize_directory_name_internal): Do not loop forever
4131 for unknown root directories.
b5876a19 4132 (__getcwd): Return NULL when the current root directory could not
1f539fd1 4133 be reached.
b5876a19 4134
f81d98d6 41351998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 4136
f81d98d6 4137 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 4138
a5f4e34a 4139
f81d98d6 4140See ChangeLog.8 for earlier changes.
This page took 0.478453 seconds and 5 git commands to generate.