update from main archive 960904
[glibc.git] / ChangeLog
blob086524d67007177f95d42abc93859ca4a47cb3d0
1 Thu Sep  5 03:20:42 1996  Ulrich Drepper  <drepper@cygnus.com>
3         Change configuration and Makefiles to allow add-ons to have a
4         sysdeps/ directory hierachy.
5         * configure.in: Test for sysdeps/ directory in add-ons.  Before
6         all test and searches in these hierachies, too.
7         * Makeconfig (full-config-subdirs): Define based on $(config-sysdirs).
8         Extend with $(..) if not absolute path.
9         Use $(full-config-subdirs) where $(config-sysdirs) was used.
10         * Makefile ($(objpfx)sysd-dirs): Use config-sysdirs.
11         * MakeTAGS: Use $(full-config-subdirs).
12         * Makerules: Change comment to libc.so link script.
13         (sysdirs): Define based on $(full-config-subdirs).
14         (sysd-Makefile): Define using config-sysdirs.
15         (sysd-rules): Likewise.
16         * sysdeps/unix/Makefile (sysd-syscalls): Define based on +sysdep-dirs.
17         * sysdeps/unix/make-syscalls.sh: Remove basedir argument.
19 Wed Sep  4 01:32:21 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
21         * sysdeps/m68k/fpu/k_cos.c: Rewritten for better accuracy.
22         * sysdeps/m68k/fpu/k_sin.c: Likewise.
23         * sysdeps/m68k/fpu/k_tan.c: Likewise.
25 Thu Sep  5 01:06:09 1996  Richard Henderson  <rth@tamu.edu>
27         * malloc/free.c (free): Protect by using __libc_malloc_lock.
28         * malloc/malloc-find.c (malloc_find_object_address): Likewise.
29         * malloc/malloc-size.c (malloc_usable_size): Likewise.
30         * malloc/malloc-walk.c (malloc_walk): Likewise.
31         * malloc/memalign.c (memalign): Likewise.
32         * malloc/realloc.c (realloc): Likewise.
33         * malloc/malloc.c: Define __libc_malloc_lock.
34         (_malloc_internal): Don't use `malloc'.  Instead look for
35         `__malloc_hook' or call `_malloc_internal'.
36         (malloc): Protect by using `__libc_malloc_lock'.
37         * malloc/malloc.h: Declare `__libc_malloc_lock'.
39 Mon Sep  2 22:42:59 1996  Richard Henderson  <rth@tamu.edu>
41         * sysdeps/alpha/elf/start.S: Use weak_alias for __start
42         instead of the hard definition.
44         * sysdeps/alpha/dl-machine.h (RTLD_START): Add type info for
45         _start and _dl_start_user.
47         * sysdeps/unix/sysv/linux/alpha/init-first.h (SYSDEP_CALL_INIT):
48         Make _dl_starting_up weak.  Add type info for NAME.
50 Mon Sep  2 22:15:14 1996  Richard Henderson  <rth@tamu.edu>
52         * Makefile (all): Add extra_solibs pass.
53         (+subdir_targets): Same.
54         * Rules (extra_solibs): New phony empty target for subdirs without
55         extra libs.
56         * extra-lib.mk: Build lib*.so* in extra_solibs not lib-noranlib.
57         * manual/Makefile: Add dummy extra_solibs target.
59 Sun Sep  1 15:41:22 1996  Richard Henderson  <rth@tamu.edu>
61         * Makeconfig (+link): Add $(link-extra-libs).
62         (link-extra-libs): New variable which expands to the full paths of
63         the other libraries needed by a program, as controled by LDLIBS-$(@F).
64         * db/Makefile: Use LDLIBS-makedb to link libdb not a dependency, as
65         the later attempts to install the library before linking it.
67         * sysdeps/unix/alpha/sysdep.S: Align errno.
69         * sysdeps/unix/sysv/linux/alpha/ioperm.c (struct platform): Add
70         hae_shift entry.
71         (io): Move bus_memory_base and sparse_bus_memory_base into struct.
72         (_hae_shift): New function.
73         * sysdeps/unix/sysv/linux/alpha/sys/io.h: New file.  Prototypes
74         for the bus query functions.
76 Sat Aug 31 18:14:54 1996  Richard Henderson  <rth@tamu.edu>
78         * elf/dl-close.c (_dl_close): In static executables, map->l_prev
79         can be NULL when unloading a library.
81         * elf/dl-open.c (_dl_open): Pass __environ instead of __libc_envp
82         to the library .init function.
84         * sysdeps/alpha/dl-machine.h (elf_machine_rela):  Since we omitted
85         part of the COPY reloc processing earlier, omit the rest now --
86         we'll get into less trouble later when some fool does use a COPY.
88         * sysdeps/unix/sysv/linux/init-first.c (init): Accept argc et al as
89         parameters.  Move all argc and __libc_multiple_libcs calculation out
90         to init-first.h.  Use __environ not __libc_envp.
91         * sysdeps/unix/sysv/linux/alpha/init-first.h: Rewrite.
92         * sysdeps/unix/sysv/linux/i386/init-first.h: Rewrite.
94 Thu Aug 29 20:26:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
96         * sysdeps/posix/profil.c (profil): Don't clobber saved timer and
97         signal settings when profiling was already turned on.
99         * csu/gmon-start.c (__gmon_start__) [HAVE_INITFINI]: Protect from
100         being called twice.
102 Wed Sep  4 01:31:50 1996  Ulrich Drepper  <drepper@cygnus.com>
104         * sysdeps/unix/sysv/linux/i386/mmap.S: Test for
105         0 < return value < -4096 and not < 0 to decide about failure.
106         Reported by Andreas Jaeger.
108 Tue Sep  3 19:04:05 1996  Ulrich Drepper  <drepper@cygnus.com>
110         * stdio-common/vfscanf.c (__vfscanf): Don't count EOF char
111         in %c format.
113 Sat Aug 31 18:10:51 1996  Ulrich Drepper  <drepper@cygnus.com>
115         * wcsmbs/wchar.h: Define prototypes for wcstoq and wcstouq only
116         #ifdef __USE_GNU.
118 Sat Aug 31 12:34:29 1996  Ulrich Drepper  <drepper@cygnus.com>
120         * version.c: Add missing newline character in banner.
122         * sysdeps/unix/sysv/linux/alpha/Dist: Correct typo.
123         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
125 Sat Aug 31 03:07:39 1996  Ulrich Drepper  <drepper@cygnus.com>
127         * intl/l10nflist.c (_nl_normalize_codeset): We convert to lower
128         case, so don't prepend uppercase `ISO' for only numeric arg.
130 Tue Sep  3 11:16:07 1996  Thomas Bushnell/ n/BSG  <thomas@gnu.ai.mit.edu>
132         * shadow/lckpwdf.c (__ulckpwdf): Don't take address of LOCK in
133         call to __libc_lock_lock.
135         * sysdeps/mach/hurd/send.c (__send): Declare BUF const.
136         * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
138         * sysdeps/stub/ustat.c: Include <sys/ustat.h>.
140         * misc/syslog.c (vsyslog): Fix typo (`mow_tm' -> `now_tm').
142 Fri Aug 30 19:55:27 1996  Ulrich Drepper  <drepper@cygnus.com>
144         * libio/genops.c: Make _cleanup an alias of _IO_cleanup.
145         Reported by Erik Troan.
147 Fri Aug 30 15:40:04 1996  Ulrich Drepper  <drepper@cygnus.com>
149         * sysdeps/unix/sysv/linux/Dist: Add sys/procfs.h and
150         sys/sysmacros.h.  Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>.
152 Fri Aug 30 13:53:32 1996  Andreas Jaeger  <aj@arthur.pfalz.de>
154         * sysdeps/unix/mman/syscalls.list: `mmap' has 6 arguments, not 5.
156 Fri Aug 30 13:01:10 1996  NIIBE Yutaka  <gniibe@mri.co.jp>
158         * sysdeps/i386/fpu/__math.h (tan): Pop 1.0 in ST to get
159         real result.
161 Fri Aug 30 03:33:33 1996  Ulrich Drepper  <drepper@cygnus.com>
163         * sysdeps/libm-ieee754/s_cbrtl.c: New file.  `long double'
164         implementation.
166 Fri Aug 30 13:39:21 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
168         * Makerules (BUILD_CFLAGS): Use @(common-objpfx) for config.h, not
169         $(..).  Some rules (like sysdeps/posix/Makefile for mk-stdiolim)
170         do `cd' commands.
171         (sed-remove-objpfx): Don't substitute for $(objpfx) anymore;
172         $(common-objpfx) is good enough.
173         * Rules (common-generated): Provide default (empty) value.
174         (dummy.o, dummy.c, empty.o, empty.c): Put these in
175         $(common-generated), not $(generated), and without $(..).
176         (subdir_echo-distinfo): Treat $(common-generated) just like
177         $(generated).
178         (generated): Depend on the (suitably mutated) $(common-generated)
179         files too.
180         * Makerules (common-clean): Remove common-generated files too.
181         * sysdeps/mach/hurd/Makefile (generated): Don't put errnos.d and
182         stamp-errnos here.
183         (common-generated): Do put errnos.d and stamp-errnos here.
184         (rpath-link): Don't use +=; $(rpath-link) is a colon separated list.
186         * sysdeps/mach/hurd/Makefile (before-compile): Add auth; also add
187         auth to following rule to get it built.
189 Fri Aug 30 01:26:44 1996  Ulrich Drepper  <drepper@cygnus.com>
191         * sysdeps/unix/sysv/linux/i386/Dist: Add clone.S.
192         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
193         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
195         * version.c: Add comment about where to report bugs to.
196         * catgets/gencat.c (usage): Likewise.
197         * db/makedb.c (usage): Likewise.
198         * locale/programs/locale.c (usage): Likewise.
199         * locale/programs/localedef.c (usage): Likewise.
201         * manual/socket.texi: A little bit better wording.
203 Thu Aug 29 18:03:06 1996  Ulrich Drepper  <drepper@cygnus.com>
205         * Makerules: Make sure directory exists before generating stamp file.
206         (BUILD_CFLAGS): Always refer to using $(..).
207         * manual/Makefile: Make sure directory exists before generating
208         stamp file.
209         (make-target-directory): Add macro definition.
210         * sysdeps/generic/Makefile: Make sure directory exists before
211         generating stamp file.
213         * Makefile (distribute): Add autolock.sh.  Reported by Fila Kolodny.
215 Tue Aug 27 10:06:22 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
217         When compiling in separate directory put objects into
218         subdirectories matching the source layout.
219         * Makeconfig (objpfx) [ifdef objdir]: Append $(subdir).
220         When looking for configparms try in $(common-objpfx).
221         Use $(common-objpfx)SUBDIR to find objects from other subdirectory
222         builds.
223         * Makerules: Add $(objpfx) to vpath list.
224         (make-dummy-dep): Use $(common-objpfx) to avoid creating dummy.d
225         more than once.  All uses in dependency lists changed.
226         (+make-deps): Make target directory.
227         (sed-remove-objpfx): Substitute $(common-objpfx).
228         (do-ar, build-extra-lib, $(common-objpfx)stub-$(subdir)): Use
229         $(objpfx) instead of $(objdir) for cd command.
230         (O%-lib): Always find libc relative to $(..).
231         (subdir-stamps): Collect stamp files from subdirs.
232         (common-mostlyclean): Remove stub file in $(common-objpfx).
233         * MakeTAGS ($P/siglist.pot): Find siglist.c in stdio-common.
234         * Rules (dep-dummy-lib): Use $(common-objpfx) to avoid creating to
235         more than once.
236         ($(objpfx)dummy.c, $(objpfx)empty.c): Change target name to use
237         $(common-objpfx).  All uses in dependency lists changed.
238         (generated): Prepend $(..) to names.
239         * bare/Makefile ($(objpfx)lib$(config-vendor).a): Remove $(objpfx)
240         from $@.
241         * nss/Makefile ($(objpfx)libnss_dns.so, $(objpfx)libnss_db.so):
242         Use $(common-objpfx) instead of $(..) in dependencies.
243         * sysdeps/mach/Makefile (mach-objpfx): Unconditionally use
244         $(common-objpfx) instead of $(..) and (objpfx).
245         * sysdeps/mach/hurd/Makefile (hurd-objpfx): Likewise.
246         (rpath-link): Likewise.
247         (rpcuserlibs): Likewise.
248         * sysdeps/unix/Makefile [$(subdir) = stdio-common]: Check for
249         errlist.c in $(objpfx), not $(common-objpfx).
250         ($(common-objpfx)s-proto.d): Special rule not covered by pattern
251         rule.
252         * sysdeps/unix/make-syscalls.sh: Make syscall rules depending on
253         s-proto.d in $(common-objpfx), not $(objpfx).
255 Thu Aug 29 17:45:49 1996  Ulrich Drepper  <drepper@cygnus.com>
257         * nss/nsswitch.c (nss_dlerror_run): Free returned error
258         string.
260 Thu Aug 29 15:53:33 1996  Ulrich Drepper  <drepper@cygnus.com>
262         * sysdeps/libm-ieee754/e_acoshl.c: New file. `long double'
263         implementation.
264         * sysdeps/libm-ieee754/e_atanhl.c: Likewise.
265         * sysdeps/libm-ieee754/e_remainderl.c: Likewise.
266         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
267         * sysdeps/libm-ieee754/s_asinhl.c: Likewise.
268         * sysdeps/libm-ieee754/s_cosl.c: Likewise.
269         * sysdeps/libm-ieee754/s_sinl.c: Likewise.
270         * sysdeps/libm-ieee754/s_tanhl.c: Likewise.
271         * sysdeps/libm-ieee754/s_tanl.c: Likewise.
273 Thu Aug 29 12:00:30 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
274         
275         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
276         spelling error of _hurd_itimerval.
278         * mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
279         mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
280         $(MIGFLAGS-$*) here too, as well as in the code-generating MiG calls. 
281         
282         * hurd/hurdinline.c: Include "hurd.h" for function definitions too. 
283         
284         * stdio/fseek.c (fseek): Don't assume we know the file position;
285         other handles may have changed it.  So set STREAM.__offset to -1
286         before calling __stdio_check_offset to make sure we have a correct
287         value.
289 Thu Aug 29 00:28:08 1996  Ulrich Drepper  <drepper@cygnus.com>
291         * stdio-common/printf_fp.c (__printf_fp): Use default value '.' if
292         `decimal' char is 0.
294         * C-numeric.c (not_available): New constant.
295         (_nl_C_LC_NUMERIC): Use `not_available' for grouping value.
297         * nss/nsswitch.conf: Example configuration file.
298         * nss/db-Makefile: Example Makefile for generation of databases
299         for nss_db.
300         * nss/Makefile (distribute): Add nsswitch.conf and db-Makefile.
302 1996-08-28  Paul Eggert  <eggert@twinsun.com>
304         * C-messages.c (_nl_C_LC_MESSAGES): Set yesexpr to "^[yY]" and
305         noexpr to "^[nN]"; this conforms to POSIX.2.
307         * C-time.c (_nl_C_LC_TIME): Change %d to %e in d_t_format, to
308         conform to POSIX.2.
310 1996-08-28  Paul Eggert  <eggert@twinsun.com>
312         * C-monetary.c (not_available): New constant.
313         (_nl_C_LC_MONETARY): Set mon_decimal_point to "", and set
314         mon_grouping, int_frac_digits, frac_digits, p_cs_precedes,
315         p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and
316         n_sign_posn to CHAR_MAX, as required by the POSIX Standard.
318 Wed Aug 28 23:12:28 1996  Ulrich Drepper  <drepper@cygnus.com>
320         * nss/nss_db/db-XXX.c: Correct function names.  They must be
321         `_nss_db_*' instead of `_nss_files_*'.
322         (lookup): `parse_line' returns 1 if succesful.
323         * nss/nss_files/files-service.c (servbyname): Key for database
324         must also contain protocol names.
325         (servbypt): Likewise.
326         Test must also check for protocol.  Add `proto' argument.
328 Tue Aug 27 09:56:13 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
330         * MakeTAGS ($P/subdirs.pot): Prefix all file names, not only the
331         first one.
333 Tue Aug 27 17:45:21 1996  Ulrich Drepper  <drepper@cygnus.com>
335         * Makerules: Add some test for correct version of GNU Make.
337         * io/fcntl.h: Undo change from Mon Aug 26 22:22:17 1996.
338         * sysdeps/unix/sysv/linux/fcntlbits.h: Place macros here instead.
340         * sysdeps/generic/dl-sysdep.c: Initialize break address to
341         avoid overwriting last page (OK, Roland).
343 Tue Aug 27 16:20:37 1996  Ulrich Drepper  <drepper@cygnus.com>
345         * resolv/resolv.h: Update from BIND-4.9.5-T3A.
346         * resolv/arpa/nameser.h: Likewise.
347         * resolv/res_init.c: Likewise.
348         * resolv/res_debug.c: Likewise.
349         * resolv/res_mkquery.c: Likewise.
351 Tue Aug 27 15:47:04 1996  Ulrich Drepper  <drepper@cygnus.com>
353         * elf/dl-error.c (catch): Define errstring element not as const.
354         (_dl_catch_error): ERRSTRING argument is not const pointer.
355         Initialize *ERRSTRING and *OBJNAME separately.
356         * elf/link.h: Change prototype for `_dl_catch_error'.
358         * elf/dl-load.c (_dl_map_object): Use separate variable for
359         copied NAME to avoid `const' warning.
361         * elf/dlerror.c: Make `last_errstring' variable not const pointer.
363         * elf/rtld.c: Implement reading of /etc/ld.so.preload.  This
364         provides preloading even for SUID binaries.
365         Add some more casts to avoid signed<->unsigned warnings.
367 Tue Aug 27 15:40:28 1996  NIIBE Yutaka  <gniibe@mri.co.jp>
369         * posix/sys/types.h: Define loff_t.
370         * sysdeps/unix/sysv/linux/gnu/types.h: Define __loff_t.
372 Mon Aug 26 22:22:17 1996  Ulrich Drepper  <drepper@cygnus.com>
374         * io/fcntl.h: Add definition for BSD F* macros.
376         * misc/init-misc.c (__init_misc): Make static.
377         * misc/Makefile: Pass -fkeep-inline-functions flag for init-misc.c.
379         * configure.in: Add test for -fno-exception option of gcc.
380         * config.make.in: Add definition of have-no-exceptions.
381         * Makerules: Define no-exceptions based on have-no-exceptions.
382         * csu/Makefile: When translating initfini.c pass $(no-exceptions).
383         This is necessary for gcc >= ss-960816.
385 Mon Aug 26 17:16:48 1996  Richard Henderson  <rth@tamu.edu>
387         * sysdeps/alpha/dl-machine.h: Clear startup flag.
389 Fri Aug 16 21:17:50 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
391         * Makerules (o-iterator-doit): Simplify reference to autolock
392         script.
394 Sat Aug 24 15:27:41 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
396         * sysdeps/mach/hurd/getcwd.c
397         (_hurd_canonicalize_directory_name_internal): After resizing the
398         buffer move the current contents to the end.  Correctly relocate
399         file name pointer to upper half of the buffer.
401 Mon Aug 26 15:49:59 1996  Ulrich Drepper  <drepper@cygnus.com>
403         * rtld.c (dl_main): Remove code to call ld.so initializer.  This
404         was introduced for compatibility with Linux ld.so and would not
405         be used anymore.  Now we don't have any good values to use as the
406         parameters to the initializer so simply remove it.
408 Sun Aug 25 18:25:52 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
410         * gmon/gmon.c (ERR): Don't write the terminating NUL.
412         * sysdeps/posix/profil.c (profil): Disable the profiling timer at
413         first.
414         (profil_count): Use 64 bit arithmethic to avoid overflow.
416         * sysdeps/generic/machine-gmon.h (MCOUNT): Fix argument order.
418 Mon Aug 26 16:31:33 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
420         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Tolerate NEW
421         being null; in that case don't touch the timer at all (but do
422         return something in OLD if necessary).
424 Mon Aug 26 13:35:16 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
426         * sysdeps/mach/hurd/i386/init-first.c (__libc_multiple_libcs): New
427         variable.
428         * sysdeps/i386/init-first.c: Likewise.
429         * sysdeps/stub/init-first.c: Likewise.
431 Mon Aug 26 02:01:37 1996  Ulrich Drepper  <drepper@cygnus.com>
433         * elf/dl-open.c (_dl_open): Call library initializer with
434         correct command line arguments and environment information.
435         * elf/rtld.c (dl_main): Provide arguments to initializer of
436         ld.so itself.
438 Sun Aug 25 19:15:46 1996  Ulrich Drepper  <drepper@cygnus.com>
440         * shadow/Makefile (routines): Add lckpwdf.
441         * shadow/lckpwdf.c: New file.
443         * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Force
444         argument `cw' to be placed in memory.  Patch by Torbjorn Granlund.
446 Sun Aug 25 12:53:37 1996  Ulrich Drepper  <drepper@cygnus.com>
448         * configure.in: Add definition for `__eh_pc' and `__throw' in
449         test for --no-whole-archive.  The compiler generates dependencies
450         for this but none of the standard librares and startup files
451         are used.  Necessary for gcc >= ss-960816.
453 Sun Aug 25 01:31:33 1996  Ulrich Drepper  <drepper@cygnus.com>
455         * elf/dl-error.c (_dl_signal_error): If error is catched, malloc
456         return string since string might be on stack.
457         * elf/dl-lookup.c (_dl_lookup_symbol): Undo change of
458         Wed Aug 21 10:14:59 1996.
459         * elf/dlerror.c (dlerror): Free error string after printing.
460         (_dlerror_run): If error string was not printed since last error
461         free string.
462         * rtld.c (dl_main): Free error string in case of error.
464 Sat Aug 24 03:16:47 1996  Ulrich Drepper  <drepper@cygnus.com>
466         * misc/syslog.c (vsyslog): Don't use `localtime' or `gmtime' since
467         this changes the global state for `localtime' and `gmtime'.  Use
468         `__localtime_r'/`__gmtime_r' instead.
469         * resolv/res_debug.c (__p_secstodate): Likewise.
470         * sysdeps/generic/ftime.c: Likewise.
471         * sysdeps/posix/gettimeofday.c: Likewise.
472         Reported by Paul Eggert.
474         * time/gmtime.c: De-ANSI-fy.
475         * time/strftime.c: Don't call non-reentrant functions which change
476         state.
478 Wed Aug 21 10:14:59 1996  Richard Henderson  <rth@tamu.edu>
480         * elf/dl-lookup.c (_dl_lookup_symbol): Malloc the error string rather
481         than putting it on the stack.
483 Wed Aug 21 10:12:42 1996  Richard Henderson  <rth@tamu.edu>
485         * elf/rtld.c (dl_main): When looking up symbols in response to --list,
486         don't find .plt entries.
488 Mon Aug 19 23:18:12 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
490         * sysdeps/m68k/dl-machine.h (RTLD_START): Optimize clearing
491         _dl_starting_up.
493 Tue Aug 20 17:42:10 1996  Miles Bader  <miles@gnu.ai.mit.edu>
495         * stdio/linewrap.c (line_wrap_stream): Initialize D->seek.
497 Sat Aug 17 12:19:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>
499         * login/pututline_r.c (__pututline_r): Fix handling of case where
500         getutid_r() fails with ESRCH.  Reported by Miquel van Smoorenburg.
502 Wed Aug 14 14:10:54 1996  David Mosberger-Tang  <davidm@azstarnet.com>
504         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Change entry
505         for "Jensen" so _bus_base() returns 0 on that platform.  Use
506         _bus_base_sparse() to determine base address of sparse memory.
508         * sysdeps/unix/sysv/linux/sys/io.h: Enclose #include <asm/io.h>
509         and declarations in __BEGIN_DECLS/__END_DECLS.
511 Sun Aug 18 13:37:09 1996  Ulrich Drepper  <drepper@cygnus.com>
513         * err.h: New file.  Wrapper around misc/err.h.
515         Correct solution of multiple initialization problem by
516         Roland McGrath.
517         * csu/initfini.c: Remove global variable __libc_is_static.
518         * elf/rtld.c: Introduce new global variable _dl_starting_up.
519         It's nonzero during the startup.
520         * elf/dl-open.c (_dl_open): When _dl_start function is not
521         available (i.e., if in static libc) set `__libc_multiple_libcs'
522         to nonzero value.
523         * sysdeps/unix/sysv/linux/init-first.c (__libc_multiple_libc):
524         New global variable.
525         (init): Undo change of Fri Aug  2 03:12:40 1996.
526         Initialize `__libc_multiple_libcs' to nonzero only if this is
527         a shared lib called from a statically linked program and don't
528         call `personality' and `setfpucw' in this case either.
529         * sysdeps/generic/sbrk.c: Undo change of Fri Aug  2 03:12:40 1996.
530         Don't call brk(0) until `__libc_multiple_libcs' is nonzero.
531         * sysdeps/i386/dl-machine.h (RTLD_START): Clear _dl_starting_up
532         before jumping to user code.
533         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
535 Fri Aug 16 04:59:01 1996  Ulrich Drepper  <drepper@cygnus.com>
537         * sysdeps/unix/sysv/linux/init-first.c: Remove hack from
538         Thu Aug  8 12:40:20 1996.
539         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = csu]: Use
540         -fkeep-inline-functions flag instead.
542 Fri Aug 16 16:11:25 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
544         * nss/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Treat
545         EPFNOSUPPORT and EAFNOSUPPORT as implying NSS_STATUS_UNAVAIL just
546         like ECONNREFUSED already does.
547         (_nss_dns_gethostbyaddr_r): Likewise.
548         * nss/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
549         (_nss_dns_getnetbyaddr_r): Likewise.
551         * sysdeps/mach/hurd/socket.c (socket): For message transmission
552         and RPC errors that indicate that the socket server is not really
553         present and able to do its job, turn the error into EPFNOSUPPORT.
555 Fri Aug 16 01:24:33 1996  Ulrich Drepper  <drepper@cygnus.com>
557         * inet/ruserpass.c (userpass): Allocate buffer for .netrc file
558         name dynamically.  Reported by Alan Cox.
559         Uncomment warnings and mark as translatable.
561         * time/strftime (strftime): Add implementation for %s and %z
562         format.  Change behaviour for unknown format character: now
563         simply print it.  This matches the behaviour of printf.
564         Reported by Jim Meyering.
565         * manual/time.texi: Document all formats and flags of strftime.
567 Thu Aug 15 18:02:51 1996  Ulrich Drepper  <drepper@cygnus.com>
569         * elf/rtld.c (dl_main): Loaded object has type lt_executable,
570         not lt_library.
572         * misc/sys/select.h: Define fd_set using typedef, not #define.
573         Proposed by David Mosberger-Tang.
575 Thu Aug 15 12:48:21 1996  Ulrich Drepper  <drepper@cygnus.com>
577         * po/header.pot: Use real description line.
579 Thu Aug 15 04:42:44 1996  Ulrich Drepper  <drepper@cygnus.com>
581         * elf/rtld.c (dl_main): When started with --verify prevent
582         any warning.  Just exit with an error.
583         * elf/ldd.sh.in: Don't run given object directly.  This fails for
584         libraries.  Instead use $RTLD again.
586 Thu Aug 15 02:08:59 1996  Ulrich Drepper  <drepper@cygnus.com>
588         * manual/nss.texi: New file.  Document NSS.
589         * manual/nsswitch.texi: New file.  Example configuration.
591         * manual/string.texi: Document stpncpy, strdupa, and strndupa.
592         * manual/example/strdupa.c: New file.  Example for strdupa.
594 Wed Aug 14 21:36:16 1996  Ulrich Drepper  <drepper@cygnus.com>
596         * stdlib/strtod.c (STRTOD): Correct assertion about size of
597         wint_t and wchar_t.  Reported by David Mosberger-Tang.
599 Mon Aug 12 22:40:16 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
601         * elf/dl-lookup.c (_dl_lookup_symbol): Remove fifth parameter
602         RELOC_ADDR and make NOPLT a set of flags.  All callers
603         changed.  Delete condition that checks for resolving to the
604         location being filled in.  Add condition to skip the
605         executable's symbols if requested.
606         * elf/link.h: Change declaration of _dl_lookup_symbol
607         accordingly.
608         (DL_LOOKUP_NOEXEC, DL_LOOKUP_NOPLT): New definitions.
609         * elf/dl-reloc.c (RESOLVE): Remove second parameter and rename
610         NOPLT to FLAGS.
611         * elf/dl-runtime.c (RESOLVE): Likewise.
612         * elf/rtld.c (RESOLVE): Likewise.
613         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Pass
614         DL_LOOKUP_NOEXEC as second argument to the RESOLVE macro if
615         processing a copy reloc, DL_LOOKUP_NOPLT for a jump slot
616         reloc, zero otherwise.
617         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
618         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
619         * sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
621 Wed Aug 14 17:57:08 1996  Ulrich Drepper  <drepper@cygnus.com>
623         * MakeTAGS: Clean up use of --omit-header and -n for xgettext.
624         * po/header.pot: Add empty line at end.
626 Sun Aug 11 13:45:33 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
628         * MakeTAGS (all-pot): Remove $P/errlist.pot, all error messages
629         are now in $P/stdio-common.pot.
630         (XGETTEXTFLAGS-errlist.pot): Variable removed.
632 Mon Aug 12 19:25:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
634         * Makerules (do-ar, o-iterator-doit): Compute path to autolock
635         script at run time, not configure time.
636         * config.make.in, configure.in: Undo previous change.
638 Wed Aug 14 13:20:02 1996  Ulrich Drepper  <drepper@cygnus.com>
640         * sysdeps/unix/sysv/linux/i386/close.S: Push return value of thread
641         on stack as argument for `_exit'.  Reported by Andreas Schwab.
643 Mon Aug 12 19:36:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
645         * sysdeps/unix/sysv/linux/m68k/clone.S: New file.
647 Wed Aug 14 04:22:35 1996  Richard Henderson  <rth@tamu.edu>
649         * elf/dl-load.c (_dl_map_object): Save name in malloced memory.
650         (_dl_map_object_from_fd): Free name on error.
652 Wed Aug 14 13:00:09 1996  Ulrich Drepper  <drepper@cygnus.com>
654         * string/strdup.c: Use result of memcpy to avoid reloading.
656 Tue Aug 13 00:55:03 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
658         * shadow/sgetspent_r.c (__sgetspent_r): Copy string to buffer, not
659         the other way round.
661 Tue Aug 13 20:51:21 1996  Ulrich Drepper  <drepper@cygnus.com>
663         * stdlib/canonicalize.c (canonicalize): Add cast to prevent
664         warning.
666         * Makerules (o-iterator-doit): Use autolock.sh when running ranlib.
668 Tue Aug 13 18:26:45 1996  Ulrich Drepper  <drepper@cygnus.com>
670         * nss/nsswitch.c (__nss_configure_lookup): Use fact that list is
671         sorted.
673         Update from bind-4.9.5-T1A.
674         * resolv/Makefile (libresolv-routines): Add base64, inet_net_ntop,
675         inet_net_pton, inet_net.
677         * resolv/gethnamaddr.c: Include <sys/types.h>.
678         * resolv/getnetnamadr.c: Likewise.
679         * resolv/herror.c: Likewise.
680         * resolv/inet_addr.c: Likewise.
681         * resolv/nsap_addr.c: Likewise.
682         * resolv/res_comp.c: Likewise.
683         * resolv/res_data.c: Likewise.
684         * resolv/res_init.c: Likewise.
685         * resolv/res_mkquery.c: Likewise.
686         * resolv/res_query.c: Likewise.
687         * resolv/res_send.c: Likewise.
689         * resolv/gethnamaddr.c [! SPRINTF_CHAR] (SPRINTF): Cast return
690         value of sprintf.
691         * resolv/inet_ntop.c: Likewise.
693         * resolv/gethnamaddr.c [BSD]: Include <stdlib.h>.
694         Remove prototype of gethostbyname_ipv4.
696         * resolv/inet_ntop.c, resolv/inet_pton.c: Use ISO C `mem*'
697         functions instead of BSD `b*' functions.
699         * resolv/nsap_addr.c: Add copyright message.
701         * resolv/res_comp.c: Remove comment explaining label format.
702         (res_mailok): Correct check.
704         * resolv/res_debug: Include missing headers.
705         (__fp_nquery): Handle `unused', `ad', and `cd' bits.
706         (__p_fqnname): New function to print FQDN from compressed name.
707         (__p_rr): Use __p_fqnname.  Correct printing of ".  Handle T_TXT
708         correctly.  Add handling of T_KEY and T_SIG.
709         Handle class and type names by using name arrays instead of
710         explicit `switch'es.
711         (__sym_ston, __sym_ntos, __sym_ntop): New functions to use arrays.
712         (__dn_count_labels, __p_secstodate): New functions.
714         * resolv/resolv.h (__RES): Update version number.
715         (res_sym): New type.
716         Add #defines for new functions.
717         Declare sym_ntos, sym_ntop, b64_ntop, b64_pton, __p_fqnname,
718         __p_secstodate, dn_count_labels.
720         * resolv/arpa/nameser.h (__BIND): Update version number.
721         Add KEYFLAG_* and ALGORITHM_* symbols.
722         (HEADER): Add `ad' and `cd' flags.
724         * inet/ient.h: Add prototypes for inet_neta, inet_net_ntop,
725         and inet_net_pton.
727         * manual/maint.texi: Document that we use bind-4.9.5.
728         * INSTALL: Ditto.
730 Mon Aug 12 19:03:22 1996  Thomas Bushnell n/BSG  <thomas@psilocin.gnu.ai.mit.edu>
732         * sysdeps/generic/gnu/types.h: Declare __fd_mask as `unsigned long'.
734         * mach/Makefile (mach/mach_host.uh): Depend on
735         $(objpfx)/mach-syscalls.mk.
736         ($(objpfx)mach-shortcuts.h): Depend on $(objpfx)mach/mach_host.h.
737         (This fixes a make loop; thanks to Marcus Daniels
738         <marcus@sysc.pdx.edu> for the patch.)
740 Mon Aug 12 16:41:52 1996  Thomas Bushnell n/BSG  <thomas@gnu.ai.mit.edu>
742         * io/getwd.c (getwd) [! PATH_MAX]: Don't assume that the user's
743         buffer is any longer than the amount necessary to hold the
744         filename; the Hurd getcwd uses the *entire* contents of the
745         buffer, however long it is specified to be.
747 Mon Aug 12 04:33:09 1996  Ulrich Drepper  <drepper@cygnus.com>
749         * nss/nsswitch.c (__nss_database_lookup): Always release locks
750         before returning.  Reported by Miles Bader.
752 Mon Aug 12 03:31:58 1996  Ulrich Drepper  <drepper@cygnus.com>
754         * nss/nsswitch.c (__nss_configure_lookup):  New function.
755         Allows to specify services.
756         * nss/XXX-lookup.h: Rename database variable and make global.
757         * nss/databases.def: New file.  Real names of all databases.
759         * nss/nss.h: New file.  Contains declaration useful for users
760         and service developers.
761         * nss/nsswitch.h: Move some declarations to nss/nss.h.
762         * nss.h: New file.  Wrapper around nss/nss.h.
764         * nss/Makefile (headers): Add nss.h.
765         (distributes): Add databases.def.
767 Sun Aug 11 16:19:42 1996  Ulrich Drepper  <drepper@cygnus.com>
769         Help the poor people with fast machines by making sure only
770         one `ar' commands works on the library.
771         * autolock.sh: New file.  Written by Tom Tromey.
772         * Makerules (do-ar): Call autolock.sh shell script instead of
773         directly using `ar'.
774         * config.make.in: Make configuration variable AUTOLOCK which
775         gets initialized by configure.
776         * configure.in: Define variable AUTOLOCK to point to autolock.sh
777         script and mark it to substitute.
779         * string/Makefile: Add -fno-builtin for tst-strlen.c, too.
781         * sysdeps/generic/sbrk.c (__sbrk):  Get kernel brk address
782         always only if in static libc or if statically linked program
783         uses libc.so.
785         * sysdeps/generic/sbrk.c (__sbrk):  Get kernel brk address
786         always only if in static libc or if statically linked program
787         uses libc.so.
789 Sun Aug 11 01:12:38 1996  Richard Henderson  <rth@tamu.edu>
791         * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW
792         startup by moving Icache flush from here ...
793         (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here.
794         (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused.
796         * sysdeps/alpha/divrem.h: Update comment to reflect the actual
797         calling conventions.  The code is already correct.
799 Sun Aug 11 01:06:42 1996  Richard Henderson  <rth@tamu.edu>
801         * string/Makefile: Compile tester with -fno-builtin as we want to
802         test our implementations, not gcc's.
804 Sat Aug 10 13:17:27 1996  David Mosberger-Tang  <davidm@azstarnet.com>
806         * shadow.h: New file.
808         * sysdeps/unix/sysv/linux/netinet/in.h: Move
809         __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as
810         well.
812         * socket/sys/socket.h [__cplusplus]: Use old-style __SOCKADDR_ARG.
813         g++ 2.7.2 (and earlier) has no transparent unions support.
815 Fri Aug  9 18:50:06 1996  David Mosberger-Tang  <davidm@azstarnet.com>
817         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_bus_base_sparse): New
818         function to determine the base address of sparse bus memory.
819         (APECS_*): Rename to CIA_*.
820         (APECS_SPARSE_MEM, CIA_SPARSE_MEM): New macros.
821         (platform): Add sparse_bus_memory_base member and initialize.
822         (sparse_bus_memory_base): New variable.
824 Tue Aug  6 10:23:18 1996  David Mosberger-Tang  <davidm@azstarnet.com>
826         * sysdeps/posix/ttyname_r.c (ttyname_r),
827         sysdeps/posix/ttyname.c (ttyname): Return -1/NULL if
828         !__isatty(fd) (POSIX.1 says so.)
830         * sysdeps/unix/getlogin.c (getlogin): Fix to check fd 0 only.
831         This is not a gross hack, after all---for compatibility,
832         getlogin() really should check fd 0 only and not try to base its
833         operation on the controlling tty.
835 Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>
837         * sysdeps/unix/getlogin.c (getlogin): Add static variable NAME,
838         change utmp_data from static to auto.
840 Sun Aug 11 02:56:08 1996  Ulrich Drepper  <drepper@cygnus.com>
842         * posix/unistd.h [__USE_MISC]: Add prototype for `nice'.
843         Reported by David Mosberger-Tang.
845 Sat Aug 10 02:05:28 1996  Richard Henderson  <richard@twiddle.tamu.edu>
847         * sysdeps/libm-ieee754/s_isnan.c [NO_LONG_DOUBLE]: Add strong
848         alias to `__isnanl'.
850 Fri Aug  9 17:38:58 1996  Ulrich Drepper  <drepper@cygnus.com>
852         * sysdeps/unix/sysv/linux/sys/timex.h: Include <sys/time.h> to
853         get `struct timeval'.
854         * sysdeps/unix/sysv/linux/sys/acct.h: Get time_t from <time.h>.
855         * sysdeps/unix/sysv/linux/sys/module.h: Get size_t from <stddef.h>.
856         * sysdeps/unix/sysv/linux/sys/io.h: Get definition of __P.
857         * sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
858         * gmon/sys/gmon.h: Include <sys/types.h> to get u_long.
859         * sysdeps/unix/sysv/linux/direntry.h: Complete types in
860         <linux/dirent.h>.
861         * io/fts.h: Include <sys/types.h> to get dev_t.
862         Reported by Matthias Urlichs.
864         * sysdeps/posix/tempname.c [USE_IN_LIBIO]: Don't clear
865         _IO_file_flags.  It's the same as _flags.
866         Reported by Miquel van Smoorenburg <miquels@Q.cistron.nl>.
868 Wed Aug  7 19:38:47 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
870         * sysdeps/unix/sysv/linux/m68k/resourcebits.h: Add RLIMIT_AS.
872 Thu Aug  8 16:17:38 1996  Ulrich Drepper  <drepper@cygnus.com>
874         * pwd/getpwent.c: Define BUFLEN from NSS_BUFLEN_PASSWD.
875         * pwd/getpwent_r.c: Likewise.
876         * pwd/getpwnam.c: Likewise.
877         * pwd/getpwnam_r.c: Likewise.
878         * pwd/getpwuid.c: Likewise.
879         * pwd/getpwuid_r.c: Likewise.
881         * grp/getgrent.c: Define BUFLEN from NSS_BUFLEN_GROUP.
882         * grp/getgrent_r.c: Likewise.
883         * grp/getgrgid.c: Likewise.
884         * grp/getgrgid_r.c: Likewise.
885         * grp/getgrnam.c: Likewise.
887         * pwd/fgetpwent_r.c: New file.  Reentrant version of fgetpwent.
888         * pwd/fgetpwent.c: Rewrite to use fgetpwent_r.
889         * pwd/Makefile (routines): Add fgetpwent_r.
890         * pwd/pwd.h: Add prototypes for __fgetpwent_r and fgetpwent_r.
892         * grp/fgetgrent_r.c: New file.  Reentrant version of fgetgrent.
893         * grp/fgetgrent.c: Rewrite to use fgetgrent_r.
894         * grp/Makefile (routines): Add fgetgrent_r.
895         * grp/grp.h: Add prototypes for __fgetgrent_r and fgetgrent_r.
897         Implement shadow password lookup functions.  This is no complete
898         shadow password suite.
899         * shadow/Makefile: New file.
900         * shadow/fgetspent.c: New file.
901         * shadow/fgetspent_r.c: New file.
902         * shadow/getspent.c: New file.
903         * shadow/getspent_r.c: New file.
904         * shadow/getspnam.c: New file.
905         * shadow/getspnam_r.c: New file.
906         * shadow/putspent.c: New file.
907         * shadow/sgetspent.c: New file.
908         * shadow/sgetspent_r.c: New file.
909         * shadow/shadow.h: New file.
910         * shadow/spwd-lookup.c: New file.
911         * shadow/nss_files/files-spwd.c: New file.
913 Thu Aug  8 13:33:45 1996  Ulrich Drepper  <drepper@cygnus.com>
915         * sysdeps/unix/sysv/linux/ftime.c: New file.  Available system
916         call is only a stub.
917         Reported by Matthias Urlichs.
919         * Makeconfig [!default_cflags]: Change default value from `-g'
920         to `-g -O'.
922         * configure.in: Recognize i686.
923         * sysdeps/i386/i686/Implies: Default on i586 optimized code.
925 Thu Aug  8 12:40:20 1996  Matthias Urlichs  <smurf@smurf.noris.de>
927         * Makeconfig [$(build-omitfp) == yes]: Add to CFLAGS-.so
928         value of CFLAGS-.o, not CFLAGS-o.
930         * sysdeps/unix/sysv/linux/init-first.c (init): Add volatile
931         pointer to ourself.  Otherwise `gcc -O3' optimized init away.
933 Thu Aug  8 01:41:43 1996  Ulrich Drepper  <drepper@cygnus.com>
935         * elf/Makefile: Undo change of Tue Aug  6 14:27:11 1996.
936         * elf/dl-support: Add definition of `_dl_sysdep_read_whole_file'.
938 Thu Aug  8 01:15:59 1996  Ulrich Drepper  <drepper@cygnus.com>
940         * sysdeps/i386/fpu_control.h (_FPU_DEFAULT, _FPU_IEEE): Set
941         to 0x137f to allow long double operations.
943 Sun Aug  4 13:12:05 1996  Richard Henderson  <rth@tamu.edu>
945         Bug Fixes:
947         * nss/nsswitch.c (_res): Remove redundant variable definition.
948         The real one is in resolve/res_init.c, and having both prevents
949         using -fno-common when building the shared library.
950         * sunrpc/rpc_prot.c (_null_auth): Same.  Original is in rpc_common.c.
952         * sysdeps/unix/sysv/linux/alpha/brk.S: When PIC, define __curbrk as
953         a .bss object not a COMMON symbol.
955         * sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S: Must load
956         $gp before referencing __sigsetjmp symbol.  Retain LITUSE for same.
958         Optimizations:
960         * sysdeps/alpha/strlen.S: Rearrange first-word setup and thense the
961         main loop for better dual-issue on EV5.  Rearrange binary search to
962         pipeline better and trim one instruction.
964         Cosmetic Changes:
966         * time/localtime.c (localtime_r): Move lock declaration back next to
967         the comment where it was before the 960724 change.
969         * INSTALL, manual/maint.texi: alpha-gnu-linux -> alpha-ANYTHING-linux.
970         The second word is supposed to be the hardware manufacturer.
972         * sysdeps/alpha/_mcount.S: Retain LITUSE for __mcount.
973         * sysdeps/alpha/setjmp.S: Retain LITUSE for __sigsetjmp_aux.
975         * sysdeps/alpha/divrem.h: More local labels, retain LITUSE for _mcount.
977         * sysdeps/alpha/alphaev5/add_n.S, sysdeps/alpha/alphaev5/lshift.S,
978         sysdeps/alpha/alphaev5/rshift.S, sysdeps/alpha/alphaev5/sub_n.S:
979         Same cleanups as with EV4 GMP stuff.
981 Tue Jul 25 03:30:56 1996  Richard Henderson  <rth@tamu.edu>
983         * sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_routines): Add clone.
984         * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
985         * sysdeps/unix/sysv/linux/i386/clone.S: New file.
987 Sun Aug  4 00:12:41 1996  David Mosberger-Tang  <davidm@azstarnet.com>
989         * sysdeps/unix/sysv/linux/gnu/types.h: Declare __fd_mask as
990         `unsigned long'.
992         * misc/sys/select.h: Declare fd_mask as alias of __fd_mask.
994 Sat Aug  3 16:20:02 1996  David Mosberger-Tang  <davidm@azstarnet.com>
996         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
997         Mikasa.
999         * socket/sys/socket.h (send, __send, sendto): Declare buffer
1000         pointer as __const.
1002         * string/tester.c (main): Test stpncpy.
1004         * sysdeps/generic/stpncpy.c (__stpncpy): Fix so it works without
1005         segfault when called with an N that is not a multiple of four and
1006         src[N-1]=='\0'.
1008         * misc/syslog.c (LogType): New variable.
1009         (openlog): If connect() with SOCK_DGRAM fails with EPROTOTYPE,
1010         try again with SOCK_STREAM (the Linux syslogd uses a socket of the
1011         latter type).
1012         (vsyslog): When LogType==SOCK_STREAM, also send ASCII NUL
1013         terminator as a record-delimiter.  If __send(LogFile) fails,
1014         call closelog() so logfile gets re-opened next time.
1016 Wed Aug  7 15:15:14 1996  Ulrich Drepper  <drepper@cygnus.com>
1018         * elf/dl-open (_dl_open): Add cast to avoid warning.
1020         * manual/memory.texi: Improve some examples to give readers better
1021         advice: Use `stpcpy' instead of `strcat' if possible.
1022         * manual/string.texi: Document `strtok_r' and `strtok'.
1024         * sunrpc/Makefile: Move `+gccwarn' definition before inclusion
1025         of Makeconfig.
1026         [$(cross-compiling)=no]: Change test before making librpcsvc
1027         to this from $(cross-compile).
1028         Reported by Andreas Schwab.
1030 Tue Aug  6 14:27:11 1996  Ulrich Drepper  <drepper@cygnus.com>
1032         * elf/Makefile (routines): Move dl-sysdep to here...
1033         (rtld-routines): ...from here.  This should make static linking
1034         work again.
1036         * locale/setlocale.c: Add local variable `lock' and add code to
1037         `setlocale' to avoid simultaneous changing of global data.
1039         * catgets/catgets.c (catopen): Use `__strdup' instead of `strdup'.
1040         * catgets/open_catalog (__open_catalog): Use `__stpcpy', `__open',
1041         `__fstat', `__read', `__mmap', `__munmap' and `__close' instead
1042         of unprotected names.
1044 Tue Aug  6 01:13:56 1996  Ulrich Drepper  <drepper@cygnus.com>
1046         Clean name space according to ISO C, ISO C/Amd 1, and POSIX.1.
1047         This requires to rename several functions to use __ protected
1048         names.
1049         * dirent/dirent.h: Add prototypes of __opendir, __closedir,
1050         and __readdir.
1051         * sysdeps/mach/hurd/closedir.c: Prepend function name with __
1052         and make old name a weak alias.
1053         * sysdeps/mach/hurd/getrlimit.c: Likewise.
1054         * sysdeps/mach/hurd/opendir.c: Likewise.
1055         * sysdeps/mach/hurd/readdir.c: Likewise.
1056         * sysdeps/stub/closedir.c: Likewise.
1057         * sysdeps/stub/opendir.c: Likewise.
1058         * sysdeps/stub/readdir.c: Likewise.
1059         * sysdeps/unix/closedir.c: Likewise.
1060         * sysdeps/unix/opendir.c: Likewise.
1061         * sysdeps/unix/readdir.c: Likewise.
1063         * sysdeps/unix/opendir.c: Call `__fcntl' instead `fcntl'.
1065         * sysdeps/posix/getcwd.c: Call `__opendir', `__readdir',
1066         `__closedir' instead of unprotected names.
1068         * libio/filedoalloc.c (_IO_file_doallocate): Call `__isatty'
1069         instead of `isatty' since later is not part of ISO C.
1070         * libio/fileops.c (_IO_file_fopen): Call `__open' instead of
1071         `open' since later is not part of ISO C.
1073         * login/endutent.c (endutent): Call `__endutent_r', not
1074         `endutent_r'.
1075         * login/endutent_r.c: Rename defined function to `__endutent_r',
1076         make `endutent_r' weak alias.
1077         * login/getutent.c (getutent): Call `__getutent_r', not
1078         `getutent_r'.
1079         * login/getutid.c (getutid): Call `__getutid_r', not `getutid_r'.
1080         * login/getutid_r.c: Rename defined function to `__getutent_r',
1081         make `getutent_r' weak alias.
1082         * login/getutline.c (getutline): Call `__getutline_r', not
1083         `getutline_r'.
1084         * login/getutline_r.c: Rename defined function to `__getutline_r',
1085         make `getutline_r' weak alias.
1086         * login/pututline_r.c: Rename defined function to `__pututline_r',
1087         make `pututline_r' weak alias.
1088         * login/setutent.c (setutent): Call `__setutline_r', not
1089         `setutline_r'.
1090         * login/setutent_r.c: Rename defined function to `__setutline_r',
1091         make `setutline_r' weak alias.
1092         Rename `utmpname' to `__utmpname' and make former weak alias.
1093         (__utmpname): Call `__strdup', not `strdup'.
1094         * login/utmp.h: Add prototypes for name space clean reentrant
1095         versions.
1096         * sysdeps/unix/getlogin.c: Call `__ttyname_r', `__setutent_r',
1097         and `__endutent_r' instead of unprotected names.
1099         * math/math.h: Add prototype for `__matherr'.
1100         * sysdeps/libm-ieee754/k_standard.c: Call `__matherr' instead
1101         of `matherr'.
1103         * nss/getXXbyYY.c: Call __ protected reentrant function.
1104         * nss/getXXent.c: Likewise.
1105         * nss/getXXbyYY_r.c: Define `get*' function with __ protected
1106         name.  Make usual name a weak alias.
1107         * nss/getXXent_r.c: Likewise.
1109         * posix/unistd.h: Add prototype for `__ttyname_r'.
1110         * sysdeps/posix/ttyname_r.c: Rename function to `__ttyname_r'
1111         and make `ttyname_r' a weak alias.
1113         * resource/sys/resource.h: Add prototype for `__getrlimit'.
1114         * sysdeps/stub/getrlimit.c: Prepend function name with __
1115         and make old name a weak alias.
1116         * sysdeps/unix/syscalls.list: Rename system call to `__getrlimit'
1117         and make `getrlimit' weak alias.
1119         * libc/stdio/stdio.h: Add prototype for `__vscanf'.
1120         * libc/stdio/vscanf.c: De-ANSI-fy.
1121         Rename function to `__vscanf' and make `vscanf' a weak alias.
1122         * stdio-common/scanf.c (scanf): Use _IO_vscanf/__vscanf instead
1123         of `vscanf'.
1125         * stdio-common/reg-printf.c: De-ANSI-fy.
1126         Rename function to `__register_printf_function' and make
1127         `register_printf_function' weak alias.
1129         * stdio-common/vfprintf.c: Call `__wcsrtombs' instead of
1130         `wcsrtombs'.
1132         * stdlib/mbstowcs.c: Call `__mbsrtowcs' instead of `mbsrtowcs'.
1133         * stdlib/mbtowc.c: Call `__mbrtowc' instead of `mbrtowc'.
1134         * stdlib/wcstombs.c: Call `__wcsrtombs' instead of `wcsrtombs'.
1135         * stdlib/wctomb.c: Call `__wcrtomb' instead of `wcrtomb'.
1136         * wcsmbs/mbrtowc.c: Prepend function name with __ and make old
1137         name a weak alias.
1138         * wcsmbs/mbsrtowcs.c: Likewise.
1139         * wcsmbs/wcrtomb.c: Likewise.
1140         * wcsmbs/wcsrtombs.c: Likewise.
1141         * wcsmbs/wchar.h: Add prototypes for __ protected versions.
1143         * sysdeps/posix/sigsetmask.c (__sigsetmask): Call `__sigprocmask'
1144         instead of `sigprocmask'.
1147         * grp/grp.h [__USE_REENTRANT]: Add prototypes for reentrant
1148         version getgrent_r, getgrgid_r, and getgrnam_r.
1149         * pwd/pwd.h [__USE_REENTRANT]: Add prototypes for reentrant
1150         version getpwent_r, getpwuid_r, getpwnam_r and __ protected
1151         names.
1152         * resolv/netdb.h: Complete rewrite.  No more BSD ugliness.
1155         * misc/error.c (private_strerror): Translate messages from table,
1156         too.
1158         * io/fcntl.h: Pretty printing.
1159         * misc/fstab.h: Likewise.
1160         * misc/ttyent.h: Likewise.
1161         * resource/sys/resource.h: Likewise.
1162         * string/argz.h: Likewise.
1163         * string/envz.h: Likewise.
1165         Add support for symbols from POSIX.1c (POSIX threads).
1166         * posix/getconf.c: Handle new sysconf symbols.
1167         * posix/posix1_lim.h: Define _POSIX_TTY_NAME_MAX and
1168         _POSIX_LOGIN_NAME_MAX with minimal maximal values.
1169         * sysdeps/generic/confname.h: Define new symbols.
1170         * sysdeps/posix/sysconf.c: Handle new symbols.
1171         * sysdeps/stub/sysconf.c: Ditto.
1172         * sysdeps/unix/sysv/linux/sysconf.c: Removed.  Generic version
1173         is ok now.
1175         * sunrpc/rpc/xdr.h: Move definition of type `xdrproc_t' to
1176         have real prototype.
1178         * sysdeps/generic/resourcebits.h: Add macro definition for
1179         RLIMIT_* values.  Some sources test using #ifdef whether specific
1180         limit is available.
1181         * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Ditto.
1182         * sysdeps/unix/sysv/linux/resourcebits.h: Removed.  We need
1183         separate files for the architectures.
1184         * sysdeps/unix/sysv/linux/alpha/resourcebits.h: New file.
1185         * sysdeps/unix/sysv/linux/i386/resourcebits.h: New file.
1186         * sysdeps/unix/sysv/linux/m68k/resourcebits.h: New file.
1187         * sysdeps/unix/sysv/linux/mips/resourcebits.h: New file.
1189         * sysdeps/posix/getdtsz.c: Rewrite to use `__getrlimit' function
1190         and only default on `OPEN_MAX'.
1191         * sysdeps/unix/sysv/sysv4/getdtsz.c: Removed.  Default is already
1192         the POSIX version.
1194         * time/Makefile (routines): Add ctime_r.
1195         * time/asctime.c: Add implementation of `asctime_r'.  Make
1196         `asctime' implementation based on reentrant version.
1197         * time/ctime_r.c: New file.
1198         * time/time.h [__USE_REENTRANT]: Add definition of `asctime_r'
1199         and `ctime_r'.
1201 Sat Aug  3 18:41:36 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1203         * locale/C-ctype.c (_nl_C_LC_CTYPE_toupper): Fix EOF entry.
1204         (_nl_C_LC_CTYPE): Fix ordering.
1205         * locale/categories.def (LC_CTYPE): Add missing ctype-class32; fix
1206         typo.
1208 Sat Aug  3 12:31:06 1996  Richard Henderson  <rth@tamu.edu>
1210         * csu/initfini.c: Discover the maximum alignment generated by the
1211         compiler when emitting a function.
1212         (_init): Make sure the end of the crti fragment is aligned.
1213         (_fini): Likewise.
1215 Fri Aug  2 03:12:40 1996  Ulrich Drepper  <drepper@cygnus.com>
1217         * initfini.c: (__libc_is_static): New variable.  Will be
1218         initialized in init-first.c.  Some actions in the libc work
1219         different when libc is static or dynamic.
1221         * sysdeps/unix/sysv/linux/init-first.c (init): Use
1222         `__libc_is_static' variable to determine whether call to
1223         `personality' and `setfpucw' is necessary.  When done set variable
1224         to +-1 depending on library type.
1226         * locale/setlocale.c (setlocale): Use global variable
1227         `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to
1228         determine whether it's a SET[UG]ID program.
1230 Fri Aug  2 14:40:22 1996  Roland McGrath  <roland@fast.cs.utah.edu>
1232         * Version 1.93 test release.
1234         * manual/Makefile: Use -include for chapters-incl too.
1236         * Makeconfig (+link): Add back start.o, mistakenly removed in last
1237         change.
1239 Fri Aug  2 01:04:02 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1241         * nss/Makefile (generated): Add db-*.c.
1243         * sysdeps/i386/sysdep.h: Get generic/sysdep.h explicitly instead of
1244         using #include_next.
1246         * configure.in (--enable-add-ons): Quote m4 macro args.
1248         * elf/rtld.c (dl_main): For --verify, fail if no dynamic section.
1250 Thu Aug  1 14:40:03 1996  Roland McGrath  <roland@fast.cs.utah.edu>
1252         * sunrpc/Makefile [$(cross-compile)=no]: Test before making librpcsvc.
1254         * Makerules (build-shlib): Add -B$(csu-objpfx) to find crt[in].o there.
1256         * Makeconfig (+preinit, +postinit): Prepend $(csu-objpfx) here.
1257         (+link): Not here.
1259         * stdio-common/_itoa.h (_itoa_word): Declare unused to suppress
1260         warning when inline function is elided.
1261         * sysdeps/i386/dl-machine.h (elf_machine_matches_host): Likewise.
1262         (elf_machine_runtime_setup): Likewise.
1263         * elf/dynamic-link.h (elf_get_dynamic_info): Likewise.
1264         * sysdeps/i386/dl-machine.h (elf_machine_got): Likewise.
1265         (elf_machine_load_address): Likewise.
1267         * catgets/gencat.c: Include <locale.h>.
1269         * sysdeps/unix/mk-local_lim.c (param): Add SYMLOOP_MAX/MAXSYMLINKS.
1271         * login/logwtmp.c (logwtmp): Call time, not __time.
1273         * sysdeps/gnu/utmpbits.h (_HAVE_UT_PID): New macro.
1274         * login/login.c (login): Test [_HAVE_UT_PID] to use ut_pid member.
1275         * login/logwtmp.c (logwtmp): Likewise.
1277         * sysdeps/generic/ioctl-types.h (sizeof): Define to 0 around #if
1278         comparing ioctl macro values.
1280         * sysdeps/i386/sysdep.h: Do `#include_next <sysdep.h>'.
1282         * manual/Makefile: Use -include for chapters to suppress warning.
1284         * sysdeps/stub/socket.c: Fix type of TYPE arg.
1285         * sysdeps/stub/socketpair.c: Likewise.
1287         * sysdeps/stub/_exit.c (_exit): Remove obsolete __NORETURN keyword.
1289         * sysdeps/generic/sysdep.h: New file, broken out of ...
1290         * sysdeps/unix/sysdep.h: ... here.
1291         (C_LABEL): Moved out.
1293         * Makeconfig (soversions.mk): Don't use newfangled ${x%%y} syntax;
1294         stick to sed.  Do `exit 0' at end because while returns nonzero.
1296         * sysdeps/i386/sysdep.h: New file, broken out of ...
1297         * sysdeps/unix/i386/sysdep.h: ... here.  Generic asm macros moved out.
1299         * sysdeps/stub/stdio_lim.h (L_ctermid, L_cuserid): Macros removed.
1300         They are defined unconditionally in libio/stdio.h.
1302         * elf/dl-runtime.c: Include <stddef.h> for `NULL' defn.
1303         * elf/dl-cache.c: Likewise.
1305 Mon Jul 29 19:20:05 1996  Ulrich Drepper  <drepper@cygnus.com>
1307         * sysdeps/unix/sysv/linux/Makefile [$(subdir == misc]
1308         (sysdep_headers): Add sys/sysmacros.h.
1309         * sysdeps/unix/sysv/linux/sys/sysmacros.h: New file.
1311 Wed Jul 31 14:21:36 1996  Ulrich Drepper  <drepper@cygnus.com>
1313         * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
1314         tcgetattr.  We have weak aliases now.
1315         * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
1316         "optimizations" for random functions.
1318 Mon Jul 29 20:33:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1320         * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
1321         htons) [__BIG_ENDIAN]: #undef them before defining to avoid
1322         redefinition warning.
1324 Mon Jul 29 20:28:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1326         * time/time.h: Don't optimize tzset() to __tzset() which bypasses
1327         the __tzset_lock.
1329 Tue Jul 30 15:14:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1331         * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
1332         protection.
1334 Tue Jul 30 02:48:28 1996  Ulrich Drepper  <drepper@cygnus.com>
1336         * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
1337         to be 64-bit clean.
1338         Reported by Richard Henderson <rth@tamu.edu>.
1340 Tue Jul 30 15:04:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1342         * locale/programs/ld-collate.c (collate_output): Fix typo reported by
1343         David Miller.
1345 Tue Jul 30 13:23:13 1996  Ulrich Drepper  <drepper@cygnus.com>
1347         * locale/setlocale.c (setlocale): Don't try to free C locale
1348         data.
1349         Reported by Matthias Urlichs.
1351 Tue Jul 30 14:35:17 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1353         * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
1354         (open_file): New function, contents mostly from __open.
1355         (_dl_sysdep_read_whole_file): New function.
1357 Sat Jul 27 11:23:59 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1359         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
1360         `..' dots in sed search string.
1362 Mon Jul 29 01:27:07 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1364         * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
1365         protection.
1367 Sun Jul 28 23:46:14 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1369         * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
1370         in those directories.
1371         * config.make.in (add-ons): New varaible, set from @subdirs@.
1372         * Makefile (subdirs): Added $(add-ons) at the end.
1374         * time/strftime.c (strftime: do_number): Initialize PRINTED to
1375         MAXDIGITS in case P is null and so sprintf is never actually called.
1377 Mon Jul 29 02:46:23 1996  Ulrich Drepper  <drepper@cygnus.com>
1379         Add support for the to-be-written internationalized regexp.
1380         This code must be able to use collation symbols and collation
1381         equivalent classes.
1382         * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
1383         _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
1384         New global variables for collation classes.
1385         * locale/categories.def: Add new descriptions for collation symbols
1386         and collation classes.
1387         * locale/langinfo.h: Add constants for collation symbols and
1388         collation classes.
1389         * locale/lc-collate.c: Add new global variables for collation symbols
1390         and collation classes.
1391         (_nl_postload_collate): Initialize new variables.
1392         * locale/programs/ld-collate.c: Add code to emit tables for
1393         collation symbols and collation classes.
1394         * locale/programs/locales.h: Change prototype for `collate_output'.
1395         * locale/programs/locfile.c (write_all_categories): Call
1396         `collate_output' with new argument.
1397         * locale/localeinfo.h: Add declaration for new global vars.
1398         (union locale_data_value): New member wstr for `wchar_t' strings.
1399         * locale/programs/locale-spec.c: Handle `collate-classes'
1400         keyword and print information about available collation classes.
1401         * locale/strlen-hash.h: New file.  Simple hashing function which
1402         takes a string with known length.
1403         * locale/Makefile (distribute): Add strlen-hash.h.
1404         (locale-modules): New var.  Additional files for `locale' program.
1406         * locale/C-ctype.c: Rewrite to avoid using string for giving values
1407         which are of type `u_int32_t'.
1408         Correct entry for EOF in toupper and tolower tables.
1410         * locale/loadlocale.c (_nl_load_locale):  Add cast to prevent
1411         warning.
1413         * locale/programs/ld-ctype.c (ctype_output): Add code to make
1414         sure that all tables in binary file are word-aligned.
1416         * locale/programs/locfile.c (write_locale_data): Correct handling
1417         of LC_MESSAGES locale.  Create directory if necessary.
1419         * locale/setlocale.c (setlocale): Add cast to avoid warning.
1421         * string/string.h: Add prototype for `__strndup'.
1423 Wed Jul 24 19:10:00 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1425         * wcsmbs/mbrtowc.c: Remove unused variable.
1427 Sun Jul 28 22:40:25 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1429         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
1430         2.0.10; some problems were reported with an earlier version, and this
1431         one is known to work.
1433         * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
1434         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1436 Sat Jul 27 13:02:09 1996  Ulrich Drepper  <drepper@cygnus.com>
1438         * elf/rtld.c (dl_main): Ignore arguments when environment variable
1439         LD_TRACE_LOADED_OBJECTS is set.
1441 Sun Jul 28 19:42:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1443         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
1444         __libc_enable_secure instead of _dl_secure.
1445         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1446         * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
1447         of _dl_secure.
1448         * elf/Makefile (routines): Add enbl-secure.
1449         (elide-routines.so): Here too.
1450         * sysdeps/generic/enbl-secure.c: New file.
1451         * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
1452         * elf/dl-support.c (_dl_secure): Variable removed.
1453         * elf/rtld.c: Likewise.  Replace all uses with __libc_enable_secure.
1455 Sun Jul 28 19:26:40 1996  David S. Miller  <dm@neteng.engr.sgi.com>
1457         * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1458         Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
1459         compiler doesn't elide it.
1460         (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
1462 Sat Jul 27 02:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1464         * elf/rtld.c (dl_main): Take new option --verify when run directly.
1465         In verify mode, exit with status zero iff the argument object's
1466         PT_INTERP matches argv[0].
1467         * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
1468         exits with zero status.  This makes `ldd' secure again.
1470 Fri Jul 26 22:49:58 1996  Ulrich Drepper  <drepper@cygnus.com>
1472         * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
1473         environment variable handling.  This makes the dynamic linker
1474         only print loaded libraries and quit.
1476         * elf/ldd.sh.in: Don't use `rtld --list' but instead
1477         LD_TRACE_LOADED_OBJECTS environment variable to print needed
1478         objects.
1480 Sat Jul 27 02:03:26 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1482         * db/makedb.c (main): Print version on stdout, not stderr.  Don't exit
1483         after printing version until after doing usage for --help.
1484         (long_options, main, usage): Rename -l/--lowercase option to
1485         -f/--fold-case (-f matches sort).
1487 Sat Jul 27 04:32:31 1996  Ulrich Drepper  <drepper@cygnus.com>
1489         * db/makedb.c: New file.  Implement program to create simple <db.h>
1490         database from textual input.  This will be used for nss_db.
1492 Sat Jul 27 01:24:05 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1494         * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
1495         * sunrpc/rpc/pmap_clnt.h: Likewise.
1496         * sunrpc/rpc/auth.h: Likewise.
1497         * sunrpc/rpc/pmap_rmt.h: Likewise.
1498         * sunrpc/rpc/rpc_msg.h: Likewise.
1500 Sat Jul 27 04:37:34 1996  Ulrich Drepper  <drepper@cygnus.com>
1502         * string/string.h (strndupa): Change to use return value of
1503         `memcpy' for more performance.
1504         * string/strndup.c: Likewise.
1506         * string/string.h (strdupa): Don't call __builtin_alloca in argument.
1507         This might lead to problems.
1508         (strndupa): Likewise.
1510 Fri Jul 26 15:24:25 1996  Ulrich Drepper  <drepper@cygnus.com>
1512         * sunrpc/rpc/auth.h: Add protection against multiple inclusion
1513         and change K&R prototypes to ANSI prototypes.
1514         * sunrpc/rpc/auth_unix.h: Ditto.
1515         * sunrpc/rpc/clnt.h: Ditto.
1516         * sunrpc/rpc/pmap_clnt.h: Ditto.
1517         * sunrpc/rpc/pmap_prot.h: Ditto.
1518         * sunrpc/rpc/pmap_rmt.h: Ditto.
1519         * sunrpc/rpc/rpc_msg.h: Ditto.
1520         * sunrpc/rpc/svc.h: Ditto.
1521         * sunrpc/rpc/svc_auth.h: Ditto.
1522         * sunrpc/rpc/xdr.h: Ditto.
1524 Fri Jul 26 20:39:42 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1526         * ctype/test_ctype.c: Test EOF too.
1528 Fri Jul 26 18:06:58 1996  Ulrich Drepper  <drepper@cygnus.com>
1530         * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
1531         * sunrpc/rpc/auth_unix.h: Likewise.
1532         * sunrpc/rpc/clnt.h: Likewise.
1533         * sunrpc/rpc/netdb.h: Likewise.
1534         * sunrpc/rpc/pmap_clnt.h: Likewise.
1535         * sunrpc/rpc/pmap_prot.h: Likewise.
1536         * sunrpc/rpc/rpc_msg.h: Likewise.
1537         * sunrpc/rpc/svc.h: Likewise.
1538         * sunrpc/rpc/svc_auth.h: Likewise.
1539         * sunrpc/rpc/xdr.h: Likewise.
1541         * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
1542         to here from...
1543         * sunrpc/pmap_rmt.c: ...here.
1545 Fri Jul 26 16:10:43 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1547         * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
1548         valid ut_id field.
1549         * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
1550         if a search fails.
1552 Fri Jul 26 00:36:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1554         * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
1555         <kkojima@info.kanagawa-u.ac.jp>.
1557 Fri Jul 26 04:41:28 1996  Ulrich Drepper  <drepper@cygnus.com>
1559         * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
1560         defined, not __OPTIMIZED.
1561         (_nl_msg_cat_cntr): Move declaration outside macro definition
1562         to prevent "nested extern" warning.
1563         (dcgettext): Rename local variable `result' to `__result'.
1565 Thu Jul 25 22:46:30 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1567         * locale/programs/localedef.c (__progname): Remove decl.
1568         (main): Use program_invocation_short_name instead of __progname.
1569         (usage): Use program_invocation_name instead of __progname.
1571 Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>
1573         * catgets/gencat.c: Use "libc" instead of PACKAGE.
1574         * locale/localedef.c: Ditto.
1575         * locale/locale.c: Ditto.
1577         * locale/findlocale.c (_nl_find_locale): Little optimization.
1578         Use new function `strndup'.
1580         * locale/loadlocale.c: Little optimization.  Use constant value
1581         from `_nl_category_num_items' instead of byte-order dependend
1582         value from file.
1584         * locale/programs/ld-time.c (time_add): Correct string constant.
1586         * locale/programs/locale-spec.c: New file.
1587         * locale/programs/locale.c: Call `locale_special' function if
1588         no other field matches.
1590         * locale/programs/localedef.c: No need to define `program_name'.
1591         Use global variable `__progname'.
1593         * locale/programs/locfile.c (write_locale_data): Always write
1594         LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file.  This is
1595         necessary since message catalogs are also installed in the
1596         LC_MESSAGES/ directory.
1598         * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
1599         function instead of writing single bytes.
1600         (encode_char): Also handle little endian.
1602         * locale/setlocale.c (new_composite_name): Little optimization.
1603         Use return value of `memcpy'.
1605         * misc/ttyent.h: Pretty print prototypes, add missing parameter
1606         names, prepend parameter names with __  and use `__const' instead
1607         of `const'.
1608         * posix/unistd.h: Ditto.
1609         * stdlib/stdlib.h: Ditto.
1610         * string/string.h: Ditto.
1612         * posix/getconf.c: De-ASNI-fy.  Recognize POSIX.2 constant names.
1613         Use `error' function instead of doing it by hand.
1614         * sysdeps/posix/sysconf.c: De-ANSI-fy.
1615         Handle _SC_COLL_WEIGHTS_MAX.
1616         * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
1617         _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
1618         since these do depend on the platform.
1619         Add POSIX.4 symbols.
1621         * posix/posix2_lim.h: Add missing definition of
1622         _POSIX2_COLL_WEIGHTS_MAX.
1623         Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
1624         to high values since we have no fixed limit.
1626         * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
1627         _SC_PAGESIZE for buggy systems (= HP UX) out there.
1629         * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
1630         * wcsmbs/mbsnrtowcs.c: New file.  Non-standard implementation.
1631         * wcsmbs/wcsnrtombs.c: Ditto.
1632         * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
1633         wcsnrtombs.
1635 Thu Jul 25 00:25:54  Richard Henderson  <rth@tamu.edu>
1637         * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
1638         course.
1639         * nss/getXXent_r.c: Likewise.
1640         * nss/nsswitch.c: Likewise.
1641         * nss/nss_files/files-XXX.c: Likewise.
1642         * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
1643         * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
1644         * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
1646 Thu Jul 25 00:53:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1648         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
1649         macro, now put the needed Linux version just once, here; update to
1650         needing linux-2.0.3 headers.
1651         (libc_cv_linuxVER): New macro derived from that.
1652         (kernel header check): Use those macros and some m4 magic to replace
1653         hard-coded `201' and `2.0.1' in several places.
1655         * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
1657 Wed Jul 24 17:02:30 1996  Ulrich Drepper  <drepper@cygnus.com>
1659         * time/localtime.c: Move lock variable declaration to end of
1660         variable declarations since if is a dummy macro the ; at the
1661         end terminates the variable section of the function.
1663         * time/tzset.c: Undefine `tzset' before function declaration.
1664         Use `weak_function' macro instead of `weak_symbol'.
1666 Wed Jul 24 18:57:33 1996  Ulrich Drepper  <drepper@cygnus.com>
1668         * stdlib/strtouq.c: Additional weak alias is `strtoull', not
1669         `strotull'.
1671 Wed Jul 24 18:26:23 1996  Ulrich Drepper  <drepper@cygnus.com>
1673         * locale/C-ctype.c: Increment number of fields after change
1674         from Wed Jun 19 03:24:58 1996.
1676 Tue Jul 23 18:13:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1678         * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
1679         ($(common-objpfx)libc.so): Move deps into that, use it.
1680         [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
1681         $(rpcuserlibs:.so=_pic.a).
1682         * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
1683         use $(LDLIBS-c.so).
1685 Thu Jul 18 21:41:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1687         * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
1688         n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
1690 Tue Jul 23 02:49:58 1996  Ulrich Drepper  <drepper@cygnus.com>
1692         * locale/iso-4217.def: Add India to comment for symbol "INR ".
1693         Reported by Raja R Harinath  <harinath@cs.umn.edu>.
1695 Sat Jul 20 14:03:45 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1697         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
1698         #undef RESOLVE.
1700 Sun Jul 21 06:48:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1702         * time/tzset.c: Include <libc-lock.h>.
1703         (__tzset_lock): New lock variable.
1704         (tzset): New function (weak defn), no longer weak alias for __tzset.
1705         Call __tzset while holding __tzset_lock.
1706         * time/localtime.c: Include <libc-lock.h>.
1707         (__localtime_r): Hold __tzset_lock while doing the work.
1709         * sysdeps/generic/setenv.c (__environ): Change conditional for #define
1710         from [!HAVE_GNU_LD] to [!_LIBC].
1711         [_LIBC]: Include <libc-lock.h> and define a lock.
1712         (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
1713         (setenv, unsetenv): Use them.
1715 Sun Jul 21 01:44:39 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1717         * locale/programs/locfile.c (write_locale_data): Deal with missing
1718         UIO_MAXIOV.
1720         * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
1721         * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
1723 Sat Jul 20 21:55:31 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1725         Win32 hacks from <Rob_Tulloh@tivoli.com>.
1726         * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
1727         use void * for my_realloc; include <malloc.h> for alloca.
1728         (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
1729         * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
1730         * posix/glob.h: Likewise.
1732 Sat Jul 20 13:28:52 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1734         * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
1735         call __io_select unless there's only a single descriptor, as each
1736         descriptor now has its own reply port.
1737         If there is only a single descriptor, just use its reply port for
1738         everything and don't bother creating the port set.
1740         * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
1741         <unistd.h>: New include.
1743         * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
1744         continuation line.
1746 Sat Jul 20 07:15:33 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1748         * crypt/Makefile, crypt/nocrypt.c: Removed.  It is illegal to export
1749         from the USA any software that even makes it easy to drop in an
1750         encryption module of foreign origin.
1751         * Makerules (cryptobjdir): Variable removed.
1752         ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
1753         * Makefile (subdirs): Remove crypt.
1755 Fri Jul 19 15:45:20 1996  Ulrich Drepper  <drepper@cygnus.com>
1757         * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
1758         operator to yesexpr and noexpr string.
1760 Fri Jul 19 15:10:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1762         * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
1763         old code would have failed on a big-endian 64-bit architecture).
1764         * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
1766         * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
1767         (xdr_u_long): Use switch instead of chain of if-statements.
1768         Remove gratitous parentheses around return expressions.
1769         (xdr_enum): Open code case where INT_MAX<LONG_MAX.
1771         * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
1773         * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
1774         not int.
1776 Fri Jul 19 16:56:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1778         * dlfcn.h, db.h: New wrapper headers.
1780         * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
1781         for `struct stat;' forward decl.
1783 Fri Jul 19 22:25:19 1996  Ulrich Drepper  <drepper@cygnus.com>
1785         * locale/iso-4217.def: Add some more standardized currency
1786         symbols.
1788 Fri Jul 19 13:18:02 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1790         * hurd/report-wait.c (describe_number): Use unsigned long int for J.
1792 Thu Jul 18 12:33:57 1996  Roland McGrath  <roland@baalperazim.frob.com>
1794         * Rules (dummy.o, empty.o): Targets removed.
1795         (dummy.c, empty.c): New targets replace them.
1797 Thu Jul 18 11:42:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1799         * crypt/Makefile (lib-noranlib): Depend on
1800         $(objpfx)libcrypt.so$(libcrypt.so-version).
1801         (subdir): Fix name.
1803 Thu Jul 18 04:33:21 1996  Roland McGrath  <roland@baalperazim.frob.com>
1805         * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
1806         check.  mib's clueless hacking broke it.
1808 Thu Jul 18 04:27:21 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1810         * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
1812 Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1814         * misc/sys/ustat.h: New file.
1815         * misc/ustat.h: Ditto.
1816         * sysdeps/generic/ustatbits.h: Ditto.
1817         * sysdeps/stub/ustat.c: Ditto.
1818         * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
1819         * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
1820         ustatbits.h.
1821         (routines): Mention ustat.
1823         * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
1824         * sysdeps/alpha/elf/start.S: here.
1826         * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
1827         alphabetically correct place.  Mention ustat.
1829         * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
1830         common symbol (makes errno accessible from gdb).
1832         * login/pututline_r.c (pututline_r): Test ut_id in repositioning
1833         test, not ut_type.
1835         * login/logwtmp.c (logwtmp): Reimplemented.  Must ensure that a
1836         record always gets appended at end of file (wtmp is a log file,
1837         after all).  Set ut_type to DEAD_PROCESS if name is empty.
1839         * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
1840         separate loop from search for UT_ID.  Fix code so it is in
1841         sync with Unix man page.
1843         * login/getutline_r.c (getutline_r): Stop searching only if
1844         ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
1846 Tue Jul 16 15:06:18 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1848         * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
1849         avoid duplicate declarations.
1851 Sun Jul 14 19:08:55 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1853         * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
1854         and alpha-gnu-linuxecoff targets.
1856 Fri Jul 12 16:58:44 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1858         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
1860 Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1862         * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
1863         of int.
1865         * resolv/res_comp.c (res_hnok): Use empty statement in place
1866         of NULL (which generates a "useless expression" warning in
1867         gcc).
1869 Wed Jul 17 23:56:35 1996  Roland McGrath  <roland@baalperazim.frob.com>
1871         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
1872         with $(..) in output.
1874 Wed Jul 17 21:53:45 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1876         * elf/Makefile (dl-routines): Add dl-cache.
1877         * elf/dl-cache.c: New file.
1878         * elf/dl-load.c (_dl_map_object): Check cache before default path.
1880 Wed Jul 17 20:41:30 1996  Ulrich Drepper  <drepper@cygnus.com>
1882         * stdio-common/vfscanf.c: Major change.  Now read character
1883         from stream only if needed.  Before it was read after the
1884         previous character was used.
1885         Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
1887         * stdio-common/tstscanf.c: Change test program so that return
1888         value is != 0 if one test failed.
1890 Wed Jul 17 17:08:48 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1892         * sysdeps/m68k/Makefile (crypt): Variable removed.
1893         * sysdeps/sparc/Makefile: Likewise.
1895         * version.h (VERSION): Update to 1.93.
1897         * Makerules ($(libdir)/libc.so): Depend on
1898         $(common-objpfx)libcrypt.so$(libcrypt.so-version).
1900         * crypt/nocrypt.c: New file.
1901         * Makefile (subdirs): Add crypt.
1902         * crypt/Makefile: New file.
1904         * Makerules (soversions.mk): Move this target, include of it, and
1905         include of version.mk to ...
1906         * Makeconfig: ... here.
1907         (soversions.mk): Depend on Makeconfig instead of Makerules.
1909         * shlib-versions (*-*-*): Set libcrypt=0.
1911 Wed Jul 17 11:29:26 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1913         * stdio/linewrap.c (lwupdate): Fix boundary condition where a
1914         word extends right up to rmargin.
1916         * stdio/linewrap.c (lwupdate): When we've done a word wrap and
1917         output the wrap margin, set point_col to wmargin.
1918         Use negative point_col to deal with a wmargin of 0.
1919         (line_wrap_point): Return 0 for a negative point_col.
1920         (line_wrap_stream): Make wmargin ssize_t.
1921         * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
1922         point_col ssize_t.
1923         (line_wrap_stream): Make wmargin ssize_t.
1924         (line_wrap_point): Return 0 for a negative point_col.
1926 Wed Jul 17 02:43:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1928         * shlib-versions (*-*-gnu*): Set libc=0.0
1930 Tue Jul 16 01:52:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1932         * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
1933         sysdeps/i386/dl-machine.h.
1935 Tue Jul 16 00:18:19 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1937         * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
1938         to fiddle __put_limit in conjunction with __linebuf_active.
1940 Tue Jul 16 00:14:07 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1942         * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
1943         to the strong name, not the file name.
1945 Tue Jul 16 16:43:58 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1947         * csu/initfini.c: More magic.  Detect if .end is produced and put it
1948         in the output iff the compiler does.
1950         * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
1951         because that is broken on alpha.
1953         * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
1954         call as in first.
1956         * Makerules (make-link): Install the new link with atomic mv -f in
1957         case ln itself requires the library being installed.
1959 Tue Jul 16 00:31:31 1996  Richard Henderson  <rth@tamu.edu>
1961         * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
1962         i386/dl-machine.h of 960713.
1964         * sysdeps/generic/dl-sysdep.c:  Include <sys/mman.h>.
1965         (_dl_sysdep_read_whole_file): Fix result variable declaration.
1967 Tue Jul 16 00:53:57 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1969         * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
1970         `nodename' member.
1972 Mon Jul 15 17:23:53 1996  Ulrich Drepper  <drepper@cygnus.com>
1974         * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
1975         with pointer to local variable instead of NULL.
1977 1996-07-15  Paul Eggert  <eggert@twinsun.com>
1979         * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
1981 Sat Jul 13 09:53:39 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1983         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
1984         that are already added by other means.
1986         * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
1987         caller column to get those syscalls added automagically.
1989 Mon Jul 15 12:24:54 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1991         * login/logout.c (logout): Initialize DATA to a state that will
1992         make setutent_r happy.
1994 Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1996         * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
1997         instead of setting the DT_DEBUG pointer.
1999         * csu/initfini.c (_init, _fini): Generate .end directives after
2000         standalone prologues and filter them out from epilogues.
2002         * Makeconfig (rtld-installed-name): Set to ld.so.1.
2003         * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
2004         removed.
2006         * manual/Makefile (glibc-targets): Remove subdir_ from elts.
2008         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
2010         * MakeTAGS (extract): Pass --add-comments=TRANS.
2011         * sysdeps/gnu/errlist.awk: Write comments into the output with the
2012         descriptive paragraphs from the manual preceded by TRANS.
2014         * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
2015         (_dl_start): Move RESOLVE defn inside this function and #include
2016         "dynamic-link.h" a second time there.
2017         [RTLD_START]: Move use of this after _dl_start function.
2019         * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
2021         * elf/rtld.c: Include <string.h>.
2023         * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
2024         ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
2025         Conditionalize defns on [RESOLVE].
2026         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
2027         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2028         Instead use RESOLVE macro with same args.
2029         (elf_machine_rel): Conditionalize defn on [RESOLVE].
2030         * elf/dl-reloc.c (RESOLVE): New macro, define before including
2031         "dynamic-link.h".  It replaces `resolve' local function.
2032         * elf/dl-runtime.c: Likewise.
2033         * elf/rtld.c: Likewise.
2035         * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
2037         * elf/dl-open.c (_dl_open): Force an indirect call for
2038         _dl_relocate_object so there is no chance a PLT fixup will be done
2039         and clobber _dl_global_scope before our call happens.
2041         * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
2042         to =t; must operate on top of fp reg stack, not second from top.
2043         Correct input constraint to 0 from t; must be explicit when input and
2044         output are the same register.
2045         (floor): Use __volatile instead of volatile.
2046         (ceil): Likewise.
2048         * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
2049         other targets.
2051 Sat Jul 13 23:50:17 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2053         * manual/Makefile (lib): New phony target.  Depend on stamp files.
2054         ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
2056 1996-07-13  Paul Eggert  <eggert@twinsun.com>
2058         * time/strftime.c (strftime): Use space padding for %e, %k, %l,
2059         to match Emacs format-time-string specification.
2060         (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
2062 Sat Jul 13 20:17:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2064         * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
2065         NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
2066         between MAP and its deps.
2067         * elf/link.h: Fix decl.
2068         * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
2069         colon-separated list of names, map those and pass vector of ptrs as
2070         PRELOADS list to _dl_map_object_deps.
2071         * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
2072         _dl_map_object_deps with empty preload list.
2073         * elf/dl-open.c (_dl_open): Likewise.
2075         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
2076         removed.
2077         (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
2078         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
2079         Conditionalize defn on [! MAP_ANON].
2080         * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
2081         on [! MAP_ANON].
2082         * elf/rtld.c (dl_main): Likewise.
2083         * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
2084         (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
2086         * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
2088 Sat Jul 13 02:47:53 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2090         * stdlib/random.c (__random): Declare as int32_t to be in sync
2091         with declaration.
2093         * socket/Makefile (headers): Add socketbits.h.
2095         * misc/mntent.c (endmntent): Allow for NULL stream.  SunOS does
2096         it that way.
2098         * grp/initgroups.c (initgroups): Add groups that user is a member
2099         of, not the ones he is _not_ a member of.
2101         * nss/nsswitch.c (known_compare): Make known_compare() a static
2102         instead of a local function.  The latter are difficult to debug
2103         and slow to execute on certain platforms.
2105         * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
2106         place of sizeof (dev).  The size of a literal string includes the
2107         NUL byte.
2109         * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
2111 Thu Jul 11 16:59:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2113         * misc/mntent.c (addmntent): Seek to end of file before writing
2114         entry.  Return 1 on error, not -1.
2116 Tue Jul  9 19:08:05 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2118         * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
2119         syscall.
2121 Fri Jul  5 18:44:55 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2123         * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
2124         shift amount for Jensen must be 5 not 4.
2126 Sat Jul 13 20:04:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2128         * socket/sys/socket.h (struct osockaddr): New type.
2130 Sat Jul 13 03:50:53 1996  Ulrich Drepper  <drepper@cygnus.com>
2132         * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
2133         * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
2134         and `long double' versions can be generated.
2135         * misc/qefgcvt.c, misc/qefgcvt_r.c: New files.  Define macros
2136         so that included efgcvt{,_r}.c file generate `long double'
2137         versions.
2138         * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
2139         functions.
2141         * manual/startup.texi: Document new getsubopt function.
2142         * manual/examples/subopt.c: New example program for documenting
2143         getsubopt function.
2145 Fri Jul 12 23:58:37 1996  Ulrich Drepper  <drepper@cygnus.com>
2147         * stdlib/Makefile (routines): Add getsubopt.
2148         * stdlib/stdlib.h: Add prototype for getsubopt.
2149         * stdlib/getsubopt.c: New file.  Implement getsubopt function
2150         to handle suboption parsing.
2152 Thu Jul 11 20:09:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2154         * inet/getnetent_r.c: Define NEED_H_ERRNO.
2155         * inet/getnetbynm_r.c: Likewise.
2156         * inet/getnetent.c: Likewise.
2157         * inet/getnetbyad_r.c: Likewise.
2158         * inet/getnetbyad.c: Likewise.
2159         * inet/getnetbynm.c: Likewise.
2161         * sysdeps/generic/pselect.c: Include <sys/time.h>.
2163         * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
2164         `struct timespec'.
2166         * math/Makefile (calls): Add s_frexp, s_ldexp.
2167         (routines): Remove them and &f from here.
2169         * sys/socket.h: New file, wrapper for socket/sys/socket.h.
2171         * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
2172         and check it.
2174         * nss/nss_files/files-XXX.c: Comment fix.
2176 Fri Jul 12 01:28:35 1996  Ulrich Drepper  <drepper@cygnus.com>
2178         * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
2179         of reentrant function.
2180         (setup): Pass additional argument with function name we are
2181         looking for.
2182         (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
2183         new argument {SET,END,GET}FUNC_NAME_STRING.
2185         * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
2186         we return a pointer.
2188 Thu Jul 11 18:20:44 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2190         * nss/nss_files/files-parse.c: Add comment about things to #define.
2192         * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
2194         * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
2195         terminator char as an error.
2197         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
2199 Thu Jul 11 03:21:10 1996  Ulrich Drepper  <drepper@cygnus.com>
2201         * catgets/gencat.c (write_out): Move code to determine new
2202         best size out of inner loop.
2204 Thu Jul 11 00:22:40 1996  Ulrich Drepper  <drepper@cygnus.com>
2206         * sysdeps/libm-ieee754/s_frexpl.c: New file.  `long double'
2207         implementation of frexp() function.
2208         * sysdeps/libm-ieee754/s_ldexpl.c: New file.  `long double'
2209         implementation of ldexp() function.
2211         * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
2212         out before or'ing.
2214 Wed Jul 10 05:24:40 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2216         * misc/mntent.c: Include <sys/types.h>.
2217         (endmntent): Return 1 one success, 0 on failure.
2218         (getmntent): Chop newline and ignore empty lines.
2220 Mon Jul  8 21:18:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2222         * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
2223         differently based on [RTLD_BOOTSTRAP].
2224         (elf_machine_rela): Use it instead of the fn ptr arg directly.
2226 Tue Jul  9 09:37:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2228         * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
2229         __glob_closedir_hook): Remove decls.
2231         * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
2233         * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
2234         for send and connect syscalls.
2236         * socket/sys/socket.h: New file, taken from non-sysdep parts of
2237         linux/sys/socket.h; break sysdeps parts out into socketbits.h.
2238         Declare __ names for send and connect.
2239         * sysdeps/generic/socketbits.h: New file.
2240         * sysdeps/unix/sysv/linux/socketbits.h: New file.
2241         * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
2242         * sysdeps/generic/sys/socket.h: File removed.
2244         * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
2245         * sysdeps/mach/hurd/send.c: Likewise.
2247         * sysdeps/mach/libc-lock.h: New file.
2248         * sysdeps/unix/readdir.c: Do locking.
2249         * sysdeps/unix/seekdir.c: Likewise.
2250         * sysdeps/unix/rewinddir.c:  Likewise.
2251         * sysdeps/unix/closedir.c: Likewise.
2252         * sysdeps/unix/bsd/telldir.c: Likewise.
2253         * sysdeps/mach/hurd/seekdir.c: Likewise.
2254         * sysdeps/mach/hurd/readdir.c: Likewise.
2255         * sysdeps/mach/hurd/closedir.c: Likewise.
2256         * sysdeps/mach/hurd/opendir.c: Initialize the lock.
2257         * sysdeps/unix/opendir.c: Likewise.
2258         * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
2259         (struct __dirstream): Add lock member using __libc_lock_define.
2260         * sysdeps/unix/dirstream.h: Likewise.
2262         * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
2264         * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
2266         * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
2268 Thu Jul  4 01:34:04 1996  Ulrich Drepper  <drepper@cygnus.com>
2270         * locale/programs/stringtrans.c: Fix typo in copyright.
2272         * stdio-common/printf-prs.c: Add casts to prevent
2273         signed<->unsigned warnings.
2275         * stdio-common/printf-parse.h: Initialize state variable before
2276         calling mbrlen.
2277         * stdio-common/printf-prs.c: Don't initialize state variable here.
2278         * stdio-common/vfprintf.c: Don't initialize state variable.
2279         (vfprintf): While determining length of multibyte string don't
2280         try to be clever in determining characters to use for first
2281         call.
2283         Add real implementation of multibyte<->wide char conversion
2284         functions.  The functions always convert between the fixed wide
2285         char format (ISO 10646 in UCS4) and the UTF8 representation of
2286         this character set.  Conversion between the currently used
2287         8bit character set and ISO 10646 will not take place.  This is
2288         what iconv() is for.
2289         * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
2290         dummy definition.
2291         Add optimized version of `mbrlen' function.
2292         * wcsmbs/btowc.c (btowc): Restrict range of legal characters
2293         to 0...0x7f.
2294         * wcsmbs/wctob.c (wctob): Restrict range of legal characters
2295         to 0..0x7f.
2296         * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
2297         This is needed in the wchar.h header.
2298         * wcsmbs/mbrtowc.c: Replace dummy implementation.  Convert UTF8
2299         encoded character to UCS4.
2300         * wcsmbs/mbsinit.c: Replace dummy implementation.  Test COUNT
2301         element of `mbstate_t' for initial state.
2302         * wcsmbs/mbsrtowcs.c: Replace dummy implementation.  Convert UTF8
2303         encoded string to UCS4 string.
2304         * wcsmbs/wcrtomb.c: Replace dummy implementation.  Convert UCS4
2305         character to UTF8 encoded form.
2306         * wcsmbs/wcsrtombs.c: Replace dummy implementation.  Convert UCS4
2307         encoded string to UTF8 encoded form.
2309 Tue Jul  9 06:19:29 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2311         * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
2312         variable name, so new a libc with new requirements won't fail to
2313         notice an insufficient Linux version.
2315         * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
2317         * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
2318         instead of 2.0 headers.
2320         * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
2322         * sysdeps/gnu/errlist.awk: Undo mib's bogus changes.  The
2323         sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
2325         * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
2326         before using it in lhs of weak_alias.
2328         * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
2329         Call __nss_lookup when not setting STARTP.
2330         (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
2331         function-calling loop.
2333 Tue Jul  9 00:14:52 1996  Michael I. Bushnell p/BSG  <mib@gnu.ai.mit.edu>
2335         * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
2336         PENDIN, NOFLSH): Undefine these at start if they are already
2337         defined to avoid collision with termbits.h.
2338         * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
2339         (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
2341 Mon Jul  8 13:37:40 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2343         * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
2344         already defined to float, long double.  Use those macros for _Mdouble_
2345         defns when including mathcalls.h.
2346         * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
2347         -D_Mlong_double_=double.
2349         Add more -lm functions to -lc because ldexp uses them.
2350         * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
2351         (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
2352         ldexp have both f and l code, and those have f though not l code.
2354 Mon Jul  8 13:10:50 1996  Michael I. Bushnell p/BSG  <mib@gnu.ai.mit.edu>
2356         * sysdeps/mach/hurd/errnos.awk: Skip entries where the
2357         error is 0.  The "placeholder" entries recently added to
2358         errno.texi convert to zero since `???/' is at the front of them.
2359         * sysdeps/gnu/errlist.awk (errnoh): Likewise.
2361         * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
2362         __const to conform with unistd.h.
2364         * stdlib/stdlib.h (random): Declare return type to be int32_t.
2366         * string/argz-delete.c (argz_delete): Use memmove instead of
2367         memcpy for possibly overlapping strings.
2369 Mon Jul  8 02:14:25 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2371         * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
2372         storage class.  GCC gives an error for non-extern data defns with the
2373         alias attribute.
2375 Mon Jul  8 01:37:34 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>
2377         * string/argz-insert.c (__argz_insert): (__argz_insert): Use
2378         memmove instead of memcpy for possible overlapping strings.
2380 Mon Jul  8 00:11:15 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2382         * libc-symbols.h (weak_function): New macro.
2383         For GCC 2.7+ define as __attribute__ ((weak)).
2384         * elf/dl-minimal.c: Use weak_function as keyword in function defns
2385         instead of weak_symbol (NAME) after the defn.
2386         * stdlib/strtol.c: Likewise.
2387         * stdlib/strtod.c: Likewise.
2388         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2390         * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
2391         If this is defined, don't declare _dl_rtld_map as weak, and
2392         don't check for MAP pointing to it.  RESOLVE is always null in this
2393         case, so test with #ifdef instead of if.
2395         * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
2396         weak_symbol.
2397         * csu/initfini.c (_init): Likewise.
2398         * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
2399         * misc/efgcvt_r.c: Likewise.
2400         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
2401         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2403         * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
2404         It was not used in any assembler code.
2405         (weak_symbol_asm): Renamed to weak_extern_asm.
2406         (weak_extern): New macro replaces weak_symbol for weak extern refs;
2407         define to weak_extern_asm for [!ASSEMBLER].
2409 Sun Jul  7 18:42:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2411         * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
2412         weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
2413         define those now as aliases.
2414         Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
2415         [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
2416         after GCC weak attribute decl.
2418         * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
2419         map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
2420         (element printer): Check for elt in ALIAS, instead of special case
2421         for EWOULDBLOCK.
2423         * io/Makefile (headers): Add sys/vfs.h.
2424         * io/sys/vfs.h: New file.
2426         * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
2427         critical section lock before unlinking dying active resources.
2428         The unlock just before return is right (i.e. old code unlocked twice).
2430 Sun Jun  2 22:28:43 1996  Miles Bader  <miles@gnu.ai.mit.edu>
2432         * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
2433         Use memmove instead of memcpy where overlap is possible (not
2434         necessary using current implementation of memcpy, but...).
2435         (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
2437 Fri May 31 11:48:46 1996  Miles Bader  <miles@gnu.ai.mit.edu>
2439         * stdio/linewrap.c (lwupdate): New function, mostly was
2440         __line_wrap_update.  Use POINT_COL field instead of POINT.
2441         (__line_wrap_output): Use lwupdate.
2442         (__line_wrap_update): New function.
2443         (ensure_unwrapped, ensure_wrapped): New functions.
2444         (line_wrap_set_lmargin, line_wrap_set_rmargin,
2445         line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
2447         * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
2448         POINT_COL. Add POINT_OFFS field.
2449         (__line_wrap_update): New decl.
2450         (line_wrap_set_lmargin, line_wrap_set_rmargin,
2451         line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
2453 Fri Jul  5 17:34:47 1996  Miles Bader  <miles@gnu.ai.mit.edu>
2455         * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
2457         * login/pututline_r.c (pututline_r): Since we assign RESULT from
2458         lseek now, check that it's >= 0, not == 0.
2460 Wed Jul  3 13:28:04 1996  Miles Bader  <miles@gnu.ai.mit.edu>
2462         * login/login.c (login): Make a copy of *UT, fill in various
2463         fields that we supply (ut_line, ut_type, ut_pid), and use the copy
2464         in place of UT.
2466         * login/getutline_r.c (getutline_r): When we return ESRCH, mark
2467         UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
2469 Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2471         * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
2472         signal during critical section doing interruptible RPC, if
2473         _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
2474         before thread_resume.  If in critical section, pass 0 for SIGNO to
2475         _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
2477         * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
2479         * sysdeps/unix/sysv/linux/sys/user.h: New file.
2480         * sysdeps/unix/sysv/linux/Dist: Add it.
2481         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
2483         * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
2484         points within DATA->linebuffer; otherwise use all of DATA->linebuffer
2485         itself, no need to skip past a NUL.
2487         * nss/nsswitch.h (known_function): Comment fix.
2488         * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
2489         directly.  Do the lookup and insertion with a single call, and fill in
2490         the tree node afterwards if new.
2491         (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
2493         * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
2494         (struct timeval): Add bodiless decl for scope.
2496         * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
2497         Move struct timespec defn outside [_TIME_H] so it can be got with
2498         #define __need_timespec.
2500         * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
2501         for `struct timespec' member names.
2502         (TIMESPEC_TO_TIMEVAL): Likewise.
2504         * nss/Makefile (extra-libs-others): New variable.
2506         * extra-lib.mk: Don't test for $($(lib)-no-lib-dep).  Instead match
2507         $(lib) in $(extra-libs-others).
2508         * sunrpc/Makefile (extra-libs-others): New variable.
2509         (librpcsvc-no-lib-dep): Variable removed.
2511         * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
2512         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
2513         _dl_rtld_map.
2514         (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
2515         (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
2516         (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
2517         _dl_rtld_map weak only here.
2519         * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
2521 Thu Jul  4 05:21:59 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2523         * login/utmp.h: Fix typos.
2525         * misc/syslog.c (vsyslog): Use __send instead of send and
2526         __connect instead of connect to avoid name-space collisions (e.g.,
2527         with psgetty).
2529 Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2531         * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
2533         * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
2535         * malloc/malloc-size.c (malloc_usable_size): Renamed from
2536         malloc_object_allocation_size.
2537         * malloc/malloc.h: Fix decl.
2539         * sys/select.h: New file, wrapper header.
2541         * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
2542         fd_set, associated macros, and select decl.
2544         * sysdeps/posix/isfdtype.c: New file.
2546 Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>
2548         The latest Japanese proposal for POSIX locales renames the
2549         CHARMAP keyword in locale definition files to CHARCONV.
2550         * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
2551         function ctype_is_charmap to ctype_is_charconv.
2552         * locale/programs/locfile-kw.gperf: Replace charmap keyword with
2553         charconv.
2554         * locale/programs/locfile-token.h: Add definition of token
2555         charconv.
2556         * locale/programs/locfile.c: Recognize charconv keyword.  Rename
2557         lables according to this.
2559         * locale/weight.h (get_weight): Cast constants to prevent
2560         warnings.
2562         * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
2563         string/strxfrm.c: Add some more casts to prevent signed<->unsigned
2564         warnings.
2566         New stuff described in P1003.1g.
2567         * misc/Makefile (headers): Add sys/select.h.
2568         (routines): Add pselect.
2569         * misc/sys/select.h: New file.  Declare select functions and
2570         needed data types and macros.
2571         * sysdeps/generic/pselect.c: New file.  Add generic implementation
2572         of pselect() function which uses select().
2574         * posix/getconf.c: Recognize new variables from P1003.1g.
2575         * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
2576         _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
2577         * posix/unistd.h: Add description of the P1003.1g variables.
2578         * sysdeps/generic/confname.h: Define _SC_* values for new
2579         variables.
2580         * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
2581         _PC_SOCK_MAXBUF.
2582         * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
2583         * sysdeps/posix/sysconf.c (sysconf): Add handling of new
2584         P1003.1g variables.
2585         * sysdeps/stub/sysconf.c (sysconf): Ditto.
2586         * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
2587         _POSIX_SELECT since Linux has this.
2589         * socket/Makefile (routines): Add isfdtype.
2590         * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
2591         * sysdeps/stub/isfdtype.c: New file.  Stub implementation of
2592         isfdtype.
2594         * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
2596 Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2598         * elf/Makefile (LDFLAGS-dl.so): New variable.
2599         (libdl.so): Depend on eval.so.
2600         (distribute): Add eval.c.
2601         * elf/eval.c: New file.
2603         * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
2604         in case it wrote fewer than MAXDIGITS chars.
2606         * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
2607         newline from flushing full buffer in loop, fix test so no fflush is
2608         done when last byte written exactly fills the buffer.
2610         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
2612         * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
2613         (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
2615         * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
2616         extracting _dl_rtld_map.l_addr.
2618         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
2619         weak.
2620         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
2622         * shlib-versions (*-*-*): Set libnss_db=1.
2624 Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2626         * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
2628         * rpm/template (%build): Use @prefix@ instead of always /usr.
2629         Set up configparms only if @prefix@ is in fact /usr.
2630         * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
2632         * elf/Makefile: Add missing endif.
2634         * nss/nss_files/files-ethers.c (ntohost): Fix db key.
2636         * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
2637         (DATABASE): Define this instead of DATAFILE.
2638         * nss/nss_files/files-hosts.c: Likewise.
2639         (hostbyname): Use LOOKUP_NAME macro.
2641         * nss/nss_db/db-XXX.c: New file.
2642         * nss/Makefile (services): Add db.
2643         (libnss_db-inhibit-o): New variable.
2644         (libnss_db-routines): New variable.
2645         (distribute): Append db-XXX.c.
2646         (libnss_db.so): Depend on libdb.so and libnss_files.so.
2647         ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
2649         * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
2650         args, ignored.
2651         (DATAFILE): New macro.
2652         * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
2653         "files-XXX.c".
2654         * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
2655         Pass db key args to DB_LOOKUP.
2656         (DATAFILE): Macro removed.
2657         (DATABASE): New macro replaces it, lacks "/etc/" prefix.
2658         * nss/nss_files/files-service.c: Likewise.
2659         * nss/nss_files/files-pwd.c: Likewise.
2660         * nss/nss_files/files-proto.c: Likewise.
2661         * nss/nss_files/files-grp.c: Likewise.
2662         * nss/nss_files/files-ethers.c: Likewise.
2664         * elf/linux-compat.c: File removed.
2665         * elf/Makefile (distribute): Remove linux-compat.c.
2666         (ld-linux.so.1): Remove target and associated variables.
2668         * sunrpc/xdr.c: Remove malloc decl.
2669         * sunrpc/portmap.c: Likewise.
2671         * sunrpc/svc_tcp.c (abort): Don't declare.  Instead define as macro
2672         casting abort to fn returning bool_t.
2674         * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
2675         the parser function.
2676         [EXTERN_PARSER] (LINE_PARSER): Define to empty.
2677         * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
2678         * nss/nss_files/files-grp.c: Likewise.
2680         * Makeconfig (BUILD_CC): If undefined, define to $(CC).
2682         * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
2684         * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
2685         of ld.so so lookups for that soname find it.
2687         * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
2688         (resobjdir, LDLIBS-nss_dns.so): Variables removed.
2690         * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
2691         define parse_line function.
2692         (parse_line): #define to _nss_files_parse_pwent and
2693         add extern decl for that.
2695         * nss/nss_files/files-XXX.c (internal_getent): Return
2696         NSS_STATUS_TRYAGAIN for ERANGE error.
2698         * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
2699         of null, so next round returns null again instead of bombing.  Fix
2700         from drepper.
2702         * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
2703         Remove ; after `ENTDATA_DECL (data)'.
2704         Truncate line at strpbrk (line, EOLSET "\n").
2705         (ENTDATA_DECL): Put ; at end.
2706         (MIDLINE_COMMENTS): Macro removed.
2707         * nss/nss_files/files-ethers.c: Pass new argument.
2708         * nss/nss_files/files-hosts.c: Likewise.
2709         * nss/nss_files/files-network.c: Likewise.
2710         * nss/nss_files/files-parse.c: Likewise.
2711         * nss/nss_files/files-proto.c: Likewise.
2712         * nss/nss_files/files-rpc.c: Likewise.
2713         * nss/nss_files/files-service.c: Likewise.
2714         * grp/fgetgrent.c: Likewise.
2715         * pwd/fgetpwent.c: Likewise.
2716         * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
2717         fgetpwent.c already defines it.
2718         * nss/nss_files/files-grp.c: Likewise.
2720         * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
2721         as well as any matching with l_libname.  Fix DT_SONAME lookup to use
2722         string table properly.
2724         * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
2725         invoked directly, and l_libname from that if PT_INTERP missing.
2726         Set l_name from l_libname only if not set from argv.
2728         * time/europe, time/northamerica: Updated from ADO 96i.
2730 Mon Jul  1 15:44:34 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2732         * stdio-common/tst-ungetc.c: Include unistd.h.
2734         * inet/Makefile (routines): Change getnetbypt to getnetbyad.
2736 Mon Jul  1 13:32:42 1996  Miles Bader  <miles@gnu.ai.mit.edu>
2738         * hurd/report-wait.c (describe_number): Make I unsigned long.
2740         * login/login.c (login): Only Frob OLD->ut_type if getutline_r
2741         actually found any entry.
2743         * login/pututline_r.c (pututline_r): If not located after any
2744         entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
2745         Lock the file before stating.
2747 Mon Jul  1 12:29:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2749         * nss/Makefile (databases): Change host to hosts.
2750         * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
2752         * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
2754         * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
2756         * string/string.h (strndupa): Pass missing arg to strnlen.
2758         * inet/getnetbypt_r.c: Renamed to ...
2759         * inet/getnetbyad_r.c: this; fixed function name.
2760         * inet/getnetbypt.c: Renamed to ...
2761         * inet/getnetbyad.c: this; fixed function name.
2763 Sat Jun 29 01:08:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2765         * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
2766         struct passwd.
2768 Fri Jun 28 23:25:35 1996  Miles Bader  <miles@gnu.ai.mit.edu>
2770         * login/login.c (login): Initialize DATA so that setutent_r will
2771         actually do something.
2773 Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2775         * resolv/res_hconf.c (strndup): Remove function.
2777         * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
2778         using ElfW() instead of Elf32_*.
2780         * sysdeps/unix/sysv/linux/alpha/init-first.h,
2781         sysdeps/unix/sysv/linux/m68k/init-first.h,
2782         sysdeps/unix/sysv/linux/i386/init-first.h: New files.
2783         * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
2784         init-first.h to make abstract machine dependent parts of
2785         initialization.
2787         * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
2788         error handling.  It's safer that way.
2790         * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
2791         Fix by Richard Henderson.
2793         * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
2794         typo/extraneous whitespace.
2796         * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
2797         determine what integer sizes we're dealing with.
2799 Fri Jun 28 15:46:02 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>
2801         * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
2802         check for signal zero, repair logical sense of test by
2803         parenthesizing correctly.
2805         * hurd/hurdsig.c (_hurd_internal_post_signal): In
2806         check-for-pending signals code, release _hurd_siglock before
2807         jumping to deliver_pending.
2809 Thu Jun 27 04:04:27 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2811         * configure.in (config_machine): Make ELF the default even for
2812         Linux/Alpha unless a configuration of the form *-*-linux*ecoff
2813         is specified.
2815 Fri Jun 28 07:27:10 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2817         * nss/nss_files/files-hosts.c (ENTDATA): Define it.
2818         * nss/nss_files/files-parse.c (struct parser_data): Define entdata
2819         member only #ifdef ENTDATA.
2820         (ENTDATA_DECL): New macro.
2821         (LINE_PARSER): Use it for entdata decl.
2822         (parse_list): Find the space for LIST from DATA->linebuffer instead of
2823         from the input LINE, which might not be writable buffer space.
2824         (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
2825         [ENTDATA] (parser_stclass): #define to `static inline'.
2826         [!ENDATA] (parser_stclass): #define to empty.
2827         [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
2828         function is exported to -lnss_files users.
2830         * string/strndup.c: Add missing arg.
2832         * string/string.h (strndupa): Likewise.
2833         * string/strndup.c (strndup): Always terminate the string.
2835 Thu Jun 27 14:22:31 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2837         * stdio/Makefile (routines): Add vscanf.
2838         * stdio-common/Makefile (routines): Remove vscanf.
2839         * stdio-common/vscanf.c: Move to ...
2840         * stdio/vscanf.c: here.
2842         * rpm/Makefile (headers, install-lib, install-lib.so,
2843         versioned, install-bin, install-sbin, install-data,
2844         install-others): Add $(-VARIABLE).
2846 Fri Jun 28 02:41:08 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2848         * nss/Makefile (databases): New variable.
2849         (routines, libnss_files-routines): Use it.
2850         (subdir-dirs): Compute from $(services).
2852         * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
2853         init_module, klogctl): Use EXTRA in the "caller" column so these get
2854         added to unix-extra-syscalls and thus compiled in misc.
2856         * string/Makefile (routines): Add strndup.
2857         * string/strndup.c: New file.
2858         * string/string.h: Declare strndup.
2859         (strndupa): New macro.
2861         * string/string.h: Declare __strdup.
2862         * string/strdup.c: Deansideclized.  Define __ name and weak alias.
2864         * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
2866 Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>
2868         * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
2870         * grp/initgroups.c (initgroups): De-ansi-fy.
2871         Move declaration of NGROUPS and GROUPS outside #if so that
2872         the code compiles for NGROUPS_MAX != 0.
2874         * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
2875         (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
2876         ether_ntoa, ether_ntoa_r, and ether_ntoh.
2877         * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
2878         inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
2879         inet/ether_ntoh.c: New files.  Implementation of functions to
2880         handle Ethernet address to host mapping.
2881         * inet/netinet/ether.h: New file.  Declare ether_* functions.
2882         * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
2883         compilation.
2884         * nss/ethers-lookup.c: New file.  Lookup function for ethers database.
2885         * nss/Makefile (routines): Add ethers-lookup.
2886         (libnss_files-routines): Add files-ethers.
2888         * nss/getXXent_r.c: Don't define set*ent and end*ent function
2889         with _r suffix.
2891         * nss/nss_files/files-XXX.c (internal_endent): Don't reset
2892         KEEP_STREAM every time called.
2893         (_nss_files_end): Reset KEEP_STREAM here instead.
2894         (internal_getent): If STREAM == NULL try to open instead of
2895         signalling error.
2896         Use cast to prevent warning.
2897         Terminate read line in case the buffer is too small.
2899         * nss/nss_files/files-ethers.c: New file.  Implementation of
2900         Ethernet adress<->hostname lookup through files interface.
2902         * stdlib/mbstowcs.c: Define based on mbsrtowcs().
2903         * stdlib/mbtowc.c: Define based on mbrtowc().
2904         * stdlib/wcstombs.c: Define based on wcsrtombs().
2905         * stdlib/wctomb.c: Define based on wcrtomb().
2907         * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
2908         unexpected_sizes_in_xdr_u_int.
2910         * sysdeps/generic/netinet/if_ether.h: New file.  Generic declaration
2911         of `struct ether_addr'.
2912         * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file.  Linux specific
2913         declaration of `struct ether_addr'.
2915         * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
2916         * wcsmbs/mbsrtowcs.c: Ditto.
2917         * wcsmbs/wcrtomb.c: Ditto.
2918         * wcsmbs/wcsrtombs.c: Ditto.
2920         * wcsmbs/mbsinit.c: Prepare for PS being NULL.
2922 Wed Jun 26 13:19:35 1996  Miles Bader  <miles@gnu.ai.mit.edu>
2924         * hurd/get-host.c <fcntl.h>: New include.
2925         * hurd/set-host.c <fcntl.h>: New include.
2926         (_hurd_set_host_config): Include NEW in args to dir_link.
2927         Return NWROTE, not NREAD.
2929         * sysdeps/mach/hurd/getcwd.c
2930         (_hurd_canonicalize_directory_name_internal): Don't deallocate
2931         DOTID & DOTDEVID until we're finished with them (we need to keep
2932         them at least until we've fetched the next level of id ports, so
2933         that mach will be able to use the same name if they're the same).
2934         Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
2935         jumps to errlose, for those places where such cleanup is needed.
2937 Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2939         * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
2941         Move DB code into separate -ldb library.
2942         * db/Makefile (extra-libs): New variable, list libdb.
2943         (routines): Renamed to libdb-routines.
2944         * shlib-versions: Add libdb=2.
2946         * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
2947         * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
2949         * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
2950         of strncasecmp.  Extend syntax to grok [!foo=bar].
2952         * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
2953         weak alias.
2954         * string/string.h: Declare __strncasecmp.
2956         * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
2957         (service_alias): Variable removed.
2958         (nss_parse_service_list): New function, broken out of nss_getline.
2959         Remove alias conversion; we will just use symlinks.
2960         (__nss_database_lookup): Take new string arg DEFCONFIG.
2961         If no entry exists, make one with service list parsed from that.
2962         * nss/nsswitch.h: Update protocol for __nss_database_lookup.
2963         * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
2964         (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
2966         * grp/initgroups.c: Rewritten using getgrent.  Handle unlimited group
2967         list size.
2969         * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
2971 Wed Jun 26 01:56:50 1996  Ulrich Drepper  <drepper@cygnus.com>
2973         * locale/programs/locale.c (long_options): Short form of
2974         --version option is `-V'.
2975         (main): Recognize `-V' as option, not `-v'.
2976         Call `usage' instead of printing error message for illegal
2977         option.
2978         (usage): Document `-V'.
2980 Tue Jun 25 17:22:55 1996  Miles Bader  <miles@gnu.ai.mit.edu>
2982         * sysdeps/mach/hurd/getcwd.c
2983         (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
2984         THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
2986 Tue Jun 25 10:58:23 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2988         * inet/getrpcent.c: Fix macros.
2989         * inet/getrpcent_r.c: Fix macros.
2991         * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
2993         * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
2995 Tue Jun 25 09:55:47 1996  David Mosberger-Tang  <davidm@AZStarNet.com>
2997         * catgets/gencat.c (write_out): Use %Zu to print variables of type
2998         size_t.
2999         * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
3000         cast it to (unsigned long) to make it work both on 32 and 64
3001         bit architectures.
3003 Sat Jun 22 13:05:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3005         * locale/Makefile (distribute): Add `programs/' prefix to all
3006         files in that directory.
3008         * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
3009         subdir' works.
3011         * MakeTAGS (sources, headers): Make them simply expanded variables
3012         so that all-dist is expanded before it is changed.
3014 Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
3016         * Make-dist (dist): Don't depend on crypt tar file.  Remove that rule.
3017         * Makefile (subdirs): Remove crypt.
3018         * crypt: Directory removed.  It will be made an independent library
3019         distribution.
3021         * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
3023         * inet/getrpcent_r.c (DATABASE_NAME): New macro.
3025         * inet/getrpcbynumber.c (BUFLEN): New macro.
3027         * configure.in (--no-whole-archive check): Remove backslashes in cmd.
3029         * Makefile (headers): Add libc-lock.h.
3030         * sysdeps/stub/libc-lock.h: New file.
3032         * inet/getrpcbynumber.c: Remove _r typo.
3034         * elf/dl-load.c (_dl_map_object): Fix typo in last change.
3036         * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
3037         after the first!
3039         * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
3040         or doesn't mention DATABASE, use an internal default equivalent to
3041         "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
3042         (nss_lookup_function): Call nss_new_service as needed.
3043         (nss_parse_file): Don't bother calling nss_new_service here.
3045         * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
3046         * pwd/fgetpwent.c: Likewise.
3048         * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
3049         * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
3050         * malloc/malloc-size.c: New file.
3051         * malloc/malloc-walk.c: New file.
3053         * malloc/malloc-find.c (malloc_find_object_address): Return null if
3054         PTR is outside the heap.
3056         * elf/dl-load.c (_dl_map_object): If the requested name matches the
3057         soname of a loaded object, use that object.
3059 Mon Jun 24 19:57:01 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
3061         * Makefile (subdirs): Add nss.
3063         * inet/Makefile (routines): Add getrpcent, getrpcbyname,
3064         getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
3065         * inet/getrpcbynumber_r.c: New file.
3066         * inet/getrpcbynumber.c: New file.
3067         * inet/getrpcbyname.c: New file.
3068         * inet/getrpcbyname_r.c: New file.
3069         * inet/getrpcent_r.c: New file.
3070         * inet/getrpcent.c: New file.
3071         * nss/rpc-lookup.c: New file.
3072         * nss/nss_files/files-rpc.c: New file.
3073         * nss/Makefile (routines): Add rpc-lookup.
3074         (libnss_files-routines): Add files-rpc.
3075         * sunrpc/Makefile (routines): Remove getrpcent.
3076         * sunrpc/getrpcent.c: File removed.
3078         * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
3079         non-null on entry.
3081         * Makeconfig (rpath-link): Add $(nssobjdir).
3082         (nssobjdir): New variable.
3084         * Makerules: Move shared library building before objects rules, so
3085         versions are known before extra-lib.mk gets included.
3086         * extra-lib.mk (lib-noranlib): Depend on the shared object too.
3088         * pwd/getpwuid.c: Rewritten using nss.
3089         * pwd/getpwnam.c: Likewise.
3090         * pwd/getpwent.c: Likewise.
3091         * grp/getgrnam.c: Likewise.
3092         * grp/getgrgid.c: Likewise.
3093         * grp/getgrent.c: Likewise.
3094         * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
3095         * pwd/getpwent_r.c: New file.
3096         * pwd/getpwnam_r.c: New file.
3097         * pwd/getpwuid_r.c: New file.
3098         * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
3099         * grp/getgrnam_r.c: New file.
3100         * grp/getgrgid_r.c: New file.
3101         * grp/getgrent_r.c: New file.
3102         * grp/Makefile (routines): Remove grpopen, grpread.
3103         * pwd/Makefile (routines): Remove pwdopen, pwdread.
3104         * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
3106         * pwd/fgetpwent.c: Rewritten using files-parse.c.
3107         * grp/fgetgrent.c: Likewise.
3109         * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
3110         * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
3111         * nss/nss_files/files-grp.c: New file.
3112         * nss/nss_files/files-pwd.c: New file.
3114         * nss/Makefile (subdir-dirs): New variable; use it in vpath.
3116         * nss/nss_files/files-parse.c: New file.
3117         * nss/nss_files/files-XXX.c: New file.
3118         * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
3119         nss/nss_files/files-service.c, nss/nss_files/files-network.c:
3120         Rewritten using them.
3122         * nss/Makefile (libnss_files-routines): Remove files-host.
3123         Add files-hosts, files-grp, files-pwd.
3125         * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
3127 Mon Jun 24 22:39:12 1996  Richard Henderson  <rth@tamu.edu>
3129         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
3130         A .plt entry now loads the .rela.plt offset directly rather
3131         than making us calculate it.
3133 Sun Jun 23 15:24:05 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
3135         * time/Makefile ($(installed-localtime-file) rule): Do
3136         $(make-target-directory) first.
3138         * resolv.h: Fix wrapper for resolv/resolv.h.
3140         * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
3141         Compile dummy file and pass -nostdlib -nostartfiles so as not to
3142         require installed libraries.
3144         * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
3145         libnss_dns=1.
3147 Sun Jun 23 19:42:05 1996  Ulrich Drepper  <drepper@cygnus.com>
3149         * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
3150         and mapv4v6hostent.h.
3151         (routines): Move res* and gethnamaddr into libresolv-routines.
3152         (libresolv-routines): New variable, put them there.
3153         (extra-libs): New variable, list libresolv.
3154         (CPPFLAGS): Add -D for get*by* to res_get*by*.
3156         * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
3158         * inet/herrno.c: New file.
3160         * resolv/res_init.c: Remove res_hconf calls.
3162         * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
3163         nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
3164         nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
3165         nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
3166         nss/service-lookup.c: New files.  Implementation of name
3167         service switch, following the approach in Solaris.
3168         Interface specification and general structure inspired by Peter
3169         Eriksson <pen@lysator.liu.se>.
3170         * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
3171         nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
3172         Implementation of libnss_files.so module for file based databases
3173         in NSS service.
3174         * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
3175         if libnss_dns.so module for DNS name lookup in NSS service.
3177         * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
3178         inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
3179         Changed to serve as interface to NSS.
3180         * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
3181         inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
3182         inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
3183         inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
3184         inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
3185         inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
3186         inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files.  Implement
3187         interfaces to NSS, including reentrant functions.
3189         * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
3190         resolv/sethostent.c: Removed:  Obsoleted by NSS.
3192         * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
3193         gethnamaddr.c.  These private functions are now used in more
3194         than one file.
3196         * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
3198 Sat Jun 22 16:49:47 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3200         * rpm/Makefile ($(config)): Make sure the word list in the for
3201         loop is syntactically non-empty.
3203 Sat Jun 22 21:29:52 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
3205         * Version 1.92 test release.
3207 Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>
3209         * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
3210         to klogctl to match prototype in sys/klog.h.
3212         * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
3213         * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
3215         * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
3216         Remove.  Code is now part of __getcwd again.  The old function
3217         never really worked for anything but THISDIR==".".
3219         * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
3220         only when building ELF version of library.
3222         * libio/libioP.h (_IO_vscanf): Add prototype.
3224         * posix/unistd.h (syscall): Change sysno arg and return value
3225         to int long.
3227 Sat Jun 22 10:44:09 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
3229         * version.h (VERSION): Updated to 1.92.
3231         * misc/Makefile (headers): Add ar.h.
3232         * misc/ar.h: New file.
3234         * config.make.in (BUILD_CC): New variable.
3235         * configure.in: Check for BUILD_CC if $host != $build.
3237         * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
3239         * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
3240         (stamp$o files): New targets, create them empty, no deps.
3242         * rpm/template (Source): New field.
3243         (%prep, %build, %install): New sections.
3244         (%files): Add %doc FAQ NEWS NOTES README.
3245         * rpm/rpmrc (builddir): Removed.
3247 Fri Jun 21 00:27:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
3249         * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
3250         guessing to not assume p_vaddr of first load cmd is zero.
3252         * sysdeps/sparc/elf/start.S: New file.
3253         * sysdeps/sparc/dl-machine.h: New file.
3255         * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
3256         only for ?s, not for *s.  Fix from Chet Ramey.
3258         Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
3259         * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
3260         Use __{BEGIN,END}_DECLS.
3261         (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
3262         * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
3263         New macros, moved here from sysdeps/gnu/utmpbits.h.
3264         * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
3265         * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
3266         * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
3267         Use sizeof instead of UT_*SIZE.
3268         * login/logwtmp.c: Likewise.
3270         * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
3272         * version.c (banner): Add trailing newline.
3274         * login/utmp.h: Declare login_tty.
3276 Thu Jun 20 21:19:07 1996  Richard Henderson  <rth@tamu.edu>
3278         * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
3279         Changed to a 12-byte PLT entry to remove dependency on $gp.
3280         Take a new got_addr parameter.
3281         (elf_machine_rela): Pass the new parameter.
3282         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
3283         (RTLD_START): Do normal linkage with program entry.
3285 Thu Jun 20 12:18:21 1996  Miles Bader  <miles@gnu.ai.mit.edu>
3287         * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
3289         * hurd/getuids.c (getuids): New weak link to __getuids.
3291 Wed Jun 19 10:21:24 1996  Miles Bader  <miles@gnu.ai.mit.edu>
3293         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
3294         __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
3295         argument.
3296         Rename nested function lookup to lookup_op.
3297         (__file_name_lookup, __file_name_lookup_under):
3298         Pass 0 for lookup arg to __hurd_file_name_lookup.
3299         (__file_name_split): Likewise for __hurd_file_name_split.
3300         * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
3301         Rename nested function lookup to scan_lookup.
3302         (file_name_path_lookup): Pass 0 for lookup arg to
3303         hurd_file_name_path_lookup.
3304         * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
3305         __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
3306         __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
3307         Add LOOKUP argument.
3308         * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
3309         __hurd_file_name_lookup.
3311 Mon Jun 17 19:09:49 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3313         * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
3314         up a huge list just to discard most of it.
3316         * configure.in (sysnames): Avoid fgrep by using the case shell
3317         builtin.
3319         * Makeconfig (config.status): Fix dependency on Implies files.
3321 Wed Jun 19 01:27:57 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
3323         * math/Makefile (distribute): Add ieee-math.c.
3325 Wed Jun 19 03:24:58 1996  Ulrich Drepper  <drepper@cygnus.com>
3327         * locale/codeset_name.c: New file.  Provide function for information
3328         about currently used character set.
3329         * locale/Makefile (routines): Add codeset_name.
3330         * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
3331         * locale/localeinfo.h: Change magic number because of incompatible
3332         change.
3333         * locale/C-ctype.c: Add initializer for new field `codeset_name'.
3334         * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
3336         * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
3337         name `MAX_IOVEC'.  Instead use standard name `UIO_MAXIOV'.
3339         * locale/setlocale.c (setlocale): Initialize local variables to
3340         prevent warnings.
3342 Thu Jun 13 17:25:11 1996  David Mosberger-Tang  <davidm@azstarnet.com>
3344         * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
3346         * locale/programs/locale.c: Include string.h.
3348         * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
3349         (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
3350         appropriate sign-extension is performed on machines with
3351         sizeof(long) > 4.
3353         * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
3354         sizeof(int)<sizeof(long), we need to go through a temporary
3355         variable.
3357         * locale/programs/ld-numeric.c: Include <alloca.h>
3359         * libio/stdio.h (__libc_fatal): Add prototype.
3361         * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
3362         in efect.
3364         * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
3365         volatile to avoid "might get clobbered by longjmp" warning.
3367         * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
3368         unless _LOOSE_KERNEL_NAMES is in effect (which, with high
3369         probability is a sure loser).
3370         * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
3372         * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
3373         * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
3375         * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
3376         to be Linux FSSTND compliant.
3378 Mon Jun 10 17:50:31 1996  David Mosberger-Tang  <davidm@azstarnet.com>
3380         * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
3382         * sysdeps/unix/sysv/linux/alpha/sysdep.S,
3383         sysdeps/unix/sysv/linux/alpha/brk.S,
3384         sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
3385         sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
3386         sysdeps/unix/sysv/linux/alpha/llseek.S,
3387         sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
3388         sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
3389         __syscall_error to avoid intruding application name space.
3391         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
3392         to SYS_get?id so that syscall stubs in sysdeps/unix define
3393         these syscalls in terms of getxpid/getxuid/getxgid.
3395         * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
3396         sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
3397         sysdeps/unix/execve.S, sysdeps/unix/fork.S,
3398         sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
3400         * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
3401         (PSEUDO_END): Rename END() to PSEUDO_END().
3403         * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
3404         to PSEUDO_END to improve branch-prediction.  Include .frame
3405         directive to make syscalls debugabble.
3406         (PSEUDO_END): New macro.
3408         * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
3409         sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
3410         latter is illegal under DEC Unix.
3412         * sysdeps/unix/alpha/sysdep.S: Renamed from
3413         sysdeps/unix/sysv/linux/alpha/sysdep.S.  This file works for OSF/1
3414         as well.
3415         * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
3416         EWOULDBLOCK -> EAGAIN mapping was unnecessary since
3417         EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
3419         * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
3420         address register in the .frame directive.
3422         * sysdeps/alpha/copysign.c: Remove.
3424         * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
3425         avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
3427         * errno.h: Move __END_DECLS to correct place to make file
3428         compilable under c++.
3430         * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro.  Define
3431         d_ino only if <direntry.h> hasn't defined d_fileno.
3433         * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
3434         arguments to weakext to make .weakext detection work on ECOFF systems.
3436         * FAQ: Add Linux/Alpha to list of supported platforms.  Mention
3437         that _validuser() has been replaced by __ivaliduser().
3439 Thu Jun  6 21:39:38 1996  David Mosberger-Tang  <davidm@azstarnet.com>
3441         * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
3442         as unsigned long, not as int (to avoid incorrect int->long
3443         promotion).
3447 See ChangeLog.5 for earlier changes.