Fri Aug 2 01:04:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[glibc.git] / ChangeLog
blobcb64fc043e9fb2b9a8c0782a9622d2bf96a0cad4
1 Wed Jul 31 14:21:36 1996  Ulrich Drepper  <drepper@cygnus.com>
3         * termios/termios.h [__OPTIMIZE__]: Remove "optimization" for
4         tcgetattr.  We have weak aliases now.
5         * stdlib/stdlib.h [__OPTIMIZE__ && __GNUC__ >= 2]: Remove
6         "optimizations" for random functions.
8 Mon Jul 29 20:33:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10         * sysdeps/unix/sysv/linux/netinet/in.h (ntohl, ntohs, htonl,
11         htons) [__BIG_ENDIAN]: #undef them before defining to avoid
12         redefinition warning.
14 Mon Jul 29 20:28:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
16         * time/time.h: Don't optimize tzset() to __tzset() which bypasses
17         the __tzset_lock.
19 Tue Jul 30 15:14:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
21         * sunrpc/rpc/pmap_clnt.h: Fix botched patch for multiple inclusion
22         protection.
24 Tue Jul 30 02:48:28 1996  Ulrich Drepper  <drepper@cygnus.com>
26         * locale/loadlocale.c (_nl_load_locale): Change cast to `size_t'
27         to be 64-bit clean.
28         Reported by Richard Henderson <rth@tamu.edu>.
30 Tue Jul 30 15:04:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
32         * locale/programs/ld-collate.c (collate_output): Fix typo reported by
33         David Miller.
35 Tue Jul 30 13:23:13 1996  Ulrich Drepper  <drepper@cygnus.com>
37         * locale/setlocale.c (setlocale): Don't try to free C locale
38         data.
39         Reported by Matthias Urlichs.
41 Tue Jul 30 14:35:17 1996  Miles Bader  <miles@gnu.ai.mit.edu>
43         * sysdeps/mach/hurd/dl-sysdep.c (__open): Use open_file.
44         (open_file): New function, contents mostly from __open.
45         (_dl_sysdep_read_whole_file): New function.
47 Sat Jul 27 11:23:59 1996  Miles Bader  <miles@gnu.ai.mit.edu>
49         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Quote
50         `..' dots in sed search string.
52 Mon Jul 29 01:27:07 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
54         * sunrpc/rpc/rpc_msg.h: Fix botched patch for multiple inclusion
55         protection.
57 Sun Jul 28 23:46:14 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
59         * configure.in: Grok `--enable-add-ons=DIR1,DIR2,...', and configure
60         in those directories.
61         * config.make.in (add-ons): New varaible, set from @subdirs@.
62         * Makefile (subdirs): Added $(add-ons) at the end.
64         * time/strftime.c (strftime: do_number): Initialize PRINTED to
65         MAXDIGITS in case P is null and so sprintf is never actually called.
67 Mon Jul 29 02:46:23 1996  Ulrich Drepper  <drepper@cygnus.com>
69         Add support for the to-be-written internationalized regexp.
70         This code must be able to use collation symbols and collation
71         equivalent classes.
72         * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
73         _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
74         New global variables for collation classes.
75         * locale/categories.def: Add new descriptions for collation symbols
76         and collation classes.
77         * locale/langinfo.h: Add constants for collation symbols and
78         collation classes.
79         * locale/lc-collate.c: Add new global variables for collation symbols
80         and collation classes.
81         (_nl_postload_collate): Initialize new variables.
82         * locale/programs/ld-collate.c: Add code to emit tables for
83         collation symbols and collation classes.
84         * locale/programs/locales.h: Change prototype for `collate_output'.
85         * locale/programs/locfile.c (write_all_categories): Call
86         `collate_output' with new argument.
87         * locale/localeinfo.h: Add declaration for new global vars.
88         (union locale_data_value): New member wstr for `wchar_t' strings.
89         * locale/programs/locale-spec.c: Handle `collate-classes'
90         keyword and print information about available collation classes.
91         * locale/strlen-hash.h: New file.  Simple hashing function which
92         takes a string with known length.
93         * locale/Makefile (distribute): Add strlen-hash.h.
94         (locale-modules): New var.  Additional files for `locale' program.
96         * locale/C-ctype.c: Rewrite to avoid using string for giving values
97         which are of type `u_int32_t'.
98         Correct entry for EOF in toupper and tolower tables.
100         * locale/loadlocale.c (_nl_load_locale):  Add cast to prevent
101         warning.
103         * locale/programs/ld-ctype.c (ctype_output): Add code to make
104         sure that all tables in binary file are words aligned.
106         * locale/programs/locfile.c (write_locale_data): Correct handling
107         of LC_MESSAGES locale.  Create directory if necessary.
109         * locale/setlocale.c (setlocale): Add cast to avoid warning.
111         * string/string.h: Add prototype for `__strndup'.
113 Wed Jul 24 19:10:00 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
115         * wcsmbs/mbrtowc.c: Remove unused variable.
117 Sun Jul 28 22:40:25 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
119         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
120         2.0.10; some problems were reported with an earlier version, and this
121         one is known to work.
123         * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
124         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
126 Sat Jul 27 13:02:09 1996  Ulrich Drepper  <drepper@cygnus.com>
128         * elf/rtld.c (dl_main): Ignore arguments when environment variable
129         LD_TRACE_LOADED_OBJECTS is set.
131 Sun Jul 28 19:42:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
133         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
134         __libc_enable_secure instead of _dl_secure.
135         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
136         * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
137         of _dl_secure.
138         * elf/Makefile (routines): Add enbl-secure.
139         (elide-routines.so): Here too.
140         * sysdeps/generic/enbl-secure.c: New file.
141         * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
142         * elf/dl-support.c (_dl_secure): Variable removed.
143         * elf/rtld.c: Likewise.  Replace all uses with __libc_enable_secure.
145 Sun Jul 28 19:26:40 1996  David S. Miller  <dm@neteng.engr.sgi.com>
147         * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
148         Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
149         compiler doesn't elide it.
150         (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
152 Sat Jul 27 02:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
154         * elf/rtld.c (dl_main): Take new option --verify when run directly.
155         In verify mode, exit with status zero iff the argument object's
156         PT_INTERP matches argv[0].
157         * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
158         exits with zero status.  This makes `ldd' secure again.
160 Fri Jul 26 22:49:58 1996  Ulrich Drepper  <drepper@cygnus.com>
162         * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
163         environment variable handling.  This makes the dynamic linker
164         only print loaded libraries and quit.
166         * elf/ldd.sh.in: Don't use `rtld --list' but instead
167         LD_TRACE_LOADED_OBJECTS environment variable to print needed
168         objects.
170 Sat Jul 27 02:03:26 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
172         * db/makedb.c (main): Print version on stdout, not stderr.  Don't exit
173         after printing version until after doing usage for --help.
174         (long_options, main, usage): Rename -l/--lowercase option to
175         -f/--fold-case (-f matches sort).
177 Sat Jul 27 04:32:31 1996  Ulrich Drepper  <drepper@cygnus.com>
179         * db/makedb.c: New file.  Implement program to create simple <db.h>
180         database from textual input.  This will be used for nss_db.
182 Sat Jul 27 01:24:05 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
184         * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
185         * sunrpc/rpc/pmap_clnt.h: Likewise.
186         * sunrpc/rpc/auth.h: Likewise.
187         * sunrpc/rpc/pmap_rmt.h: Likewise.
188         * sunrpc/rpc/rpc_msg.h: Likewise.
190 Sat Jul 27 04:37:34 1996  Ulrich Drepper  <drepper@cygnus.com>
192         * string/string.h (strndupa): Change to use return value of
193         `memcpy' for more performance.
194         * string/strndup.c: Likewise.
196         * string/string.h (strdupa): Don't call __builtin_alloca in argument.
197         This might lead to problems.
198         (strndupa): Likewise.
200 Fri Jul 26 15:24:25 1996  Ulrich Drepper  <drepper@cygnus.com>
202         * sunrpc/rpc/auth.h: Add protection against multiple inclusion
203         and change K&R prototypes to ANSI prototypes.
204         * sunrpc/rpc/auth_unix.h: Ditto.
205         * sunrpc/rpc/clnt.h: Ditto.
206         * sunrpc/rpc/pmap_clnt.h: Ditto.
207         * sunrpc/rpc/pmap_prot.h: Ditto.
208         * sunrpc/rpc/pmap_rmt.h: Ditto.
209         * sunrpc/rpc/rpc_msg.h: Ditto.
210         * sunrpc/rpc/svc.h: Ditto.
211         * sunrpc/rpc/svc_auth.h: Ditto.
212         * sunrpc/rpc/xdr.h: Ditto.
214 Fri Jul 26 20:39:42 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
216         * ctype/test_ctype.c: Test EOF too.
218 Fri Jul 26 18:06:58 1996  Ulrich Drepper  <drepper@cygnus.com>
220         * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
221         * sunrpc/rpc/auth_unix.h: Likewise.
222         * sunrpc/rpc/clnt.h: Likewise.
223         * sunrpc/rpc/netdb.h: Likewise.
224         * sunrpc/rpc/pmap_clnt.h: Likewise.
225         * sunrpc/rpc/pmap_prot.h: Likewise.
226         * sunrpc/rpc/rpc_msg.h: Likewise.
227         * sunrpc/rpc/svc.h: Likewise.
228         * sunrpc/rpc/svc_auth.h: Likewise.
229         * sunrpc/rpc/xdr.h: Likewise.
231         * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
232         to here from...
233         * sunrpc/pmap_rmt.c: ...here.
235 Fri Jul 26 16:10:43 1996  Miles Bader  <miles@gnu.ai.mit.edu>
237         * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
238         valid ut_id field.
239         * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
240         if a search fails.
242 Fri Jul 26 00:36:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
244         * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
245         <kkojima@info.kanagawa-u.ac.jp>.
247 Fri Jul 26 04:41:28 1996  Ulrich Drepper  <drepper@cygnus.com>
249         * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
250         defined, not __OPTIMIZED.
251         (_nl_msg_cat_cntr): Move declaration outside macro definition
252         to prevent "nested extern" warning.
253         (dcgettext): Rename local variable `result' to `__result'.
255 Thu Jul 25 22:46:30 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
257         * locale/programs/localedef.c (__progname): Remove decl.
258         (main): Use program_invocation_short_name instead of __progname.
259         (usage): Use program_invocation_name instead of __progname.
261 Fri Jul 26 03:46:08 1996  Ulrich Drepper  <drepper@cygnus.com>
263         * catgets/gencat.c: Use "libc" instead of PACKAGE.
264         * locale/localedef.c: Ditto.
265         * locale/locale.c: Ditto.
267         * locale/findlocale.c (_nl_find_locale): Little optimization.
268         Use new function `strndup'.
270         * locale/loadlocale.c: Little optimization.  Use constant value
271         from `_nl_category_num_items' instead of byte-order dependend
272         value from file.
274         * locale/programs/ld-time.c (time_add): Correct string constant.
276         * locale/programs/locale-spec.c: New file.
277         * locale/programs/locale.c: Call `locale_special' function if
278         no other field matches.
280         * locale/programs/localedef.c: No need to define `program_name'.
281         Use global variable `__progname'.
283         * locale/programs/locfile.c (write_locale_data): Always write
284         LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file.  This is
285         necessary since message catalogs are also installed in the
286         LC_MESSAGES/ directory.
288         * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
289         function instead of writing single bytes.
290         (encode_char): Also handle little endian.
292         * locale/setlocale.c (new_composite_name): Little optimization.
293         Use return value of `memcpy'.
295         * misc/ttyent.h: Pretty print prototypes, add missing parameter
296         names, prepend parameter names with __  and use `__const' instead
297         of `const'.
298         * posix/unistd.h: Ditto.
299         * stdlib/stdlib.h: Ditto.
300         * string/string.h: Ditto.
302         * posix/getconf.c: De-ASNI-fy.  Recognize POSIX.2 constant names.
303         Use `error' function instead of doing it by hand.
304         * sysdeps/posix/sysconf.c: De-ANSI-fy.
305         Handle _SC_COLL_WEIGHTS_MAX.
306         * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
307         _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
308         since these do depend on the platform.
309         Add POSIX.4 symbols.
311         * posix/posix2_lim.h: Add missing definition of
312         _POSIX2_COLL_WEIGHTS_MAX.
313         Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
314         to high values since we have no fixed limit.
316         * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
317         _SC_PAGESIZE for buggy systems (= HP UX) out there.
319         * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
320         * wcsmbs/mbsnrtowcs.c: New file.  Non-standard implementation.
321         * wcsmbs/wcsnrtombs.c: Ditto.
322         * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
323         wcsnrtombs.
325 Thu Jul 25 00:25:54  Richard Henderson  <rth@tamu.edu>
327         * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
328         course.
329         * nss/getXXent_r.c: Likewise.
330         * nss/nsswitch.c: Likewise.
331         * nss/nss_files/files-XXX.c: Likewise.
332         * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
333         * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
334         * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
336 Thu Jul 25 00:53:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
338         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
339         macro, now put the needed Linux version just once, here; update to
340         needing linux-2.0.3 headers.
341         (libc_cv_linuxVER): New macro derived from that.
342         (kernel header check): Use those macros and some m4 magic to replace
343         hard-coded `201' and `2.0.1' in several places.
345         * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
347 Wed Jul 24 17:02:30 1996  Ulrich Drepper  <drepper@cygnus.com>
349         * time/localtime.c: Move lock variable declaration to end of
350         variable declarations since if is a dummy macro the ; at the
351         end terminates the variable section of the function.
353         * time/tzset.c: Undefine `tzset' before function declaration.
354         Use `weak_function' macro instead of `weak_symbol'.
356 Wed Jul 24 18:57:33 1996  Ulrich Drepper  <drepper@cygnus.com>
358         * stdlib/strtouq.c: Additional weak alias is `strtoull', not
359         `strotull'.
361 Wed Jul 24 18:26:23 1996  Ulrich Drepper  <drepper@cygnus.com>
363         * locale/C-ctype.c: Increment number of fields after change
364         from Wed Jun 19 03:24:58 1996.
366 Tue Jul 23 18:13:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
368         * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
369         ($(common-objpfx)libc.so): Move deps into that, use it.
370         [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
371         $(rpcuserlibs:.so=_pic.a).
372         * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
373         use $(LDLIBS-c.so).
375 Thu Jul 18 21:41:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
377         * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
378         n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
380 Tue Jul 23 02:49:58 1996  Ulrich Drepper  <drepper@cygnus.com>
382         * locale/iso-4217.def: Add India to comment for symbol "INR ".
383         Reported by Raja R Harinath  <harinath@cs.umn.edu>.
385 Sat Jul 20 14:03:45 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
387         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
388         #undef RESOLVE.
390 Sun Jul 21 06:48:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
392         * time/tzset.c: Include <libc-lock.h>.
393         (__tzset_lock): New lock variable.
394         (tzset): New function (weak defn), no longer weak alias for __tzset.
395         Call __tzset while holding __tzset_lock.
396         * time/localtime.c: Include <libc-lock.h>.
397         (__localtime_r): Hold __tzset_lock while doing the work.
399         * sysdeps/generic/setenv.c (__environ): Change conditional for #define
400         from [!HAVE_GNU_LD] to [!_LIBC].
401         [_LIBC]: Include <libc-lock.h> and define a lock.
402         (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
403         (setenv, unsetenv): Use them.
405 Sun Jul 21 01:44:39 1996  Miles Bader  <miles@gnu.ai.mit.edu>
407         * locale/programs/locfile.c (write_locale_data): Deal with missing
408         UIO_MAXIOV.
410         * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
411         * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
413 Sat Jul 20 21:55:31 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
415         Win32 hacks from <Rob_Tulloh@tivoli.com>.
416         * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
417         use void * for my_realloc; include <malloc.h> for alloca.
418         (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
419         * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
420         * posix/glob.h: Likewise.
422 Sat Jul 20 13:28:52 1996  Miles Bader  <miles@gnu.ai.mit.edu>
424         * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
425         call __io_select unless there's only a single descriptor, as each
426         descriptor now has its own reply port.
427         If there is only a single descriptor, just use its reply port for
428         everything and don't bother creating the port set.
430         * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
431         <unistd.h>: New include.
433         * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
434         continuation line.
436 Sat Jul 20 07:15:33 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
438         * crypt/Makefile, crypt/nocrypt.c: Removed.  It is illegal to export
439         from the USA any software that even makes it easy to drop in an
440         encryption module of foreign origin.
441         * Makerules (cryptobjdir): Variable removed.
442         ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
443         * Makefile (subdirs): Remove crypt.
445 Fri Jul 19 15:45:20 1996  Ulrich Drepper  <drepper@cygnus.com>
447         * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
448         operator to yesexpr and noexpr string.
450 Fri Jul 19 15:10:37 1996  David Mosberger-Tang  <davidm@azstarnet.com>
452         * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
453         old code would have failed on a big-endian 64-bit architecture).
454         * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
456         * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
457         (xdr_u_long): Use switch instead of chain of if-statements.
458         Remove gratitous parentheses around return expressions.
459         (xdr_enum): Open code case where INT_MAX<LONG_MAX.
461         * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
463         * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
464         not int.
466 Fri Jul 19 16:56:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
468         * dlfcn.h, db.h: New wrapper headers.
470         * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
471         for `struct stat;' forward decl.
473 Fri Jul 19 22:25:19 1996  Ulrich Drepper  <drepper@cygnus.com>
475         * locale/iso-4217.def: Add some more standardized currency
476         symbols.
478 Fri Jul 19 13:18:02 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
480         * hurd/report-wait.c (describe_number): Use unsigned long int for J.
482 Thu Jul 18 12:33:57 1996  Roland McGrath  <roland@baalperazim.frob.com>
484         * Rules (dummy.o, empty.o): Targets removed.
485         (dummy.c, empty.c): New targets replace them.
487 Thu Jul 18 11:42:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
489         * crypt/Makefile (lib-noranlib): Depend on
490         $(objpfx)libcrypt.so$(libcrypt.so-version).
491         (subdir): Fix name.
493 Thu Jul 18 04:33:21 1996  Roland McGrath  <roland@baalperazim.frob.com>
495         * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
496         check.  mib's clueless hacking broke it.
498 Thu Jul 18 04:27:21 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
500         * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
502 Wed Jul 17 10:54:20 1996  David Mosberger-Tang  <davidm@azstarnet.com>
504         * misc/sys/ustat.h: New file.
505         * misc/ustat.h: Ditto.
506         * sysdeps/generic/ustatbits.h: Ditto.
507         * sysdeps/stub/ustat.c: Ditto.
508         * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
509         * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
510         ustatbits.h.
511         (routines): Mention ustat.
513         * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
514         * sysdeps/alpha/elf/start.S: here.
516         * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
517         alphabetically correct place.  Mention ustat.
519         * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
520         common symbol (makes errno accessible from gdb).
522         * login/pututline_r.c (pututline_r): Test ut_id in repositioning
523         test, not ut_type.
525         * login/logwtmp.c (logwtmp): Reimplemented.  Must ensure that a
526         record always gets appended at end of file (wtmp is a log file,
527         after all).  Set ut_type to DEAD_PROCESS if name is empty.
529         * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
530         separate loop from search for UT_ID.  Fix code so it is in
531         sync with Unix man page.
533         * login/getutline_r.c (getutline_r): Stop searching only if
534         ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
536 Tue Jul 16 15:06:18 1996  David Mosberger-Tang  <davidm@azstarnet.com>
538         * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
539         avoid duplicate declarations.
541 Sun Jul 14 19:08:55 1996  David Mosberger-Tang  <davidm@azstarnet.com>
543         * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
544         and alpha-gnu-linuxecoff targets.
546 Fri Jul 12 16:58:44 1996  David Mosberger-Tang  <davidm@azstarnet.com>
548         * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
550 Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>
552         * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
553         of int.
555         * resolv/res_comp.c (res_hnok): Use empty statement in place
556         of NULL (which generates a "useless expression" warning in
557         gcc).
559 Wed Jul 17 23:56:35 1996  Roland McGrath  <roland@baalperazim.frob.com>
561         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
562         with $(..) in output.
564 Wed Jul 17 21:53:45 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
566         * elf/Makefile (dl-routines): Add dl-cache.
567         * elf/dl-cache.c: New file.
568         * elf/dl-load.c (_dl_map_object): Check cache before default path.
570 Wed Jul 17 20:41:30 1996  Ulrich Drepper  <drepper@cygnus.com>
572         * stdio-common/vfscanf.c: Major change.  Now read character
573         from stream only if needed.  Before it was read after the
574         previous character was used.
575         Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
577         * stdio-common/tstscanf.c: Change test program so that return
578         value is != 0 if one test failed.
580 Wed Jul 17 17:08:48 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
582         * sysdeps/m68k/Makefile (crypt): Variable removed.
583         * sysdeps/sparc/Makefile: Likewise.
585         * version.h (VERSION): Update to 1.93.
587         * Makerules ($(libdir)/libc.so): Depend on
588         $(common-objpfx)libcrypt.so$(libcrypt.so-version).
590         * crypt/nocrypt.c: New file.
591         * Makefile (subdirs): Add crypt.
592         * crypt/Makefile: New file.
594         * Makerules (soversions.mk): Move this target, include of it, and
595         include of version.mk to ...
596         * Makeconfig: ... here.
597         (soversions.mk): Depend on Makeconfig instead of Makerules.
599         * shlib-versions (*-*-*): Set libcrypt=0.
601 Wed Jul 17 11:29:26 1996  Miles Bader  <miles@gnu.ai.mit.edu>
603         * stdio/linewrap.c (lwupdate): Fix boundary condition where a
604         word extends right up to rmargin.
606         * stdio/linewrap.c (lwupdate): When we've done a word wrap and
607         output the wrap margin, set point_col to wmargin.
608         Use negative point_col to deal with a wmargin of 0.
609         (line_wrap_point): Return 0 for a negative point_col.
610         (line_wrap_stream): Make wmargin ssize_t.
611         * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
612         point_col ssize_t.
613         (line_wrap_stream): Make wmargin ssize_t.
614         (line_wrap_point): Return 0 for a negative point_col.
616 Wed Jul 17 02:43:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
618         * shlib-versions (*-*-gnu*): Set libc=0.0
620 Tue Jul 16 01:52:42 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
622         * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
623         sysdeps/i386/dl-machine.h.
625 Tue Jul 16 00:18:19 1996  Miles Bader  <miles@gnu.ai.mit.edu>
627         * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
628         to fiddle __put_limit in conjunction with __linebuf_active.
630 Tue Jul 16 00:14:07 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
632         * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
633         to the strong name, not the file name.
635 Tue Jul 16 16:43:58 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
637         * csu/initfini.c: More magic.  Detect if .end is produced and put it
638         in the output iff the compiler does.
640         * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
641         because that is broken on alpha.
643         * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
644         call as in first.
646         * Makerules (make-link): Install the new link with atomic mv -f in
647         case ln itself requires the library being installed.
649 Tue Jul 16 00:31:31 1996  Richard Henderson  <rth@tamu.edu>
651         * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
652         i386/dl-machine.h of 960713.
654         * sysdeps/generic/dl-sysdep.c:  Include <sys/mman.h>.
655         (_dl_sysdep_read_whole_file): Fix result variable declaration.
657 Tue Jul 16 00:53:57 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
659         * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
660         `nodename' member.
662 Mon Jul 15 17:23:53 1996  Ulrich Drepper  <drepper@cygnus.com>
664         * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
665         with pointer to local variable instead of NULL.
667 1996-07-15  Paul Eggert  <eggert@twinsun.com>
669         * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
671 Sat Jul 13 09:53:39 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
673         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
674         that are already added by other means.
676         * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
677         caller column to get those syscalls added automagically.
679 Mon Jul 15 12:24:54 1996  Miles Bader  <miles@gnu.ai.mit.edu>
681         * login/logout.c (logout): Initialize DATA to a state that will
682         make setutent_r happy.
684 Sun Jul 14 01:51:39 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
686         * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
687         instead of setting the DT_DEBUG pointer.
689         * csu/initfini.c (_init, _fini): Generate .end directives after
690         standalone prologues and filter them out from epilogues.
692         * Makeconfig (rtld-installed-name): Set to ld.so.1.
693         * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
694         removed.
696         * manual/Makefile (glibc-targets): Remove subdir_ from elts.
698         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
700         * MakeTAGS (extract): Pass --add-comments=TRANS.
701         * sysdeps/gnu/errlist.awk: Write comments into the output with the
702         descriptive paragraphs from the manual preceded by TRANS.
704         * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
705         (_dl_start): Move RESOLVE defn inside this function and #include
706         "dynamic-link.h" a second time there.
707         [RTLD_START]: Move use of this after _dl_start function.
709         * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
711         * elf/rtld.c: Include <string.h>.
713         * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
714         ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
715         Conditionalize defns on [RESOLVE].
716         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
717         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
718         Instead use RESOLVE macro with same args.
719         (elf_machine_rel): Conditionalize defn on [RESOLVE].
720         * elf/dl-reloc.c (RESOLVE): New macro, define before including
721         "dynamic-link.h".  It replaces `resolve' local function.
722         * elf/dl-runtime.c: Likewise.
723         * elf/rtld.c: Likewise.
725         * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
727         * elf/dl-open.c (_dl_open): Force an indirect call for
728         _dl_relocate_object so there is no chance a PLT fixup will be done
729         and clobber _dl_global_scope before our call happens.
731         * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
732         to =t; must operate on top of fp reg stack, not second from top.
733         Correct input constraint to 0 from t; must be explicit when input and
734         output are the same register.
735         (floor): Use __volatile instead of volatile.
736         (ceil): Likewise.
738         * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
739         other targets.
741 Sat Jul 13 23:50:17 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
743         * manual/Makefile (lib): New phony target.  Depend on stamp files.
744         ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
746 1996-07-13  Paul Eggert  <eggert@twinsun.com>
748         * time/strftime.c (strftime): Use space padding for %e, %k, %l,
749         to match Emacs format-time-string specification.
750         (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
752 Sat Jul 13 20:17:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
754         * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
755         NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
756         between MAP and its deps.
757         * elf/link.h: Fix decl.
758         * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
759         colon-separated list of names, map those and pass vector of ptrs as
760         PRELOADS list to _dl_map_object_deps.
761         * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
762         _dl_map_object_deps with empty preload list.
763         * elf/dl-open.c (_dl_open): Likewise.
765         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
766         removed.
767         (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
768         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
769         Conditionalize defn on [! MAP_ANON].
770         * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
771         on [! MAP_ANON].
772         * elf/rtld.c (dl_main): Likewise.
773         * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
774         (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
776         * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
778 Sat Jul 13 02:47:53 1996  David Mosberger-Tang  <davidm@azstarnet.com>
780         * stdlib/random.c (__random): Declare as int32_t to be in sync
781         with declaration.
783         * socket/Makefile (headers): Add socketbits.h.
785         * misc/mntent.c (endmntent): Allow for NULL stream.  SunOS does
786         it that way.
788         * grp/initgroups.c (initgroups): Add groups that user is a member
789         of, not the ones he is _not_ a member of.
791         * nss/nsswitch.c (known_compare): Make known_compare() a static
792         instead of a local function.  The latter are difficult to debug
793         and slow to execute on certain platforms.
795         * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
796         place of sizeof (dev).  The size of a literal string includes the
797         NUL byte.
799         * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
801 Thu Jul 11 16:59:10 1996  David Mosberger-Tang  <davidm@azstarnet.com>
803         * misc/mntent.c (addmntent): Seek to end of file before writing
804         entry.  Return 1 on error, not -1.
806 Tue Jul  9 19:08:05 1996  David Mosberger-Tang  <davidm@azstarnet.com>
808         * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
809         syscall.
811 Fri Jul  5 18:44:55 1996  David Mosberger-Tang  <davidm@azstarnet.com>
813         * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
814         shift amount for Jensen must be 5 not 4.
816 Sat Jul 13 20:04:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
818         * socket/sys/socket.h (struct osockaddr): New type.
820 Sat Jul 13 03:50:53 1996  Ulrich Drepper  <drepper@cygnus.com>
822         * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
823         * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
824         and `long double' versions can be generated.
825         * misc/qefgcvt.c, misc/qefgcvt_r.c: New files.  Define macros
826         so that included efgcvt{,_r}.c file generate `long double'
827         versions.
828         * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
829         functions.
831         * manual/startup.texi: Document new getsubopt function.
832         * manual/examples/subopt.c: New example program for documenting
833         getsubopt function.
835 Fri Jul 12 23:58:37 1996  Ulrich Drepper  <drepper@cygnus.com>
837         * stdlib/Makefile (routines): Add getsubopt.
838         * stdlib/stdlib.h: Add prototype for getsubopt.
839         * stdlib/getsubopt.c: New file.  Implement getsubopt function
840         to handle suboption parsing.
842 Thu Jul 11 20:09:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
844         * inet/getnetent_r.c: Define NEED_H_ERRNO.
845         * inet/getnetbynm_r.c: Likewise.
846         * inet/getnetent.c: Likewise.
847         * inet/getnetbyad_r.c: Likewise.
848         * inet/getnetbyad.c: Likewise.
849         * inet/getnetbynm.c: Likewise.
851         * sysdeps/generic/pselect.c: Include <sys/time.h>.
853         * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
854         `struct timespec'.
856         * math/Makefile (calls): Add s_frexp, s_ldexp.
857         (routines): Remove them and &f from here.
859         * sys/socket.h: New file, wrapper for socket/sys/socket.h.
861         * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
862         and check it.
864         * nss/nss_files/files-XXX.c: Comment fix.
866 Fri Jul 12 01:28:35 1996  Ulrich Drepper  <drepper@cygnus.com>
868         * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
869         of reentrant function.
870         (setup): Pass additional argument with function name we are
871         looking for.
872         (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
873         new argument {SET,END,GET}FUNC_NAME_STRING.
875         * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
876         we return a pointer.
878 Thu Jul 11 18:20:44 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
880         * nss/nss_files/files-parse.c: Add comment about things to #define.
882         * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
884         * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
885         terminator char as an error.
887         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
889 Thu Jul 11 03:21:10 1996  Ulrich Drepper  <drepper@cygnus.com>
891         * catgets/gencat.c (write_out): Move code to determine new
892         best size out of inner loop.
894 Thu Jul 11 00:22:40 1996  Ulrich Drepper  <drepper@cygnus.com>
896         * sysdeps/libm-ieee754/s_frexpl.c: New file.  `long double'
897         implementation of frexp() function.
898         * sysdeps/libm-ieee754/s_ldexpl.c: New file.  `long double'
899         implementation of ldexp() function.
901         * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
902         out before or'ing.
904 Wed Jul 10 05:24:40 1996  David Mosberger-Tang  <davidm@azstarnet.com>
906         * misc/mntent.c: Include <sys/types.h>.
907         (endmntent): Return 1 one success, 0 on failure.
908         (getmntent): Chop newline and ignore empty lines.
910 Mon Jul  8 21:18:40 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
912         * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
913         differently based on [RTLD_BOOTSTRAP].
914         (elf_machine_rela): Use it instead of the fn ptr arg directly.
916 Tue Jul  9 09:37:55 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
918         * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
919         __glob_closedir_hook): Remove decls.
921         * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
923         * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
924         for send and connect syscalls.
926         * socket/sys/socket.h: New file, taken from non-sysdep parts of
927         linux/sys/socket.h; break sysdeps parts out into socketbits.h.
928         Declare __ names for send and connect.
929         * sysdeps/generic/socketbits.h: New file.
930         * sysdeps/unix/sysv/linux/socketbits.h: New file.
931         * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
932         * sysdeps/generic/sys/socket.h: File removed.
934         * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
935         * sysdeps/mach/hurd/send.c: Likewise.
937         * sysdeps/mach/libc-lock.h: New file.
938         * sysdeps/unix/readdir.c: Do locking.
939         * sysdeps/unix/seekdir.c: Likewise.
940         * sysdeps/unix/rewinddir.c:  Likewise.
941         * sysdeps/unix/closedir.c: Likewise.
942         * sysdeps/unix/bsd/telldir.c: Likewise.
943         * sysdeps/mach/hurd/seekdir.c: Likewise.
944         * sysdeps/mach/hurd/readdir.c: Likewise.
945         * sysdeps/mach/hurd/closedir.c: Likewise.
946         * sysdeps/mach/hurd/opendir.c: Initialize the lock.
947         * sysdeps/unix/opendir.c: Likewise.
948         * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
949         (struct __dirstream): Add lock member using __libc_lock_define.
950         * sysdeps/unix/dirstream.h: Likewise.
952         * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
954         * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
956         * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
958 Thu Jul  4 01:34:04 1996  Ulrich Drepper  <drepper@cygnus.com>
960         * locale/programs/stringtrans.c: Fix typo in copyright.
962         * stdio-common/printf-prs.c: Add casts to prevent
963         signed<->unsigned warnings.
965         * stdio-common/printf-parse.h: Initialize state variable before
966         calling mbrlen.
967         * stdio-common/printf-prs.c: Don't initialize state variable here.
968         * stdio-common/vfprintf.c: Don't initialize state variable.
969         (vfprintf): While determining length of multibyte string don't
970         try to be clever in determining characters to use for first
971         call.
973         Add real implementation of multibyte<->wide char conversion
974         functions.  The functions always convert between the fixed wide
975         char format (ISO 10646 in UCS4) and the UTF8 representation of
976         this character set.  Conversion between the currently used
977         8bit character set and ISO 10646 will not take place.  This is
978         what iconv() is for.
979         * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
980         dummy definition.
981         Add optimized version of `mbrlen' function.
982         * wcsmbs/btowc.c (btowc): Restrict range of legal characters
983         to 0...0x7f.
984         * wcsmbs/wctob.c (wctob): Restrict range of legal characters
985         to 0..0x7f.
986         * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
987         This is needed in the wchar.h header.
988         * wcsmbs/mbrtowc.c: Replace dummy implementation.  Convert UTF8
989         encoded character to UCS4.
990         * wcsmbs/mbsinit.c: Replace dummy implementation.  Test COUNT
991         element of `mbstate_t' for initial state.
992         * wcsmbs/mbsrtowcs.c: Replace dummy implementation.  Convert UTF8
993         encoded string to UCS4 string.
994         * wcsmbs/wcrtomb.c: Replace dummy implementation.  Convert UCS4
995         character to UTF8 encoded form.
996         * wcsmbs/wcsrtombs.c: Replace dummy implementation.  Convert UCS4
997         encoded string to UTF8 encoded form.
999 Tue Jul  9 06:19:29 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1001         * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
1002         variable name, so new a libc with new requirements won't fail to
1003         notice an insufficient Linux version.
1005         * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
1007         * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
1008         instead of 2.0 headers.
1010         * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
1012         * sysdeps/gnu/errlist.awk: Undo mib's bogus changes.  The
1013         sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
1015         * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
1016         before using it in lhs of weak_alias.
1018         * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
1019         Call __nss_lookup when not setting STARTP.
1020         (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
1021         function-calling loop.
1023 Tue Jul  9 00:14:52 1996  Michael I. Bushnell p/BSG  <mib@gnu.ai.mit.edu>
1025         * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
1026         PENDIN, NOFLSH): Undefine these at start if they are already
1027         defined to avoid collision with termbits.h.
1028         * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
1029         (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
1031 Mon Jul  8 13:37:40 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1033         * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
1034         already defined to float, long double.  Use those macros for _Mdouble_
1035         defns when including mathcalls.h.
1036         * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
1037         -D_Mlong_double_=double.
1039         Add more -lm functions to -lc because ldexp uses them.
1040         * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
1041         (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
1042         ldexp have both f and l code, and those have f though not l code.
1044 Mon Jul  8 13:10:50 1996  Michael I. Bushnell p/BSG  <mib@gnu.ai.mit.edu>
1046         * sysdeps/mach/hurd/errnos.awk: Skip entries where the
1047         error is 0.  The "placeholder" entries recently added to
1048         errno.texi convert to zero since `???/' is at the front of them.
1049         * sysdeps/gnu/errlist.awk (errnoh): Likewise.
1051         * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
1052         __const to conform with unistd.h.
1054         * stdlib/stdlib.h (random): Declare return type to be int32_t.
1056         * string/argz-delete.c (argz_delete): Use memmove instead of
1057         memcpy for possibly overlapping strings.
1059 Mon Jul  8 02:14:25 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1061         * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
1062         storage class.  GCC gives an error for non-extern data defns with the
1063         alias attribute.
1065 Mon Jul  8 01:37:34 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>
1067         * string/argz-insert.c (__argz_insert): (__argz_insert): Use
1068         memmove instead of memcpy for possible overlapping strings.
1070 Mon Jul  8 00:11:15 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1072         * libc-symbols.h (weak_function): New macro.
1073         For GCC 2.7+ define as __attribute__ ((weak)).
1074         * elf/dl-minimal.c: Use weak_function as keyword in function defns
1075         instead of weak_symbol (NAME) after the defn.
1076         * stdlib/strtol.c: Likewise.
1077         * stdlib/strtod.c: Likewise.
1078         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1080         * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
1081         If this is defined, don't declare _dl_rtld_map as weak, and
1082         don't check for MAP pointing to it.  RESOLVE is always null in this
1083         case, so test with #ifdef instead of if.
1085         * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
1086         weak_symbol.
1087         * csu/initfini.c (_init): Likewise.
1088         * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
1089         * misc/efgcvt_r.c: Likewise.
1090         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1091         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1093         * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
1094         It was not used in any assembler code.
1095         (weak_symbol_asm): Renamed to weak_extern_asm.
1096         (weak_extern): New macro replaces weak_symbol for weak extern refs;
1097         define to weak_extern_asm for [!ASSEMBLER].
1099 Sun Jul  7 18:42:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1101         * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
1102         weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
1103         define those now as aliases.
1104         Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
1105         [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
1106         after GCC weak attribute decl.
1108         * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
1109         map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
1110         (element printer): Check for elt in ALIAS, instead of special case
1111         for EWOULDBLOCK.
1113         * io/Makefile (headers): Add sys/vfs.h.
1114         * io/sys/vfs.h: New file.
1116         * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
1117         critical section lock before unlinking dying active resources.
1118         The unlock just before return is right (i.e. old code unlocked twice).
1120 Sun Jun  2 22:28:43 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1122         * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
1123         Use memmove instead of memcpy where overlap is possible (not
1124         necessary using current implementation of memcpy, but...).
1125         (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
1127 Fri May 31 11:48:46 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1129         * stdio/linewrap.c (lwupdate): New function, mostly was
1130         __line_wrap_update.  Use POINT_COL field instead of POINT.
1131         (__line_wrap_output): Use lwupdate.
1132         (__line_wrap_update): New function.
1133         (ensure_unwrapped, ensure_wrapped): New functions.
1134         (line_wrap_set_lmargin, line_wrap_set_rmargin,
1135         line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
1137         * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
1138         POINT_COL. Add POINT_OFFS field.
1139         (__line_wrap_update): New decl.
1140         (line_wrap_set_lmargin, line_wrap_set_rmargin,
1141         line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
1143 Fri Jul  5 17:34:47 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1145         * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
1147         * login/pututline_r.c (pututline_r): Since we assign RESULT from
1148         lseek now, check that it's >= 0, not == 0.
1150 Wed Jul  3 13:28:04 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1152         * login/login.c (login): Make a copy of *UT, fill in various
1153         fields that we supply (ut_line, ut_type, ut_pid), and use the copy
1154         in place of UT.
1156         * login/getutline_r.c (getutline_r): When we return ESRCH, mark
1157         UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
1159 Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1161         * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
1162         signal during critical section doing interruptible RPC, if
1163         _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
1164         before thread_resume.  If in critical section, pass 0 for SIGNO to
1165         _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
1167         * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
1169         * sysdeps/unix/sysv/linux/sys/user.h: New file.
1170         * sysdeps/unix/sysv/linux/Dist: Add it.
1171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
1173         * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
1174         points within DATA->linebuffer; otherwise use all of DATA->linebuffer
1175         itself, no need to skip past a NUL.
1177         * nss/nsswitch.h (known_function): Comment fix.
1178         * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
1179         directly.  Do the lookup and insertion with a single call, and fill in
1180         the tree node afterwards if new.
1181         (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
1183         * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
1184         (struct timeval): Add bodiless decl for scope.
1186         * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
1187         Move struct timespec defn outside [_TIME_H] so it can be got with
1188         #define __need_timespec.
1190         * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
1191         for `struct timespec' member names.
1192         (TIMESPEC_TO_TIMEVAL): Likewise.
1194         * nss/Makefile (extra-libs-others): New variable.
1196         * extra-lib.mk: Don't test for $($(lib)-no-lib-dep).  Instead match
1197         $(lib) in $(extra-libs-others).
1198         * sunrpc/Makefile (extra-libs-others): New variable.
1199         (librpcsvc-no-lib-dep): Variable removed.
1201         * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
1202         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
1203         _dl_rtld_map.
1204         (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
1205         (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
1206         (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
1207         _dl_rtld_map weak only here.
1209         * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
1211 Thu Jul  4 05:21:59 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1213         * login/utmp.h: Fix typos.
1215         * misc/syslog.c (vsyslog): Use __send instead of send and
1216         __connect instead of connect to avoid name-space collisions (e.g.,
1217         with psgetty).
1219 Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1221         * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
1223         * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
1225         * malloc/malloc-size.c (malloc_usable_size): Renamed from
1226         malloc_object_allocation_size.
1227         * malloc/malloc.h: Fix decl.
1229         * sys/select.h: New file, wrapper header.
1231         * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
1232         fd_set, associated macros, and select decl.
1234         * sysdeps/posix/isfdtype.c: New file.
1236 Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>
1238         The latest Japanese proposal for POSIX locales renames the
1239         CHARMAP keyword in locale definition files to CHARCONV.
1240         * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
1241         function ctype_is_charmap to ctype_is_charconv.
1242         * locale/programs/locfile-kw.gperf: Replace charmap keyword with
1243         charconv.
1244         * locale/programs/locfile-token.h: Add definition of token
1245         charconv.
1246         * locale/programs/locfile.c: Recognize charconv keyword.  Rename
1247         lables according to this.
1249         * locale/weight.h (get_weight): Cast constants to prevent
1250         warnings.
1252         * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
1253         string/strxfrm.c: Add some more casts to prevent signed<->unsigned
1254         warnings.
1256         New stuff described in P1003.1g.
1257         * misc/Makefile (headers): Add sys/select.h.
1258         (routines): Add pselect.
1259         * misc/sys/select.h: New file.  Declare select functions and
1260         needed data types and macros.
1261         * sysdeps/generic/pselect.c: New file.  Add generic implementation
1262         of pselect() function which uses select().
1264         * posix/getconf.c: Recognize new variables from P1003.1g.
1265         * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
1266         _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
1267         * posix/unistd.h: Add description of the P1003.1g variables.
1268         * sysdeps/generic/confname.h: Define _SC_* values for new
1269         variables.
1270         * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
1271         _PC_SOCK_MAXBUF.
1272         * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
1273         * sysdeps/posix/sysconf.c (sysconf): Add handling of new
1274         P1003.1g variables.
1275         * sysdeps/stub/sysconf.c (sysconf): Ditto.
1276         * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
1277         _POSIX_SELECT since Linux has this.
1279         * socket/Makefile (routines): Add isfdtype.
1280         * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
1281         * sysdeps/stub/isfdtype.c: New file.  Stub implementation of
1282         isfdtype.
1284         * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
1286 Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1288         * elf/Makefile (LDFLAGS-dl.so): New variable.
1289         (libdl.so): Depend on eval.so.
1290         (distribute): Add eval.c.
1291         * elf/eval.c: New file.
1293         * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
1294         in case it wrote fewer than MAXDIGITS chars.
1296         * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
1297         newline from flushing full buffer in loop, fix test so no fflush is
1298         done when last byte written exactly fills the buffer.
1300         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
1302         * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
1303         (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
1305         * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
1306         extracting _dl_rtld_map.l_addr.
1308         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
1309         weak.
1310         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1312         * shlib-versions (*-*-*): Set libnss_db=1.
1314 Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1316         * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
1318         * rpm/template (%build): Use @prefix@ instead of always /usr.
1319         Set up configparms only if @prefix@ is in fact /usr.
1320         * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
1322         * elf/Makefile: Add missing endif.
1324         * nss/nss_files/files-ethers.c (ntohost): Fix db key.
1326         * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
1327         (DATABASE): Define this instead of DATAFILE.
1328         * nss/nss_files/files-hosts.c: Likewise.
1329         (hostbyname): Use LOOKUP_NAME macro.
1331         * nss/nss_db/db-XXX.c: New file.
1332         * nss/Makefile (services): Add db.
1333         (libnss_db-inhibit-o): New variable.
1334         (libnss_db-routines): New variable.
1335         (distribute): Append db-XXX.c.
1336         (libnss_db.so): Depend on libdb.so and libnss_files.so.
1337         ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
1339         * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
1340         args, ignored.
1341         (DATAFILE): New macro.
1342         * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
1343         "files-XXX.c".
1344         * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
1345         Pass db key args to DB_LOOKUP.
1346         (DATAFILE): Macro removed.
1347         (DATABASE): New macro replaces it, lacks "/etc/" prefix.
1348         * nss/nss_files/files-service.c: Likewise.
1349         * nss/nss_files/files-pwd.c: Likewise.
1350         * nss/nss_files/files-proto.c: Likewise.
1351         * nss/nss_files/files-grp.c: Likewise.
1352         * nss/nss_files/files-ethers.c: Likewise.
1354         * elf/linux-compat.c: File removed.
1355         * elf/Makefile (distribute): Remove linux-compat.c.
1356         (ld-linux.so.1): Remove target and associated variables.
1358         * sunrpc/xdr.c: Remove malloc decl.
1359         * sunrpc/portmap.c: Likewise.
1361         * sunrpc/svc_tcp.c (abort): Don't declare.  Instead define as macro
1362         casting abort to fn returning bool_t.
1364         * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
1365         the parser function.
1366         [EXTERN_PARSER] (LINE_PARSER): Define to empty.
1367         * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
1368         * nss/nss_files/files-grp.c: Likewise.
1370         * Makeconfig (BUILD_CC): If undefined, define to $(CC).
1372         * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
1374         * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
1375         of ld.so so lookups for that soname find it.
1377         * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
1378         (resobjdir, LDLIBS-nss_dns.so): Variables removed.
1380         * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
1381         define parse_line function.
1382         (parse_line): #define to _nss_files_parse_pwent and
1383         add extern decl for that.
1385         * nss/nss_files/files-XXX.c (internal_getent): Return
1386         NSS_STATUS_TRYAGAIN for ERANGE error.
1388         * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
1389         of null, so next round returns null again instead of bombing.  Fix
1390         from drepper.
1392         * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
1393         Remove ; after `ENTDATA_DECL (data)'.
1394         Truncate line at strpbrk (line, EOLSET "\n").
1395         (ENTDATA_DECL): Put ; at end.
1396         (MIDLINE_COMMENTS): Macro removed.
1397         * nss/nss_files/files-ethers.c: Pass new argument.
1398         * nss/nss_files/files-hosts.c: Likewise.
1399         * nss/nss_files/files-network.c: Likewise.
1400         * nss/nss_files/files-parse.c: Likewise.
1401         * nss/nss_files/files-proto.c: Likewise.
1402         * nss/nss_files/files-rpc.c: Likewise.
1403         * nss/nss_files/files-service.c: Likewise.
1404         * grp/fgetgrent.c: Likewise.
1405         * pwd/fgetpwent.c: Likewise.
1406         * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
1407         fgetpwent.c already defines it.
1408         * nss/nss_files/files-grp.c: Likewise.
1410         * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
1411         as well as any matching with l_libname.  Fix DT_SONAME lookup to use
1412         string table properly.
1414         * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
1415         invoked directly, and l_libname from that if PT_INTERP missing.
1416         Set l_name from l_libname only if not set from argv.
1418         * time/europe, time/northamerica: Updated from ADO 96i.
1420 Mon Jul  1 15:44:34 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1422         * stdio-common/tst-ungetc.c: Include unistd.h.
1424         * inet/Makefile (routines): Change getnetbypt to getnetbyad.
1426 Mon Jul  1 13:32:42 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1428         * hurd/report-wait.c (describe_number): Make I unsigned long.
1430         * login/login.c (login): Only Frob OLD->ut_type if getutline_r
1431         actually found any entry.
1433         * login/pututline_r.c (pututline_r): If not located after any
1434         entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
1435         Lock the file before stating.
1437 Mon Jul  1 12:29:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1439         * nss/Makefile (databases): Change host to hosts.
1440         * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
1442         * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
1444         * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
1446         * string/string.h (strndupa): Pass missing arg to strnlen.
1448         * inet/getnetbypt_r.c: Renamed to ...
1449         * inet/getnetbyad_r.c: this; fixed function name.
1450         * inet/getnetbypt.c: Renamed to ...
1451         * inet/getnetbyad.c: this; fixed function name.
1453 Sat Jun 29 01:08:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1455         * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
1456         struct passwd.
1458 Fri Jun 28 23:25:35 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1460         * login/login.c (login): Initialize DATA so that setutent_r will
1461         actually do something.
1463 Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1465         * resolv/res_hconf.c (strndup): Remove function.
1467         * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
1468         using ElfW() instead of Elf32_*.
1470         * sysdeps/unix/sysv/linux/alpha/init-first.h,
1471         sysdeps/unix/sysv/linux/m68k/init-first.h,
1472         sysdeps/unix/sysv/linux/i386/init-first.h: New files.
1473         * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
1474         init-first.h to make abstract machine dependent parts of
1475         initialization.
1477         * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
1478         error handling.  It's safer that way.
1480         * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
1481         Fix by Richard Henderson.
1483         * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
1484         typo/extraneous whitespace.
1486         * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
1487         determine what integer sizes we're dealing with.
1489 Fri Jun 28 15:46:02 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>
1491         * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
1492         check for signal zero, repair logical sense of test by
1493         parenthesizing correctly.
1495         * hurd/hurdsig.c (_hurd_internal_post_signal): In
1496         check-for-pending signals code, release _hurd_siglock before
1497         jumping to deliver_pending.
1499 Thu Jun 27 04:04:27 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1501         * configure.in (config_machine): Make ELF the default even for
1502         Linux/Alpha unless a configuration of the form *-*-linux*ecoff
1503         is specified.
1505 Fri Jun 28 07:27:10 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1507         * nss/nss_files/files-hosts.c (ENTDATA): Define it.
1508         * nss/nss_files/files-parse.c (struct parser_data): Define entdata
1509         member only #ifdef ENTDATA.
1510         (ENTDATA_DECL): New macro.
1511         (LINE_PARSER): Use it for entdata decl.
1512         (parse_list): Find the space for LIST from DATA->linebuffer instead of
1513         from the input LINE, which might not be writable buffer space.
1514         (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
1515         [ENTDATA] (parser_stclass): #define to `static inline'.
1516         [!ENDATA] (parser_stclass): #define to empty.
1517         [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
1518         function is exported to -lnss_files users.
1520         * string/strndup.c: Add missing arg.
1522         * string/string.h (strndupa): Likewise.
1523         * string/strndup.c (strndup): Always terminate the string.
1525 Thu Jun 27 14:22:31 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1527         * stdio/Makefile (routines): Add vscanf.
1528         * stdio-common/Makefile (routines): Remove vscanf.
1529         * stdio-common/vscanf.c: Move to ...
1530         * stdio/vscanf.c: here.
1532         * rpm/Makefile (headers, install-lib, install-lib.so,
1533         versioned, install-bin, install-sbin, install-data,
1534         install-others): Add $(-VARIABLE).
1536 Fri Jun 28 02:41:08 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1538         * nss/Makefile (databases): New variable.
1539         (routines, libnss_files-routines): Use it.
1540         (subdir-dirs): Compute from $(services).
1542         * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
1543         init_module, klogctl): Use EXTRA in the "caller" column so these get
1544         added to unix-extra-syscalls and thus compiled in misc.
1546         * string/Makefile (routines): Add strndup.
1547         * string/strndup.c: New file.
1548         * string/string.h: Declare strndup.
1549         (strndupa): New macro.
1551         * string/string.h: Declare __strdup.
1552         * string/strdup.c: Deansideclized.  Define __ name and weak alias.
1554         * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
1556 Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>
1558         * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
1560         * grp/initgroups.c (initgroups): De-ansi-fy.
1561         Move declaration of NGROUPS and GROUPS outside #if so that
1562         the code compiles for NGROUPS_MAX != 0.
1564         * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
1565         (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
1566         ether_ntoa, ether_ntoa_r, and ether_ntoh.
1567         * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
1568         inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
1569         inet/ether_ntoh.c: New files.  Implementation of functions to
1570         handle Ethernet address to host mapping.
1571         * inet/netinet/ether.h: New file.  Declare ether_* functions.
1572         * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
1573         compilation.
1574         * nss/ethers-lookup.c: New file.  Lookup function for ethers database.
1575         * nss/Makefile (routines): Add ethers-lookup.
1576         (libnss_files-routines): Add files-ethers.
1578         * nss/getXXent_r.c: Don't define set*ent and end*ent function
1579         with _r suffix.
1581         * nss/nss_files/files-XXX.c (internal_endent): Don't reset
1582         KEEP_STREAM every time called.
1583         (_nss_files_end): Reset KEEP_STREAM here instead.
1584         (internal_getent): If STREAM == NULL try to open instead of
1585         signalling error.
1586         Use cast to prevent warning.
1587         Terminate read line in case the buffer is too small.
1589         * nss/nss_files/files-ethers.c: New file.  Implementation of
1590         Ethernet adress<->hostname lookup through files interface.
1592         * stdlib/mbstowcs.c: Define based on mbsrtowcs().
1593         * stdlib/mbtowc.c: Define based on mbrtowc().
1594         * stdlib/wcstombs.c: Define based on wcsrtombs().
1595         * stdlib/wctomb.c: Define based on wcrtomb().
1597         * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
1598         unexpected_sizes_in_xdr_u_int.
1600         * sysdeps/generic/netinet/if_ether.h: New file.  Generic declaration
1601         of `struct ether_addr'.
1602         * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file.  Linux specific
1603         declaration of `struct ether_addr'.
1605         * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
1606         * wcsmbs/mbsrtowcs.c: Ditto.
1607         * wcsmbs/wcrtomb.c: Ditto.
1608         * wcsmbs/wcsrtombs.c: Ditto.
1610         * wcsmbs/mbsinit.c: Prepare for PS being NULL.
1612 Wed Jun 26 13:19:35 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1614         * hurd/get-host.c <fcntl.h>: New include.
1615         * hurd/set-host.c <fcntl.h>: New include.
1616         (_hurd_set_host_config): Include NEW in args to dir_link.
1617         Return NWROTE, not NREAD.
1619         * sysdeps/mach/hurd/getcwd.c
1620         (_hurd_canonicalize_directory_name_internal): Don't deallocate
1621         DOTID & DOTDEVID until we're finished with them (we need to keep
1622         them at least until we've fetched the next level of id ports, so
1623         that mach will be able to use the same name if they're the same).
1624         Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
1625         jumps to errlose, for those places where such cleanup is needed.
1627 Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1629         * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
1631         Move DB code into separate -ldb library.
1632         * db/Makefile (extra-libs): New variable, list libdb.
1633         (routines): Renamed to libdb-routines.
1634         * shlib-versions: Add libdb=2.
1636         * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
1637         * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
1639         * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
1640         of strncasecmp.  Extend syntax to grok [!foo=bar].
1642         * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
1643         weak alias.
1644         * string/string.h: Declare __strncasecmp.
1646         * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
1647         (service_alias): Variable removed.
1648         (nss_parse_service_list): New function, broken out of nss_getline.
1649         Remove alias conversion; we will just use symlinks.
1650         (__nss_database_lookup): Take new string arg DEFCONFIG.
1651         If no entry exists, make one with service list parsed from that.
1652         * nss/nsswitch.h: Update protocol for __nss_database_lookup.
1653         * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
1654         (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
1656         * grp/initgroups.c: Rewritten using getgrent.  Handle unlimited group
1657         list size.
1659         * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
1661 Wed Jun 26 01:56:50 1996  Ulrich Drepper  <drepper@cygnus.com>
1663         * locale/programs/locale.c (long_options): Short form of
1664         --version option is `-V'.
1665         (main): Recognize `-V' as option, not `-v'.
1666         Call `usage' instead of printing error message for illegal
1667         option.
1668         (usage): Document `-V'.
1670 Tue Jun 25 17:22:55 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1672         * sysdeps/mach/hurd/getcwd.c
1673         (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
1674         THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
1676 Tue Jun 25 10:58:23 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1678         * inet/getrpcent.c: Fix macros.
1679         * inet/getrpcent_r.c: Fix macros.
1681         * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
1683         * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
1685 Tue Jun 25 09:55:47 1996  David Mosberger-Tang  <davidm@AZStarNet.com>
1687         * catgets/gencat.c (write_out): Use %Zu to print variables of type
1688         size_t.
1689         * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
1690         cast it to (unsigned long) to make it work both on 32 and 64
1691         bit architectures.
1693 Sat Jun 22 13:05:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1695         * locale/Makefile (distribute): Add `programs/' prefix to all
1696         files in that directory.
1698         * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
1699         subdir' works.
1701         * MakeTAGS (sources, headers): Make them simply expanded variables
1702         so that all-dist is expanded before it is changed.
1704 Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1706         * Make-dist (dist): Don't depend on crypt tar file.  Remove that rule.
1707         * Makefile (subdirs): Remove crypt.
1708         * crypt: Directory removed.  It will be made an independent library
1709         distribution.
1711         * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
1713         * inet/getrpcent_r.c (DATABASE_NAME): New macro.
1715         * inet/getrpcbynumber.c (BUFLEN): New macro.
1717         * configure.in (--no-whole-archive check): Remove backslashes in cmd.
1719         * Makefile (headers): Add libc-lock.h.
1720         * sysdeps/stub/libc-lock.h: New file.
1722         * inet/getrpcbynumber.c: Remove _r typo.
1724         * elf/dl-load.c (_dl_map_object): Fix typo in last change.
1726         * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
1727         after the first!
1729         * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
1730         or doesn't mention DATABASE, use an internal default equivalent to
1731         "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
1732         (nss_lookup_function): Call nss_new_service as needed.
1733         (nss_parse_file): Don't bother calling nss_new_service here.
1735         * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
1736         * pwd/fgetpwent.c: Likewise.
1738         * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
1739         * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
1740         * malloc/malloc-size.c: New file.
1741         * malloc/malloc-walk.c: New file.
1743         * malloc/malloc-find.c (malloc_find_object_address): Return null if
1744         PTR is outside the heap.
1746         * elf/dl-load.c (_dl_map_object): If the requested name matches the
1747         soname of a loaded object, use that object.
1749 Mon Jun 24 19:57:01 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1751         * Makefile (subdirs): Add nss.
1753         * inet/Makefile (routines): Add getrpcent, getrpcbyname,
1754         getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
1755         * inet/getrpcbynumber_r.c: New file.
1756         * inet/getrpcbynumber.c: New file.
1757         * inet/getrpcbyname.c: New file.
1758         * inet/getrpcbyname_r.c: New file.
1759         * inet/getrpcent_r.c: New file.
1760         * inet/getrpcent.c: New file.
1761         * nss/rpc-lookup.c: New file.
1762         * nss/nss_files/files-rpc.c: New file.
1763         * nss/Makefile (routines): Add rpc-lookup.
1764         (libnss_files-routines): Add files-rpc.
1765         * sunrpc/Makefile (routines): Remove getrpcent.
1766         * sunrpc/getrpcent.c: File removed.
1768         * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
1769         non-null on entry.
1771         * Makeconfig (rpath-link): Add $(nssobjdir).
1772         (nssobjdir): New variable.
1774         * Makerules: Move shared library building before objects rules, so
1775         versions are known before extra-lib.mk gets included.
1776         * extra-lib.mk (lib-noranlib): Depend on the shared object too.
1778         * pwd/getpwuid.c: Rewritten using nss.
1779         * pwd/getpwnam.c: Likewise.
1780         * pwd/getpwent.c: Likewise.
1781         * grp/getgrnam.c: Likewise.
1782         * grp/getgrgid.c: Likewise.
1783         * grp/getgrent.c: Likewise.
1784         * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
1785         * pwd/getpwent_r.c: New file.
1786         * pwd/getpwnam_r.c: New file.
1787         * pwd/getpwuid_r.c: New file.
1788         * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
1789         * grp/getgrnam_r.c: New file.
1790         * grp/getgrgid_r.c: New file.
1791         * grp/getgrent_r.c: New file.
1792         * grp/Makefile (routines): Remove grpopen, grpread.
1793         * pwd/Makefile (routines): Remove pwdopen, pwdread.
1794         * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
1796         * pwd/fgetpwent.c: Rewritten using files-parse.c.
1797         * grp/fgetgrent.c: Likewise.
1799         * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
1800         * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
1801         * nss/nss_files/files-grp.c: New file.
1802         * nss/nss_files/files-pwd.c: New file.
1804         * nss/Makefile (subdir-dirs): New variable; use it in vpath.
1806         * nss/nss_files/files-parse.c: New file.
1807         * nss/nss_files/files-XXX.c: New file.
1808         * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
1809         nss/nss_files/files-service.c, nss/nss_files/files-network.c:
1810         Rewritten using them.
1812         * nss/Makefile (libnss_files-routines): Remove files-host.
1813         Add files-hosts, files-grp, files-pwd.
1815         * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
1817 Mon Jun 24 22:39:12 1996  Richard Henderson  <rth@tamu.edu>
1819         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1820         A .plt entry now loads the .rela.plt offset directly rather
1821         than making us calculate it.
1823 Sun Jun 23 15:24:05 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1825         * time/Makefile ($(installed-localtime-file) rule): Do
1826         $(make-target-directory) first.
1828         * resolv.h: Fix wrapper for resolv/resolv.h.
1830         * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
1831         Compile dummy file and pass -nostdlib -nostartfiles so as not to
1832         require installed libraries.
1834         * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
1835         libnss_dns=1.
1837 Sun Jun 23 19:42:05 1996  Ulrich Drepper  <drepper@cygnus.com>
1839         * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
1840         and mapv4v6hostent.h.
1841         (routines): Move res* and gethnamaddr into libresolv-routines.
1842         (libresolv-routines): New variable, put them there.
1843         (extra-libs): New variable, list libresolv.
1844         (CPPFLAGS): Add -D for get*by* to res_get*by*.
1846         * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
1848         * inet/herrno.c: New file.
1850         * resolv/res_init.c: Remove res_hconf calls.
1852         * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
1853         nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
1854         nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
1855         nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
1856         nss/service-lookup.c: New files.  Implementation of name
1857         service switch, following the approach in Solaris.
1858         Interface specification and general structure inspired by Peter
1859         Eriksson <pen@lysator.liu.se>.
1860         * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
1861         nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
1862         Implementation of libnss_files.so module for file based databases
1863         in NSS service.
1864         * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
1865         if libnss_dns.so module for DNS name lookup in NSS service.
1867         * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
1868         inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
1869         Changed to serve as interface to NSS.
1870         * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
1871         inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
1872         inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
1873         inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
1874         inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
1875         inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
1876         inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files.  Implement
1877         interfaces to NSS, including reentrant functions.
1879         * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
1880         resolv/sethostent.c: Removed:  Obsoleted by NSS.
1882         * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
1883         gethnamaddr.c.  These private functions are now used in more
1884         than one file.
1886         * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
1888 Sat Jun 22 16:49:47 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1890         * rpm/Makefile ($(config)): Make sure the word list in the for
1891         loop is syntactically non-empty.
1893 Sat Jun 22 21:29:52 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1895         * Version 1.92 test release.
1897 Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>
1899         * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
1900         to klogctl to match prototype in sys/klog.h.
1902         * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
1903         * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
1905         * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
1906         Remove.  Code is now part of __getcwd again.  The old function
1907         never really worked for anything but THISDIR==".".
1909         * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
1910         only when building ELF version of library.
1912         * libio/libioP.h (_IO_vscanf): Add prototype.
1914         * posix/unistd.h (syscall): Change sysno arg and return value
1915         to int long.
1917 Sat Jun 22 10:44:09 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1919         * version.h (VERSION): Updated to 1.92.
1921         * misc/Makefile (headers): Add ar.h.
1922         * misc/ar.h: New file.
1924         * config.make.in (BUILD_CC): New variable.
1925         * configure.in: Check for BUILD_CC if $host != $build.
1927         * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
1929         * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
1930         (stamp$o files): New targets, create them empty, no deps.
1932         * rpm/template (Source): New field.
1933         (%prep, %build, %install): New sections.
1934         (%files): Add %doc FAQ NEWS NOTES README.
1935         * rpm/rpmrc (builddir): Removed.
1937 Fri Jun 21 00:27:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
1939         * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
1940         guessing to not assume p_vaddr of first load cmd is zero.
1942         * sysdeps/sparc/elf/start.S: New file.
1943         * sysdeps/sparc/dl-machine.h: New file.
1945         * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
1946         only for ?s, not for *s.  Fix from Chet Ramey.
1948         Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
1949         * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
1950         Use __{BEGIN,END}_DECLS.
1951         (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
1952         * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
1953         New macros, moved here from sysdeps/gnu/utmpbits.h.
1954         * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
1955         * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
1956         * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
1957         Use sizeof instead of UT_*SIZE.
1958         * login/logwtmp.c: Likewise.
1960         * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
1962         * version.c (banner): Add trailing newline.
1964         * login/utmp.h: Declare login_tty.
1966 Thu Jun 20 21:19:07 1996  Richard Henderson  <rth@tamu.edu>
1968         * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
1969         Changed to a 12-byte PLT entry to remove dependency on $gp.
1970         Take a new got_addr parameter.
1971         (elf_machine_rela): Pass the new parameter.
1972         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
1973         (RTLD_START): Do normal linkage with program entry.
1975 Thu Jun 20 12:18:21 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1977         * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
1979         * hurd/getuids.c (getuids): New weak link to __getuids.
1981 Wed Jun 19 10:21:24 1996  Miles Bader  <miles@gnu.ai.mit.edu>
1983         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
1984         __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
1985         argument.
1986         Rename nested function lookup to lookup_op.
1987         (__file_name_lookup, __file_name_lookup_under):
1988         Pass 0 for lookup arg to __hurd_file_name_lookup.
1989         (__file_name_split): Likewise for __hurd_file_name_split.
1990         * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
1991         Rename nested function lookup to scan_lookup.
1992         (file_name_path_lookup): Pass 0 for lookup arg to
1993         hurd_file_name_path_lookup.
1994         * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
1995         __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
1996         __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
1997         Add LOOKUP argument.
1998         * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
1999         __hurd_file_name_lookup.
2001 Mon Jun 17 19:09:49 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2003         * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
2004         up a huge list just to discard most of it.
2006         * configure.in (sysnames): Avoid fgrep by using the case shell
2007         builtin.
2009         * Makeconfig (config.status): Fix dependency on Implies files.
2011 Wed Jun 19 01:27:57 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
2013         * math/Makefile (distribute): Add ieee-math.c.
2015 Wed Jun 19 03:24:58 1996  Ulrich Drepper  <drepper@cygnus.com>
2017         * locale/codeset_name.c: New file.  Provide function for information
2018         about currently used character set.
2019         * locale/Makefile (routines): Add codeset_name.
2020         * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
2021         * locale/localeinfo.h: Change magic number because of incompatible
2022         change.
2023         * locale/C-ctype.c: Add initializer for new field `codeset_name'.
2024         * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
2026         * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
2027         name `MAX_IOVEC'.  Instead use standard name `UIO_MAXIOV'.
2029         * locale/setlocale.c (setlocale): Initialize local variables to
2030         prevent warnings.
2032 Thu Jun 13 17:25:11 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2034         * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
2036         * locale/programs/locale.c: Include string.h.
2038         * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
2039         (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
2040         appropriate sign-extension is performed on machines with
2041         sizeof(long) > 4.
2043         * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
2044         sizeof(int)<sizeof(long), we need to go through a temporary
2045         variable.
2047         * locale/programs/ld-numeric.c: Include <alloca.h>
2049         * libio/stdio.h (__libc_fatal): Add prototype.
2051         * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
2052         in efect.
2054         * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
2055         volatile to avoid "might get clobbered by longjmp" warning.
2057         * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
2058         unless _LOOSE_KERNEL_NAMES is in effect (which, with high
2059         probability is a sure loser).
2060         * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
2062         * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
2063         * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
2065         * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
2066         to be Linux FSSTND compliant.
2068 Mon Jun 10 17:50:31 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2070         * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
2072         * sysdeps/unix/sysv/linux/alpha/sysdep.S,
2073         sysdeps/unix/sysv/linux/alpha/brk.S,
2074         sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
2075         sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
2076         sysdeps/unix/sysv/linux/alpha/llseek.S,
2077         sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
2078         sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
2079         __syscall_error to avoid intruding application name space.
2081         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
2082         to SYS_get?id so that syscall stubs in sysdeps/unix define
2083         these syscalls in terms of getxpid/getxuid/getxgid.
2085         * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
2086         sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
2087         sysdeps/unix/execve.S, sysdeps/unix/fork.S,
2088         sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
2090         * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
2091         (PSEUDO_END): Rename END() to PSEUDO_END().
2093         * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
2094         to PSEUDO_END to improve branch-prediction.  Include .frame
2095         directive to make syscalls debugabble.
2096         (PSEUDO_END): New macro.
2098         * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
2099         sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
2100         latter is illegal under DEC Unix.
2102         * sysdeps/unix/alpha/sysdep.S: Renamed from
2103         sysdeps/unix/sysv/linux/alpha/sysdep.S.  This file works for OSF/1
2104         as well.
2105         * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
2106         EWOULDBLOCK -> EAGAIN mapping was unnecessary since
2107         EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
2109         * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
2110         address register in the .frame directive.
2112         * sysdeps/alpha/copysign.c: Remove.
2114         * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
2115         avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
2117         * errno.h: Move __END_DECLS to correct place to make file
2118         compilable under c++.
2120         * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro.  Define
2121         d_ino only if <direntry.h> hasn't defined d_fileno.
2123         * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
2124         arguments to weakext to make .weakext detection work on ECOFF systems.
2126         * FAQ: Add Linux/Alpha to list of supported platforms.  Mention
2127         that _validuser() has been replaced by __ivaliduser().
2129 Thu Jun  6 21:39:38 1996  David Mosberger-Tang  <davidm@azstarnet.com>
2131         * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
2132         as unsigned long, not as int (to avoid incorrect int->long
2133         promotion).
2137 See ChangeLog.5 for earlier changes.