1 1997-02-09 02:59 Ulrich Drepper <drepper@cygnus.com>
3 * version.h (VERSION): Bump to 2.0.2.
5 * posix/Makefile (routines): Add getopt_init.
6 * posix/getopt.c: Don't get environment variable with nonoption
7 flags here. Depend on __getopt_nonoption_flags variable filled
8 somewhere else. This is necessary since the variable must be
9 removed even when getopt isn't used in case exec(2) gets called.
10 * posix/getopt_init.c: New file. Initialize __getopt_nonoption_flags
11 and remove environment variable.
12 * sysdeps/i386/init-first.c: Call __getopt_clean_environment.
13 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14 * sysdeps/stub/init-first.c: Likewise.
15 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Recognize
18 AT_PAGESZ entry in auxiliary vector and store value in _dl_pagesize.
20 * sysdeps/generic/crypt-entry.h: Return EOPNOTSUPP when DES
23 * libio/vsnprintf.c: If MAXLEN is 0 return 0.
24 * stdio/vsnprintf.c: Likewise.
25 Reported by Philip Blundell <pjb27@cam.ac.uk>.
27 1997-02-07 17:43 Ulrich Drepper <drepper@cygnus.com>
29 * sysdeps/generic/sysd-stdio.c: Include <errno.h>.
31 * sysdeps/posix/vdprintf.c: Change PTR to void *.
32 Reported by Brian Oxley <boxley%dev.cm.ssb.com@clipper.ssb.com>.
34 1997-02-07 17:41 Philip Blundell <pjb27@cam.ac.uk>
36 * sysdeps/unix/sysv/linux/socketbits.h: Fix typo.
38 1997-02-06 13:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
40 * rellns-sh: No need to check for existance of first parameter.
42 1997-02-06 14:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
44 * sysdeps/posix/getcwd.c (__getcwd): Fix resource leaks. Reported
45 by David Holland <dholland@eecs.harvard.edu>.
47 1997-02-06 14:38 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
49 * sunrpc/clnt_tcp.c (readtcp): Pass copy of timeout value to
50 select, in case it is modified by the latter.
51 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
53 * sunrpc/svc_tcp.c (readtcp): Likewise.
55 * sunrpc/svc_authux.c (_svcauth_unix): Fix type of area_gids
58 * sunrpc/authuxprot.c (xdr_authunix_parms): Check size of uid_t
61 * sunrpc/auth_unix.c (authunix_validate): Fix type of second
64 1997-02-06 14:29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
66 * elf/Makefile (extra-objs): Don't zap previous value.
67 * Makefile (before-compile): Likewise. Don't add gnu/lib-names.h
70 1997-02-06 14:19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
72 * sysdeps/unix/sysv/linux/m68k/brk.c: Add workaround for
75 1997-02-06 17:10 Jim Meyering <meyering@asic.sc.ti.com>
77 * manual/memory.texi: Correct `copystring' example for obstacks.
79 1997-02-06 14:10 Ulrich Drepper <drepper@cygnus.com>
81 * Makeconfig: Don't use [:lower:] and [:upper:] in tr since old
84 1997-02-03 21:13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
86 * sysdeps/unix/sysv/linux/socketbits.h [__GNUC__<2] (struct cmsghdr):
87 Don't use GNU C extensions.
88 (CMSG_DATA): Use portable definition.
90 1997-02-05 05:58 Ulrich Drepper <drepper@cygnus.com>
92 * elf/ldd.bash.in: Add test for read permission and print appropriate
93 message. Change warning and error messages to print "ldd: " at start.
94 * elf/ldd.sh.in: Likewise.
96 * stdlib/Makefile (routines): Add atoll.
97 * stdlib/atoll.c: New file.
98 * stdlib/stdlib.h: Add prototype and optimization for atoll.
100 * stdlib/a64l.c: Update copyright.
101 * stdlib/abs.c: Likewise.
102 * stdlib/atof.c: Likewise.
103 * stdlib/atoi.c: Likewise.
104 * stdlib/atol.c: Likewise.
105 * stdlib/bsearch.c: Likewise.
106 * stdlib/exit.c: Likewise.
107 * stdlib/fpioconst.c: Likewise.
108 * stdlib/fpioconst.h: Likewise.
109 * stdlib/jrand48.c: Likewise.
110 * stdlib/jrand48_r.c: Likewise.
111 * stdlib/labs.c: Likewise.
112 * stdlib/lcong48.c: Likewise.
113 * stdlib/lcong48_r.c: Likewise.
114 * stdlib/llabs.c: Likewise.
115 * stdlib/lrand48.c: Likewise.
116 * stdlib/lrand48_r.c: Likewise.
117 * stdlib/mblen.c: Likewise.
118 * stdlib/mbstowcs.c: Likewise.
119 * stdlib/mbtowc.c: Likewise.
120 * stdlib/mp_clz_tab.c: Likewise.
121 * stdlib/mrand48.c: Likewise.
122 * stdlib/mrand48_r.c: Likewise.
123 * stdlib/msort.c: Likewise.
124 * stdlib/nrand48.c: Likewise.
125 * stdlib/nrand48_r.c: Likewise.
126 * stdlib/qsort.c: Likewise.
127 * stdlib/rpmatch.c: Likewise.
128 * stdlib/seed48.c: Likewise.
129 * stdlib/seed48_r.c: Likewise.
130 * stdlib/srand48.c: Likewise.
131 * stdlib/srand48_r.c: Likewise.
132 * stdlib/strtod.c: Likewise.
133 * stdlib/wcstombs.c: Likewise.
134 * stdlib/wctomb.c: Likewise.
136 1997-02-05 05:08 Ulrich Drepper <drepper@cygnus.com>
138 * stdlib/mp_clz_tab.c (__clz_tab): Follow change in GMP and define
141 1997-02-04 23:57 Fila Kolodny <fila@ibi.com>
143 * sysdeps/unix/sysv/linux/socketbits.h: Define __need_NULL before
144 including <stddef.h>.
146 1997-02-03 20:01 H.J. Lu <hjl@gnu.ai.mit.edu>
148 * time/Makefile (tzbases, tzlinks): New.
149 (tzfiles): Changed to $(tzbases) $(tzlinks).
150 ($(tzfiles:%=$(objpfx)z.%): Make $(tzlinks) depend on $(tzbases).
152 1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu>
154 * Makefile (install): Ignore error from ldconfig.
156 * time/zic.c (mkdirs): Double check the error return of mkdir ().
158 1997-02-04 22:01 Ulrich Drepper <drepper@cygnus.com>
160 * stdio-common/vfprintf.c: Prepare to use __va_copy for architectures
161 like PPC where va_list is no integral type.
163 1997-02-04 15:27 Roma Ekzhanov <ekzhanov@paragraph.com>
165 * posix/getopt.c (exchange): Don't allocate nonoption_flags array
166 if nonoption_flags_len == -1.
168 1997-02-04 02:08 Ulrich Drepper <drepper@cygnus.com>
170 * Version 2.0.1 net release.
172 1997-02-03 23:34 Stephen L Moshier <moshier@world.std.com>
174 * sysdeps/libm-ieee754/s_tanhl.c: Fix backwards result sign.
176 1997-02-03 19:59 Ulrich Drepper <drepper@cygnus.com>
178 * stdlib/getsubopt.c: Don't return `=' for suboption which has
179 a parameter. Reported by Gary L. Hennigan <glhenni@cs.sandia.gov>.
181 1997-02-03 18:20 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
183 * nis/rpcsvc/yp_proh.h (ypresp_key_val): Also change order of
184 values as in yp.x and yp.h.
186 1997-02-03 16:58 Ulrich Drepper <drepper@cygnus.com>
188 * nis/rpcsvc/yp.x (struct ypresp_key_val): Revert patch from
189 1997-02-03 02:17. Sun's implementation internally corrects
190 this bug but we don't want to hide this from the user.
191 * nis/rpcsvc/yp.h: Likewise.
193 1997-02-01 18:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
195 * sysdeps/unix/sysv/linux/net/ppp_defs.h: Protect against multiple
198 1997-02-02 14:56 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
200 * manual/nss.texi, manual/pattern.texi, manual/string.texi: Doc
203 1997-02-02 11:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
205 * MakeTAGS (sysdep-sources, sysdep-headers): New variables.
206 (all-sources, all-headers): Use them instead of $(sources) and
207 $(headers) when searching in sysdep directories.
209 1997-02-02 11:49 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
211 * Makerules (REAL_MAKE_VERSION): Use internal make function
212 instead of shelling out.
214 1997-02-02 11:47 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
216 * time/Makefile (install-test-data): Remove mkdir command, zic can
217 handle that gracefully.
219 1997-02-03 14:07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
221 * sysdeps/m68k/asm-syntax.h: Add back file which got lost sometime
224 1997-02-02 07:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
226 * sunrpc/Makefile: Check $(cross-compiling) only after including
228 ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Add empty command to force
229 being considered as a rule.
230 (generated): Add stamp files before the inclusion of Makerules to
231 magically mark them as not being intermediate via the `generated'
234 1997-02-03 02:33 Ulrich Drepper <drepper@cygnus.com>
236 * elf/dl-deps.c (_dl_map_object_deps): Handle multiple AUXILIARY
237 entries. This is still no complete implementation since AUXILIARY
238 entries in other shared objects are not yet handled.
240 * libio/libio.h (_IO_cookie_io_functions_t): Move to C++ protected
247 * time/Makefile: Better cross-compile support. Avoid test which
249 (CFLAGS-tzset.c): New variable. Overwrite TZDEFAULT value from
251 * time/tzfile.c (__tzfile_read): Allow TZDEFAULT start with '/' even
253 * time/tzset.c (__tzset_internal): If TZ envvar is not set use same
254 default values as in tzfile.c.
256 * elf/dynamic-link.h (elf_get_dynamic_info): Recognize versioning
258 * elf/link.h: Likewise.
259 * elf/elf.h: Add tag definitions and data structures for versioning.
261 1997-02-03 02:17 Ulrich Drepper <drepper@cygnus.com>
263 * nis/rpcsvc/yp.x (struct ypresp_key_val): There is not stupid
264 "Sun bug". This is the order of elements also used by 4.4BSD.
265 * nis/rpcsvc/yp.h: Likewise.
268 1997-02-02 12:13 H.J. Lu <hjl@gnu.ai.mit.edu>
270 * sunrpc/Makefile ($(objpfx)x%.h, $(objpfx)x%.c): Add "@:" as
273 * Makefile (install): Pass installation directories as arguments
276 1997-02-02 23:15 Ulrich Drepper <drepper@cygnus.com>
278 * malloc/malloc.c (__after_morecore_hook): New variable.
279 (malloc_extend_top): Call __after_morecore_hook if set.
280 (main_trim): Likewise.
281 * malloc/malloc.h: Add declaration of __after_morecore_hook.
282 Suggested by Marcus Daniels.
284 1997-02-02 23:00 Marcus G. Daniels <marcus@tdb.com>
286 * malloc/malloc.c (rEALLOc): Protect tsd_setspecific call by
288 (mallinfo): Likewise.
290 * malloc/malloc.c (__morecore): Make external since it is used in
293 1997-02-02 15:10 Ulrich Drepper <drepper@cygnus.com>
295 * sysdeps/unix/sysv/linux/statbuf.h (struct stat): Make st_dev field
298 1997-02-01 23:36 Richard Henderson <rth@tamu.edu>
300 * sysdeps/alpha/stxncpy.S ($unaligned) [src % 8 > dst % 8]: Don't
301 use t6 as a temporary; it contains bits we still need in $u_head.
303 1997-01-31 15:05 John Bowman <bowman@ipp-garching.mpg.de>
305 * sysdeps/i386/fpu/__math.h [__USE_MISC]: Don't declare prototypes
306 using __ prefix. Add prototype for log1p.
308 1997-02-02 00:39 Ulrich Drepper <drepper@cygnus.com>
310 * dirent/dirent.h: Add description _DIRENT_HAVE_D_TYPE.
312 1997-02-01 17:04 Philip Blundell <pjb27@cam.ac.uk>
314 * inet/netinet/ip.h (MAX_IPOPTLEN): Add definition.
316 1997-02-01 17:00 Ulrich Drepper <drepper@cygnus.com>
318 * sysdeps/unix/sysv/linux/socketbits.h: Add definition of cmsghdr
319 structure plus related macros.
320 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: New file.
321 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket]
322 (sysdep_routines): Add cmsg_nxthdr.
323 * sysdeps/unix/sysv/linux/Dist: Add cmsg_nxthdr.c.
324 Suggested by Philip Blundell <pjb27@cam.ac.uk>.
326 1997-02-01 12:34 Ulrich Drepper <drepper@cygnus.com>
328 * time/strftime.c: Define _strftime_copytm without protecting arguments
329 which breaks the definition.
331 1997-02-01 03:31 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
333 * nis/rpcsvc/yp_prot.h: Move definition of yppushresp_xfr after
334 definition of type for element.
336 1997-02-01 03:28 Philip Blundell <pjb27@cam.ac.uk>
338 * sydsdeps/unix/sysv/linux/netinet/in.h: Add IPv6 related IPPROTO_*
341 1997-02-01 03:09 H.J. Lu <hjl@lucon.org>
343 * Makefile: Pass PARALLELMFLAGS to sub-makes.
344 * Makefile.in: Mention PARALLELMFLAGS and pass to main Makefile.
346 1997-01-31 Paul Eggert <eggert@twinsun.com>
348 * time/mktime.c (HAVE_LIMITS_H, HAVE_LOCALTIME_R, STDC_HEADERS):
349 Define if _LIBC is defined.
350 <limits.h>: Include if HAVE_LIMITS_H instead of if
351 __STDC__ || __GNU_LIBRARY__ || STDC_HEADERS.
352 <stdlib.h>: Similarly, include if STDC_HEADERS.
353 (localtime_r): Redo #ifdef to make it clear that glibc has
356 1997-02-29 20:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
358 * sunrpc/Makefile ($(objpfx)rpcsvc/%.h, $(objpfx)x%.c): Use stamp
359 file to avoid unnecessary recompilation.
361 1997-01-29 19:33 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
363 * Makefile: Set install-others, not install_others.
364 (before-compile): Use += to preserve previous value.
365 ($(inst_includedir)/gnu/lib-names.h): Remove obsolete comment and
367 ($(objpfx)lib-names.h): Remove rule.
368 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Generate it here,
369 with correct name, using an intermediate stamp file.
370 (common-generated): Add gnu/lib-names.h.
371 (before-compile): Add $(common-objpfx)gnu/lib-names.h.
373 1997-01-30 18:29 Richard Henderson <richard@atheist.tamu.edu>
375 * malloc/malloc.c (MAGICBYTE): Use cast to size_t instead of unsigned
376 to prevent warnings on 64 bit systems.
377 Reported by Paul Wouters <paul@xtdnet.nl>.
379 * sysdeps/alpha/dl-machine.h: Revert check for broken gas. By default
382 1997-01-30 03:24 Ulrich Drepper <drepper@cygnus.com>
384 * sysdeps/i386/elf/start.S (_start): Align stack pointer to
385 double word boundary before pushing args for main. This way we
386 don't get penalties for misaligned memory accesses. Reported by
387 Edward Seidl <seidl@janed.com>.
389 * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
392 * misc/bsd-compat.c: Update copyright.
393 * misc/efgcvt.c: Likewise.
394 * misc/efgcvt_r.c: Likewise.
395 * misc/error.c: Likewise.
396 * misc/error.h: Likewise.
397 * misc/fstab.c: Likewise.
398 * misc/init-misc.c: Likewise.
399 * misc/lsearch.c: Likewise.
400 * misc/mntent.c: Likewise.
401 * misc/qefgcvt.c: Likewise.
402 * misc/qefgcvt_r.c: Likewise.
403 * nss/databases.def: Likewise.
404 * nss/db-Makefile: Likewise.
405 * nss/ethers-lookup.c: Likewise.
406 * nss/hosts-lookup.c: Likewise.
407 * nss/netgrp-lookup.c: Likewise.
408 * nss/nsswitch.h: Likewise.
409 * nss/proto-lookup.c: Likewise.
410 * nss/rpc-lookup.c: Likewise.
411 * nss/service-lookup.c: Likewise.
412 * nss/nss_db/db-netgrp.c: Likewise.
413 * nss/nss_files/files-grp.c: Likewise.
414 * nss/nss_files/files-hosts.c: Likewise.
415 * nss/nss_files/files-network.c: Likewise.
416 * nss/nss_files/files-proto.c: Likewise.
417 * nss/nss_files/files-pwd.c: Likewise.
418 * nss/nss_files/files-rpc.c: Likewise.
419 * nss/nss_files/files-service.c: Likewise.
420 * nss/nss_files/files-spwd.c: Likewise.
421 * shadow/fgetspent.c: Likewise.
422 * shadow/fgetspent_r.c: Likewise.
423 * shadow/getspent.c: Likewise.
424 * shadow/getspent_r.c: Likewise.
425 * shadow/getspnam.c: Likewise.
426 * shadow/getspnam_r.c: Likewise.
427 * shadow/putspent.c: Likewise.
428 * shadow/sgetspent.c: Likewise.
429 * shadow/sgetspent_r.c: Likewise.
430 * sysdeps/i386/init-first.c: Likewise.
431 * sysdeps/unix/i386/sysdep.S: Likewise.
433 * shadow/shadow.h: Don't use __USE_REENTRENT. All code must be
434 prepared to be running in a multi-threaded environment. Change
435 to __USE_MISC unless the function is defined in POSIX.1 (in this
436 case also test for __USE_POSIX).
437 * dirent/dirent.h: Likewise.
438 * grp/grp.h: Likewise.
439 * inet/aliases.h: Likewise.
440 * libio/libio.h: Likewise.
441 * libio/stdio.h: Likewise.
442 * login/utmp.h: Likewise.
443 * math/mathcalls.h: Likewise.
444 * misc/mntent.h: Likewise.
445 * pwd/pwd.h: Likewise.
446 * resolv/netdb.h: Likewise.
447 * stdlib/stdlib.h: Likewise.
448 * string/string.h: Likewise.
449 * sunrpc/rpc/netdb.h: Likewise.
450 * sysdeps/generic/crypt.h: Likewise.
451 * sysdeps/unix/sysv/linux/errnos.h: Likewise.
452 * time/time.h: Likewise.
454 1997-01-30 00:27 Fila Kolodny <fila@ibi.com>
456 * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
457 only if not cross compiling.
459 1997-01-29 16:16 Fila Kolodny <fila@ibi.com>
461 * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
463 * sysdeps/posix/sigwait.c: Likewise.
465 1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
467 * Makeconfig ($(common-objpfx)config.make): Depend on
470 1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com>
472 * sunrpc/Makefile: Don't generate headers derived from .x files when
475 1997-01-28 10:51 Richard Henderson <rth@tamu.edu>
477 * Makefile: Generate gnu/lib-names.h in before-compile.
478 * nss/nss.h (NSS_SHLIB_REVISION): Turn it into a const variable.
479 * nss/nssswitch.c (__nss_shlib_revision): New variable. Initialize
480 to the revision found for LIBNSS_FILES_SO.
481 (nss_initilized): Removed. It was tested but never set.
482 (nss_lookup_function): Don't treat NSS_SHLIB_REVISION as a literal.
484 * shlib-versions: Tag all alpha-linux shlibs with a .1 "minor"
485 not just libc. Except instead of ld.so.1.1 use ld-linux.so.2.
487 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Typo in ldgp.
489 1997-01-28 12:16 Andreas Jaeger <aj@arthur.pfalz.de>
491 * elf/Makefile (CFLAGS-dl-load.c): Use += to not
492 override the definition.
494 1997-01-28 20:13 Fila Kolodny <fila@ibi.com>
496 * config.make.in (malloc): Remove.
498 1997-01-28 04:23 Ulrich Drepper <drepper@cygnus.com>
500 * version.h (VERSION): Bump to 2.0.1.
502 * posix/getopt.c: Handle another problem introduced by the
503 nonoption_flags array. We must be able to work with reordered
504 argv arrays. Reported by Andreas Schwab.
506 1997-01-28 02:38 Ulrich Drepper <drepper@cygnus.com>
508 * sysdeps/unix/sysv/linux/i386/clone.S: Correct handling of new
511 1997-01-27 17:34 Thorsten Kukuk <kukuk@weber.uni-paderborn.de>
513 * nis/rpcsvc/yp_prot.h: Correct definitions and types in file so
514 that it works with yp.h.
516 1997-01-27 13:28 Ulrich Drepper <drepper@cygnus.com>
518 * malloc/malloc.h (__malloc_initialized) [_LIBC]: Define as
519 __libc_malloc_initialized so that this variable is not shared with
520 other users of GNU malloc.
521 Suggested by Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>.
523 * mcheck.h: Correct typo. Use malloc/ instead of new-malloc/.
525 * sysdeps/i386/Makefile (CFLAGS-dl-load.c, CFLAGS-dl-reloc.c): New
526 variables to prevent warnings.
527 * sysdeps/i386/dl-machine.h (fixup): Add prototype and declare
528 using attribute regparm.
529 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Rewrite so that no register
530 is changed by the resolver code.
532 1997-01-14 14:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
534 * malloc/malloc.c (weak_variable): Define.
535 (__malloc_initialize_hook, __free_hook, __malloc_hook, __realloc_hook,
536 __memalign_hook): Make them weak definitions.
538 1997-01-26 11:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
540 * sysdeps/unix/sysv/linux/getdents.c: Don't write beyond buffer
541 limits, correctly take structure padding into account, use correct
542 offset when resetting the stream, change heuristic to assume an
543 average name length of 14 characters.
545 1997-01-25 18:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
547 * sysdeps/unix/sysv/linux/alpha/termbits.h: Protect against multiple
551 See ChangeLog.6 for earlier changes.