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