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