]> sourceware.org Git - glibc.git/blame - ChangeLog
1998-12-03 Mark Kettenis <kettenis@phys.uva.nl>
[glibc.git] / ChangeLog
CommitLineData
eeabe877
UD
11998-12-02 Ulrich Drepper <drepper@cygnus.com>
2
3 * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
4
51998-12-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6
7 * inet/Versions: Remove inet6_isipv4mapped.
8
91998-12-02 Philip Blundell <pb@nexus.co.uk>
10
11 * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
12
131998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
14
15 * manual/time.texi (Formatting Date and Time): Fix typo.
16
171998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
18
19 * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
20 when configuring natively. Use autoconf macros instead of rolling
21 our own. Handle defaulted prefix.
22
19c6b9c8
UD
231998-12-01 Ulrich Drepper <drepper@cygnus.com>
24
25 * version.h (VERSION): Bump to 2.0.105.
26
27 * sysdeps/generic/Dist: Add bits/libc-tsd.h.
28
29 * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
30
31 * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
32
628a0aa1
UD
331998-11-29 1998 H.J. Lu <hjl@gnu.org>
34
35 * libio/genops.c (_IO_unbuffer_write): Renamed from
36 _IO_unbuffer_all.
37 (_IO_cleanup): Call _IO_unbuffer_write instead of
38 _IO_unbuffer_all.
39
401998-12-01 Ulrich Drepper <drepper@cygnus.com>
41
42 * intl/localealias.c: Use *_unlocked version of stdio function if
43 _LIBC_REENTRANT is defined, not _LIBC.
44
451998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
46
47 * include/grp.h: Add prototypes for internal functions
48 __getgrgid_r and __getgrnam_r.
49
50 * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
51
52 * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
53 inet_nsap_ntoa prototypes.
54
62595351
UD
551998-12-01 Ulrich Drepper <drepper@cygnus.com>
56
628a0aa1
UD
57 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
58 to gcc to have it find the correct system header.
59 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
60
62595351 61 * Makefile (postclean): Add sysd-sorted.
628a0aa1 62 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
62595351 63
ee586e0e
UD
641998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
65
66 * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
67 * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
68 * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
69 conflicts with new solaris version.
70 * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
71 doesn't zero allocated memory).
72 * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
73 conflicts with xdr functions. Solves PR libc/877.
74 * nis/rpcsvc/nis.x: Use always uint32_t.
75 * nis/rpcsvc/nis.h: Likewise.
76 * nis/rpcsvc/nis_object.x: Likewise.
77
781998-12-01 Ulrich Drepper <drepper@cygnus.com>
79
80 * math/libm-test.c: Various cleanups. Patch by Zack Weinberg.
81
82 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
83 parameter. Patch by Christian Gafton.
84
85 * string/envz.h: Add prototype for envz_remove.
86 Reported by Andreas Jaeger.
87
42ee0538
RM
881998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
89
90 * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
91 __spin_lock_init, __mutex_lock, __mutex_trylock,
92 __mutex_unlock.
93 Remove get_priviliged_ports. Moved to hurd/Versions.
94
95 * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd
96 brk implementation see the end of the data segment of the program
97 instead of the shared library.
98 Add __hurd_errno_location. This inline function is used in user
99 programs.
100 Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
101 _hurd_fd_get, _hurd_port_free, _hurd_port_get,
102 _hurd_port_locked_get. These inline functions are used by macros
103 used in mail.local in the Hurd distribution.
104 Add get_privileged_ports. Moved here from mach/Versions.
105 Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
106 __hurd_file_name_split, __hurd_file_name_path_lookup. These are
107 not used outside libc.
108
1091998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
110
111 * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
112 of "".
113
5713a71e
UD
1141998-11-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
115
116 * sunrpc/Makefile: Add xdr_intXX_t to routines.
117 * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
118 xdr_uint16_t.
119 * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
120 * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
121 * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
122
123 * nis/Depend: New.
124 * nis/nss_nis/nis-service.c: Include generated prototype for parser.
125
348ed515
UD
1261998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
127
128 * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
129
130 * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
131 undefine errno to get variable.
132
133 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
134 instead of <unistd.h> for prototype.
135 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
136
1371998-11-30 Ulrich Drepper <drepper@cygnus.com>
138
139 * misc/err.h: Correct comments and use protected attribute keywords.
140 Reported by Joseph Myers <jsm28@cam.ac.uk>.
141
1421998-11-29 Roland McGrath <roland@baalperazim.frob.com>
143
144 * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
145 remove tsd stuff from pthreads/cthreads libc sections.
146 Use __libc_tsd_define for MALLOC key.
147 [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
148 no-op, respectively.
149 [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
150
151 * elf/dl-error.c: Include <bits/libc-tsd.h>.
152 Use __libc_tsd_define for DL_ERROR key.
153 (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
154
155 * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
156 * sysdeps/generic/bits/libc-tsd.h: New file.
157 * Makefile (distribute): Add bits/libc-tsd.h.
158
1591998-10-12 Roland McGrath <roland@baalperazim.frob.com>
160
161 * elf/dl-error.c: Remove kludge to check for ld.so load address.
162 There is no need if weak undefined symbols are not used in ld.so;
163 see linuxthreads/ChangeLog for changes to files
164 linuxthreads/sysdeps/pthread/bits/libc-lock.h and
165 linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
166
1671998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
168
169 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
170
171 * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
172 inline functions.
173 * sysdeps/i386/bits/string.h: Likewise.
174
1751998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
176
177 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
178
1791998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
180
181 * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
182
3dc9c979
RM
1831998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
184
185 * sysdeps/mach/hurd/dl-sysdep.c: Do not define
186 __hurd_threadvar_max. Add comment explaining why we define
187 __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
188
1891998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
190
191 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
192 __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
193 prevent inclusion of Hurd signal handling code.
194 (__libc_write): New function.
195 (_dl_sysdep_output): Removed. The implementation in
196 `elf/dl-misc.c' now also works for the Hurd.
197
f69139ec
RM
1981998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
199
200 * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
201 does not use any of malloc/realloc/free anymore. Include
202 set-hooks.h with <> instead of "".
203
0c4db20b
RM
2041998-11-29 Roland McGrath <roland@baalperazim.frob.com>
205
206 * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
207 within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED.
208 * sunrpc/clnt_unix.c (__msgread): Likewise.
209
cbef6235
RM
2101998-11-28 Roland McGrath <roland@baalperazim.frob.com>
211
212 * hurd/setuids.c: Renamed to ...
213 * hurd/seteuids.c: this.
214 (setuids): Renamed to seteuids.
215 * hurd/getuids.c: Renamed to ...
216 * hurd/geteuids.c: this.
217 (__getuids): Renamed to geteuids, no aliases.
218 * hurd/hurd.h (geteuids, seteuids): Declare them.
219 * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
220 * hurd/Makefile (routines): Updated.
221
5f75d1e2
UD
2221998-11-29 Ulrich Drepper <drepper@cygnus.com>
223
224 * sysdeps/generic/segfault.c (install_handler): Correct test for
225 SEGFAULT_HANDLER=all.
226 Patch by Zack Weinberg.
227
cbef6235
RM
2281998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
229
230 * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
231 $prefix/include that may be clobbered on installation.
232
6d4752d8
UD
2331998-11-27 Philip Blundell <pb@nexus.co.uk>
234
235 Fixes to allow compilation with static NSS:
236 * nss/Makefile: Make explicit the dependency of getent on
237 libnss_files.a.
238 [build_static_nss]: Define $(otherlibs) appropriately.
239 * nss/Depend: Add a dependency on `resolv'.
240
2411998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
242
243 Partial support for MIPS ISO C 9x exception handling:
244 * sysdeps/mips/fclrexcpt.c: New file.
245 * sysdeps/mips/ftestexcept.c: New file.
246 * sysdeps/mips/fgetexcptflg.c: New file.
247 * sysdeps/mips/fesetround.c: New file.
248 * sysdeps/mips/fegetround.c: New file.
249 * sysdeps/mips/fegetenv.c: New file.
250 * sysdeps/mips/fesetenv.c: New file.
251 * sysdeps/mips/feupdateenv.c: Likewise.
252 * sysdeps/mips/bits/fenv.h: New file.
253
2541998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
255
256 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
257 <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
258 in sync with linux specific version.
259
260 Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
261
262 * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
263 errno declaration.
264
265 * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
266 of calling __syscall_*.
267 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
268
269 * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
270
271 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
272 constants, correct values according to Linux 2.1.130.
273
274 * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
275 * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
276 * sysdeps/unix/sysv/linux/mips/pread.c: New file.
277 * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
278
279 * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
280 :=.
281
282 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
283
284 * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
285
286 * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
287
288 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
289
290 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
291 message, change name of include protection, remove inclusion of
292 <bits/termios.h>.
293
294 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
295 (old_kernel_sigaction): Define.
296 (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
297
298 * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
299 the general linux version.
300 * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
301
302 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
303
3041998-09-03 Philip Blundell <pb@nexus.co.uk>
305
306 * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
307 endian.
308 * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
309 BYTE_ORDER.
310 * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
311 <bits/endian.h>, make it the same as __BYTE_ORDER.
312
48252123
UD
3131998-11-27 Ulrich Drepper <drepper@cygnus.com>
314
315 * math/math.h: Avoid using long double functions in generic macros
316 if __NO_LONG_DOUBLE_MATH.
317
318 * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
319 during bootstrapping.
320 * scripts/config.sub: Add Netwinder specific matches.
321 Patch by Scott Bambrough <scottb@corelcomputer.com>.
322
6d4752d8
UD
3231998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
324
325 * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
326 if possible.
327 ($(common-objpfx)sysd-sorted): Likewise.
328
3291998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
330
331 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
332 local variables t1,t2 only if needed.
333
48252123
UD
334 * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
335 warnings.
6d4752d8
UD
336 * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
337 * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
338
339 * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
340 warning.
341
3421998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
343
344 * math/math.h: Add brace to correct #if expression.
345
3461998-11-26 Philip Blundell <philb@gnu.org>
347
348 Undo change of 1998-11-12:
349 * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
351 netlink/netlink.h.
352 * sysdeps/unix/sysv/linux/Dist: Likewise.
353
3541998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
355
356 * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
357
cb0509a8
UD
3581998-11-26 Ulrich Drepper <drepper@cygnus.com>
359
360 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
361 (elf_machine_got_rel): Remove scope variable. Use scope from the map.
362 Don't modify _dl_global_scope_end in the end.
363 (__dl_runtime_resolv): Also use scope from the map.
364 * sysdeps/mips/mips64/dl-machine.h: Likewise.
365 * elf/dl-runtime.c: Don't define fixup and profile_fixup if
366 ELF_MACHINE_NO_PLT is defined.
367 * sysdeps/mips/sys/ucontext.h: New file.
368 Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
369
6d4752d8
UD
3701998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
371
372 * sysdeps/generic/pselect.c (__pselect): Change interface,
373 set/restore sigmask.
374
375 * misc/sys/select.h: Change declaration according to Stevens' Unix
376 Network Programming.
377 * include/sys/select.h (__pselect): Likewise.
378 Reported by <bwelling@anomaly.munge.com> [PR libc/872].
379
380 * include/fpu_control.h: New file, contains __setfpucw
381 declaration.
382
383 * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
384 it's an internal symbol.
385 * sysdeps/alpha/fpu/fpu_control.h: Likewise.
386 * sysdeps/arm/fpu/fpu_control.h: Likewise.
387 * sysdeps/i386/fpu_control.h: Likewise.
388 * sysdeps/m68k/fpu_control.h: Likewise.
389 * sysdeps/powerpc/fpu_control.h: Likewise.
390 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
391 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
392
0155a773
UD
3931998-11-25 Ulrich Drepper <drepper@cygnus.com>
394
395 * version.h (VERSION): Bump to 2.0.104.
396
3971998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
398
399 * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
400 around parameter n.
401
4021998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
403
404 * time/tzfile.c (__tzfile_read): Fix comment.
405
4061998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
407
408 * Makerules (build-shlib): Pass -O1 down to linker to get
409 optimized shared libraries.
410
4111998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
412
413 * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
414 file. Strip "-" from inhibited subdir name. Combine into a
415 single awk program.
416 ($(common-objpfx)sysd-sorted): Fix sed command.
417
77dd7355
RM
4181998-11-25 Roland McGrath <roland@baalperazim.frob.com>
419
420 * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
421 Use constant _HURD_THREADVARS_MAX for temporary array size.
422
423 * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
424 s separator, since $(..) might contain a /.
425
45b3d8ad
UD
4261998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
427
428 * configure.in (mips): Fix typo (Replace ,, by ;;).
429
430 * libio/Versions: Clean up entries.
431
33127459
UD
4321998-11-23 Ulrich Drepper <drepper@cygnus.com>
433
434 * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
435 and llrint.
436
a42134a7
UD
4371998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
438
439 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too
440 many differences between the Linux 2.0 and 2.1 versions of this
441 file and it's too difficult to convert all calls. The file should
442 only be needed by the ipfw program which has to take care of the
443 correct kernel version and include files.
444
445 * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
447
7d6a8338
UD
4481998-11-23 Ulrich Drepper <drepper@cygnus.com>
449
450 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
451 Patch by Zack Weinberg.
452
453 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
454
455 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
456 __USE_ISOC9X is defined. Provide rint optimization.
457
4581998-11-21 H.J. Lu <hjl@gnu.org>
459
460 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
461 popen, pclose): Add to GLIBC_2.1.
462
463 * libio/Makefile (routines): Add oldiopopen and oldpclose.
464 (shared-only-routines): Likewise.
465
466 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
467 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
468 _IO_proc_close): Likewise.
469
470 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
471 __old_pclose): New prototypes.
472
473 * libio/libioP.h (_IO_new_file_jumps): Removed.
474 (_IO_old_proc_jumps): Added.
475 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
476
477 * libio/oldiopopen.c: New file.
478
479 * libio/oldpclose.c: New file.
480
4811998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
482
483 * nss/Makefile: Build and install getent.
484 * nss/getent.c: New, get entries from administrative database.
485
1521f3a5
RM
4861998-11-22 Roland McGrath <roland@baalperazim.frob.com>
487
488 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
489 for the per-thread variables of the main user thread to make it
490 possible to use malloc as soon as _hurd_preinit_hook has been run.
491 For cthreads, copy values to new stack from there.
492 For non-cthreads, malloc threadvar array here and copy from temp space.
493 (init1): No longer initialize threadvars here.
494 (doinit1): Made static void at top level.
495 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
496 inline a function that uses dynamic auto arrays.
497
5edb9387
UD
4981998-11-20 Ulrich Drepper <drepper@cygnus.com>
499
d89e7a96
UD
500 * version.h (VERSION): Bump to 2.0.103.
501
5edb9387
UD
502 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
503 same method.
504 * configure.in: Don't define AR and RANLIB here.
505
506 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
507 host name res_hconf code.
508 * inet/gethstbynm_r.c: Likewise.
509 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
510 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
511 defined execute the code.
512 * resolv/Makefile (routines): Add res_hconf.
513 (headers): Add res_hconf.h.
514 * resolv/res_hconf.c: Pretty print.
515 * resolv/res_hconf.h: Likewise.
516
5171998-11-20 Ulrich Drepper <drepper@cygnus.com>
518
519 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
520 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
521
5221998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
523
524 * math/libm-test.c: Raise some epsilons a bit.
525
5261998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
527
528 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
529
5301998-11-20 Ulrich Drepper <drepper@cygnus.com>
531
532 * Makefile (distribute): Add scripts/gen-sorted.awk.
533
bece5ca7
UD
5341998-11-19 Ulrich Drepper <drepper@cygnus.com>
535
536 * posix/regex.c (regex_compile): Handle extra long class names
537 correctly.
538
50463d27
UD
5391998-11-19 Geoff Keating <geoffk@ozemail.com.au>
540
541 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
542 correctly.
543
1da99555
UD
5441998-11-19 Ulrich Drepper <drepper@cygnus.com>
545
b0428320
UD
546 * misc/error.c: Undo last change.
547
1da99555
UD
548 * ctype/Versions: Add _tolower and _toupper.
549
f1317ef5
UD
5501998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
551
552 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
553 POLLNVAL.
554
bb41a976
UD
5551998-11-19 Ulrich Drepper <drepper@cygnus.com>
556
557 * Makeconfig: Add comment to all-subdirs definition.
558 Add rule to generate sysd-sorted. Include this file and and set
559 subdirs value to $(sorted-subdirs).
560 * scripts/gen-sorted.awk: New file.
561 * Make-dist (+tsrcs): Add Depend.
562 * nscd/Depend: New file.
563 * nss/Depend: New file.
564 * rt/Depend: New file.
565
090ca000
UD
5661998-11-18 Ulrich Drepper <drepper@cygnus.com>
567
dfd2464b
UD
568 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
569 passed file descriptor exceeds the size determined by
570 getdtablesize.
571
572 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
573 from inline version in bits/socket.h.
574
575 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
576 inline function only is __USE_EXTERN_INLINES is defined.
577
578 * time/strftime.c (my_strftime): Make code a bit clearer.
579 Patch by Paul Eggert <eggert@twinsun.com>.
580
090ca000
UD
581 * io/Makefile (CFLAGS-ftw.c): Removed.
582
b0428320 583 * manual/errno.texi: Change the short text for ENODEV to
bb41a976
UD
584 "No such device".
585
090ca000
UD
5861998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
587
588 * io/Makefile (tests): Make sure that the test program has an
589 explicit directory part.
590
5911998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
592
593 * configure.in: Fix last change.
594
5951998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
596
597 * sunrpc/Makefile (routines): Add create_xid.
598
599 * sunrpc/clnt_tcp.c: Use non-guessable xid.
600 * sunrpc/clnt_udp.c: Likewise.
601 * sunrpc/clnt_unix.c: Likewise.
602 * sunrpc/pmap_rmt.c: Likewise.
603 * sunrpc/create_xid.c: New, create non-guessable xid.
604
605 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
606 of select.
607 * sunrpc/svc_unix.c: Use poll instead of select.
608
d8cceb4f
UD
6091998-11-17 Ulrich Drepper <drepper@cygnus.com>
610
45a9a50e 611 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
dfd2464b 612 by removing SIG_IGN handler for SIGCHLD if necessary.
45a9a50e
UD
613 Patch by H.J. Lu <hjl@lucon.org>.
614
d8cceb4f
UD
615 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
616 of denormalized numbers.
617
6181998-10-06 Geoff Keating <geoffk@ozemail.com.au>
619
620 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
621 another parentheses warning, make nano-optimisation.
622
623 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
624 saved LR on stack so _mcount works.
625 (_dl_prof_resolve): Likewise.
626 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
627 signal handler calling convention.
628 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
629 correct signal handler calling convention---more like x86 linux and
630 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
631
6321998-11-17 Ulrich Drepper <drepper@cygnus.com>
633
634 * configure.in: Correct allowed makeinfo version.
635
6361998-11-17 Philip Blundell <pb@nexus.co.uk>
637
638 * sysdeps/generic/bits/mathdef.h: Fix typo.
639
cae88996
UD
6401998-11-17 Geoff Keating <geoffk@ozemail.com.au>
641
642 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
643 under the right name (squish warning).
644 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
645
6461998-11-17 Geoff Keating <geoffk@ozemail.com.au>
647
648 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
649 prevent warnings.
650
9d1efe33
UD
6511998-11-16 Ulrich Drepper <drepper@cygnus.com>
652
d8cceb4f 653 * intl/locale.alias: Change `japanese' alias to match X11R6's.
9d1efe33
UD
654 Add `japanese.euc' alias.
655
656 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
657 before running makeinfo.
658
659 * math/Makefile (libm-routines): $(strip) entire value.
660
661 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
662
6631998-10-24 H.J. Lu <hjl@gnu.org>
664
665 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
666 (_IO_cookie_file): Likewise.
667
6681998-11-16 Philip Blundell <philb@gnu.org>
669
670 * inet/netinet/icmp6.h: Correct naming of constants.
671
8b7fb588
UD
6721998-11-16 Ulrich Drepper <drepper@cygnus.com>
673
674 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
675 zero value as uninitialized so that variable can go into .bss.
676
677 * dirent/opendir-tst1.c: Print error strings to stdout.
678
679 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
680 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
681 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
682 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
683 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
684
6851998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
686
687 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
688 range.
689
6901998-11-16 Ulrich Drepper <drepper@cygnus.com>
691
692 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
693 (fwrite_unlocked): Likewise.
694
6951998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
696
697 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
698 twice. Don't bother handling zero size.
9d1efe33 699 (fwrite_unlocked): Likewise.
8b7fb588
UD
700
7011998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
702
703 * configure.in: Fix regex for makeinfo version string.
704
7051998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
706
707 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
708 warning.
709 * sunrpc/rpc_svcout.c (write_program): Likewise.
710
7111998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
712
713 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
714
7151998-11-16 Ulrich Drepper <drepper@cygnus.com
716
717 * misc/sys/mman.h: Pretty print prototypes.
718
7191998-11-15 Ulrich Drepper <drepper@cygnus.com
720
721 * misc/error.c (error): Don't use result of strerror_r call directly
722 since at least DEC Unix has a wrong return type.
723 Patch by Johan Danielsson <joda@pdc.kth.se>.
724
7251998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22bb3c7f
AS
726
727 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
728 last change.
729
77d10f94
UD
7301998-11-13 Ulrich Drepper <drepper@cygnus.com>
731
27658f20 732 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
9d1efe33 733 format, just stop.
27658f20 734
77d10f94
UD
735 * version.h (VERSION): Bump to 2.0.102.
736
737 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
738 change.
739 * stdio-common/scanf7.c (main): Likewise.
740
99c9e773
UD
7411998-11-13 Ulrich Drepper <drepper@cygnus.com>
742
47b856a9
UD
743 * stdio-common/vfscanf.c: Return EOF for invalid format
744 characters.
745
fb3d8ad6
UD
746 * version.h (VERSION): Bump to 2.0.101.
747
99c9e773
UD
748 * Makerules (Versions.all): Generate this file from all Versions.def
749 files.
750 (sysd-versions): Use Versions.all instead of Versions.def.
751
47b856a9
UD
7521998-11-13 Philip Blundell <philb@gnu.org>
753
754 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
755 Reported by Scott Bambrough.
756
93d63a59
UD
7571998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
758
759 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
760
a3e0e9ae
UD
7611998-11-13 Ulrich Drepper <drepper@cygnus.com>
762
763 * libio/bits/stdio.h: Correct and improve fread_unlocked and
764 fwrite_unlocked optimizations.
765
766 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
767 in time not to last entries in the file.
768 (__tzfile_compute): Likewise. Fix for PR libc/863.
769
770 * timezone/Makefile: Generate GB timezone data for test.
771 * timezone/tst-timezone.c: More tests for DST switching time (disabled
772 for now).
773
7741998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2dc9c8cd
AS
775
776 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
777 d0 from clobber list.
778
d2537a47
UD
7791998-11-12 Ulrich Drepper <drepper@cygnus.com>
780
781 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
782
783 * libio/Makefile (headers): Add bits/stdio.h.
784 * libio/iofread_u.c: Undefine fread_unlocked before definition.
785 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
786 * libio/stdio.h: Move optimizations into ...
787 * libio/bits/stdio.h: ...here. New file.
788
789 * libio/iofread.c: Pretty print.
790
7911998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
792
793 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
794 __exit_status with `__'. Rename pad member of struct utmpx to
795 __unused.
796 (RUN_LVL): Define unconditionally.
a3e0e9ae 797 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
d2537a47
UD
798 __unused.
799
8001998-11-12 Philip Blundell <philb@gnu.org>
801
802 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
803 Linux AF_NETLINK sockets (needed since the kernel version is
804 unusable).
805 * sysdeps/unix/sysv/linux/Makefile: Install it.
806 * sysdeps/unix/sysv/linux/Dist: Distribute it.
807
8081998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
809
810 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
811 to test for bug in PR libc/863.
812
8131998-11-12 Ulrich Drepper <drepper@cygnus.com>
814
815 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
816
817 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
818 parameter lazy to do_lazy to avoid clashing with struct member name.
819 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
820
8211998-11-10 H.J. Lu <hjl@gnu.org>
822
823 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
824 if it is defined in <linux/limits.h>.
825
8261998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
827
828 * include/protocols/routed.h: Include the real header with
829 a full path from the top of the source tree.
830 * include/protocols/rwhod.h: Likewise.
831 * include/protocols/talkd.h: Likewise.
832 * include/protocols/timed.h: Likewise.
833
834 * timezone/Makefile: Don't include z.ZONE files if no_deps
835 is set, not if avoid-generated is set.
836
8371998-11-12 Ulrich Drepper <drepper@cygnus.com>
838
839 * signal/signal.h: Undo last change. Get definition of timespec
840 if __USE_POSIX199309.
841
842 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
843 size_t to prevent gcc warning when using -Wqual-cast.
844 (__strpbrk_c3): Likewise.
845 Suggested by Alan Curry <pacman@cqc.com>.
846
fc7af6d6
RM
8471998-11-11 Roland McGrath <roland@baalperazim.frob.com>
848
159d4836
RM
849 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
850 unblocked signals are set in the startup masks.
851
fc7af6d6
RM
852 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
853 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
159d4836 854
fc7af6d6
RM
855 * hurd/hurd/signal.h: Update _hurdsig_init decl.
856 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
857 INTARRAYSIZE, pass them down to _hurdsig_init.
858 * hurd/hurd.h: Update _hurd_proc_init decl.
859
74eee886
UD
8601998-11-10 Ulrich Drepper <drepper@cygnus.com>
861
862 * math/cabs.c: Replace complex by _Complex.
863 * math/cabsf.c: Likewise.
864 * math/cabsl.c: Likewise.
865 * math/cimag.c: Likewise.
866 * math/cimagf.c: Likewise.
867 * math/cimagl.c: Likewise.
868 * math/conj.c: Likewise.
869 * math/conjf.c: Likewise.
870 * math/conjl.c: Likewise.
871 * math/creal.c: Likewise.
872 * math/crealf.c: Likewise.
873 * math/creall.c: Likewise.
874
875 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
876 included from math.h and __USE_ISOC9X is defined.
877 * sysdeps/generic/bits/mathdef.h: Likewise.
878 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
879 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
880 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
881 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
882
8831998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
884
885 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
886 <complex.h>.
887 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
888 * sysdeps/generic/bits/mathdef.h: Likewise.
889 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
890 * sysdeps/powerpc/bits/mathdef.h: Likewise.
891 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
892
8931998-11-09 Ulrich Drepper <drepper@cygnus.com>
894
895 * extra-lib.mk: Fix typo in last change.
1792d4db
UD
896
897 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
898 is needed.
899 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
900 Don't define `complex' but instead `_Complex'. The later is the
901 reserved keyword.
902 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
903 not complex.
904
9051998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
906
907 * manual/libc.texinfo: Remove colon from category name.
908 * manual/Makefile (dir-add.info): Likewise.
909
9101998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
911
912 * configure.in: Avoid autoconf bug.
913
9141998-10-28 H.J. Lu <hjl@gnu.org>
915
916 * posix/getopt.h: Add "__" to arguments in prototypes.
917
9181998-11-05 H.J. Lu <hjl@gnu.org>
919
920 * libio/iofgets.c (_IO_fgets): Don't report error
921 if something was read in and errno is set to
922 EAGAIN.
923 * libio/iofgets_u.c (fgets_unlocked): Likewise.
924
9251998-11-05 Philip Blundell <philb@gnu.org>
926
927 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
928 header; it defines too much. Provide a local definition of struct
929 sockaddr_pkt and a comment advising against its use.
930
9311998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
932
933 * extra-lib.mk: Avoid empty include list.
934
9351998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
936
937 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
938
939 * elf/Makefile (libdl-routines): Add dlopenold only if doing
940 versioning.
941 (libdl-shared-only-routines): New variable.
942
9431998-11-06 Paul Eggert <eggert@twinsun.com>
944
945 Don't invoke localtime_r or gmtime_r unless it's the GNU C
946 library's localtime_r and gmtime_r; there are too many buggy
947 implementations of localtime_r and gmtime_r out there, and
948 it's not worth keeping track of all the different bugs.
949
950 * time/mktime.c (__EXTENSIONS__): Remove.
951 (<unistd.h>): No need to include.
05f732b3
UD
952 * time/strftime.c: Likewise.
953
954 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1792d4db
UD
955 Remove.
956 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
957 Base it on localtime unless _LIBC.
958
959 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
960 all uses changed.
961 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
962 Base them on localtime/gmtime if not _LIBC.
05f732b3
UD
963
9641998-11-07 Ulrich Drepper <drepper@cygnus.com>
965
966 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
967 file descriptor. This makes this function actually usable.
968 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
969
9a821cf9
UD
9701998-11-05 Ulrich Drepper <drepper@cygnus.com>
971
d76bd17f
UD
972 * math/math.h: Unconditionally include bits/mathdef.h. Declare
973 long double functions only if __NO_LONG_DOUBLE_MATH is not
974 defined.
975 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
976 Define __NO_LONG_DOUBLE_MATH.
977 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
978 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
979
9a821cf9
UD
980 * elf/rtld.c: Add a few __builtin_expects where they will improve
981 a lot.
982
c0016081
UD
9831998-11-05 Ulrich Drepper <drepper@cygnus.com>
984
fe959e1e
UD
985 * version.h (VERSION): Bump to 2.0.100.
986
c0016081
UD
987 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
988
989 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
990 * sysdeps/libm-i387/s_fmaf.S: Likewise.
991
9a821cf9
UD
9921998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
993
994 * libio/genops.c (_IO_least_marker): Add additional parameter
995 end_p replacing fp->_IO_read_end.
996 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
997 and _IO_ssize_t instead of int.
998 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
999 (_IO_switch_to_backup_area): Likewise. Fix comments.
1000 (_IO_seekmark): Undo last change.
1001 (_IO_default_pbackfail): Correct use of backup area.
1002 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
1003
c0016081
UD
10041998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1005
1006 * configure.in: Search for install-info and substitute it.
1007 Determine whether install-info is the buggy Debian version
1008 that doesn't understand INFO-DIR-SECTION.
1009 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
1010 to be substituted.
1011 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
1012 install-info the --section argument it needs to work properly.
1013 (dir-add.texinfo): Delete target.
1014 (dir-add.info): Generate this directly. Sort entries. Put a
1015 colon at the end of the INFO-DIR-SECTION line.
1016 * manual/libc.texinfo: Put a colon at the end of the
1017 @dircategory line.
1018
10191998-11-05 Paul Eggert <eggert@twinsun.com>
1020
1021 * time/mktime.c (__mktime_internal): Adopt the traditional (and
1022 problematic) notion of what to do when tm_isdst doesn't match.
1023
10241998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1025
1026 * posix/PTESTS: Fix spelling.
1027
ff8ac383
UD
10281998-11-04 Ulrich Drepper <drepper@cygnus.com>
1029
1030 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
1031 functions. Reduce error in computing normalized value by multiplying
1032 factor in loop and compute result in one step.
a92599ea
UD
1033 Reported by Christian Gafton.
1034
1035 * sysdeps/libm-i387/e_hypot.S: New file.
1036 * sysdeps/libm-i387/e_hypotf.S: New file.
ff8ac383 1037
c0016081
UD
10381998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1039
1040 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
1041
10421998-11-03 H.J. Lu <hjl@gnu.org>
1043
1044 * libio/fileops.c (new_do_write): New function.
1045 (_IO_new_do_write): Call new_do_write.
1046 (_IO_new_file_xsputn): Likewise.
1047
1048 * libio/oldfileops.c (old_do_write): New function.
1049 (_IO_old_do_write): Call old_do_write.
1050 (_IO_old_file_xsputn): Likewise.
1051
3ddfec55
UD
10521998-11-04 Ulrich Drepper <drepper@cygnus.com>
1053
98b567ff
UD
1054 * time/mktime.c (__mktime_internal): Correct last change. We must
1055 stop searching for the right isdst value before stepping to the
1056 initial value.
1057
3ddfec55
UD
1058 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
1059 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1060
f540c0a4
UD
10611998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1062
1063 * sysdeps/generic/bits/signum.h: Define signals with their
1064 historical numbers when those are in the 1-15 range and
1065 consistent across platforms.
1066 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
1067 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
1068 appropriately instead of with fake function declarations
1069 (would cause link errors).
1070 If __USE_UNIX98, define SIG_HOLD.
1071
10721998-10-29 H.J. Lu <hjl@gnu.org>
1073
1074 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
1075 union only if __USE_POSIX199309 is defined.
1076
1077 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
1078 defined.
1079
5fea58fb
UD
10801998-11-03 Ulrich Drepper <drepper@cygnus.com>
1081
1082 * time/mktime.c (__mktime_internal): Handle broken down times
1083 around the time of the DST switches more correctly.
1084
e254df14
UD
10851998-11-02 Ulrich Drepper <drepper@cygnus.com>
1086
1087 * elf/Makefile (libdl-routines): Add dlopenold.
1088 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
1089 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
1090 is set and bounce otherwise.
1091 * elf/dlopen.c: Rename function to __dlopen_check and make version
1092 named dlopen.
1093 * elf/dlopenold.c: New file.
1094
e3e35cfc
UD
10951998-11-02 Ulrich Drepper <drepper@cygnus.com>
1096
1097 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
1098 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
1099 * elf/dl-deps.c: ...here.
1100 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
1101 new parameter and expect result. Remove code handling RTLD_GLOBAL.
1102 Add return value of _dl_map_object_deps to
1103 _dl_main_searchlist->r_nlist.
1104 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
1105 If we parameter GLOBAL is nonzero add object and dependencies to
1106 the global scope.
1107 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
1108 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
1109 Mark all objects as in global scope.
1110 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
1111
1112 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
1113
1114 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
1115 used in macro magic.
1116
5fea58fb
UD
11171998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1118
f540c0a4
UD
1119 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
1120 before <sys/socket.h> to make sockaddr_at available to
1121 <sys/socket.h>.
e3e35cfc
UD
1122
1123 * posix/glob.h: Remove __P from parameter lists of declarations.
5fea58fb
UD
1124
11251998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1126
1127 * time/tzset.c (tz_compute): Remove unused parameter timer.
1128 Change caller.
1129
11301998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1131
1132 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
1133
160698e2
UD
11341998-11-02 Ulrich Drepper <drepper@cygnus.com>
1135
1136 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
1137 unnecessary test and add cast.
1138
11391998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1140
1141 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
1142
1143 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
1144 parameter fd.
1145 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1146
11471998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1148
1149 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1150 fds_bits member.
1151 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
1152
11531998-10-31 Richard Henderson <rth@cygnus.com>
1154
1155 * math/Makefile (gmp-objs): Add udiv_qrnnd.
1156
1157 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
1158 (inline_syscall*): New.
1159 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
1160 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
1161
256705f4
UD
11621998-10-31 Ulrich Drepper <drepper@cygnus.com>
1163
1164 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
1165 avoid ld test generating an unwanted file.
1166
c55be36d
UD
1167 * posix/PTESTS: Remove comment about incorrect test (it is correct).
1168
160698e2
UD
11691998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1170
1171 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
1172 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
1173 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
1174 * sunrpc/rpc/xdr.h: Add INT32 support.
a1129917 1175 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
160698e2
UD
1176
1177 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
1178 * nis/nis_callback.c: Likewise.
1179 * nis/nis_creategroup.c: Likewise.
1180 * nis/nis_defaults.c: Likewise.
1181 * nis/nis_intern.h: Likewise.
1182 * nis/nis_lookup.c: Likewise.
1183 * nis/nis_ping.c: Likewise.
1184 * nis/nis_print.c: Likewise.
1185 * nis/nis_table.c: Likewise.
1186 * nis/nis_util.c: Likewise.
1187 * nis/nis_xdr.c: Likewise.
1188 * nis/rpcsvc/nis.h: Likewise.
1189 * nis/rpcsvc/nis.x: Likewise.
1190 * nis/rpcsvc/nis_callback.h: Likewise.
1191 * nis/rpcsvc/nis_object.x: Likewise.
1192 * nis/rpcsvc/nislib.h: Likewise.
1193
1194 * nis/rpcsvc/yp.h: Remove casts to (u_long).
1195 * nis/rpcsvc/yp_prot.h: Likewise.
1196 * nis/rpcsvc/ypupd.h: Likewise.
1197 * nis/ypclnt.c: Change %ld to %d in sprintf.
1198
11991998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1200
1201 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
1202
12031998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1204
1205 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
1206 0, __fd_mask is usually not a char.
1207
12081998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1209
1210 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
1211 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
1212 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1213 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1214 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1215 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
1216 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1217 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1218
1219 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
1220 compiling on systems without rt_sigaction syscall.
1221 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
1222 Likewise.
1223
12241998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1225
1226 * time/strptime.c (HERE_D_FMT): Fix typo.
1227 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1228
a3b2008a
UD
12291998-10-30 Ulrich Drepper <drepper@cygnus.com>
1230
646fffb9
UD
1231 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
1232 (generate): Add test1.cat and test1.h.
1233 (distribute): Add test1.msg.
655b26bb 1234 * catgets/test1.msg: New file.
646fffb9 1235
a3b2008a
UD
1236 * catgets/gencat.c: Do a better job in initializing dynamic
1237 memory [PR libc/844].
1238
00995ca9
UD
12391998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
1240
1241 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
1242 internal_function since it is called through a pointer.
1243 * iconv/gconv_db.c (free_derivation): Likewise.
1244 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
1245
1246 * posix/wordexp.c: Add internal_function to parse_backtick definition.
1247 * rt/aio_misc.c: Add internal_function to __aio_free_request,
1248 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
1249 definitions.
1250 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
1251 __aio_notify definitions.
1252 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1253
e980ca92
UD
12541998-10-30 Ulrich Drepper <drepper@cygnus.com>
1255
1256 * Makerules (build-shlib): Add -O to generate optimized shared
1257 objects.
1258
0e19d4a3
UD
12591998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
1260
1261 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
1262 * sysdeps/libm-i387/e_fmodf.S: Likewise.
1263 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1264 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1265 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1266 * sysdeps/libm-i387/s_logb.S: Likewise.
1267 * sysdeps/libm-i387/s_logbf.S: Likewise.
1268 * sysdeps/libm-i387/s_remquo.S: Likewise.
1269 * sysdeps/libm-i387/s_remquof.S: Likewise.
1270 * sysdeps/libm-i387/s_remquol.S: Likewise.
1271 * sysdeps/libm-i387/s_significand.S: Likewise.
1272 * sysdeps/libm-i387/s_significandf.S: Likewise.
1273
12741998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1275
1276 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
1277 _llseek.
1278
12791998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1280
1281 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1282
c5e340c7
UD
12831998-10-29 Ulrich Drepper <drepper@cygnus.com>
1284
b0882748
UD
1285 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
1286 returns without cleaning up the lock.
d8334b9a 1287 (printf_unknown): Add label all_done.
b0882748 1288
7dc7f7b2
UD
1289 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
1290 kernels in mind when reading /proc/self/fd/FD.
1291 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1292
67a96999
UD
1293 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1294
d5cabaa4
UD
1295 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
1296 _fitoa.
1297
c5e340c7
UD
1298 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
1299 /prof/self/fd/FD first.
1300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1301
1302 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
1303 formatted number starting at given position and return pointer to
1304 following byte.
1305 (_fitoa): Likewise, for long long.
1306
cf3a0eca
RM
13071998-10-29 Roland McGrath <roland@baalperazim.frob.com>
1308
1309 * sysdeps/unix/sysv/linux/bits/sem.h,
1310 sysdeps/unix/sysv/linux/bits/ipc.h,
1311 sysdeps/unix/sysv/linux/bits/shm.h,
1312 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
1313 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
1314 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
1315 so the same bits will be used for the Hurd.
1316
f3c1143b
UD
13171998-10-29 Ulrich Drepper <drepper@cygnus.com>
1318
1319 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
1320 compiling on systems without rt_sigaction syscall.
1321
13221998-10-12 Philip Blundell <pb@nexus.co.uk>
1323
1324 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
1325 directories as well as add them.
1326
13271998-10-28 Philip Blundell <pb@nexus.co.uk>
1328
1329 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
1330 AF_ECONET sockets as found in recent Linux 2.1 kernels.
1331 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1332 * sysdeps/unix/sysv/linux/Makefile: Install it.
1333
13341998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1335
1336 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1337
13381998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1339
1340 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1341 fds_bits member.
1342 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
1343 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
1344 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
1345 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
1346 Likewise.
1347 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
1348 Likewise.
1349 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1350 __FD_ISSET): Use it.
1351 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1352 __FD_ISSET): Likewise.
6e2cc2c1 1353
91cc83ff
UD
13541998-10-28 Geoff Keating <geoffk@ozemail.com.au>
1355
1356 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
1357 llseek.
1358
c70ca1fa
UD
1359 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
1360 Instead call the system call wrapper function using an 64bit argument.
1361 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1362 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1363 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1364
2898c3a5
UD
13651998-10-27 Ulrich Drepper <drepper@cygnus.com>
1366
7e986b8b
UD
1367 * signal/signal.h: Don't include <time.h> for timespec, add
1368 forward declaration.
1369
2898c3a5
UD
1370 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
1371 of __FD_* macros which use __fds_bits.
1372 * sysdeps/generic/bits/select.h: Likewise.
1373 Reported by Matt McLean <keys@yikes.com>.
1374
c1a61edb
UD
13751998-10-27 Philip Blundell <pb@nexus.co.uk>
1376
1377 * elf/elf.h: Update ARM definitions.
1378
cc368887
UD
13791998-10-27 Ulrich Drepper <drepper@cygnus.com>
1380
1381 * signal/signal.h: Include bits/sigthread.h only for Unix98.
1382
665a657e
UD
13831998-10-26 Ulrich Drepper <drepper@cygnus.com>
1384
a8eab8b1
UD
1385 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
1386 define __builtin_expect as a macro substituting to the first
1387 argument.
1388 * config.h.in: Define HAVE_BUILTIN_EXPECT.
1389 * configure.in: Add test for __builtin_expect.
1390
665a657e
UD
1391 * sysdeps/unix/sysv/linux/bits/types.h: Include
1392 bits/pthreadtypes.h only not for POSIX 199506.
1393 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1394 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1395 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1396
48ab6a9e
UD
13971998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
1398
1399 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
1400 * socket/Versions [libc, GLIBC_2.0]: ... to here.
1401
992af677
UD
14021998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1403
1404 * include/stdio.h: Included <stddef.h> for size_t.
1405
1406 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
1407 to ...
1408 * include/stdio.h: ...here.
1409 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
1410
0e103c6d
UD
14111998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
1412
1413 * time/Makefile (tests): Add tst-posixtz.
1414 * time/tst-posixtz.c: New file.
1415
14161998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1417
1418 * elf/rtld.c (process_envvars): Accept any non-null value of
1419 LD_BIND_NOW, as mandated by the ABI.
1420
14211998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1422
1423 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
1424 __syscall_pread.
1425 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
1426 __syscall_pwrite.
1427 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1428 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1429 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1430 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1431 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
1432 duplicate entries.
1433 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
1434 s_pread64 and s_pwrite64.
1435 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1436
14371998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1438
1439 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
1440 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
1441 to __syscall__llseek.
1442 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1443 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1444 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
1445 __sys_llseek.
1446
14471998-10-26 Cristian Gafton <gafton@redhat.com>
1448
1449 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
1450 and s_setfsuid.
1451
14521998-10-26 Ulrich Drepper <drepper@cygnus.com>
1453
1454 * time/tzset.c (tz_compute): Correct last patch and describe this
1455 in a comment.
1456
d499a27c
AS
14571998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1458
1459 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
1460 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
1461 rt_sigaction and rt_sigpending.
1462 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
1463 for __syscall_* functions.
1464 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1465
c2ef7930
RM
14661998-10-26 Roland McGrath <roland@baalperazim.frob.com>
1467
1468 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
1469 _hurd_dtable_lock, _hurd_intern_fd.
1470
1471 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
1472 cthread_getspecific, cthread_setspecific, __libc_getspecific.
1473
1474 * mach/Versions: Fix typo in last change.
1475
1938c489
UD
14761998-10-25 Ulrich Drepper <drepper@cygnus.com>
1477
1478 * time/tzset.c (tz_compute): If time to switch to DST is later in
1479 the year switch back in the next year.
1480 Reported by jwitford@hutch.com.au.
c2ef7930 1481
a825f8e8
RM
14821998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
1483
1484 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
1485 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
1486 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
1487 __mach_port_allocate, __mach_port_allocate_name,
c2ef7930
RM
1488 __mach_port_insert_right __mutex_trylock, __mutex_lock,
1489 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
1490 __task_set_special_port, __task_terminate, __thread_depress_abort,
1491 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
1492 functions are not used outside libc.
a825f8e8
RM
1493
1494 * sysdeps/mach/hurd/Versions: New file.
1495 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
1496 _cthread_init_routine. These are set by the Hurd cthreads library.
1497 Add __getcwd, __mmap. If we don't add these, the weak definitions in
1498 the dynamic linker will not be replaced by the corresponding shared
1499 library routines once they are loaded.
1500
15011998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
1502
1503 * sysdeps/mach/hurd/i386/init-first.c: Only define
1504 __libc_enable_secure if PIC is not defined.
1505
15061998-10-25 Roland McGrath <roland@baalperazim.frob.com>
1507
1508 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
1509 to recurse into argp.
1510
4a582094
UD
15111998-10-25 Ulrich Drepper <drepper@cygnus.com>
1512
1513 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
1514 greater or equal than 199506L.
1515
1516 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
1517 only is __USE_XOPEN. Otherwise use __fds_bits.
1518 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1519 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1521 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1522 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1523
15241998-10-24 H.J. Lu <hjl@gnu.org>
1525
1526 * locale/programs/charmap.c (parse_charmap): Accept tok_string
1527 for <code_set_name>.
1528
15291998-10-25 H.J. Lu <hjl@gnu.org>
1530
1531 * locale/programs/ld-ctype.c (ctype_finish): Also check
1532 <space>.
1533
15341998-10-25 Ulrich Drepper <drepper@cygnus.com>
1535
1536 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
1537
1538 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
1539 if __USE_POSIX199506 or __USE_UNIX98.
1540
15411998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1542
1543 * string/bits/string2.h: Inline strdup+friends only if
1544 __USE_MISC || __USE_GNU (prevents namespace pollution).
1545
15461998-10-24 H.J. Lu <hjl@gnu.org>
1547
1548 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
1549 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
1550 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
1551 LOCK_NB, LOCK_UN): Likewise.
1552 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
1553 LOCK_NB, LOCK_UN): Likewise.
1554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
1555 LOCK_NB, LOCK_UN): Likewise.
1556 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
1557 LOCK_NB, LOCK_UN): Likewise.
1558
15591998-10-24 H.J. Lu <hjl@gnu.org>
1560
1561 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
1562
1563 * libio/rewind.c (rewind): Clear the error.
1564
15651998-10-24 H.J. Lu <hjl@gnu.org>
1566
1567 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
1568 "buffer".
1569
15701998-10-24 H.J. Lu <hjl@gnu.org>
1571
1572 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
1573 with __need_timeval.
1574 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
1575 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
1576
15771998-10-24 H.J. Lu <hjl@gnu.org>
1578
1579 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
1580 sigqueue): Protect with __USE_POSIX199309.
1581
15821998-10-24 H.J. Lu <hjl@gnu.org>
1583
1584 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
1585 __USE_POSIX.
1586
15871998-10-24 H.J. Lu <hjl@gnu.org>
1588
1589 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
1590 the kernel file offset.
1591 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
1592
88455219
UD
15931998-10-24 H.J. Lu <hjl@gnu.org>
1594
1595 * time/tzfile.c (__tzfile_default): Set num_types to 2.
1596
15971998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1598
1599 * rt/aio.h: Move __aio_init to...
1600 * include/aio.h: ...here.
1601
16021998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1603
1604 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
1605 definition of O_LARGEFILE.
1606
16071998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1608
1609 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
1610 as first argument to statfs.
1611
16121998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1613
1614 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
1615
16161998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1617
1618 * malloc/mtrace.c: Include <string.h> for strlen.
1619
3c068816
RM
16201998-10-24 Roland McGrath <roland@baalperazim.frob.com>
1621
184edc95
RM
1622 * sysdeps/mach/hurd/bits/environments.h: New file.
1623
3c068816
RM
1624 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
1625
1626 * mach/Versions, hurd/Versions: Add numerous symbols.
1627 Remove libmachuser and libhurduser sections, punt
1628 versioning for those libraries for now.
1629
1630 * misc/Versions: Add reboot here; it exists on all platforms.
1631 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
1632
fc40fc6c
UD
16331998-10-23 Ulrich Drepper <drepper@cygnus.com>
1634
1635 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
1636 macro.
1637 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1638 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1639 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
1640 O_NOFOLLOW, O_DIRECT): New macros.
1641 (O_DIRECTORY): Correct definition according to official 2.1.126.
1642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
1643 O_NOFOLLOW): New macros.
1644
b1fcf686
RM
16451998-10-24 Roland McGrath <roland@baalperazim.frob.com>
1646
d606f528
RM
1647 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
1648
b1fcf686
RM
1649 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
1650 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
1651
24f25de6
UD
16521998-10-23 Ulrich Drepper <drepper@cygnus.com>
1653
0d486134
UD
1654 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
1655 setfsuid.c, and setfsgid.c.
1656 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1657 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1658 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1659
24f25de6
UD
1660 * version.h (VERSION): Bump to 2.0.99.
1661
8a6da7e6
UD
1662 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
1663 ustat definition.
1664
1e8f0e3e
UD
1665 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
1666 s_pwrite64.c.
1667
24f25de6
UD
1668 * posix/fnmath.h: Don't redefine __P when used in glibc.
1669 * posix/glob.h: Likewise.
1670
1671 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
1672 Patch by Dick Streefland <dick_streefland@tasking.com>.
1673
1674 * stdio-common/tst-ungetc.c: Add more test cases.
1675
1676 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
1677 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
1678 definitions to ...
1679 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
1680 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
1681 * sysdeps/unix/sysv/linux/pathconf.c: New file.
1682 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
1683 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1684
16851998-10-20 Philip Blundell <pb@nexus.co.uk>
1686
1687 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
1688 <asm/ptrace.h> to define struct pt_regs.
1689 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
1690 including <asm/ptrace.h> here.
1691
1692 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
1693 C_SYMBOL_NAME macro.
1694
16951998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1696
1697 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
1698 end of enumerator list.
1699 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
1700 * posix/wordexp.h: Likewise.
1701
1702 * db/db.h: Use __PMT instead of __P in typedefs.
1703 * db/mpool.h: Likewise.
1704 * sysdeps/generic/bits/siginfo.h: Likewise.
1705 * nis/rpcsvc/ypclnt.h: Likewise.
1706
d6787ff2
UD
17071998-10-23 Ulrich Drepper <drepper@cygnus.com>
1708
1709 * libio/genops.c (_IO_seekmark): When switching to backup buffer
1710 make sure all characters from the read buffer are read after
1711 switching back to it.
1712
98393660
UD
17131998-10-22 Ulrich Drepper <drepper@cygnus.com>
1714
1715 * configure.in: Add support for Cygnus GNUPro compilers.
1716
84c8da0e
UD
17171998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1718
1719 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
1720
1721 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
1722 of __P for sa_restorer.
1723 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1724 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
1725 kernel_sigaction, old_kernel_sigaction): Likewise.
1726
ed304158
UD
17271998-10-22 Ulrich Drepper <drepper@cygnus.com>
1728
c7f5a0c7
UD
1729 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
1730 and __syscall_pwrite aliases.
1731
ed304158 1732 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
78e5779b
UD
1733
1734 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
1735 improve INLINE_SYSCALL using macro assembler magic.
1736
9271a050
UD
17371998-10-22 H.J. Lu <hjl@gnu.org>
1738
1739 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
1740 sanity check for n.
1741 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
1742
1743 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
1744 EINVAL if errno == ENODEV. Tested by VSX-PCT.
1745
1746 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
1747 by VSX-PCT.
1748
1749 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
1750
e595c802
UD
17511998-10-22 Philip Blundell <pb@nexus.co.uk>
1752
1753 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
1754 __ASSEMBLER__.
1755
7bb38c70
UD
17561998-10-21 Ulrich Drepper <drepper@cygnus.com>
1757
1758 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
1759 and adjust formats.
1760
0dee6738
UD
17611998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
1762
1763 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
1764 __syscall_* function.
1765 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
1766 of calling __syscall_* function.
1767 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1768 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1769 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1770 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1771 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
1772 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1773 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1774 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1775 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1776 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1777 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1778 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1779 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1780 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1781 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1782 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1783 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1784 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1785 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
1786 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1787 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1788 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1789 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1790 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1791 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1792 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1793 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1794 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1795 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1796 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1797 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1798 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1799 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1800 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
adcb550c 1801 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
0dee6738
UD
1802 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1803 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1804 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1805 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1806 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1807 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1808 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1809
1810 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
1811 inline assembler.
1812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
1813 __syscall_* definitions.
1814
1815 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
1816 definitions to...
1817 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
1818 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1819 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1820 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1821 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1822 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1823 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1824
adcb550c
UD
1825 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
1826 Move definition to...
1827 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
1828 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1829 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1830 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1831 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1832 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1833 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1834
0dee6738
UD
1835 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1836 (sysdep_routines): Remove s_pread64 and s_pwrite64.
1837
1838 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
1839 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
1840 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
1841 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
1842 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
1843 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
1844
18451998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1846
1847 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
1848 and bring them in synch.
1849 * sysdeps/unix/siglist.c: Likewise.
1850 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
1851
18521998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1853
1854 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
1855 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1856
1857 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
1858 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
1859 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
1860 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
1861 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
1862 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
1863 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
1864 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
1865 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
1866 s_setregid.
1867 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1868 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1869 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1870
18711998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1872
1873 * sunrpc/rpc_main.c (close_output, close_input): New functions.
1874 (c_output, h_output, s_output, l_output, t_output, svc_output,
1875 clnt_output, mkfile_output): Call them at the end.
1876
18771998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1878
1879 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
1880 link command.
1881
39f0e778
AS
18821998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1883
1884 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
1885 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1886
d523c981
UD
18871998-10-20 Ulrich Drepper <drepper@cygnus.com>
1888
1889 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
1890 s_pwrite64.
1891 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
1892 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
1893 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
1894 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
1895 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
1896
0dee6738
UD
18971998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
1898
1899 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
1900 O_DIRECTORY.
1901
19021998-10-20 H.J. Lu <hjl@gnu.org>
1903
1904 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
1905 argument types.
1906
4bd8be48
UD
19071998-10-19 Ulrich Drepper <drepper@cygnus.com>
1908
48244d09
UD
1909 * math/tgmath.h: Make nested function calls work.
1910
10411f2d
UD
1911 * include/ldsodefs.h: Fix typo.
1912
a9b171ef
UD
1913 * posix/Makefile (tests): Add tst-preadwrite.
1914 * posix/tst-preadwrite.c: New file.
1915
4bd8be48
UD
1916 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
1917 sure that descriptor is in any case for a directory.
1918
cfb32a6c
UD
19191998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1920
1921 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
1922 (atan2): Takes two arguments.
1923
ce85d65b
UD
19241998-10-19 Ulrich Drepper <drepper@cygnus.com>
1925
1926 * include/ldsodefs.h: New file.
1927
1928 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
1929 Remove change to avoid using _CALL_DL_FCT.
1930 * iconv/gconv_db.c: Likewise.
1931 * iconv/gconv_dl.c: Likewise.
1932 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
1933 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
1934 * nss/nsswitch.c: Likewise.
1935 * nss/nsswitch.h: Likewise.
1936
19371998-10-19 Philip Blundell <pb@nexus.co.uk>
1938
1939 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
1940 required libraries.
1941 * login/Makefile (otherlibs): Likewise.
1942 * nscd/Makefile (otherlibs): Likewise.
1943 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
1944
1945 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
1946
1947 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
1948
19491998-10-19 Philip Blundell <pb@nexus.co.uk>
1950
1951 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
1952 and setfsuid.
1953
19541998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1955
1956 * nscd/connections.c: Fix typos in comments and strings.
1957
1958 * nscd/nscd.conf: Update according to recent changes to nscd.
1959
1960 * nscd/cache.c (prune_cache): Remove wrong comment.
1961
816e6eb5
UD
19621998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
1963
1964 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
1965 category in copy_posix.
1966 (collate_finish): Don't warn about UNDEFINED not being defined.
1967 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
1968 category in copy_posix.
1969 * locale/programs/ld-messages.c (messages_startup): Likewise.
1970 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
1971 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
1972 * locale/programs/ld-time.c (time_startup): Likewise.
1973 * locale/programs/localedef.c: Move copy_def_list_t definition into
1974 locales.h. Define copy_posix variable.
1975 (main): Before processing copy list add &copy_posix to copy_list.
1976 * locale/programs/locales.h: Add definition of copy_def_list_t.
1977 * locale/programs/locfile.c: Clear bit for appropriate category in
ce85d65b 1978 copy_posix.mask for copy instruction.
816e6eb5 1979
685c1676
UD
19801998-10-19 Ulrich Drepper <drepper@cygnus.com>
1981
1982 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
1983 non-existing file with generic implementation.
1984 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1985
19861998-10-19 Philip Blundell <pb@nexus.co.uk>
1987
1988 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
1989 defined. Avoid using _CALL_DL_FCT if it is not defined.
1990 * iconv/gconv.c: Likewise.
1991
9bbe7c3b
UD
19921998-10-19 Ulrich Drepper <drepper@cygnus.com>
1993
34489d95
UD
1994 * nscd/connections.c (dbs): Define defualt values for timeouts and
1995 set enabled to 0 by default.
1996 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
1997 nscd_run.
1998
9bbe7c3b
UD
1999 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
2000 character >= 0x80.
2001 (_nl_C_LC_CTYPE_class32): Likewise.
2002 Reported by HJ Lu.
2003
7d25696a
RM
20041998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2005
2006 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2007 _HURD_THREADVAR_DL_ERROR.
2008
2009 * hurd/Makefile (user-interfaces): Add login, password.
2010
2011 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
2012
37eb58de
RM
20131998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
2014
2015 [submitted 1998-08-06]
2016 * mach/Machrules: Create target directory and force re-evaluation
2017 of Makefile to prevent `make' from optimizing away most of the
2018 implicit rules and `vpath' directives.
2019
7434cee2
RM
20201998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2021
37eb58de
RM
2022 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
2023 is null, short-circuit to __mach_msg.
2024
a13d5ca5
RM
2025 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
2026 broken out of init1.
2027 (init1) [PIC]: Call it.
2028 (__libc_init_first) [! PIC]: Call it.
2029
7434cee2
RM
2030 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
2031 __libc_init_secure. Instead set __libc_enable_secure here from
2032 the exec flags.
2033 (__libc_enable_secure): New variable it.
2034 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
2035
3f804c95
RM
20361998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2037
2038 * nscd/nscd-client.h: New file, broken out of "nscd.h".
2039 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
2040 and #include that.
2041 * nscd/Makefile (distribute): Add nscd-client.h.
2042 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
2043 Include "nscd-client.h" instead of "nscd.h"
2044
67479a70
UD
20451998-10-18 Ulrich Drepper <drepper@cygnus.com>
2046
74f7e7c0
UD
2047 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
2048 directory entries when a lstat call fails.
2049 Patch by Colin Plumb <colin@nyx.net>.
2050
67479a70
UD
2051 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
2052 NSS functions.
2053 * resolv/nss_dns/dns-network.c: Likewise.
2054
9bbe7c3b 2055 * grp/Makefile: Don't search for linuxthreads in add-ons, use
67479a70
UD
2056 have-thread-library to determine whether threads are available.
2057 * pwd/Makefile: Remove wrong comment.
2058
2059 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
2060 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
2061
2062 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
2063
2064 * nss/Versions: Add __nss_hosts_lookup.
2065
2066 * nss/getXXbyYY.c: Remove unneeded assignment.
2067
2068 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
2069
2070 Almost complete rewrite of the NSCD to make it smaller, faster,
2071 add more functionnality and make it easier to extend.
2072 * nscd/Makfile (routines): Add nscd_gethst_r.
2073 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
2074 * nscd/cache.c: New file.
2075 * nscd/gethstbyad_r.c: New file.
2076 * nscd/gethstbynm2_r.c: New file.
2077 * nscd/hstcache.c: New file.
2078 * nscd/nscd_gethst_r.c: New file.
2079 * nscd/connections.c: Rewritten. Don't start new thread for every
2080 new connection. Use a fixed set of threads which handle all
2081 connections and also the cache cleanup.
2082 * nscd/grpcache.c: Rewritten to use generic cache handling functions
2083 in cache.c.
2084 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
2085 for rewrite. Remove handle_requests function.
2086 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
2087 Define new data structure for the new unified cache and the host
2088 database entries.
2089 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
2090 databases easily. Recognize check-files and threads definitions.
2091 * nscd/nscd.conf: Add definition of enable-cache and check-files to
2092 passwd and group definitions. Add new set of definitions for hosts.
2093 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
2094 * nscd/nscd_getpw_r.c: Likewise.
2095 * nscd/nscd_proto.h: Add prototype for host database functions.
2096 * nscd/nscd_stat.c: Rewrite to simplify printing of information
2097 for many databases.
2098 * nscd/dbg_log.c: Remove unnecessary variable initializations.
2099 Global variable debug_flag is renamed to dbg_level.
2100 * nscd/dbg_log.h: Declare set_logfile.
2101
6cde0c60
UD
21021998-10-16 Ulrich Drepper <drepper@cygnus.com>
2103
2104 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
2105 O_LARGEFILE back.
2106
c7a9f249
UD
21071998-10-16 Paul Eggert <eggert@shade.twinsun.com>
2108
2109 * time/mktime.c: Some systems require <unistd.h> to be
2110 included before <time.h> for localtime_r to be declared
2111 properly.
2112 * time/strftime.c: Likewise.
2113
9ffbb612
UD
21141998-10-16 Ulrich Drepper <drepper@cygnus.com>
2115
0049f576
UD
2116 * db/Makefile: Add rule to generate shared object with the soname
2117 from glibc 2.0.
2118
9ffbb612
UD
2119 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
2120 available double check to verify it's a directory.
2121
2122 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
2123 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
2124 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
2125 are not generally available.
2126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
2127
2128 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
2129 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
2130 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
2131 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
2132 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
2133 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
2134 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
2135 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
2136 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
2137 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
2138 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
2139 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
2140 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
2141 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
2142 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
2143 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
2144 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
2145 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
2146 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
2147 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
2148 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
2149 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
2150 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
2151 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
2152 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
2153 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
2154 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
2155 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
2156 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
2157 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
2158 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
2159 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
2160 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
2161 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
2162 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2163 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
2164 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
2165 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
2166
2167 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
2168 s_setresgid, and s_setuid.
2169 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2170 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2171 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2172 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2173 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
2174 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2175 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
2176
39e4f7f8
UD
21771998-10-16 Ulrich Drepper <drepper@cygnus.com>
2178
2179 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
2180 localtime_t declaration on some systems.
2181
c66dbe00
UD
21821998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
2183
2184 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
2185 -DSTATIC_GCONV.
9ffbb612 2186 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
c66dbe00
UD
2187 defined. Avoid using DL_CLL_FCT if it is not defined.
2188
21891998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2190
2191 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
2192 Include endian.h unconditionally. Remove portability goop
2193 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
2194
21951998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2196
2197 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
2198
909927d2
UD
21991998-10-15 Ulrich Drepper <drepper@cygnus.com>
2200
2201 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
2202 again. Use char[44] to define size of the struct.
2203
a9e73d40
UD
2204 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
2205
fcab9698 22061998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 2207
fcab9698
UD
2208 * string/bits/string2.h (strcmp): Don't cache the result of
2209 __builtin_constant_p in variables, otherwise constant folding
2210 can fail in big functions.
c66dbe00 2211
fcab9698 22121998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
c66dbe00 2213
fcab9698
UD
2214 * string/bits/string2.h: Add prototypes for the new inline
2215 functions.
c66dbe00 2216
7edb4c25
UD
22171998-10-15 Ulrich Drepper <drepper@cygnus.com>
2218
2219 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
2220 have all types defined.
2221 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
2222
fcab9698 22231998-10-08 Paul Eggert <eggert@twinsun.com>
8d5166fb 2224
fcab9698
UD
2225 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
2226 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
2227 a body that merely expands localtime_r; this works around a
2228 bug in Digital Unix 4.0A and 4.0D.
8d5166fb
UD
2229
22301998-10-14 Ulrich Drepper <drepper@cygnus.com>
2231
2232 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
2233 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
2234 __ioctl to __syscall_ioctl and include Linux version of this file.
2235 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2236 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
2237 ioctl calls which handle struct termios.
2238 Based on a patch by Dan Jacobowitz <drow@false.org>.
2239
8583916e
UD
22401998-10-14 Ulrich Drepper <drepper@cygnus.com>
2241
2242 * version.h (VERSION): Bump to 2.0.98.
2243
6f100d04
UD
2244 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
2245 here instead of including kernel_termios.h.
2246
fcab9698 22471998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
c66dbe00 2248
fcab9698
UD
2249 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
2250 unnecessary after the changes of 1998-10-12.
c66dbe00 2251
99e46354
UD
22521998-10-13 Ulrich Drepper <drepper@cygnus.com>
2253
6c5a700e
UD
2254 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
2255 parameter format string.
2256 (inline_outw): Likewise.
2257
99e46354
UD
2258 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
2259 string.h to get memcpy prototype and NULL definition.
2260
22611998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2262
2263 * misc/sys/cdefs.h (__THROW): New macro.
2264 * argp/argp.h: Use it to replace the kludgey __P in inline
2265 function definitions.
2266 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2267 * stdlib/stdlib.h: Likewise.
2268 * wcsmbs/wchar.h: Likewise.
2269 * libio/stdio.h: Likewise.
2270 * stdio/stdio.h: Likewise.
2271 * sysdeps/wordsize-64/inttypes.h: Likewise.
2272 * sysdeps/wordsize-32/inttypes.h: Likewise.
2273 * string/argz.h: Likewise.
2274 * io/sys/stat.h: Likewise.
2275
22761998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2277
2278 * Rules (stdio_lim): New variable.
2279 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
2280 on Rules and config.make, use $(move-if-change) to avoid unnessary
2281 recompilations, and cleanup command.
2282 (common-generated): Add bits/stdio_lim.st.
2283
1622fda9
UD
22841998-10-12 Ulrich Drepper <drepper@cygnus.com>
2285
2286 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
2287 variable to prevent warnings from use of modern CPU instructions.
2288 Patch by Richard Henderson <rth@cygnus.com>.
2289
2290 * sysdeps/unix/opendir.c: Test whether NAME is directory before
2291 opening it.
2292
22931998-10-12 Philip Blundell <pb@nexus.co.uk>
2294
2295 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
2296 semicolon so that profiling works.
2297
4875f665
RM
22981998-10-12 Roland McGrath <roland@baalperazim.frob.com>
2299
2300 * sysdeps/generic/glob.c: #undef mempcpy before #define.
2301
2302 * sysdeps/unix/bsd/clock.c: Use prototype defns.
2303
431f91ba
UD
23041998-10-11 Ulrich Drepper <drepper@cygnus.com>
2305
2306 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
2307 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2308
2309 * string/bits/string2.h [!_STRING_ARCH_unaligned]
2310 (__mempcpy_small): Add parameter for 1 byte copy and use it.
2311 Reported by Geoff Keating <geoffk@ozemail.com.au>.
2312
027acb51
UD
23131998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
2314
2315 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
2316 it is already defined in <bits/environments.h>.
2317
9a29bc37
UD
23181998-10-09 Ulrich Drepper <drepper@cygnus.com>
2319
2320 * posix/ptestcases.h: Fix typo.
2321
23221998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2323
2324 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
2325 (regexec): Allocate regs.start and regs.end as one block.
2326
23271998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2328
2329 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
2330 enum decl.
2331
23321998-10-08 Philip Blundell <pb@nexus.co.uk>
2333
2334 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
2335 sigcontext union to ...
2336 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
2337 file.
2338 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
2339 version 2.0 kernels.
2340
9ea350a4
UD
23411998-10-08 Ulrich Drepper <drepper@cygnus.com>
2342
8261bc4b
UD
2343 * malloc/mtrace.c (tr_reallochook): Produce better output for real
2344 reallocation case.
2345
16e866fa 2346 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
ea1dfb4a 2347 * argp/argp-xinl.c: Likewise.
16e866fa 2348
9ea350a4
UD
2349 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
2350 Ruffian entry back.
2351 Patch by Christian Gafton.
2352
25b3b17b
UD
23531998-10-08 Paul Eggert <eggert@twinsun.com>
2354
2355 * time/mktime.c (__mktime_internal): When the requested time falls
2356 in a spring-forward gap of size DT, return a time that is DT away
2357 from the requested time, preferring a time whose tm_isdst differs
2358 from the requested value. Bump the max number of probes from 4 to
2359 6 to account for the extra probes needed to discover a
2360 spring-forward gap in the worst case.
2361
23621998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
2363
2364 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
2365 of the weird alpha architectures.
2366 Patch by Cristian Gafton <gafton@redhat.com>.
2367
23681998-02-18 23:31 Richard Henderson <rth@cygnus.com>
2369
2370 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
2371 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
2372
604510f7
UD
23731998-10-07 Ulrich Drepper <drepper@cygnus.com>
2374
2375 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
2376 (dl_open_worker): Use realloc, not malloc to resize array.
2377 * elf/rtld.c (_dl_initial_searchlist): New variable.
2378 (_dl_main): Copy content of _dl_main_searchlist to
2379 _dl_initial_searchlist.
2380 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
2381 _dl_global_scope_alloc.
2382 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
2383 * elf/dl-close.c (_dl_close): When removing object with global
2384 scope remove allocated searchlist if no dynamically loaded object
2385 is on it anymore.
2386 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
2387 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
2388
2389 * malloc/mtrace.c (tr_where): Don't print space in location string,
2390 print it afterwards. Print better symbol name information.
2391
0163d97b
UD
23921998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2393
2394 * manual/filesys.texi (Setting Permissions): Fix example for
2395 reading umask.
2396
23971998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2398
2399 * elf/sprof.c (load_profdata): Fix typo in error message.
2400
c0de721b
AS
24011998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2402
2403 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
2404 flag.
2405
442dc326
RM
24061998-10-04 Roland McGrath <roland@baalperazim.frob.com>
2407
2408 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
2409
d53427c8
UD
24101998-10-06 Ulrich Drepper <drepper@cygnus.com>
2411
2412 * version.h (VERSION): Bump to 2.0.97.
2413
acdf1251
UD
24141998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2415
2416 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
2417 in definitions of inline stat functions so that they match the
2418 declaration.
2419 * stdlib/stdlib.h: Likewise.
2420 * wcsmbs/wchar.h: Likewise.
2421 * libio/stdio.h: Likewise.
2422 * stdio/stdio.h: Likewise.
2423 * sysdeps/wordsize-64/inttypes.h: Likewise.
2424 * sysdeps/wordsize-32/inttypes.h: Likewise.
2425 * string/argz.h: Likewise.
2426 * argp/argp.h: Likewise.
2427
3cb07217
UD
24281998-10-06 Ulrich Drepper <drepper@cygnus.com>
2429
2430 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
2431 netinet/in.h.
2432
c10bb795
UD
24331998-10-05 Philip Blundell <philb@gnu.org>
2434
2435 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
2436 and constants. Tidy up formatting a little.
2437
2438 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
2439 Move definitions to in.h.
2440
8325d82c
UD
24411998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2442
2443 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
2444 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
2445 Remove inclusion of <linux/swap.h>.
2446
24471998-10-05 Ulrich Drepper <drepper@cygnus.com>
2448
2449 * io/sys/stat.h: Use __P in definitions of inline stat functions
2450 so that they match the declaration.
2451
24521998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2453
2454 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
2455
24561998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2457
2458 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
2459 linux 2.1 version.
2460
24611998-10-02 Philip Blundell <pb@nexus.co.uk>
2462
2463 * sysdeps/arm/dl-machine.h: Fix typo in last change.
2464
2465 * sysdeps/arm/bits/huge_val.h: New file.
2466
24671998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2468
2469 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
2470
2471 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
2472 define.
2473
24741998-10-05 Ulrich Drepper <drepper@cygnus.com>
2475
2476 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
2477 store result of realloc instead of using BUF.
2478
24791998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2480
2481 * misc/sgtty.h (_SGTTY_H): Correct spelling.
2482 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
2483
24841998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2485
2486 * manual/memory.texi (Obstacks): Document
2487 obstack_alloc_failed_handler usage.
2488
2489 * malloc/obstack.h: Enhance comment about
2490 obstack_alloc_failed_handler usage.
2491 * malloc/obstack.c: Likewise.
2492
24931998-10-05 Ulrich Drepper <drepper@cygnus.com>
2494
2495 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
2496 gcc before 2.8 is used.
2497
24981998-10-01 Philip Blundell <pb@nexus.co.uk>
2499
2500 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
2501 from Scott Bambrough.
2502
2503 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
2504
2505 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
2506 include the lock member.
2507
25081998-09-03 Philip Blundell <pb@nexus.co.uk>
2509
2510 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
2511
e3e4e463
UD
25121998-10-01 Ulrich Drepper <drepper@cygnus.com>
2513
2514 * timezone/zic.c: Update from tzcode1998h.
2515 * timezone/europe: Update from tzdata1998i.
2516 * timezone/southamerica: Likewise.
2517
7782d0bf
UD
2518 * sys/types.h: Protect use of long long by __extension__.
2519 * stdlib/stdlib.h: Likewise.
2520 * string/string.h: Likewise.
2521 * sysdeps/i386/bits/byteswap.h: Likewise.
2522 * sysdeps/geeric/bits/byteswap.h: Likewise.
2523 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2524 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2525 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2526 * sysdeps/wordsize-32/inttypes.h: Likewise.
2527 * sysdeps/wordsize-32/stdint.h: Likewise.
2528 * wcsmbs/wchar.h: Likewise.
2529
8325d82c
UD
25301998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2531
2532 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
2533 expression.
2534 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
2535 __strsep): Greatly reduce size of expansion by combining common
2536 expressions.
2537 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
2538 inline function.
2539 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
2540 by the above definitions.
2541
25421998-09-27 Geoff Keating <geoffk@ozemail.com.au>
2543
2544 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
2545 correct struct ipc_perm definition.
2546
25471998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2548
2549 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
2550
999b2f6b
UD
25511998-09-29 Cristian Gafton <gafton@redhat.com>
2552
8325d82c
UD
2553 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
2554 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
999b2f6b
UD
2555 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
2556 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
2557 Add net/if_shaper.h.
2558
87052ab7
UD
25591998-09-29 Ulrich Drepper <drepper@cygnus.com>
2560
cf26217d
UD
2561 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
2562
87052ab7
UD
2563 * nis/ypclnt.c: Remove not needed close calls.
2564
6ff5bc68
UD
25651998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
2566
2567 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
2568 check a bit. Also close socket of domain client. Close socket
2569 in IPPORT_RESERVED error case.
2570
25711998-09-28 Ulrich Drepper <drepper@cygnus.com>
2572
2573 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
2574 CMSG_ALIGN (fixes a bug) and correct test for availability of
2575 another entry.
2576 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
2577 Linux version.
2578 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
2579 availability of another entry.
2580 Patch by ak@muc.de.
2581
2582 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
2583 Patch by ak@muc.de.
2584
999b2f6b
UD
2585 * libio/libio.h [!__STDC__]: Define const only if not defined.
2586
6ff5bc68
UD
25871998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2588
2589 * posix/annexc.c (xsystem): New function. Use it instead of
2590 system.
2591
25921998-09-28 Ulrich Drepper <drepper@cygnus.com>
2593
2594 * stdlib/longlong.h: Remove #endif for #if removed in last change.
2595
e07a51b5
UD
25961998-09-25 Ulrich Drepper <drepper@cygnus.com>
2597
2598 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
2599 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
2600 allow using `ut' parameter.
2601 [!emacs]: Define ut_argument, ut_argument_spec, and
2602 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
2603 argument_spec to prototypes and definitions.
2604 (my_strftime): Don't call tzset of ut != 0.
2605 Compute diff as 0 is ut != 0;
2606 [emacs]: Define new emacs_strftime function.
2607 Based on a patch by Paul Eggert.
2608
26091998-09-24 Paul Eggert <eggert@twinsun.com>
2610
2611 * time/strftime.c (my_strftime): When asking for the length of the
2612 subformatted buffer, do not limit the length to look for;
2613 otherwise, we have no reliable way to distinguish between the
2614 empty buffer and an error.
2615
390a4882
UD
26161998-09-25 Ulrich Drepper <drepper@cygnus.com>
2617
2618 * math/Makefile (gmp-objs): Add mp_clz_tab.
2619
26201998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
2621
2622 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
2623 set them.
2624 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
2625 cpus lacking hardware multiply and divide.
2626
26271998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2628
2629 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
2630 $(<F), not $(^F).
2631
26321998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2633
2634 * db/btree/bt_delete.c: Fix -Wparentheses warning.
2635
26361998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2637
2638 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
2639 $(do-install).
2640
e503270c
UD
26411998-09-24 Ulrich Drepper <drepper@cygnus.com>
2642
e07a51b5 2643 * debug/catchsegv.sh: Also produce output if clone process died.
e503270c
UD
2644
26451998-09-24 Paul Eggert <eggert@twinsun.com>
2646
390a4882 2647 * time/strftime.c (f_wkday): Remove duplicate definition.
e503270c
UD
2648 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
2649 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
2650 1998-09-11 fix to this case.
2651 (wkday_len, month_len): Remove these macros; they're no longer needed.
2652
26531998-09-24 Paul Eggert <eggert@twinsun.com>
2654
390a4882 2655 * time/strftime.c (my_strftime): Don't store past the end of a
e503270c
UD
2656 zero-sized buffer.
2657
3465c0ce
UD
26581998-09-24 Paul Eggert <eggert@twinsun.com>
2659
e503270c 2660 * time/strftime.c (underlying_strftime):
3465c0ce
UD
2661 Set the buffer to a nonzero value before calling
2662 strftime, and check to see whether strftime has set the buffer to zero.
2663 This lets us distinguish between an empty buffer and an error.
2664
26651998-09-24 Paul Eggert <eggert@shade.twinsun.com>
2666
e503270c 2667 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3465c0ce
UD
2668 This fix is propagated from tzcode1998g.tar.gz.
2669
7a3bfc4e
UD
26701998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
2671
2672 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
2673 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
2674 sys_siglist. This is handled correctly by the weak_alias macro.
2675
369b1933
UD
26761998-09-24 Ulrich Drepper <drepper@cygnus.com>
2677
50a1b837
UD
2678 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
2679 of mempcpy. Reported by Andreas Jaeger.
2680
369b1933
UD
2681 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
2682 pollute the namespace since the compiler will resolve it inline.
2683 Reported by Florian La Roche <florian@suse.de>.
2684
2b79b6d5
UD
26851998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
2686
2687 * timezone/private.h: Update from tzcode1998g.
2688
2689 * timezone/africa: Update from tzdata1998h.
2690 * timezone/asia: Likewise.
2691 * timezone/australasia: Likewise.
2692 * timezone/europe: Likewise.
2693 * timezone/northamerica: Likewise.
2694 * timezone/southamerica: Likewise.
2695 * timezone/zone.tab: Likewise.
2696
3d42e04d
UD
26971998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2698
2699 * misc/sys/mman.h: New file.
2700
2701 * sysdeps/generic/bits/mman.h: New file.
2702 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
2703 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
2704 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
2705 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
2706
2707 * sysdeps/generic/sys/mman.h: Removed.
2708 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
2709 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
2710 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
2711 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
2712 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
2713
2714 * include/sys/mman.h: Look directly for misc/sys/mman.h.
2715 * misc/Makefile (headers): Add bits/mman.h.
2716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2717 bits/mman.h.
2718
2719 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
2720 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2721 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2722 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2723 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2724 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2725 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2726 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
2727
27281998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2729
2730 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
2731 * sysdeps/mach/alpha/thread_state.h: Likewise.
2732 * sysdeps/mach/i386/sysdep.h: Likewise.
2733 * sysdeps/mach/i386/thread_state.h: Likewise.
2734 * sysdeps/mach/mips/sysdep.h: Likewise.
2735 * sysdeps/mach/mips/thread_state.h: Likewise.
2736 * sysdeps/posix/profil.c: Likewise.
2737 * sysdeps/i386/i586/memcopy.h: Likewise.
2738 * sysdeps/mach/pagecopy.h: Likewise.
2739
a379e56a
UD
27401998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
2741
2742 * libio/stdio.h: Define __need_getopt and include getopt.h to define
2743 getopt stuff.
2744 * posix/unistd.h: Likewise.
2745 * stdio/stdio.h: Likewise.
2746 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
2747 define only getopt and the variables.
2748
34a4b66d
UD
27491998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2750
2751 * scripts/test-installation.pl (installation_problem): Don't link
2752 the test program against libdb1.
2753
24fd4cc4
UD
27541998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
2755
2756 * Makeconfig (all-subdirs): Add db.
2757 * Versions.def: Add definition for libdb1.
2758 * shlib-versions: Add definitions for libdb1.
2759 * db/Makefile (extra-libs): Replace by libdb1.
2760 (libdb-routines): Rename to libdb1-routines.
2761 (headers): Rename to db1-headers.
2762 (distribute): Add $(db1-headers).
2763 (install-others): Define to install symlink libdb.so.NN and the
2764 $(db1-headers).
a379e56a 2765 (CPPFLAGS): Add -DUSE_LIBDB1
24fd4cc4
UD
2766 Remove rules to build makedb.
2767 * db/Versions: Rename libdb to libdb1.
2768 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
af564203 2769 * db/makedb.c: Removed.
24fd4cc4
UD
2770
2771 * scripts/versions.awk: Recognize digits in library names.
2772
2773 * db/btree/bt_open.c: Fix compiler warnings.
2774 * db/btree/bt_put.c: Likewise.
2775 * db/btree/bt_split.c: Likewise.
2776 * db/hash/hash.c: Likewise.
2777 * db/hash/hash_bigkey.c: Likewise.
2778 * db/recno/rec_close.c: Likewise.
2779
af564203
UD
2780 * Makefile: Add localedata/% goal.
2781
c94a8080
UD
27821998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2783
2784 * posix/execvp.c: Don't give up searching the PATH if execve
2785 returns ENOTDIR.
2786
27871998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
2788
2789 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
2790 if _dl_fpu_control_set is set.
2791 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
2792 * elf/rtld.c: Don't define _dl_fpu_control_set.
2793 * elf/Versions: Remove _dl_fpu_control_set.
2794
27951998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
2796
2797 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
2798 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2799 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2800 Correct values of other SA_* macros according to kernel headers.
2801
28021998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2803
2804 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
2805 variable l.
2806 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
2807 old.
2808
28091998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2810
2811 * elf/ldsodefs.h: Fix typo in comment.
2812
28131998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2814
2815 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
2816 char when comparing buffer contents with putback character.
2817
28181998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2819
2820 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
2821 Undo last change.
2822 * elf/Versions: Undo last change. Export _dl_fpu_control and
2823 _dl_fpu_control_set.
2824 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
2825 variables. Include <fpu_control.h>.
2826 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
2827 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
2828 to indicate that is was seen.
2829 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
2830 only if _dl_fpu_control was set and is equal to desired value.
2831 * math/Makefile (aux): Undo last change.
2832 * math/Versions: Export __fpu_control with version GLIBC_2.0.
2833
f74e8ed1
AS
28341998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2835
2836 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
2837 optimized.
2838
e7c5513d
UD
28391998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
2840
2841 * string/bits/string2.h: Add mempcpy optimization.
2842 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
2843 * intl/localealias.c: Define mempcpy only if not already defined.
2844
2845 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
2846 defined.
2847
28481998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2849
2850 * csu/abi-note.S: Emit the note directly instead of defining
2851 a preprocessor macro that's only used once. Don't include sysdep.h.
2852 * abi-tags: Generalize Solaris entry.
2853
28541998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2855
2856 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
2857 Change to array to avoid runtime relocation.
2858 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
2859
28601998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2861
2862 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
2863 * math/Makefile ($(objpfx)libieee.a): Likewise.
2864
28651998-09-21 Ulrich Drepper <drepper@cygnus.com>
2866
2867 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
2868 Patch by John Tobey <jtobey@banta-im.com>.
2869
b0fd6165
UD
28701998-09-20 Ulrich Drepper <drepper@cygnus.com>
2871
2872 * login/Makefile (distribute): Remove pty-internal.h, add
2873 pty-private.h.
1391f5d3
UD
2874
2875 * stdlib/tst-strtol.c: Add more checks.
2876 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2877
a0780919
UD
28781998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
2879
2880 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
2881 * elf/elf.h: Add AT_FPUCW.
2882 * elf/Makefile (dl-routines): Add fpu_control.
2883 (elide-routines.os): Add fpu_control.
2884 (rtld-routines): Add fpu_control.
2885 * math/Makefile (aux): Remove fpu_control.
2886 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
2887 (_dl_show_auxv): Likewise.
2888 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
2889 if different from OS default.
2890
2891 * stdio-common/tstscanf.c: Add test case for (nil).
2892
00bc5db0
UD
28931998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
2894
2895 * libio/fileops.c (_IO_new_file_underflow): Before allocating
2896 buffer make sure the pushback buffer is destroyed.
2897 (_IO_new_file_seekoff): Likewise.
2898 If mode==0 quit early with the result.
2899 Clear OEF flag after successful fseek.
2900 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
2901 * libio/ftello.c (ftello): Add offset from original buffer if
2902 stream has pushed back characters.
2903 * libio/ftello64.c (ftello64): Likewise.
2904 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
2905 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
2906 * libio/ioftell.c (_IO_ftell): Likewise.
2907 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
2908 and _IO_save_ptr.
2909 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
2910 (_IO_default_pbackfail): Only stored push back character in original
2911 buffer if it is the same as the one in the file at this position.
2912 * libio/iofclose.c: Free backup buffer if one is available.
2913 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
2914 mode!=0.
2915
2916 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
2917
2918 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
2919
c53a89d4
UD
2920 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
2921
00bc5db0
UD
29221998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
2923
2924 * login/programs/pt_chown.c (more_help): Correct message that
2925 describes the purpose of the program.
2926
2927 * login/openpty.c: Do not include pty-private.h.
2928 (pts_name): New function. Return name of slave pseudo terminal in
2929 an allocated buffer if necessary.
2930 (openpty): Use pts_name to get name of the slave end of the pseudo
2931 terminal pair.
2932
2933 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
2934 pts_name before return.
2935
29361998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
2937
2938 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
2939
88263bc9
UD
29401998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2941
2942 * login/openpty.c: Include pty-private.h instead of
2943 pty-internal.h.
2944
872ea854
UD
29451998-09-09 Philip Blundell <pb@nexus.co.uk>
2946
2947 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
2948
29491998-09-07 Philip Blundell <pb@nexus.co.uk>
2950
2951 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
2952 recent ld.so changes.
2953 (elf_machine_runtime_setup): Correct behaviour when profiling.
2954
9b3c7c3c
UD
29551998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
2956
2957 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
2958 Patch by John Tobey <jtobey@banta-im.com>.
2959
29601998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
2961
2962 * login/pty-internal.h: Removed. Moved constants related to the
2963 `grantpt' helper program protocol to ...
2964 * login/pty-private.h: ... here. New file.
2965 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
2966 to make the function work with kernels >= 2.1.115.
2967 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
2968 version if using the cloning device fails.
2969 * sysdeps/unix/sysv/linux/grantpt.c: New file.
2970 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
2971 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
2972 use by Linux specific code.
2973 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
2974 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
2975 function. (grantpt): Use pts_name, check group and permission
2976 mode in addition to owner. Try to set the owner, group and
2977 permission mode first without invoking the helper program.
2978 * login/programs/pt_chown.c: Largely rewritten. Add argp and
2979 internationalization support. Use symbolic constants instead of
2980 hardwired numbers for permission mode.
2981 * sysdeps/unix/bsd/ptsname.c: New file.
2982
29831998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
2984
2985 * posix/wordexp-test.c: Undo last change.
2986
2987 * posix/wordexp.c: Undo last change.
2988
d8f2b9ea
UD
29891998-09-16 Ulrich Drepper <drepper@cygnus.com>
2990
2991 * nscd/grpcache.c (save_grp): Partly undo last change.
2992
2993 * nscd/pwdcache.c (save_pwd): Undo last change.
2994
9c4c0024
UD
29951998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2996
2997 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
2998 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
2999
30001998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
3001
3002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3003 Add profiling support.
3004 (TRAMPOLINE_TEMPLATE): New macro.
3005 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3006 (RTLD_START): Prettify, and set __libc_stack_end properly.
3007 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
3008 and check for sym being NULL instead.
3009 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
3010 of stack space.
3011 * sysdeps/sparc/sparc64/lshift.S: Likewise.
3012 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
3013 * sysdeps/sparc/sparc64/rshift.S: Likewise.
3014 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
3015 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
3016 MEDANY code model %g4 usage.
3017 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
3018 MEDANY code model %g4 usage.
3019 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
3020 code model address formation.
3021 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
3022 include elf/ldsodefs.h
3023 (DT_SPARC): Remove.
3024 (elf_machine_matches_host): It is now EM_SPARCV9.
3025 (elf_machine_dynamic): Clean up to remove ugly cast.
3026 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
3027 new PLT formats.
3028 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
3029 Prettify rest of function.
3030 [R_SPARC_COPY]: Check for sym being NULL.
3031 [R_SPARC_32]: Handle it.
3032 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
3033 MEDMID code model.
3034 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
3035 MEDANY code model.
3036 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
3037 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
3038 Add profiling support.
3039 (TRAMPOLINE_TEMPLATE): New macro.
3040 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3041 (RTLD_START): Prettify and set __libc_stack_end.
3042 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
3043 Define.
3044 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
3045 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
3046 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
3047 unused variable scratch.
3048 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3049 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
3050 Declare.
3051 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
3052 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
3053 old format kernel sigaction structures.
3054 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
3055 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
3056 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
3057 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
3058 ucontext include.
3059 (_JMPBUF_UNWINDS): Define.
3060 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
3061 statfs64 structure, which is exactly the same as the normal one.
3062 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
3063 of stack. Use correct syscall trap number. Add branch prediction
3064 settings to branch instructions. Remove old MEDANY code model %g4
3065 referneces for non-PIC.
3066 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3067 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
3068 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
3069 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
3070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3071 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
3072 __libc_longjmp and __libc_siglongjmp strong aliases.
3073 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
3074 Also define to __no__readdir64_decl around readdir.c inclusion.
3075 (__readdir64): Add strong alias.
3076 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
3077 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
3078 Set strong and weak names properly.
3079
30801998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3081
3082 * manual/Makefile (AWK): Default to gawk if standalone.
3083
30841998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3085
3086 * Makefile (distribute): Undo last change.
3087 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
3088 for sysdep headers.
3089 (+subdir-headers): Removed, unused.
3090
30911998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3092
3093 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
3094 $(do-install).
3095
30961998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3097
3098 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
3099 absolute name in $(config-sysdirs), can never happen.
3100 ($(+sysdir_pfx)sysd-rules): Likewise.
3101 * Makeconfig (full-config-sysdirs): Likewise.
3102 (all-Subdirs-files): Prepend $(..).
3103
3104 * configure.in: Don't check for absolute name in $add_ons_pfx, can
3105 not happen. Let --enable-add-ons=yes work if no add-ons actually
3106 exist.
3107
31081998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3109
3110 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
3111 continuations in command.
3112
31131998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3114
3115 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
3116
a8125d85
UD
31171998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
3118
3119 * posix/wordexp-test.c: If expansion or substitution occurs
3120 anywhere in a word, the entire word is subject to field-splitting.
3121
3122 * posix/wordexp.c (parse_glob): Look for end of word instead of
3123 end of field when deciding what to glob.
3124 (field_split_word): New function, now the only place where
3125 field-splitting is performed.
3126 (parse_dollars): New parameter - tell the caller if
3127 field-splitting should be performed on this word.
3128
3129 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
3130 succeeded (or failed with WRDE_NOSPACE).
3131
31321998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
3133
3134 * posix/wordexp.c (wordexp): Don't convert IFS characters to
3135 blanks.
3136
3137 * posix/wordexp-test.c: Words not the result of expansion or
3138 substitution should remain unchanged.
3139
aa2bc6a3
UD
31401998-09-15 Ulrich Drepper <drepper@cygnus.com>
3141
3142 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
3143 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
3144
3a60301a
UD
31451998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3146
3147 * stdio-common/Makefile: Include Makeconfig so that
3148 $(inst_includedir) is defined.
3149
77f0d179
UD
31501998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3151
3152 * io/pwd.c: Include <mcheck.h>.
3153
6beaac4d
UD
31541998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
3155
3156 * nscd/pwdcache.c (save_pwd): Correct copying.
3157 * nscd/grpcache.c (save_grp): Likewise.
3158
0ff0d59e
UD
31591998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
3160
3161 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
3162 (free_pwd): Adjust for this change.
3163 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
3164 (free_grp): Adjust for this change.
3165
d3f8acb3
UD
31661998-09-14 Ulrich Drepper <drepper@cygnus.com>
3167
3168 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
3169
14eb5d5d
UD
31701998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
3171
3172 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
3173 (install-others): Add bits/stdio_lim.h.
3174 Add rule to install bits/stdio_lim.h.
3175
3176 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
3177
3178 * Makefile (distribute): Add include/sys/mman.h.
3179
3180 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
3181 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
3182 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
3183
0a1590ba
UD
3184 * grp/initgroups.c: Include stdlib.h.
3185 Patch by Zack Weinberg.
3186
1ffaaca2
UD
31871998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
3188
3189 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
3190 for field-splitting :abc: is correct, and that two fields should
3191 result. Revert tests to reflect this.
3192
3193 * posix/wordexp.c (w_emptyword): Remove function.
3194 (exec_comm): Don't use w_emptyword.
3195 (parse_param): Likewise.
3196
4ca020f5
UD
31971998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
3198
3199 * sysdeps/arm/fpu/Dist: Moved to...
3200 * sysdeps/arm/Dist: ...here.
3201 * sysdeps/posix/Dist: Removed.
3202 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
3203 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
3204
f624c216
UD
32051998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3206
3207 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
3208
7ef90c15
UD
32091998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
3210
3211 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
3212
32131998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3214
3215 * libc-work/nis/nss_nisplus/nisplus-service.c
3216 (_nss_nisplus_parse_servent): Convert port in network byte order.
3217
32181998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3219
3220 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
3221 to provide only malloc and calloc.
3222 * include/stdlib.h: Support the above.
3223 * string/bits/string2.h: Use __need_malloc_and_calloc when
3224 including stdlib.h.
3225 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
3226
3227 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
3228 * iconvdata/iso646.c: Include <stdlib.h>.
3229
32301998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3231
3232 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
3233 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3234 * sysdeps/libm-ieee754/w_powf.c: Likewise.
3235 * sysdeps/libm-ieee754/w_powl.c: Likewise.
3236
32371998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3238
3239 * stdio-common/stdio_lim.h.in: New file. All parameters
3240 are adjustable at build time.
3241 * Rules: Add a rule to build bits/stdio_lim.h from
3242 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
3243 all subdirectories know how to make the file. It can't be
3244 in Makerules because then it gets built at top level and the
3245 dependencies are wrong.)
3246
3247 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
3248 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
3249 stdio_lim.h.
3250 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
3251 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
3252 * sysdeps/posix/Makefile: Removed.
3253 * sysdeps/posix/mk-stdiolim.c: Removed.
3254 * sysdeps/generic/bits/stdio_lim.h: Removed.
3255
32561998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3257
3258 * argp/argp-help.c: Fixup indentation.
3259 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
3260 * resolv/nss_dns/dns-network.c: Likewise.
3261 * resolv/res_send.c: Likewise.
3262 * rt/aio_cancel.c: Likewise.
3263 * rt/aio_misc.c: Likewise.
3264
32651998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3266
3267 * Makefile (install-symbolic-link): Remove the link list file at last.
3268 * Makerules (install-clean-symbolic-link-list): Removed.
3269
32701998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3271
3272 * timezone/tst-timezone.c: Print time in UTC to get consistent
3273 output.
3274
32751998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3276
3277 * elf/rtld.c (_dl_rpath): Removed.
3278 * elf/dl-support.c (_dl_path): Removed.
3279 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
3280 (CFLAGS-dl-support.c): Removed.
3281
3282 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
3283 uses changed.
3284 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
3285 instead of appending it to the main map's rpath info.
3286 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
3287 DT_RPATHs. This makes it effective again.
3288 (decompose_rpath): Remove second parameter, callers changed.
3289 (fillin_rpath): Allocate enough space in curwd.
3290 (expand_dynamic_string_token): Cope with get_origin returning -1.
3291
32921998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3293
3294 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
3295 passwd.adjunct.
3296
3297 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
3298 invalid password.
3299
33001998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
3301
3302 * locale/programs/locale.c: Update dates.
3303
5d47ceca
UD
33041998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
3305
3306 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
b1fcf686 3307 size_t is defined. Some reordering of definitions to make
5d47ceca
UD
3308 maintaining this file in parallel with the linux-specific file easier.
3309
bd31edf2
UD
33101998-09-13 Ulrich Drepper <drepper@cygnus.com>
3311
3312 * io/pwd.c (main): Add call to mtrace.
3313
3314 * malloc/mtrace.pl: Quote @ in string.
3315
33c3e20e
UD
33161998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
3317
3318 * posix/wordexp.c (parse_arith): Fix memory leaks.
3319 (exec_comm): Likewise.
3320 (parse_param): Likewise.
3321 (wordexp): Likewise.
3322 (exec_comm): Reduce number of function return points.
3323 (parse_param): Likewise.
3324 (wordexp): Likewise.
3325
1720f4d0
UD
33261998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
3327
3328 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
3329 yield three fields, not two. Test both parameter expansion and
3330 command substitution for correct field-splitting behaviour.
3331
3332 * posix/wordexp.c (w_emptyword): New function.
3333 (parse_param): Use it.
3334 (exec_comm): Likewise, for consistency with the way parse_param
3335 splits fields.
3336 (parse_param): Fix some memory leaks.
3337
2d09b95d
UD
33381998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
3339
3340 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
3341 Don't mark asm `volatile'.
3342 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
3343 from the data cache too. Assume it isn't in the instruction cache yet.
3344 (__elf_machine_fixup_plt): Clear the modified address from the caches.
3345
b39c6f8b
UD
33461998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
3347
3348 * sysdeps/generic/segfault.c (install_handler): Install signal
3349 handler with SA_ONSTACK instead of setting the stack flags to
3350 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
3351 defined.
3352
33531998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3354
3355 * signal/signal.h: Fix multiple inclusion guard to cover the
3356 entire file.
3357 * wcsmbs/wchar.h: Remove prototype of internal function
3358 __mbsrtowcs.
3359 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
3360 arithmetic on `void *'.
3361
c06cc21c
UD
33621998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
3363
3364 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
3365
3366 * posix/wordexp.c (wordexp): Perform word-splitting instead of
3367 field-splitting here.
3368 (wordexp): If out of memory mid-word, free the word (but still
3369 leave pwordexp alone for caller to see).
3370 (parse_param): Allow for zero-length fields (smarter checking of
3371 memory allocation failure).
3372 (w_addword): Convert NULL words to "".
3373 (wordexp): Convert left-over IFS characters to blanks (like bash).
3374
81e0cb2d
UD
33751998-09-11 Ulrich Drepper <drepper@cygnus.com>
3376
350eb336
UD
3377 * configure.in: Use test -f instead of test -e.
3378 Patch by John Tobey <jtobey@banta-im.com>.
3379
3380 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
3381 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
3382 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
3383 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
3384 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
3385 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
3386 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
3387 Patches by John Tobey <jtobey@banta-im.com>.
3388
81e0cb2d
UD
3389 * time/strftime.c (my_strftime): Delay use of *tp values until
3390 latest possible point to allow partly initialized structures
3391 (e.g., from strptime).
3392
514d9bca
UD
3393 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
3394 and NATS-SEFI.
3395 Define *-routines variables for new modules.
3396 (distribute): Add .c files for new modules.
3397 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
3398 and nats-sefi.h.
3399 Add rules for header generation.
3400 * iconvdata/gconv-modules: Add entries for new modules.
3401 * iconvdata/iso_10367-box.c: New file.
3402 * iconvdata/mac-is.c: New file.
3403 * iconvdata/nats-dano.c: New file.
3404 * iconvdata/nats-sefi.c: New file.
3405
81e0cb2d
UD
34061998-04-30 18:20 H.J. Lu <hjl@gnu.org>
3407
3408 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
3409 loader if PIC is not defined.
3410
ec04e9ba
UD
34111998-09-11 Ulrich Drepper <drepper@cygnus.com>
3412
3413 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
3414 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
3415 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
3416 and ISO_5428.
3417 Define *-routines variables for new modules.
3418 (distribute): Add .c files for new modules.
3419 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
3420 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
3421 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
3422 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 3423 Add rules for header generation.
ec04e9ba
UD
3424 * iconvdata/gconv-modules: Add entries for new modules.
3425 * iconvdata/csn_369103.c: New file.
3426 * iconvdata/cwi.c: New file.
3427 * iconvdata/dec-mcs.c: New file.
3428 * iconvdata/ecma-cyrillic.c: New file.
3429 * iconvdata/gost_19768-74.c: New file.
3430 * iconvdata/greek-ccitt.c: New file.
3431 * iconvdata/greek7-old.c: New file.
3432 * iconvdata/greek7.c: New file.
3433 * iconvdata/inis-8.c: New file.
3434 * iconvdata/inis-cyrillic.c: New file.
3435 * iconvdata/inis.c: New file.
3436 * iconvdata/iso6937-2.c: New file.
3437 * iconvdata/iso_2033.c: New file.
3438 * iconvdata/iso_5427-ext.c: New file.
3439 * iconvdata/iso_5427.c: New file.
3440 * iconvdata/iso_5428.c: New file.
3441
3442 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
3443 entries.
3444 Convert U02dd correctly.
3445
25c849b1
RH
34461998-09-11 20:46 Richard Henderson <rth@cygnus.com>
3447
3448 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
3449 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3450 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
3451 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
3452
04795ad9
UD
34531998-09-11 Ulrich Drepper <drepper@cygnus.com>
3454
3455 * resolv/res_init.c (res_init): Handle resolv.conf file with only
3456 one nameserver correctly. Patch by HJ Lu.
3457
3458 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
3459 and ANSI_X3.110.
3460 Define *-routines variables for new modules.
3461 (distribute): Add .c files for new modules.
3462 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
3463 Add rules for hedaer generation.
3464 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
3465 * iconvdata/ansi_x3.110.c: New file.
3466 * iconvdata/asmo_449.c: New file.
3467 * iconvdata/baltic.c: New file.
3468 * iconvdata/iec_p27-1.c: New file.
3469
3470 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
3471 entries.
3472 Convert U02dc correctly.
3473
3474 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
3475 * math/atest-exp2.c: Likewise.
3476 * math/atest-sincos.c: Likewise.
3477
3478 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
3479 is defined.
3480
34811998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3482
3483 * string/strcoll.c: Optimize a few expressions.
3484 * string/strxfrm.c: Likewise.
3485
5e0889da
UD
34861998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3487
3488 * manual/locale.texi: Fix typos.
3489
2c86b2bc
UD
34901998-09-10 Ulrich Drepper <drepper@cygnus.com>
3491
26afaa63
UD
3492 * stdlib/random_r.c (__setstate_r): Allow call with same state
3493 array as currently used (PR libc/774).
3494
6c79e60c
UD
3495 * include/limits.h: Include gcc's header even if this file is
3496 found more than once before it (PR libc/778)
3497
ec04e9ba
UD
3498 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
3499 (sysdep_headers): Remove sys/debugreg.h.
3500 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
3501 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
3502 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
3503 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
3504
2c86b2bc
UD
3505 * stdio-common/tmpnam.c: Move local static variable buf to
3506 toplevel and rename to tmpnam_buffer to ease debugging.
3507 Patch by Joe Keane <jgk@jgk.org>.
3508 Optimize s == NULL case a bit.
3509
8e9f53fc
UD
3510 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
3511 correction.
3512
482a3be2
UD
35131998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
3514
3515 * resolv/res_init.c (res_init): Initialize _res.nscount and
3516 _res.nsaddr.sin_port differently for the can when no loopback
3517 is available to allow immediate timeout in non-networking environments.
3518 Patch by Cristian Gafton <gafton@redhat.com>.
3519
e8238963
UD
35201998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3521
3522 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
3523 BAR and not EM DASH.
3524 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
3525 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
3526 Fixes PR libc/717.
3527
90865aa8
UD
35281998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
3529
3530 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
3531 for test.
3532 * timezone/tst-timezone.c (tests): Fix typo in last patch.
3533
3534 * time/tzfile.c (__tzfile_read): Handle case when there are no
3535 transitions. Set __timezone based on computed offset.
3536 * time/tzset.c (tzset_internal): Set __timezone before returning.
3537
3538 * time/tzset.c (tzset_internal): Optimize handling of local string
3539 copy.
3540
35411998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3542
3543 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
3544 libc/776).
3545
adac8450
UD
35461998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
3547
3548 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
3549 (csqrt_test): Likewise.
90865aa8 3550 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 3551
8e140239
UD
35521998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
3553
3554 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
3555 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
3556 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
3557
78acf671
UD
35581998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
3559
3560 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
3561 the special `-1' pointer.
3562
6e4c40ba
UD
35631998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
3564
3565 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
3566 inline.
3567
35681998-09-07 Paul Eggert <eggert@twinsun.com>
3569
3570 * time/mktime.c (__EXTENSIONS__): Define if not defined.
3571 (_REENTRANT): Remove. It has undesirable consequences in
3572 Solaris 2.6 (e.g. it turns off the putc macro). Defining
3573 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
3574 is what we want.
3575 * time/strftime.c: Likewise.
3576
35771998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3578
3579 * elf/dl-error.c: Fix spelling.
3580
35811998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3582
3583 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
3584 * stdio-common/_itoa.c: Likewise.
3585 * stdio-common/printf_fp.c: Likewise.
3586 * stdio-common/vfscanf.c: Likewise.
3587 * wcsmbs/wcstok.c: Likewise.
3588 * sysdeps/generic/glob.c: Likewise.
3589 * posix/getopt.c: Likewise.
3590 * sysdeps/posix/getaddrinfo.c: Likewise.
3591 * posix/wordexp.c: Likewise.
3592 * io/ftw.c: Likewise.
3593 * io/fts.c: Likewise.
3594 * misc/getpass.c: Likewise.
3595 * iconv/gconv_conf.c: Likewise.
3596 * argp/argp-fmtstream.c: Likewise.
3597 * argp/argp-help.c: Likewise.
3598 * elf/dl-load.c: Likewise.
3599 * locale/programs/stringtrans.c: Likewise.
3600 * catgets/gencat.c: Likewise.
3601 * posix/getconf.c: Likewise.
3602 * iconv/gconv_conf.c: Likewise.
3603 * iconv/iconv_prog.c: Likewise.
3604
3605 * string/strcoll.c: Optimize a few expressions.
3606 * string/strxfrm.c: Likewise.
3607
36081998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3609
3610 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
3611 level to avoid uninit variable warning.
3612
36131998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 3614
769ca810 3615 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 3616 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 3617
2aa236b1
AS
3618 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
3619 C9x macro.
3620
8ea4a95a
UD
36211998-09-08 Ulrich Drepper <drepper@cygnus.com>
3622
6e4c40ba 3623 Fix compatibility problems introduced in last change.
dc27836e
UD
3624 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
3625 defined.
3626 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
3627 -DWEAK_GMON_START to CFLAGS-initfini.s.
3628
e4d50917
UD
3629 * elf/dl-object.c (_dl_new_object): Store map address in
3630 _dl_loaded if _dl_loaded is NULL.
87c812c2 3631 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 3632
8ea4a95a
UD
3633 * sysdeps/generic/setrlimit64.c: Remove stub warning.
3634
88c91118
UD
36351998-09-07 Ulrich Drepper <drepper@cygnus.com>
3636
3637 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
3638 quiet.
2c874db2
UD
3639 * db2/btree/bt_cursor.c: Likewise.
3640 * db2/common/db_region.db_c: Likewise.
3641 * db2/common/db_salloc.db_c: Likewise.
3642 * db2/db/db.c: Likewise.
3643 * db2/db/db_rec.c: Likewise.
3644 * db2/hash/hash.c: Likewise.
3645 * db2/hash/hash_page.c: Likewise.
3646 * db2/hash/hash_rec.c: Likewise.
3647 * db2/log/log_findckp.c: Likewise.
3648 * db2/log/log_get.c: Likewise.
3649 * db2/log/log_put.c: Likewise.
3650 * db2/mp/mp_fget.c: Likewise.
3651 * db2/mp/mp_fput.c: Likewise.
3652 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
3653 * stdlib/strtol.c: Likewise.
3654 * string/strcoll.c: Likewise.
3655 * string/strxfrm.c: Likewise.
94b78bb2
UD
3656 * argp/argp-help.c: Likewise.
3657 * argp/argp-parse.c: Likewise.
3121cc04 3658 * resolv/res_debug.c: Likewise.
88c91118 3659
26644e87
UD
36601998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
3661
3662 * math/tgmath.h (scalb): Only define for __USE_MISC or
3663 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
3664
2b33e5b0
UD
36651998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3666
3667 * libio/stdio.h: Fix comment.
3668
3669 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
3670 __USE_ISOC9X.
3671
6796bc80
UD
36721998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3673
3674 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
3675
3676 * elf/dl-open.c: Quiet -Wparentheses warnings.
3677 * iconvdata/johab.c: Likewise.
3678 * iconvdata/uhc.c: Likewise.
3679 * inet/inet_net.c: Likewise.
3680 * io/fts.c: Likewise.
3681 * locale/newlocale.c: Likewise.
3682 * misc/getttyent.c: Likewise.
3683 * misc/mntent_r.c: Likewise.
3684 * misc/ttyslot.c: Likewise.
3685 * nscd/nscd_conf.c: Likewise.
3686 * nss/nsswitch.c: Likewise.
3687 * resolv/gethnamaddr.c: Likewise.
3688 * resolv/nsap_addr.c: Likewise.
3689 * resolv/res_debug.c: Likewise.
3690 * stdio-common/_itoa.c: Likewise.
3691 * stdlib/strtod.c: Likewise.
3692 * string/strverscmp.c: Likewise.
3693 * sunrpc/svc.c: Likewise.
3694 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
3695 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
3696 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
3697 * sysdeps/posix/getaddrinfo.c: Likewise.
3698
baa3334a
UD
36991998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
3700
3701 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
3702 for use of global scope.
3703 * elf/dlvsym.c (dlvsym_doit): Likewise.
3704
37051998-09-02 Paul Eggert <eggert@twinsun.com>
3706
3707 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
3708 copy the redundant bytes at the end of the format as-is; don't
3709 just copy their first byte and then rescan, as that might get
3710 us an encoding error.
3711 Account correctly for the length of multibyte sequences in the
3712 format.
3713
37141998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
3715
3716 * posix/wordexp-test.c: Add tests for different IFS values.
3717 Change unquoted-newline test so that newline is not in IFS.
3718
3719 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
3720 determining IFS characters. Return WRDE_BADCHAR for unquoted
3721 special characters _except_ if they are separators.
3722
37231998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
3724
3725 * include/tgmath.h: New file.
3726
3727 * libio/stdio.h: Correct reversed #ifs.
3728 Patch by Zack Weinberg.
3729
3730 * manual/creature.texi: Better explain reason for feature select
3731 macros.
3732 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3733
37341998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3735
3736 * include/alloca.h: Add multiple-inclusion guard.
3737 * include/db.h: Likewise.
3738 * include/db_185.h: Likewise.
6796bc80 3739 * include/dlfcn.h: Likewise.
baa3334a
UD
3740 * include/fcntl.h: Likewise.
3741 * include/grp.h: Likewise.
3742 * include/libintl.h: Likewise.
3743 * include/mntent.h: Likewise.
3744 * include/pwd.h: Likewise.
3745 * include/sched.h: Likewise.
3746 * include/search.h: Likewise.
3747 * include/setjmp.h: Likewise.
3748 * include/shadow.h: Likewise.
3749 * include/signal.h: Likewise.
3750 * include/stdio.h: Likewise.
3751 * include/stdlib.h: Likewise.
3752 * include/string.h: Likewise.
3753 * include/termios.h: Likewise.
3754 * include/time.h: Likewise.
3755 * include/ulimit.h: Likewise.
3756 * include/utmp.h: Likewise.
3757 * include/wchar.h: Likewise.
3758 * include/sys/file.h: Likewise.
3759 * include/sys/gmon.h: Likewise.
3760 * include/sys/ioctl.h: Likewise.
3761 * include/sys/mman.h: Likewise.
3762 * include/sys/resource.h: Likewise.
3763 * include/sys/select.h: Likewise.
3764 * include/sys/socket.h: Likewise.
3765 * include/sys/statfs.h: Likewise.
3766 * include/sys/time.h: Likewise.
3767 * include/sys/times.h: Likewise.
3768 * include/sys/wait.h: Likewise.
3769
be935610
UD
37701998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
3771
3772 * version.h (VERSION): Bump to 2.0.96.
3773
3774 Rewrite runtime linker to be truly thread-safe. There is now no
3775 global variable specifying the scope. We create all needed
3776 scopes at the time the link maps are created.
3777 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
3778 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
3779 l_symbolic_searchlist, l_scope, and l_local_scope elements in
3780 struct link_map.
3781 * elf/dl-close.c: Rewritten accordingly.
3782 * elf/dl-deps.c: Likewise.
3783 * elf/dl-error.c: Likewise.
3784 * elf/dl-init.c: Likewise.
3785 * elf/dl-load.c: Likewise.
3786 * elf/dl-lookup.c: Likewise.
3787 * elf/dl-object.c: Likewise.
3788 * elf/dl-open.c: Likewise.
3789 * elf/dl-reloc.c: Likewise.
3790 * elf/dl-runtime.c: Likewise.
3791 * elf/dl-support.c: Likewise.
3792 * elf/dl-symbol.c: Likewise.
3793 * elf/dl-version.c: Likewise.
be935610
UD
3794 * elf/dlsym.c: Likewise.
3795 * elf/dlvsym.c: Likewise.
3796 * elf/ldsodefs.h: Likewise.
3797 * elf/rtld.c: Likewise.
3798 * iconv/gconv_dl.c: Likewise.
3799 * nss/nsswitch.c: Likewise.
3800 * sysdeps/i386/dl-machine.h: Likewise.
3801 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3802
6796bc80
UD
3803 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
3804 Define RTLD_DEFAULT.
3805
2b4083dd
RM
38061998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
3807
3808 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
3809 __getopt_clean_environment with __environ instead of envp.
3810
a361203e
RM
38111998-09-05 Roland McGrath <roland@baalperazim.frob.com>
3812
2b4083dd
RM
3813 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
3814
531e4bca
RM
3815 * string/argz-extract.c (__argz_extract): Add de-consting cast for
3816 setting results.
3817
62ee0979 3818 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 3819 * string/argz-next.c (__argz_next): Likewise.
62ee0979 3820
59cacc81
RM
3821 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
3822 Don't add netinet/udp.h, netinet/ip_icmp.h here.
3823 * sysdeps/gnu/Makefile: Do it here instead.
3824 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
3825 * sysdeps/gnu/Dist: ... to here.
3826
a361203e
RM
3827 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
3828 sysdeps/unix/sysv/linux/netinet/tcp.h,
3829 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
3830
29659dd2
RM
38311998-09-04 Roland McGrath <roland@baalperazim.frob.com>
3832
3833 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
3834 * string/argz-next.c, string/argz-extract.c: Fix defns.
3835
1097c603
RM
38361998-09-03 Roland McGrath <roland@baalperazim.frob.com>
3837
3838 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
3839
3840 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
3841 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
3842 * sysdeps/generic/sysd-stdio.c: Likewise.
3843
143e2b96
UD
38441998-09-02 Ulrich Drepper <drepper@cygnus.com>
3845
3846 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
3847 (_dl_map_object_from_fd): Make NAME argument const.
3848 Remove last parameter in _dl_new_object call.
3849 (print_search_path): Correct construction of composed path name.
3850 (_dl_map_object): Prevent looking at RPATH of the main map twice.
3851 Remove last parameter in _dl_new_object call.
3852 * elf/dl-object.c: Remove last parameter. Determine whether create
3853 origin entry based on empty realname. Handle file in root directory
3854 correctly.
3855 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
3856 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
3857 Remove last parameter in _dl_new_object call.
3858 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
3859 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
3860
fc3597c0
UD
38611998-09-01 Ulrich Drepper <drepper@cygnus.com>
3862
4ce636da
UD
3863 * elf/dl-close.c (_dl_close): Add more comments and correct some.
3864 Free l_searchlist and l_dupsearchlist.
3865
fc3597c0
UD
3866 * debug/catchsegv.sh: Add one more pair of quotes.
3867
76156ea1
UD
38681998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
3869
3870 * elf/dl-load.c (add_name_to_object): Change return type to void and
3871 make NAME parameter const. Allocate room for NAME in same memory
3872 block used for l_libname entry.
3873 (_dl_map_object_from_fd): Don't free NAME on failure.
3874 (map_segment): Pass SONAME to add_name_to_object, not a copy.
3875 (_dl_map_object): Don't create copy of NAME. Pass NAME to
3876 _dl_map_object_from_fd.
3877 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
3878 memory block used for l_libname entry.
3879 * elf/dl-close.c: Adjust free()ing for this change.
3880
a8a1269d
UD
38811998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
3882
3883 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
3884
3885 * malloc/mtrace.c: Add bug report address. Update email address.
3886 Add more @XXX@ to print correct address size.
3887
3888 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
3889 really initialized.
3890
3891 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
3892 for munmap call instead of examining phdr again.
3893 Free all malloc()ed strings and arrays.
3894
052b6a6c
UD
38951998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3896
3897 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
3898 dl-machine.h.
3899 * sysdeps/powerpc/dl-machine.c: New file.
3900 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
3901 files. Revise ELF_PREFERRED_ADDRESS to take account of
3902 the new mapping information (fixes bug involving huge bloated
3903 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
3904 * sysdeps/powerpc/dl-start.S: New file.
3905
3906 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
3907 l_map_end.
3908 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
3909 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
3910 others. Call elf_dynamic_do_##reloc only once (to save even more
3911 space).
3912 * elf/link.h: Add new members l_map_start and l_map_end to keep
3913 track of the memory map.
3914 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
3915 the executable.
3916
39171998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
3918
3919 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
3920 Reported by Andreas Jaeger.
3921
3922 * posix/glob.h: Use __size_t instead of size_t in definitions and
3923 make sure this is defined.
3924
85c165be
UD
39251998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
3926
052b6a6c 3927 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
3928 and functionality.
3929 * manual/arith.texi: Correct reference.
3930 * manual/string.texi: Pretty printing.
3931
3932 * manual/texinfo.tex: Update from last available version.
3933
39341998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
3935
3936 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
3937 invalid password.
3938 (_nss_nis_getpwuid_r): Likewise.
3939 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
3940
3941 * inet/rcmd.c: Implement netgroup support.
3942 Patch by Dick Streefland <dick_streefland@tasking.com>.
3943
7afab53d
UD
39441998-08-31 Ulrich Drepper <drepper@cygnus.com>
3945
3946 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
3947 object on the list is removed. Don't use this code for PIC.
3948 Reported by HJ Lu [PR libc/770].
3949
bfce746a
UD
39501998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
3951
3952 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
3953
3954 * include/stdio.h: Add __vsscanf.
3955
3956 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
3957 __USE_ISOC9X.
3958 Remove __vsscanf declaration.
3959 Always declare fgetpos and fsetpos.
3960
3961 * math/math.h: Define isinf as macro.
3962 * math/bits/mathcalls.h: Change to declare __isinf all the time.
3963 Don't declare scalb for ISO C 9x.
3964
3965 * math/tgmath.h: Define fma. Rewrite the underlying macros.
3966
3967 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
3968
3969 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
3970 sys/ucontext.h.
3971
3972 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
3973 macros.
3974
39751998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3976
3977 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
3978 Reported by jreising@frequentis.com [PR libc/767].
3979
39801998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3981
3982 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
3983 fl.l_start at beginning of function.
3984 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
3985
ac72fbb1
UD
39861998-08-31 Ulrich Drepper <drepper@cygnus.com>
3987
3988 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
3989 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
3990
3991 * nscd/nscd.init: Make it work in RedHat systems.
3992 Patch by Christian Gafton.
3993
39941998-08-29 Philip Blundell <philb@gnu.org>
3995
3996 * catgets/Makefile: Don't try to run test programs when
3997 cross-compiling.
3998
39991998-08-31 Ulrich Drepper <drepper@cygnus.com>
4000
4001 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
4002 Reported by Zack Weinberg.
4003
40041998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4005
4006 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
4007 * elf/Makefile (distribute): Remove ldd.sh.in.
4008
40091998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4010
4011 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
4012 variable.
4013
e0d46614
UD
40141998-08-29 Ulrich Drepper <drepper@cygnus.com>
4015
4016 * sysdeps/i386/register-dump.h: Move to ...
4017 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
4018
b0cf070b
UD
40191998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
4020
4021 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
4022 with load address, not map address.
4023 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
4024 parameter and use this value.
4025 * sysdeps/arm/dl-machine.h: Likewise.
4026 * sysdeps/i386/dl-machine.h: Likewise.
4027 * sysdeps/m68k/dl-machine.h: Likewise.
4028 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
4029 parameter.
4030 * sysdeps/powerpc/dl-machine.h: Likewise
4031 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
4032 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
4033
997a4165
UD
40341998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
4035
4036 * elf/rtld.c (process_envvars): Fix copy&paste error.
4037
4038 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
4039 memalign hook.
4040 (realloc_hook_ini): Don't overwrite memalign hook.
4041 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
4042 Reported by Philippe Troin <phil@fifi.org>.
4043
4044 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
4045 Patch by Philippe Troin <phil@fifi.org>.
4046
40471998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4048
4049 * sysdeps/generic/segfault.c (install_handler): Protect the
4050 non-POSIX signals with #ifdef.
4051 (catch_segfault): Add missing mode parameter for open.
4052 * debug/catchsegv.sh: Avoid termination message from shell. Allow
4053 other termination signals.
4054
40551998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4056
4057 * debug/Makefile (distribute): Add register-dump.h.
4058
40591998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
4060
4061 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
4062
f787edde
UD
40631998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
4064
4065 * elf/Makefile (distribute): Add dl-origin.h.
4066 * sysdeps/generic/dl-origin.h: New file.
4067 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
4068 * elf/link.h (struct link_map): Add l_origin field.
4069 * elf/dl-load.c (expand_dynamic_string_token): New function.
4070 (decompose_path): Remove WHERE argument, take link map pointer instead.
4071 Call expand_dynamic_string_token instead of local_strdup to make copy
4072 of rpath.
4073 (_dl_init_paths): Call decompose_path with correct argument.
4074 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
4075 not defined.
4076 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 4077 Call _dl_new_object with extra argument.
f787edde
UD
4078 (_dl_map_object): Call decompose_path with correct argument.
4079 Call expand_dynamic_string_token instead of local_strdup to also
4080 expand DST.
5f623941 4081 Call _dl_new_object with extra argument.
f787edde 4082 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
4083 but the main one if new argument is nonzero.
4084 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
4085 * elf/dl-support.c: Define _dl_origin_path.
4086 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 4087 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
4088
4089 * elf/dl-close (_dl_close): Free l_name and l_origin.
4090
4091 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
4092 modifier in asm, not c.
4093
4094 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
4095 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
4096
6075607b
UD
40971998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
4098
4099 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
4100 variable so that map can be freed.
4101 Reported by Philippe Troin <phil@fifi.org>.
4102
4103 * elf/dl-open.c (dl_open_worker): Correct test for extending global
4104 scope array.
4105 Patch by Philippe Troin <phil@fifi.org>.
4106
41071998-08-26 Geoff Keating <geoffk@ozemail.com.au>
4108
4109 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
4110 Don't call writev() with a 100-element vector.
4111 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
4112 return address.
4113
4114 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
4115 In particular, set __libc_stack_end.
4116 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
4117 undefined. Fix copyright notice.
4118
41191998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4120
4121 * math/Makefile (gmp-objs): New variable.
4122 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
4123 Depend on it.
4124 (tests): Add atest-exp atest-sincos atest-exp2.
4125 (tests-static): Remove atest-exp atest-sincos atest-exp2.
4126
08cac4ac
UD
41271998-08-25 Ulrich Drepper <drepper@cygnus.com>
4128
4129 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
4130 to toplevel.
4131 (_dl_unload_cache): New function.
4132 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
4133 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 4134 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
4135
4136 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
4137 Correct comment for O_LARGEFILE.
4138 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
4139 Change O_LARGEFILE to correct value.
4140
41411998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
4142
4143 * libio/iogetline.c (_IO_getline_info): Don't read anything for
4144 N == 0. Patch by HJ Lu.
4145
6dbb7062
UD
41461998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
4147
4148 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
4149
41501998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
4151
4152 * argp/argp.h: Use __inline__ not inline.
4153
4154 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
4155 an input register as being clobbered.
4156 * sysdeps/i386/memset.c (memset): Likewise.
4157 * sysdeps/i386/bzero.c (__bzero): Likewise.
4158 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
4159
41601998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4161
4162 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
4163 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
4164
ed1ac6a2
UD
41651998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
4166
4167 * debug/catchsegv.sh: Handle text preceding backtrace better.
4168 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
4169 to be installed for other signals than SIGSEGV.
4170 * sysdeps/generic/register-dump.h: New file.
4171 * sysdeps/i386/register-dump.h: New file.
4172 * sysdeps/powerpc/register-dump.h: New file.
4173
4174 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
4175 sigcontextinfo.h.
4176 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
4177
41781998-08-24 Geoff Keating <geoffk@ozemail.com.au>
4179
4180 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
4181
41821998-08-09 Geoff Keating <geoffk@ozemail.com.au>
4183
4184 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
4185 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
4186 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
4187 getresuid, getresgid.
4188
41891998-08-16 Geoff Keating <geoffk@ozemail.com.au>
4190
4191 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
4192 pointer in userland.
4193
41941998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4195
4196 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
4197 and fix value.
4198
41991998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4200
4201 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
4202 over arguments Bourne shell compatible. Don't exit unsuccessfully
4203 if nonelf returns successfully. Avoid duplicating most of the
4204 script.
4205 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
4206 around $file.
4207
42081998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
4209
4210 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
4211 sys/reg.h.
4212 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
4213 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
4214
b259e746
UD
42151998-08-23 Ulrich Drepper <drepper@cygnus.com>
4216
4217 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
4218 __modify_ldt and modify_ldt.
4219 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
4220
4221 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4222 Use orl $-1 instead of movl $-1 to save two bytes.
4223 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
4224 Likewise.
4225
42261998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
4227
4228 * libio/Versions (_IO_do_write, _IO_file_attach,
4229 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4230 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4231 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4232 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
4233
4234 * libio/fileops.c (_IO_do_write, _IO_file_attach,
4235 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4236 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4237 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4238 _IO_file_write, _IO_file_xsputn): Change the prefix to
4239 "_IO_new_". Added to GLIBC_2.1.
4240
4241 * libio/libioP.h (_IO_do_write, _IO_file_attach,
4242 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4243 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4244 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4245 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
4246 "_IO_new_".
4247
4248 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
4249 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4250 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4251 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4252 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
4253
b259e746
UD
42541998-08-23 Richard Henderson <rth@cygnus.com>
4255
4256 * Makeconfig (LDFLAGS): Remove.
4257
ed1ac6a2 4258 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 4259
ed1ac6a2
UD
4260 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
4261 (STO_MIPS_*): Rename from STO_*.
4262 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
4263 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 4264
ed1ac6a2
UD
4265 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
4266 (main): e3s is negative on zero.
4267 * math/atest-exp2.c: Likewise.
b259e746
UD
4268 * math/atest-sincos.c: Likewise.
4269
ed1ac6a2
UD
42701998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4271
4272 * Makerules (install): Add comment about absolute paths.
4273
b259e746
UD
42741998-08-23 Ulrich Drepper <drepper@cygnus.com>
4275
4276 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
4277 array to NUL to handle maxlen==1 case correctly.
4278 Patch by HJ Lu.
4279
42801998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
4281
4282 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
4283 * sysdeps/alpha/elf/crtend.S: Likewise.
4284 * sysdeps/alpha/elf/start.S: Likewise.
4285
4286 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
4287 non-standard pv usage.
4288
4289 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
4290 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
4291 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4292 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4293 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
4294 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
4295 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4296 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4297 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4298 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4299 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4300
4301 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
4302 a finite non-denormal, deferring to the full IEEE version otherwise.
4303
4304 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
4305 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
4306 * sysdeps/alpha/fpu/s_floor.c: New.
4307 * sysdeps/alpha/fpu/s_floorf.c: New.
4308 * sysdeps/alpha/fpu/s_ceil.c: New.
4309 * sysdeps/alpha/fpu/s_ceilf.c: New.
4310
e86e2df1
UD
43111998-08-22 Philip Blundell <philb@gnu.org>
4312
4313 * sysdeps/arm/bits/string.h: New file.
4314
14a44a69
UD
43151998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4316
4317 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
4318 document it.
4319
4320 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
4321 test for recent Linux 2.1.100+ headers.
4322
e36b0b57
UD
43231998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4324
4325 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
4326
5148d49f
UD
43271998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
4328
4329 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
4330
43311998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4332
4333 * Makefile (elf/ldso_install): Put back. The problem still persists.
4334 * elf/Makefile (ldso_install): Likewise.
4335
43361998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4337
4338 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
4339 create weak alias.
4340 * include/db.h: Declare __nss_db_open.
4341 * db2/Versions: Export it.
4342
4343 * db2/makedb.c: Convert to use db2 API.
4344 * nss/nss_db/db-XXX.c: Likewise.
4345 * nss/nss_db/db-netgrp.c: Likewise.
4346 * nss/nss_db/db-alias.c: Likewise.
4347 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
4348
43491998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4350
4351 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4352 sys_setresuid, already built automatically (or not).
4353 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
4354 instead of __syscall_setresuid and add back setresuid.
4355 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
4356 __syscall_setresuid.
4357
43581998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4359
4360 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
4361
1ddf537f
UD
43621998-08-20 Ulrich Drepper <drepper@cygnus.com>
4363
4364 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
4365 BASH-ONLY marked region.
4366 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
4367
43681998-02-20 17:54 H.J. Lu <hjl@gnu.org>
4369
4370 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
4371 _IO_SYSSEEK fails.
4372
4373 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
4374
4df28840 4375 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
4376 element.
4377
8e48355c
RM
43781998-08-21 Roland McGrath <roland@baalperazim.frob.com>
4379
4380 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
4381 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
4382 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
4383 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
4384 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
4385 those magic comments, and to use /bin/sh for @BASH@.
4386 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
4387 * elf/ldd.sh.in: File removed.
4388
d762684b
UD
43891998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
4390
4391 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
4392 cast them to unsigned long int.
4393 * pwd/putpwent.c (putpwent): Likewise.
4394 Patch by John Tobey <jtobey@banta-im.com>.
4395
43961998-08-20 17:14 H.J. Lu <hjl@gnu.org>
4397
4398 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
4399 _IO_pos_BAD.
4400
44011998-02-20 17:54 H.J. Lu <hjl@gnu.org>
4402
4403 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
4404 _IO_SYSSEEK fails.
4405
7934cc16
UD
44061998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
4407
4408 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
4409 Add umount and umount2.
4410 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
4411 * sysdeps/unix/sysv/linux/umount.S: New file.
4412 * sysdeps/unix/sysv/linux/umount2.S: New file.
4413 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
4414 Define MNT_FORCE.
4415
d762684b
UD
4416 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
4417 Add sys/sendfile.h.
4418 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
4419 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
4420
4421 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
4422
4423 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
4424 sendfile.
4425
df777c40
UD
44261998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
4427
4428 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
4429 * elf/ldd.bash.in: Likewise.
4430
4431 * elf/sln.c: Avoid warning for no main prototype.
4432
4433 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
4434 O_WRITE.
4435 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4437
4438 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
4439 F_GETSIG.
4440 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4441 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4443
44441998-08-20 Philip Blundell <pb@nexus.co.uk>
4445
4446 * sysdeps/arm/fpu/ieee754.h: Move to...
4447 * sysdeps/arm/ieee754.h: ... here.
4448
4449 * sysdeps/arm/__longjmp.S: Put return value in correct register.
4450 Don't set the condition flags unnecessarily.
4451 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
4452 registers correctly.
4453
4454 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
4455 (patch from Scott Bambrough).
4456
4457 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
4458
4459 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
4460 NULL, just call it unconditionally.
4461 (__gmon_start__): Provide stub version as a weak symbol.
4462
44631998-07-30 Philip Blundell <philb@gnu.org>
4464
4465 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
4466 by Scott Bambrough)
4467
4468 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
4469 like `@' in .type directives.
4470
4471 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
4472 * sysdeps/arm/bsd-_setjmp.S: Likewise.
4473
4474 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
4475
44761998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4477
4478 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
4479 (F_GETOWN): Likewise.
4480
4481 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
4482 Linux 2.1.117).
4483
44841998-08-20 Ulrich Drepper <drepper@cygnus.com>
4485
4486 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
4487 already defined.
4488
0c6cee5d
UD
44891998-08-18 Ulrich Drepper <drepper@cygnus.com>
4490
4491 * include/features.h: Define __USE_EXTERN_INLINES for recent
4492 enough gcc.
4493 * argp/argp.h: Define extern inline functions only if
4494 __USE_EXTERN_INLINES is defined.
4495 * libio/stdio.h: Likewise.
4496 * math/math.h: Likewise.
4497 * stdlib/stdlib.h: Likewise.
4498 * string/argz.h: Likewise.
4499 * sysdeps/generic/bits/sigset.h: Likewise.
4500 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4501 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
4502 * sysdeps/wordsize-32/inttypes.h: Likewise.
4503 * sysdeps/wordsize-64/inttypes.h: Likewise.
4504 * wcsmbs/wchar.h: Likewise.
4505
4506 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
4507 to allow compilation without optimization.
4508
df777c40
UD
45091998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4510
4511 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
4512 more entries.
4513 * nis/nss_compat/compat-initgroups.c: Likewise.
4514 * nis/nss_compat/compat-pwd.c: Likewise.
4515 * nis/nss_compat/compat-spwd.c: Likewise.
4516 * nis/nss_nis/nis-alias.c: Likewise.
4517 * nis/nss_nis/nis-ethers.c: Likewise.
4518 * nis/nss_nis/nis-grp.c: Likewise.
4519 * nis/nss_nis/nis-hosts.c: Likewise.
4520 * nis/nss_nis/nis-initgroups.c: Likewise.
4521 * nis/nss_nis/nis-network.c: Likewise.
4522 * nis/nss_nis/nis-proto.c: Likewise.
4523 * nis/nss_nis/nis-pwd.c: Likewise.
4524 * nis/nss_nis/nis-rpc.c: Likewise.
4525 * nis/nss_nis/nis-service.c: Likewise.
4526 * nis/nss_nis/nis-spwd.c: Likewise.
4527
4528 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
4529
4530 * nis/ypclnt.c: Try binding dir only first time, could be to old.
4531
4532 * nis/yp_xdr.c: Remove 1024 byte limit.
4533 * nis/ypupdate_xdr.c: Likewise.
4534
4535 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
4536 wrong data.
4537
c82e6116
RM
45381998-08-18 Roland McGrath <roland@baalperazim.frob.com>
4539
4540 * Rules (binaries-static, binaries-shared static pattern rules):
4541 Depend on lib%, not just libc%, from $(link-libc{,-static}).
4542
4543 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
4544 this here, overriding Makeconfig generic value so we link against
4545 the RPC libs.
4546
364ff81f
UD
45471998-08-17 Ulrich Drepper <drepper@cygnus.com>
4548
4549 * posix/tstgetopt.c (options): Add NULL entry at end
4550 Patch by Adrian Miranda <ade@psg.com>.
4551
5d7de7aa
UD
45521998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
4553
4554 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
4555 to 9.
4556
d610a544
UD
45571998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
4558
4559 * elf/elf.h: Add PPC Diab relocations.
4560
4561 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
4562
409dfcea
UD
45631998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
4564
4565 * manual/texinfo.tex: Update.
4566
45671998-08-07 Geoff Keating <geoffk@ozemail.com.au>
4568
4569 * sysdeps/powerpc/backtrace.c: New file.
4570
45711998-08-14 Philip Blundell <pb@nexus.co.uk>
4572
4573 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
4574 sigjmp_save.
4575 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
4576
45771998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4578
4579 * Makefile (install-symbolic-link): Fix spelling.
4580
45811998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4582
4583 * elf/elf.h (SHT_HIOS): Fix value.
4584
45851998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4586
4587 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
4588 part of the expansion, this is undefined by the standard.
4589
9d141cae
UD
45901998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
4591
4592 * posix/getconf.c: Add support for systems with incomplete confname.h.
4593
4594 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
4595
4596 * sysdeps/posix/wait3.c: Make it work.
4597
45981998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4599
4600 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
4601 (elf/ldso_install): Remove.
4602
4603 * elf/Makefile (distribute): Add sln.c.
4604 (others): Add sln.
4605 (others-static): Add sln.
4606 (install-rootsbin): Add sln.
4607 (others-static): Add sln.
4608 (ldso_install): Remove.
4609
46101998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4611
4612 * Makerules (install-clean-symbolic-link-list): Make phony.
4613 * Makefile (install-symbolic-link): Make phony. Depend on
4614 subdir_install for parallel makes.
4615
4616
46171998-07-22 Ulrich Drepper <drepper@cygnus.com>
4618
4619 * elf/Makefile (distribute): Add sln.c
4620
46211998-07-21 07:10 H.J. Lu <hjl@gnu.org>
4622
4623 * elf/sln.c: New file.
4624
4625 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
4626 (install-clean-symbolic-link-list): New target.
4627 (install): Depend on install-clean-symbolic-link-list.
4628 (make-shlib-link): Changed for $(symbolic-link-list).
4629
4630 * Makefile (install-symbolic-link): New target.
4631 (install): Depend on install-symbolic-link.
4632
1f539fd1
UD
46331998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
4634
4635 * include/unistd.h: Protect against multiple inclusion.
4636
4637 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
4638 is defined, not is glob is defined.
4639 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
4640
46411998-08-01 17:18 H.J. Lu <hjl@gnu.org>
4642
4643 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
4644 xdr_string for ut_line, ut_name and ut_host.
4645
46461998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4647
4648 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
4649 /var/mail in accordance with FHS 2.0.
4650 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
4651
46521998-08-12 Richard Henderson <rth@cygnus.com>
4653
4654 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
4655 Update aliases for cancelation.
4656
4657 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
4658 playing with symbol versions.
4659
259d930a
RM
46601998-08-12 Roland McGrath <roland@baalperazim.frob.com>
4661
4662 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
4663 multiple inclusion protection.
4664 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
4665 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
4666 define all these to 1.
4667 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
4668
d6765f1d
RM
46691998-08-12 Roland McGrath <roland@baalperazim.frob.com>
4670
4671 * sysdeps/mach/usleep.c: Include <unistd.h>.
4672 (usleep): Return void.
4673
46741998-08-11 Roland McGrath <roland@baalperazim.frob.com>
4675
4676 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
4677 decl to inhibit warning in if_freenameindex defn.
4678
4679 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
4680
4681 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
4682
4683 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
4684 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
4685 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
4686 * sysdeps/mach/usleep.c: Likewise.
4687
4688 * sysdeps/mach/hurd/bind.c (bind): Add a const.
4689
4690 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
4691 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
4692 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
4693 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
4694 * sysdeps/mach/usleep.c (usleep): Likewise.
4695 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4696 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4697 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
4698 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
4699
47001998-08-11 Roland McGrath <roland@baalperazim.frob.com>
4701
4702 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
4703 (glob64): Fix typo.
4704
4705 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
4706 %p arg to fprintf, since `void *' is the right type already.
4707
b5876a19
RM
47081998-07-25 19:47 Jose M. Moya <josem@gnu.org>
4709
4710 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
4711 (_hurd_canonicalize_directory_name_internal): Do not loop forever
4712 for unknown root directories.
b5876a19 4713 (__getcwd): Return NULL when the current root directory could not
1f539fd1 4714 be reached.
b5876a19 4715
f81d98d6 47161998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 4717
f81d98d6 4718 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 4719
a5f4e34a 4720
f81d98d6 4721See ChangeLog.8 for earlier changes.
This page took 0.592678 seconds and 5 git commands to generate.