1 Sun Jul 28 23:46:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3 * time/strftime.c (strftime: do_number): Initialize PRINTED to
4 MAXDIGITS in case P is null and so sprintf is never actually called.
6 Mon Jul 29 02:46:23 1996 Ulrich Drepper <drepper@cygnus.com>
8 Add support for the to-be-written internationalized regexp.
9 This code must be able to use collation symbols and collation
11 * locale/C-collate.c (_nl_C_LC_COLLATE_symbol_hash,
12 _nl_C_LC_COLLATE_symbol_strings, _nl_C_LC_COLLATE_symbol_classes):
13 New global variables for collation classes.
14 * locale/categories.def: Add new descriptions for collation symbols
15 and collation classes.
16 * locale/langinfo.h: Add constants for collation symbols and
18 * locale/lc-collate.c: Add new global variables for collation symbols
19 and collation classes.
20 (_nl_postload_collate): Initialize new variables.
21 * locale/programs/ld-collate.c: Add code to emit tables for
22 collation symbols and collation classes.
23 * locale/programs/locales.h: Change prototype for `collate_output'.
24 * locale/programs/locfile.c (write_all_categories): Call
25 `collate_output' with new argument.
26 * locale/localeinfo.h: Add declaration for new global vars.
27 (union locale_data_value): New member wstr for `wchar_t' strings.
28 * locale/programs/locale-spec.c: Handle `collate-classes'
29 keyword and print information about available collation classes.
30 * locale/strlen-hash.h: New file. Simple hashing function which
31 takes a string with known length.
32 * locale/Makefile (distribute): Add strlen-hash.h.
33 (locale-modules): New var. Additional files for `locale' program.
35 * locale/C-ctype.c: Rewrite to avoid using string for giving values
36 which are of type `u_int32_t'.
37 Correct entry for EOF in toupper and tolower tables.
39 * locale/loadlocale.c (_nl_load_locale): Add cast to prevent
42 * locale/programs/ld-ctype.c (ctype_output): Add code to make
43 sure that all tables in binary file are words aligned.
45 * locale/programs/locfile.c (write_locale_data): Correct handling
46 of LC_MESSAGES locale. Create directory if necessary.
48 * locale/setlocale.c (setlocale): Add cast to avoid warning.
50 * string/string.h: Add prototype for `__strndup'.
52 Wed Jul 24 19:10:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
54 * wcsmbs/mbrtowc.c: Remove unused variable.
56 Sun Jul 28 22:40:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
58 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): Update to
59 2.0.10; some problems were reported with an earlier version, and this
62 * sysdeps/generic/dl-sysdep.c (__libc_enable_secure): New variable.
63 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
65 Sat Jul 27 13:02:09 1996 Ulrich Drepper <drepper@cygnus.com>
67 * elf/rtld.c (dl_main): Ignore arguments when environment variable
68 LD_TRACE_LOADED_OBJECTS is set.
70 Sun Jul 28 19:42:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
72 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize
73 __libc_enable_secure instead of _dl_secure.
74 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
75 * elf/dl-load.c (_dl_map_object): Check __libc_enable_secure instead
77 * elf/Makefile (routines): Add enbl-secure.
78 (elide-routines.so): Here too.
79 * sysdeps/generic/enbl-secure.c: New file.
80 * posix/unistd.h [__USE_GNU]: Declare `__libc_enable_secure' flag.
81 * elf/dl-support.c (_dl_secure): Variable removed.
82 * elf/rtld.c: Likewise. Replace all uses with __libc_enable_secure.
84 Sun Jul 28 19:26:40 1996 David S. Miller <dm@neteng.engr.sgi.com>
86 * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
87 Declare _dl_runtime_resolve with __attribute__ ((unused)) so the
88 compiler doesn't elide it.
89 (elf_machine_rel): Follow Jul 14 change in sysdeps/i386/dl-machine.h.
91 Sat Jul 27 02:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
93 * elf/rtld.c (dl_main): Take new option --verify when run directly.
94 In verify mode, exit with status zero iff the argument object's
95 PT_INTERP matches argv[0].
96 * elf/ldd.sh.in: Use ${RTLD} --verify and only run the program if it
97 exits with zero status. This makes `ldd' secure again.
99 Fri Jul 26 22:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
101 * elf/rtld.c (dl_main): Implement LD_TRACE_LOADED_OBJECTS
102 environment variable handling. This makes the dynamic linker
103 only print loaded libraries and quit.
105 * elf/ldd.sh.in: Don't use `rtld --list' but instead
106 LD_TRACE_LOADED_OBJECTS environment variable to print needed
109 Sat Jul 27 02:03:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
111 * db/makedb.c (main): Print version on stdout, not stderr. Don't exit
112 after printing version until after doing usage for --help.
113 (long_options, main, usage): Rename -l/--lowercase option to
114 -f/--fold-case (-f matches sort).
116 Sat Jul 27 04:32:31 1996 Ulrich Drepper <drepper@cygnus.com>
118 * db/makedb.c: New file. Implement program to create simple <db.h>
119 database from textual input. This will be used for nss_db.
121 Sat Jul 27 01:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
123 * sunrpc/rpc/auth_unix.h: Fix misapplied patches in last changes.
124 * sunrpc/rpc/pmap_clnt.h: Likewise.
125 * sunrpc/rpc/auth.h: Likewise.
126 * sunrpc/rpc/pmap_rmt.h: Likewise.
127 * sunrpc/rpc/rpc_msg.h: Likewise.
129 Sat Jul 27 04:37:34 1996 Ulrich Drepper <drepper@cygnus.com>
131 * string/string.h (strndupa): Change to use return value of
132 `memcpy' for more performance.
133 * string/strndup.c: Likewise.
135 * string/string.h (strdupa): Don't call __builtin_alloca in argument.
136 This might lead to problems.
137 (strndupa): Likewise.
139 Fri Jul 26 15:24:25 1996 Ulrich Drepper <drepper@cygnus.com>
141 * sunrpc/rpc/auth.h: Add protection against multiple inclusion
142 and change K&R prototypes to ANSI prototypes.
143 * sunrpc/rpc/auth_unix.h: Ditto.
144 * sunrpc/rpc/clnt.h: Ditto.
145 * sunrpc/rpc/pmap_clnt.h: Ditto.
146 * sunrpc/rpc/pmap_prot.h: Ditto.
147 * sunrpc/rpc/pmap_rmt.h: Ditto.
148 * sunrpc/rpc/rpc_msg.h: Ditto.
149 * sunrpc/rpc/svc.h: Ditto.
150 * sunrpc/rpc/svc_auth.h: Ditto.
151 * sunrpc/rpc/xdr.h: Ditto.
153 Fri Jul 26 20:39:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
155 * ctype/test_ctype.c: Test EOF too.
157 Fri Jul 26 18:06:58 1996 Ulrich Drepper <drepper@cygnus.com>
159 * sunrpc/rpc/auth.h: Add __BEGIN_DECLS and __END_DECLS.
160 * sunrpc/rpc/auth_unix.h: Likewise.
161 * sunrpc/rpc/clnt.h: Likewise.
162 * sunrpc/rpc/netdb.h: Likewise.
163 * sunrpc/rpc/pmap_clnt.h: Likewise.
164 * sunrpc/rpc/pmap_prot.h: Likewise.
165 * sunrpc/rpc/rpc_msg.h: Likewise.
166 * sunrpc/rpc/svc.h: Likewise.
167 * sunrpc/rpc/svc_auth.h: Likewise.
168 * sunrpc/rpc/xdr.h: Likewise.
170 * sunrpc/rpc/pmap_clnt.h: Move definition of type `resultproc_t'
172 * sunrpc/pmap_rmt.c: ...here.
174 Fri Jul 26 16:10:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
176 * login/pututline_r.c (pututline_r): Only call getutid_r if ID has a
178 * login/getutid_r.c (getutid_r): Mark UTMP_DATA->loc_utmp invalid
181 Fri Jul 26 00:36:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
183 * sysdeps/mips/dl-machine.h: New file, contributed by Kazumoto Kojima
184 <kkojima@info.kanagawa-u.ac.jp>.
186 Fri Jul 26 04:41:28 1996 Ulrich Drepper <drepper@cygnus.com>
188 * intl/libintl.h: Define optimizing macros if __OPTIMIZE__ is
189 defined, not __OPTIMIZED.
190 (_nl_msg_cat_cntr): Move declaration outside macro definition
191 to prevent "nested extern" warning.
192 (dcgettext): Rename local variable `result' to `__result'.
194 Thu Jul 25 22:46:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
196 * locale/programs/localedef.c (__progname): Remove decl.
197 (main): Use program_invocation_short_name instead of __progname.
198 (usage): Use program_invocation_name instead of __progname.
200 Fri Jul 26 03:46:08 1996 Ulrich Drepper <drepper@cygnus.com>
202 * catgets/gencat.c: Use "libc" instead of PACKAGE.
203 * locale/localedef.c: Ditto.
204 * locale/locale.c: Ditto.
206 * locale/findlocale.c (_nl_find_locale): Little optimization.
207 Use new function `strndup'.
209 * locale/loadlocale.c: Little optimization. Use constant value
210 from `_nl_category_num_items' instead of byte-order dependend
213 * locale/programs/ld-time.c (time_add): Correct string constant.
215 * locale/programs/locale-spec.c: New file.
216 * locale/programs/locale.c: Call `locale_special' function if
217 no other field matches.
219 * locale/programs/localedef.c: No need to define `program_name'.
220 Use global variable `__progname'.
222 * locale/programs/locfile.c (write_locale_data): Always write
223 LC_MESSAGES data in LC_MESSAGES/SYS_LC_MESSAGES file. This is
224 necessary since message catalogs are also installed in the
225 LC_MESSAGES/ directory.
227 * locale/programs/stringtrans.c (ADDC): Correctly use `encode_char'
228 function instead of writing single bytes.
229 (encode_char): Also handle little endian.
231 * locale/setlocale.c (new_composite_name): Little optimization.
232 Use return value of `memcpy'.
234 * misc/ttyent.h: Pretty print prototypes, add missing parameter
235 names, prepend parameter names with __ and use `__const' instead
237 * posix/unistd.h: Ditto.
238 * stdlib/stdlib.h: Ditto.
239 * string/string.h: Ditto.
241 * posix/getconf.c: De-ASNI-fy. Recognize POSIX.2 constant names.
242 Use `error' function instead of doing it by hand.
243 * sysdeps/posix/sysconf.c: De-ANSI-fy.
244 Handle _SC_COLL_WEIGHTS_MAX.
245 * sysdeps/stub/sysconf.c: Handle _SC_CHARCLASS_NAME_MAX,
246 _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_2_LOCALEDEF
247 since these do depend on the platform.
250 * posix/posix2_lim.h: Add missing definition of
251 _POSIX2_COLL_WEIGHTS_MAX.
252 Change _POSIX2_EQUIV_CLASS_MAX and _POSIX2_CHARCLASS_NAME_MAX
253 to high values since we have no fixed limit.
255 * sysdeps/generic/confname.h: Add _SC_PAGE_SIZE as alias for
256 _SC_PAGESIZE for buggy systems (= HP UX) out there.
258 * wcsmbs/Makefile (routines): Add mbsnrtowcs and wcsnrtombs.
259 * wcsmbs/mbsnrtowcs.c: New file. Non-standard implementation.
260 * wcsmbs/wcsnrtombs.c: Ditto.
261 * wcsmbs/wchar.h [__USE_GNU]: Add prototypes for mbsnrtowcs and
264 Thu Jul 25 00:25:54 Richard Henderson <rth@tamu.edu>
266 * nss/nss_db/db-XXX.c: Kill trailing ; from lock defn as a matter of
268 * nss/getXXent_r.c: Likewise.
269 * nss/nsswitch.c: Likewise.
270 * nss/nss_files/files-XXX.c: Likewise.
271 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
272 * sysdeps/unix/bsd/telldir.c (struct record): Likewise.
273 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
275 Thu Jul 25 00:53:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
277 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION): New
278 macro, now put the needed Linux version just once, here; update to
279 needing linux-2.0.3 headers.
280 (libc_cv_linuxVER): New macro derived from that.
281 (kernel header check): Use those macros and some m4 magic to replace
282 hard-coded `201' and `2.0.1' in several places.
284 * Makerules ($(libdir)/libc.so): Fix typos in generated comment.
286 Wed Jul 24 17:02:30 1996 Ulrich Drepper <drepper@cygnus.com>
288 * time/localtime.c: Move lock variable declaration to end of
289 variable declarations since if is a dummy macro the ; at the
290 end terminates the variable section of the function.
292 * time/tzset.c: Undefine `tzset' before function declaration.
293 Use `weak_function' macro instead of `weak_symbol'.
295 Wed Jul 24 18:57:33 1996 Ulrich Drepper <drepper@cygnus.com>
297 * stdlib/strtouq.c: Additional weak alias is `strtoull', not
300 Wed Jul 24 18:26:23 1996 Ulrich Drepper <drepper@cygnus.com>
302 * locale/C-ctype.c: Increment number of fields after change
303 from Wed Jun 19 03:24:58 1996.
305 Tue Jul 23 18:13:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
307 * sysdeps/mach/hurd/Makefile (rpcuserlibs): New variable.
308 ($(common-objpfx)libc.so): Move deps into that, use it.
309 [$(subdir) = elf] ($(objpfx)librtld.so): Depend on
310 $(rpcuserlibs:.so=_pic.a).
311 * elf/Makefile ($(objpfx)librtld.so): Just depend on libc_pic.a; don't
314 Thu Jul 18 21:41:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
316 * sysdeps/generic/stpncpy.c: Fix semantics to make `stpncpy (d, s,
317 n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'.
319 Tue Jul 23 02:49:58 1996 Ulrich Drepper <drepper@cygnus.com>
321 * locale/iso-4217.def: Add India to comment for symbol "INR ".
322 Reported by Raja R Harinath <harinath@cs.umn.edu>.
324 Sat Jul 20 14:03:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
326 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove bogus
329 Sun Jul 21 06:48:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
331 * time/tzset.c: Include <libc-lock.h>.
332 (__tzset_lock): New lock variable.
333 (tzset): New function (weak defn), no longer weak alias for __tzset.
334 Call __tzset while holding __tzset_lock.
335 * time/localtime.c: Include <libc-lock.h>.
336 (__localtime_r): Hold __tzset_lock while doing the work.
338 * sysdeps/generic/setenv.c (__environ): Change conditional for #define
339 from [!HAVE_GNU_LD] to [!_LIBC].
340 [_LIBC]: Include <libc-lock.h> and define a lock.
341 (LOCK, UNLOCK): New macros, no-ops for [! _LIBC].
342 (setenv, unsetenv): Use them.
344 Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
346 * locale/programs/locfile.c (write_locale_data): Deal with missing
349 * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int.
350 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
352 Sat Jul 20 21:55:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
354 Win32 hacks from <Rob_Tulloh@tivoli.com>.
355 * posix/glob.c [WIN32]: Don't include <pwd.h>; don't use d_ino;
356 use void * for my_realloc; include <malloc.h> for alloca.
357 (glob) [WIN32]: Use "c:/users/default" for ~ if no HOME variable.
358 * posix/fnmatch.h [WIN32]: Use prototypes even if [!__STDC__].
359 * posix/glob.h: Likewise.
361 Sat Jul 20 13:28:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
363 * sysdeps/mach/hurd/select.c (__select): Don't poll on the last
364 call __io_select unless there's only a single descriptor, as each
365 descriptor now has its own reply port.
366 If there is only a single descriptor, just use its reply port for
367 everything and don't bother creating the port set.
369 * sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
370 <unistd.h>: New include.
372 * sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
375 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
377 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
378 from the USA any software that even makes it easy to drop in an
379 encryption module of foreign origin.
380 * Makerules (cryptobjdir): Variable removed.
381 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
382 * Makefile (subdirs): Remove crypt.
384 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
386 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
387 operator to yesexpr and noexpr string.
389 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
391 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
392 old code would have failed on a big-endian 64-bit architecture).
393 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
395 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
396 (xdr_u_long): Use switch instead of chain of if-statements.
397 Remove gratitous parentheses around return expressions.
398 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
400 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
402 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
405 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
407 * dlfcn.h, db.h: New wrapper headers.
409 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
410 for `struct stat;' forward decl.
412 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
414 * locale/iso-4217.def: Add some more standardized currency
417 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
419 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
421 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
423 * Rules (dummy.o, empty.o): Targets removed.
424 (dummy.c, empty.c): New targets replace them.
426 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
428 * crypt/Makefile (lib-noranlib): Depend on
429 $(objpfx)libcrypt.so$(libcrypt.so-version).
432 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
434 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
435 check. mib's clueless hacking broke it.
437 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
439 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
441 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
443 * misc/sys/ustat.h: New file.
444 * misc/ustat.h: Ditto.
445 * sysdeps/generic/ustatbits.h: Ditto.
446 * sysdeps/stub/ustat.c: Ditto.
447 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
448 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
450 (routines): Mention ustat.
452 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
453 * sysdeps/alpha/elf/start.S: here.
455 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
456 alphabetically correct place. Mention ustat.
458 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
459 common symbol (makes errno accessible from gdb).
461 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
464 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
465 record always gets appended at end of file (wtmp is a log file,
466 after all). Set ut_type to DEAD_PROCESS if name is empty.
468 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
469 separate loop from search for UT_ID. Fix code so it is in
470 sync with Unix man page.
472 * login/getutline_r.c (getutline_r): Stop searching only if
473 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
475 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
477 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
478 avoid duplicate declarations.
480 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
482 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
483 and alpha-gnu-linuxecoff targets.
485 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
487 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
489 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
491 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
494 * resolv/res_comp.c (res_hnok): Use empty statement in place
495 of NULL (which generates a "useless expression" warning in
498 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
500 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
501 with $(..) in output.
503 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
505 * elf/Makefile (dl-routines): Add dl-cache.
506 * elf/dl-cache.c: New file.
507 * elf/dl-load.c (_dl_map_object): Check cache before default path.
509 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
511 * stdio-common/vfscanf.c: Major change. Now read character
512 from stream only if needed. Before it was read after the
513 previous character was used.
514 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
516 * stdio-common/tstscanf.c: Change test program so that return
517 value is != 0 if one test failed.
519 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
521 * sysdeps/m68k/Makefile (crypt): Variable removed.
522 * sysdeps/sparc/Makefile: Likewise.
524 * version.h (VERSION): Update to 1.93.
526 * Makerules ($(libdir)/libc.so): Depend on
527 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
529 * crypt/nocrypt.c: New file.
530 * Makefile (subdirs): Add crypt.
531 * crypt/Makefile: New file.
533 * Makerules (soversions.mk): Move this target, include of it, and
534 include of version.mk to ...
535 * Makeconfig: ... here.
536 (soversions.mk): Depend on Makeconfig instead of Makerules.
538 * shlib-versions (*-*-*): Set libcrypt=0.
540 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
542 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
543 word extends right up to rmargin.
545 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
546 output the wrap margin, set point_col to wmargin.
547 Use negative point_col to deal with a wmargin of 0.
548 (line_wrap_point): Return 0 for a negative point_col.
549 (line_wrap_stream): Make wmargin ssize_t.
550 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
552 (line_wrap_stream): Make wmargin ssize_t.
553 (line_wrap_point): Return 0 for a negative point_col.
555 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
557 * shlib-versions (*-*-gnu*): Set libc=0.0
559 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
561 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
562 sysdeps/i386/dl-machine.h.
564 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
566 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
567 to fiddle __put_limit in conjunction with __linebuf_active.
569 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
571 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
572 to the strong name, not the file name.
574 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
576 * csu/initfini.c: More magic. Detect if .end is produced and put it
577 in the output iff the compiler does.
579 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
580 because that is broken on alpha.
582 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
585 * Makerules (make-link): Install the new link with atomic mv -f in
586 case ln itself requires the library being installed.
588 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
590 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
591 i386/dl-machine.h of 960713.
593 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
594 (_dl_sysdep_read_whole_file): Fix result variable declaration.
596 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
598 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
601 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
603 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
604 with pointer to local variable instead of NULL.
606 1996-07-15 Paul Eggert <eggert@twinsun.com>
608 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
610 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
612 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
613 that are already added by other means.
615 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
616 caller column to get those syscalls added automagically.
618 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
620 * login/logout.c (logout): Initialize DATA to a state that will
621 make setutent_r happy.
623 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
625 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
626 instead of setting the DT_DEBUG pointer.
628 * csu/initfini.c (_init, _fini): Generate .end directives after
629 standalone prologues and filter them out from epilogues.
631 * Makeconfig (rtld-installed-name): Set to ld.so.1.
632 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
635 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
637 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
639 * MakeTAGS (extract): Pass --add-comments=TRANS.
640 * sysdeps/gnu/errlist.awk: Write comments into the output with the
641 descriptive paragraphs from the manual preceded by TRANS.
643 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
644 (_dl_start): Move RESOLVE defn inside this function and #include
645 "dynamic-link.h" a second time there.
646 [RTLD_START]: Move use of this after _dl_start function.
648 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
650 * elf/rtld.c: Include <string.h>.
652 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
653 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
654 Conditionalize defns on [RESOLVE].
655 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
656 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
657 Instead use RESOLVE macro with same args.
658 (elf_machine_rel): Conditionalize defn on [RESOLVE].
659 * elf/dl-reloc.c (RESOLVE): New macro, define before including
660 "dynamic-link.h". It replaces `resolve' local function.
661 * elf/dl-runtime.c: Likewise.
662 * elf/rtld.c: Likewise.
664 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
666 * elf/dl-open.c (_dl_open): Force an indirect call for
667 _dl_relocate_object so there is no chance a PLT fixup will be done
668 and clobber _dl_global_scope before our call happens.
670 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
671 to =t; must operate on top of fp reg stack, not second from top.
672 Correct input constraint to 0 from t; must be explicit when input and
673 output are the same register.
674 (floor): Use __volatile instead of volatile.
677 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
680 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
682 * manual/Makefile (lib): New phony target. Depend on stamp files.
683 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
685 1996-07-13 Paul Eggert <eggert@twinsun.com>
687 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
688 to match Emacs format-time-string specification.
689 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
691 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
693 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
694 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
695 between MAP and its deps.
696 * elf/link.h: Fix decl.
697 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
698 colon-separated list of names, map those and pass vector of ptrs as
699 PRELOADS list to _dl_map_object_deps.
700 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
701 _dl_map_object_deps with empty preload list.
702 * elf/dl-open.c (_dl_open): Likewise.
704 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
706 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
707 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
708 Conditionalize defn on [! MAP_ANON].
709 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
711 * elf/rtld.c (dl_main): Likewise.
712 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
713 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
715 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
717 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
719 * stdlib/random.c (__random): Declare as int32_t to be in sync
722 * socket/Makefile (headers): Add socketbits.h.
724 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
727 * grp/initgroups.c (initgroups): Add groups that user is a member
728 of, not the ones he is _not_ a member of.
730 * nss/nsswitch.c (known_compare): Make known_compare() a static
731 instead of a local function. The latter are difficult to debug
732 and slow to execute on certain platforms.
734 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
735 place of sizeof (dev). The size of a literal string includes the
738 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
740 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
742 * misc/mntent.c (addmntent): Seek to end of file before writing
743 entry. Return 1 on error, not -1.
745 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
747 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
750 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
752 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
753 shift amount for Jensen must be 5 not 4.
755 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
757 * socket/sys/socket.h (struct osockaddr): New type.
759 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
761 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
762 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
763 and `long double' versions can be generated.
764 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
765 so that included efgcvt{,_r}.c file generate `long double'
767 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
770 * manual/startup.texi: Document new getsubopt function.
771 * manual/examples/subopt.c: New example program for documenting
774 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
776 * stdlib/Makefile (routines): Add getsubopt.
777 * stdlib/stdlib.h: Add prototype for getsubopt.
778 * stdlib/getsubopt.c: New file. Implement getsubopt function
779 to handle suboption parsing.
781 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
783 * inet/getnetent_r.c: Define NEED_H_ERRNO.
784 * inet/getnetbynm_r.c: Likewise.
785 * inet/getnetent.c: Likewise.
786 * inet/getnetbyad_r.c: Likewise.
787 * inet/getnetbyad.c: Likewise.
788 * inet/getnetbynm.c: Likewise.
790 * sysdeps/generic/pselect.c: Include <sys/time.h>.
792 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
795 * math/Makefile (calls): Add s_frexp, s_ldexp.
796 (routines): Remove them and &f from here.
798 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
800 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
803 * nss/nss_files/files-XXX.c: Comment fix.
805 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
807 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
808 of reentrant function.
809 (setup): Pass additional argument with function name we are
811 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
812 new argument {SET,END,GET}FUNC_NAME_STRING.
814 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
817 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
819 * nss/nss_files/files-parse.c: Add comment about things to #define.
821 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
823 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
824 terminator char as an error.
826 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
828 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
830 * catgets/gencat.c (write_out): Move code to determine new
831 best size out of inner loop.
833 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
835 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
836 implementation of frexp() function.
837 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
838 implementation of ldexp() function.
840 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
843 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
845 * misc/mntent.c: Include <sys/types.h>.
846 (endmntent): Return 1 one success, 0 on failure.
847 (getmntent): Chop newline and ignore empty lines.
849 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
851 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
852 differently based on [RTLD_BOOTSTRAP].
853 (elf_machine_rela): Use it instead of the fn ptr arg directly.
855 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
857 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
858 __glob_closedir_hook): Remove decls.
860 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
862 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
863 for send and connect syscalls.
865 * socket/sys/socket.h: New file, taken from non-sysdep parts of
866 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
867 Declare __ names for send and connect.
868 * sysdeps/generic/socketbits.h: New file.
869 * sysdeps/unix/sysv/linux/socketbits.h: New file.
870 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
871 * sysdeps/generic/sys/socket.h: File removed.
873 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
874 * sysdeps/mach/hurd/send.c: Likewise.
876 * sysdeps/mach/libc-lock.h: New file.
877 * sysdeps/unix/readdir.c: Do locking.
878 * sysdeps/unix/seekdir.c: Likewise.
879 * sysdeps/unix/rewinddir.c: Likewise.
880 * sysdeps/unix/closedir.c: Likewise.
881 * sysdeps/unix/bsd/telldir.c: Likewise.
882 * sysdeps/mach/hurd/seekdir.c: Likewise.
883 * sysdeps/mach/hurd/readdir.c: Likewise.
884 * sysdeps/mach/hurd/closedir.c: Likewise.
885 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
886 * sysdeps/unix/opendir.c: Likewise.
887 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
888 (struct __dirstream): Add lock member using __libc_lock_define.
889 * sysdeps/unix/dirstream.h: Likewise.
891 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
893 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
895 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
897 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
899 * locale/programs/stringtrans.c: Fix typo in copyright.
901 * stdio-common/printf-prs.c: Add casts to prevent
902 signed<->unsigned warnings.
904 * stdio-common/printf-parse.h: Initialize state variable before
906 * stdio-common/printf-prs.c: Don't initialize state variable here.
907 * stdio-common/vfprintf.c: Don't initialize state variable.
908 (vfprintf): While determining length of multibyte string don't
909 try to be clever in determining characters to use for first
912 Add real implementation of multibyte<->wide char conversion
913 functions. The functions always convert between the fixed wide
914 char format (ISO 10646 in UCS4) and the UTF8 representation of
915 this character set. Conversion between the currently used
916 8bit character set and ISO 10646 will not take place. This is
918 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
920 Add optimized version of `mbrlen' function.
921 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
923 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
925 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
926 This is needed in the wchar.h header.
927 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
928 encoded character to UCS4.
929 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
930 element of `mbstate_t' for initial state.
931 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
932 encoded string to UCS4 string.
933 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
934 character to UTF8 encoded form.
935 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
936 encoded string to UTF8 encoded form.
938 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
940 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
941 variable name, so new a libc with new requirements won't fail to
942 notice an insufficient Linux version.
944 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
946 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
947 instead of 2.0 headers.
949 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
951 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
952 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
954 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
955 before using it in lhs of weak_alias.
957 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
958 Call __nss_lookup when not setting STARTP.
959 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
960 function-calling loop.
962 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
964 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
965 PENDIN, NOFLSH): Undefine these at start if they are already
966 defined to avoid collision with termbits.h.
967 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
968 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
970 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
972 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
973 already defined to float, long double. Use those macros for _Mdouble_
974 defns when including mathcalls.h.
975 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
976 -D_Mlong_double_=double.
978 Add more -lm functions to -lc because ldexp uses them.
979 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
980 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
981 ldexp have both f and l code, and those have f though not l code.
983 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
985 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
986 error is 0. The "placeholder" entries recently added to
987 errno.texi convert to zero since `???/' is at the front of them.
988 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
990 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
991 __const to conform with unistd.h.
993 * stdlib/stdlib.h (random): Declare return type to be int32_t.
995 * string/argz-delete.c (argz_delete): Use memmove instead of
996 memcpy for possibly overlapping strings.
998 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1000 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
1001 storage class. GCC gives an error for non-extern data defns with the
1004 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1006 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
1007 memmove instead of memcpy for possible overlapping strings.
1009 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1011 * libc-symbols.h (weak_function): New macro.
1012 For GCC 2.7+ define as __attribute__ ((weak)).
1013 * elf/dl-minimal.c: Use weak_function as keyword in function defns
1014 instead of weak_symbol (NAME) after the defn.
1015 * stdlib/strtol.c: Likewise.
1016 * stdlib/strtod.c: Likewise.
1017 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1019 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
1020 If this is defined, don't declare _dl_rtld_map as weak, and
1021 don't check for MAP pointing to it. RESOLVE is always null in this
1022 case, so test with #ifdef instead of if.
1024 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
1026 * csu/initfini.c (_init): Likewise.
1027 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
1028 * misc/efgcvt_r.c: Likewise.
1029 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1032 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
1033 It was not used in any assembler code.
1034 (weak_symbol_asm): Renamed to weak_extern_asm.
1035 (weak_extern): New macro replaces weak_symbol for weak extern refs;
1036 define to weak_extern_asm for [!ASSEMBLER].
1038 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1040 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
1041 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
1042 define those now as aliases.
1043 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
1044 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
1045 after GCC weak attribute decl.
1047 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
1048 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
1049 (element printer): Check for elt in ALIAS, instead of special case
1052 * io/Makefile (headers): Add sys/vfs.h.
1053 * io/sys/vfs.h: New file.
1055 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
1056 critical section lock before unlinking dying active resources.
1057 The unlock just before return is right (i.e. old code unlocked twice).
1059 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
1061 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
1062 Use memmove instead of memcpy where overlap is possible (not
1063 necessary using current implementation of memcpy, but...).
1064 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
1066 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
1068 * stdio/linewrap.c (lwupdate): New function, mostly was
1069 __line_wrap_update. Use POINT_COL field instead of POINT.
1070 (__line_wrap_output): Use lwupdate.
1071 (__line_wrap_update): New function.
1072 (ensure_unwrapped, ensure_wrapped): New functions.
1073 (line_wrap_set_lmargin, line_wrap_set_rmargin,
1074 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
1076 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
1077 POINT_COL. Add POINT_OFFS field.
1078 (__line_wrap_update): New decl.
1079 (line_wrap_set_lmargin, line_wrap_set_rmargin,
1080 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
1082 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
1084 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
1086 * login/pututline_r.c (pututline_r): Since we assign RESULT from
1087 lseek now, check that it's >= 0, not == 0.
1089 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
1091 * login/login.c (login): Make a copy of *UT, fill in various
1092 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
1095 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
1096 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
1098 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1100 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
1101 signal during critical section doing interruptible RPC, if
1102 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
1103 before thread_resume. If in critical section, pass 0 for SIGNO to
1104 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
1106 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
1108 * sysdeps/unix/sysv/linux/sys/user.h: New file.
1109 * sysdeps/unix/sysv/linux/Dist: Add it.
1110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
1112 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
1113 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
1114 itself, no need to skip past a NUL.
1116 * nss/nsswitch.h (known_function): Comment fix.
1117 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
1118 directly. Do the lookup and insertion with a single call, and fill in
1119 the tree node afterwards if new.
1120 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
1122 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
1123 (struct timeval): Add bodiless decl for scope.
1125 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
1126 Move struct timespec defn outside [_TIME_H] so it can be got with
1127 #define __need_timespec.
1129 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
1130 for `struct timespec' member names.
1131 (TIMESPEC_TO_TIMEVAL): Likewise.
1133 * nss/Makefile (extra-libs-others): New variable.
1135 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
1136 $(lib) in $(extra-libs-others).
1137 * sunrpc/Makefile (extra-libs-others): New variable.
1138 (librpcsvc-no-lib-dep): Variable removed.
1140 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
1141 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
1143 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
1144 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
1145 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
1146 _dl_rtld_map weak only here.
1148 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
1150 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
1152 * login/utmp.h: Fix typos.
1154 * misc/syslog.c (vsyslog): Use __send instead of send and
1155 __connect instead of connect to avoid name-space collisions (e.g.,
1158 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1160 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
1162 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
1164 * malloc/malloc-size.c (malloc_usable_size): Renamed from
1165 malloc_object_allocation_size.
1166 * malloc/malloc.h: Fix decl.
1168 * sys/select.h: New file, wrapper header.
1170 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
1171 fd_set, associated macros, and select decl.
1173 * sysdeps/posix/isfdtype.c: New file.
1175 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
1177 The latest Japanese proposal for POSIX locales renames the
1178 CHARMAP keyword in locale definition files to CHARCONV.
1179 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
1180 function ctype_is_charmap to ctype_is_charconv.
1181 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
1183 * locale/programs/locfile-token.h: Add definition of token
1185 * locale/programs/locfile.c: Recognize charconv keyword. Rename
1186 lables according to this.
1188 * locale/weight.h (get_weight): Cast constants to prevent
1191 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
1192 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
1195 New stuff described in P1003.1g.
1196 * misc/Makefile (headers): Add sys/select.h.
1197 (routines): Add pselect.
1198 * misc/sys/select.h: New file. Declare select functions and
1199 needed data types and macros.
1200 * sysdeps/generic/pselect.c: New file. Add generic implementation
1201 of pselect() function which uses select().
1203 * posix/getconf.c: Recognize new variables from P1003.1g.
1204 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
1205 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
1206 * posix/unistd.h: Add description of the P1003.1g variables.
1207 * sysdeps/generic/confname.h: Define _SC_* values for new
1209 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
1211 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
1212 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
1214 * sysdeps/stub/sysconf.c (sysconf): Ditto.
1215 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
1216 _POSIX_SELECT since Linux has this.
1218 * socket/Makefile (routines): Add isfdtype.
1219 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
1220 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
1223 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
1225 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1227 * elf/Makefile (LDFLAGS-dl.so): New variable.
1228 (libdl.so): Depend on eval.so.
1229 (distribute): Add eval.c.
1230 * elf/eval.c: New file.
1232 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
1233 in case it wrote fewer than MAXDIGITS chars.
1235 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
1236 newline from flushing full buffer in loop, fix test so no fflush is
1237 done when last byte written exactly fills the buffer.
1239 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
1241 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
1242 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
1244 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
1245 extracting _dl_rtld_map.l_addr.
1247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
1249 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1251 * shlib-versions (*-*-*): Set libnss_db=1.
1253 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1255 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
1257 * rpm/template (%build): Use @prefix@ instead of always /usr.
1258 Set up configparms only if @prefix@ is in fact /usr.
1259 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
1261 * elf/Makefile: Add missing endif.
1263 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
1265 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
1266 (DATABASE): Define this instead of DATAFILE.
1267 * nss/nss_files/files-hosts.c: Likewise.
1268 (hostbyname): Use LOOKUP_NAME macro.
1270 * nss/nss_db/db-XXX.c: New file.
1271 * nss/Makefile (services): Add db.
1272 (libnss_db-inhibit-o): New variable.
1273 (libnss_db-routines): New variable.
1274 (distribute): Append db-XXX.c.
1275 (libnss_db.so): Depend on libdb.so and libnss_files.so.
1276 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
1278 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
1280 (DATAFILE): New macro.
1281 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
1283 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
1284 Pass db key args to DB_LOOKUP.
1285 (DATAFILE): Macro removed.
1286 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
1287 * nss/nss_files/files-service.c: Likewise.
1288 * nss/nss_files/files-pwd.c: Likewise.
1289 * nss/nss_files/files-proto.c: Likewise.
1290 * nss/nss_files/files-grp.c: Likewise.
1291 * nss/nss_files/files-ethers.c: Likewise.
1293 * elf/linux-compat.c: File removed.
1294 * elf/Makefile (distribute): Remove linux-compat.c.
1295 (ld-linux.so.1): Remove target and associated variables.
1297 * sunrpc/xdr.c: Remove malloc decl.
1298 * sunrpc/portmap.c: Likewise.
1300 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
1301 casting abort to fn returning bool_t.
1303 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
1304 the parser function.
1305 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
1306 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
1307 * nss/nss_files/files-grp.c: Likewise.
1309 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
1311 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
1313 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
1314 of ld.so so lookups for that soname find it.
1316 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
1317 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
1319 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
1320 define parse_line function.
1321 (parse_line): #define to _nss_files_parse_pwent and
1322 add extern decl for that.
1324 * nss/nss_files/files-XXX.c (internal_getent): Return
1325 NSS_STATUS_TRYAGAIN for ERANGE error.
1327 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
1328 of null, so next round returns null again instead of bombing. Fix
1331 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
1332 Remove ; after `ENTDATA_DECL (data)'.
1333 Truncate line at strpbrk (line, EOLSET "\n").
1334 (ENTDATA_DECL): Put ; at end.
1335 (MIDLINE_COMMENTS): Macro removed.
1336 * nss/nss_files/files-ethers.c: Pass new argument.
1337 * nss/nss_files/files-hosts.c: Likewise.
1338 * nss/nss_files/files-network.c: Likewise.
1339 * nss/nss_files/files-parse.c: Likewise.
1340 * nss/nss_files/files-proto.c: Likewise.
1341 * nss/nss_files/files-rpc.c: Likewise.
1342 * nss/nss_files/files-service.c: Likewise.
1343 * grp/fgetgrent.c: Likewise.
1344 * pwd/fgetpwent.c: Likewise.
1345 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
1346 fgetpwent.c already defines it.
1347 * nss/nss_files/files-grp.c: Likewise.
1349 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
1350 as well as any matching with l_libname. Fix DT_SONAME lookup to use
1351 string table properly.
1353 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
1354 invoked directly, and l_libname from that if PT_INTERP missing.
1355 Set l_name from l_libname only if not set from argv.
1357 * time/europe, time/northamerica: Updated from ADO 96i.
1359 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1361 * stdio-common/tst-ungetc.c: Include unistd.h.
1363 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
1365 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
1367 * hurd/report-wait.c (describe_number): Make I unsigned long.
1369 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
1370 actually found any entry.
1372 * login/pututline_r.c (pututline_r): If not located after any
1373 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
1374 Lock the file before stating.
1376 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1378 * nss/Makefile (databases): Change host to hosts.
1379 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
1381 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
1383 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
1385 * string/string.h (strndupa): Pass missing arg to strnlen.
1387 * inet/getnetbypt_r.c: Renamed to ...
1388 * inet/getnetbyad_r.c: this; fixed function name.
1389 * inet/getnetbypt.c: Renamed to ...
1390 * inet/getnetbyad.c: this; fixed function name.
1392 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1394 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
1397 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
1399 * login/login.c (login): Initialize DATA so that setutent_r will
1400 actually do something.
1402 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
1404 * resolv/res_hconf.c (strndup): Remove function.
1406 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
1407 using ElfW() instead of Elf32_*.
1409 * sysdeps/unix/sysv/linux/alpha/init-first.h,
1410 sysdeps/unix/sysv/linux/m68k/init-first.h,
1411 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
1412 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
1413 init-first.h to make abstract machine dependent parts of
1416 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
1417 error handling. It's safer that way.
1419 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
1420 Fix by Richard Henderson.
1422 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
1423 typo/extraneous whitespace.
1425 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
1426 determine what integer sizes we're dealing with.
1428 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1430 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
1431 check for signal zero, repair logical sense of test by
1432 parenthesizing correctly.
1434 * hurd/hurdsig.c (_hurd_internal_post_signal): In
1435 check-for-pending signals code, release _hurd_siglock before
1436 jumping to deliver_pending.
1438 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
1440 * configure.in (config_machine): Make ELF the default even for
1441 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
1444 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1446 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
1447 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
1448 member only #ifdef ENTDATA.
1449 (ENTDATA_DECL): New macro.
1450 (LINE_PARSER): Use it for entdata decl.
1451 (parse_list): Find the space for LIST from DATA->linebuffer instead of
1452 from the input LINE, which might not be writable buffer space.
1453 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
1454 [ENTDATA] (parser_stclass): #define to `static inline'.
1455 [!ENDATA] (parser_stclass): #define to empty.
1456 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
1457 function is exported to -lnss_files users.
1459 * string/strndup.c: Add missing arg.
1461 * string/string.h (strndupa): Likewise.
1462 * string/strndup.c (strndup): Always terminate the string.
1464 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1466 * stdio/Makefile (routines): Add vscanf.
1467 * stdio-common/Makefile (routines): Remove vscanf.
1468 * stdio-common/vscanf.c: Move to ...
1469 * stdio/vscanf.c: here.
1471 * rpm/Makefile (headers, install-lib, install-lib.so,
1472 versioned, install-bin, install-sbin, install-data,
1473 install-others): Add $(-VARIABLE).
1475 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1477 * nss/Makefile (databases): New variable.
1478 (routines, libnss_files-routines): Use it.
1479 (subdir-dirs): Compute from $(services).
1481 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
1482 init_module, klogctl): Use EXTRA in the "caller" column so these get
1483 added to unix-extra-syscalls and thus compiled in misc.
1485 * string/Makefile (routines): Add strndup.
1486 * string/strndup.c: New file.
1487 * string/string.h: Declare strndup.
1488 (strndupa): New macro.
1490 * string/string.h: Declare __strdup.
1491 * string/strdup.c: Deansideclized. Define __ name and weak alias.
1493 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
1495 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
1497 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
1499 * grp/initgroups.c (initgroups): De-ansi-fy.
1500 Move declaration of NGROUPS and GROUPS outside #if so that
1501 the code compiles for NGROUPS_MAX != 0.
1503 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
1504 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
1505 ether_ntoa, ether_ntoa_r, and ether_ntoh.
1506 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
1507 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
1508 inet/ether_ntoh.c: New files. Implementation of functions to
1509 handle Ethernet address to host mapping.
1510 * inet/netinet/ether.h: New file. Declare ether_* functions.
1511 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
1513 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
1514 * nss/Makefile (routines): Add ethers-lookup.
1515 (libnss_files-routines): Add files-ethers.
1517 * nss/getXXent_r.c: Don't define set*ent and end*ent function
1520 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
1521 KEEP_STREAM every time called.
1522 (_nss_files_end): Reset KEEP_STREAM here instead.
1523 (internal_getent): If STREAM == NULL try to open instead of
1525 Use cast to prevent warning.
1526 Terminate read line in case the buffer is too small.
1528 * nss/nss_files/files-ethers.c: New file. Implementation of
1529 Ethernet adress<->hostname lookup through files interface.
1531 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
1532 * stdlib/mbtowc.c: Define based on mbrtowc().
1533 * stdlib/wcstombs.c: Define based on wcsrtombs().
1534 * stdlib/wctomb.c: Define based on wcrtomb().
1536 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
1537 unexpected_sizes_in_xdr_u_int.
1539 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
1540 of `struct ether_addr'.
1541 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
1542 declaration of `struct ether_addr'.
1544 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
1545 * wcsmbs/mbsrtowcs.c: Ditto.
1546 * wcsmbs/wcrtomb.c: Ditto.
1547 * wcsmbs/wcsrtombs.c: Ditto.
1549 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
1551 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
1553 * hurd/get-host.c <fcntl.h>: New include.
1554 * hurd/set-host.c <fcntl.h>: New include.
1555 (_hurd_set_host_config): Include NEW in args to dir_link.
1556 Return NWROTE, not NREAD.
1558 * sysdeps/mach/hurd/getcwd.c
1559 (_hurd_canonicalize_directory_name_internal): Don't deallocate
1560 DOTID & DOTDEVID until we're finished with them (we need to keep
1561 them at least until we've fetched the next level of id ports, so
1562 that mach will be able to use the same name if they're the same).
1563 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
1564 jumps to errlose, for those places where such cleanup is needed.
1566 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1568 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
1570 Move DB code into separate -ldb library.
1571 * db/Makefile (extra-libs): New variable, list libdb.
1572 (routines): Renamed to libdb-routines.
1573 * shlib-versions: Add libdb=2.
1575 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
1576 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
1578 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
1579 of strncasecmp. Extend syntax to grok [!foo=bar].
1581 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
1583 * string/string.h: Declare __strncasecmp.
1585 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
1586 (service_alias): Variable removed.
1587 (nss_parse_service_list): New function, broken out of nss_getline.
1588 Remove alias conversion; we will just use symlinks.
1589 (__nss_database_lookup): Take new string arg DEFCONFIG.
1590 If no entry exists, make one with service list parsed from that.
1591 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
1592 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
1593 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
1595 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
1598 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
1600 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
1602 * locale/programs/locale.c (long_options): Short form of
1603 --version option is `-V'.
1604 (main): Recognize `-V' as option, not `-v'.
1605 Call `usage' instead of printing error message for illegal
1607 (usage): Document `-V'.
1609 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
1611 * sysdeps/mach/hurd/getcwd.c
1612 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
1613 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
1615 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1617 * inet/getrpcent.c: Fix macros.
1618 * inet/getrpcent_r.c: Fix macros.
1620 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
1622 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
1624 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1626 * catgets/gencat.c (write_out): Use %Zu to print variables of type
1628 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
1629 cast it to (unsigned long) to make it work both on 32 and 64
1632 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1634 * locale/Makefile (distribute): Add `programs/' prefix to all
1635 files in that directory.
1637 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
1640 * MakeTAGS (sources, headers): Make them simply expanded variables
1641 so that all-dist is expanded before it is changed.
1643 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1645 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
1646 * Makefile (subdirs): Remove crypt.
1647 * crypt: Directory removed. It will be made an independent library
1650 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
1652 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
1654 * inet/getrpcbynumber.c (BUFLEN): New macro.
1656 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
1658 * Makefile (headers): Add libc-lock.h.
1659 * sysdeps/stub/libc-lock.h: New file.
1661 * inet/getrpcbynumber.c: Remove _r typo.
1663 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
1665 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
1668 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
1669 or doesn't mention DATABASE, use an internal default equivalent to
1670 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
1671 (nss_lookup_function): Call nss_new_service as needed.
1672 (nss_parse_file): Don't bother calling nss_new_service here.
1674 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
1675 * pwd/fgetpwent.c: Likewise.
1677 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
1678 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
1679 * malloc/malloc-size.c: New file.
1680 * malloc/malloc-walk.c: New file.
1682 * malloc/malloc-find.c (malloc_find_object_address): Return null if
1683 PTR is outside the heap.
1685 * elf/dl-load.c (_dl_map_object): If the requested name matches the
1686 soname of a loaded object, use that object.
1688 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1690 * Makefile (subdirs): Add nss.
1692 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
1693 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
1694 * inet/getrpcbynumber_r.c: New file.
1695 * inet/getrpcbynumber.c: New file.
1696 * inet/getrpcbyname.c: New file.
1697 * inet/getrpcbyname_r.c: New file.
1698 * inet/getrpcent_r.c: New file.
1699 * inet/getrpcent.c: New file.
1700 * nss/rpc-lookup.c: New file.
1701 * nss/nss_files/files-rpc.c: New file.
1702 * nss/Makefile (routines): Add rpc-lookup.
1703 (libnss_files-routines): Add files-rpc.
1704 * sunrpc/Makefile (routines): Remove getrpcent.
1705 * sunrpc/getrpcent.c: File removed.
1707 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
1710 * Makeconfig (rpath-link): Add $(nssobjdir).
1711 (nssobjdir): New variable.
1713 * Makerules: Move shared library building before objects rules, so
1714 versions are known before extra-lib.mk gets included.
1715 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
1717 * pwd/getpwuid.c: Rewritten using nss.
1718 * pwd/getpwnam.c: Likewise.
1719 * pwd/getpwent.c: Likewise.
1720 * grp/getgrnam.c: Likewise.
1721 * grp/getgrgid.c: Likewise.
1722 * grp/getgrent.c: Likewise.
1723 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
1724 * pwd/getpwent_r.c: New file.
1725 * pwd/getpwnam_r.c: New file.
1726 * pwd/getpwuid_r.c: New file.
1727 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
1728 * grp/getgrnam_r.c: New file.
1729 * grp/getgrgid_r.c: New file.
1730 * grp/getgrent_r.c: New file.
1731 * grp/Makefile (routines): Remove grpopen, grpread.
1732 * pwd/Makefile (routines): Remove pwdopen, pwdread.
1733 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
1735 * pwd/fgetpwent.c: Rewritten using files-parse.c.
1736 * grp/fgetgrent.c: Likewise.
1738 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
1739 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
1740 * nss/nss_files/files-grp.c: New file.
1741 * nss/nss_files/files-pwd.c: New file.
1743 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
1745 * nss/nss_files/files-parse.c: New file.
1746 * nss/nss_files/files-XXX.c: New file.
1747 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
1748 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
1749 Rewritten using them.
1751 * nss/Makefile (libnss_files-routines): Remove files-host.
1752 Add files-hosts, files-grp, files-pwd.
1754 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
1756 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
1758 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1759 A .plt entry now loads the .rela.plt offset directly rather
1760 than making us calculate it.
1762 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1764 * time/Makefile ($(installed-localtime-file) rule): Do
1765 $(make-target-directory) first.
1767 * resolv.h: Fix wrapper for resolv/resolv.h.
1769 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
1770 Compile dummy file and pass -nostdlib -nostartfiles so as not to
1771 require installed libraries.
1773 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
1776 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
1778 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
1779 and mapv4v6hostent.h.
1780 (routines): Move res* and gethnamaddr into libresolv-routines.
1781 (libresolv-routines): New variable, put them there.
1782 (extra-libs): New variable, list libresolv.
1783 (CPPFLAGS): Add -D for get*by* to res_get*by*.
1785 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
1787 * inet/herrno.c: New file.
1789 * resolv/res_init.c: Remove res_hconf calls.
1791 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
1792 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
1793 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
1794 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
1795 nss/service-lookup.c: New files. Implementation of name
1796 service switch, following the approach in Solaris.
1797 Interface specification and general structure inspired by Peter
1798 Eriksson <pen@lysator.liu.se>.
1799 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
1800 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
1801 Implementation of libnss_files.so module for file based databases
1803 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
1804 if libnss_dns.so module for DNS name lookup in NSS service.
1806 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
1807 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
1808 Changed to serve as interface to NSS.
1809 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
1810 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
1811 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
1812 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
1813 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
1814 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
1815 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
1816 interfaces to NSS, including reentrant functions.
1818 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
1819 resolv/sethostent.c: Removed: Obsoleted by NSS.
1821 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
1822 gethnamaddr.c. These private functions are now used in more
1825 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
1827 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1829 * rpm/Makefile ($(config)): Make sure the word list in the for
1830 loop is syntactically non-empty.
1832 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1834 * Version 1.92 test release.
1836 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
1838 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
1839 to klogctl to match prototype in sys/klog.h.
1841 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
1842 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
1844 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
1845 Remove. Code is now part of __getcwd again. The old function
1846 never really worked for anything but THISDIR==".".
1848 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
1849 only when building ELF version of library.
1851 * libio/libioP.h (_IO_vscanf): Add prototype.
1853 * posix/unistd.h (syscall): Change sysno arg and return value
1856 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1858 * version.h (VERSION): Updated to 1.92.
1860 * misc/Makefile (headers): Add ar.h.
1861 * misc/ar.h: New file.
1863 * config.make.in (BUILD_CC): New variable.
1864 * configure.in: Check for BUILD_CC if $host != $build.
1866 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
1868 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
1869 (stamp$o files): New targets, create them empty, no deps.
1871 * rpm/template (Source): New field.
1872 (%prep, %build, %install): New sections.
1873 (%files): Add %doc FAQ NEWS NOTES README.
1874 * rpm/rpmrc (builddir): Removed.
1876 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1878 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
1879 guessing to not assume p_vaddr of first load cmd is zero.
1881 * sysdeps/sparc/elf/start.S: New file.
1882 * sysdeps/sparc/dl-machine.h: New file.
1884 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
1885 only for ?s, not for *s. Fix from Chet Ramey.
1887 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
1888 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
1889 Use __{BEGIN,END}_DECLS.
1890 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
1891 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
1892 New macros, moved here from sysdeps/gnu/utmpbits.h.
1893 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
1894 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
1895 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
1896 Use sizeof instead of UT_*SIZE.
1897 * login/logwtmp.c: Likewise.
1899 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
1901 * version.c (banner): Add trailing newline.
1903 * login/utmp.h: Declare login_tty.
1905 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
1907 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
1908 Changed to a 12-byte PLT entry to remove dependency on $gp.
1909 Take a new got_addr parameter.
1910 (elf_machine_rela): Pass the new parameter.
1911 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
1912 (RTLD_START): Do normal linkage with program entry.
1914 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
1916 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
1918 * hurd/getuids.c (getuids): New weak link to __getuids.
1920 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
1922 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
1923 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
1925 Rename nested function lookup to lookup_op.
1926 (__file_name_lookup, __file_name_lookup_under):
1927 Pass 0 for lookup arg to __hurd_file_name_lookup.
1928 (__file_name_split): Likewise for __hurd_file_name_split.
1929 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
1930 Rename nested function lookup to scan_lookup.
1931 (file_name_path_lookup): Pass 0 for lookup arg to
1932 hurd_file_name_path_lookup.
1933 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
1934 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
1935 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
1936 Add LOOKUP argument.
1937 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
1938 __hurd_file_name_lookup.
1940 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1942 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
1943 up a huge list just to discard most of it.
1945 * configure.in (sysnames): Avoid fgrep by using the case shell
1948 * Makeconfig (config.status): Fix dependency on Implies files.
1950 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1952 * math/Makefile (distribute): Add ieee-math.c.
1954 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
1956 * locale/codeset_name.c: New file. Provide function for information
1957 about currently used character set.
1958 * locale/Makefile (routines): Add codeset_name.
1959 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
1960 * locale/localeinfo.h: Change magic number because of incompatible
1962 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
1963 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
1965 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
1966 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
1968 * locale/setlocale.c (setlocale): Initialize local variables to
1971 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
1973 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
1975 * locale/programs/locale.c: Include string.h.
1977 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
1978 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
1979 appropriate sign-extension is performed on machines with
1982 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
1983 sizeof(int)<sizeof(long), we need to go through a temporary
1986 * locale/programs/ld-numeric.c: Include <alloca.h>
1988 * libio/stdio.h (__libc_fatal): Add prototype.
1990 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
1993 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
1994 volatile to avoid "might get clobbered by longjmp" warning.
1996 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
1997 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
1998 probability is a sure loser).
1999 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
2001 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
2002 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
2004 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
2005 to be Linux FSSTND compliant.
2007 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
2009 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
2011 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
2012 sysdeps/unix/sysv/linux/alpha/brk.S,
2013 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
2014 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
2015 sysdeps/unix/sysv/linux/alpha/llseek.S,
2016 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
2017 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
2018 __syscall_error to avoid intruding application name space.
2020 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
2021 to SYS_get?id so that syscall stubs in sysdeps/unix define
2022 these syscalls in terms of getxpid/getxuid/getxgid.
2024 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
2025 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
2026 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
2027 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
2029 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
2030 (PSEUDO_END): Rename END() to PSEUDO_END().
2032 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
2033 to PSEUDO_END to improve branch-prediction. Include .frame
2034 directive to make syscalls debugabble.
2035 (PSEUDO_END): New macro.
2037 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
2038 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
2039 latter is illegal under DEC Unix.
2041 * sysdeps/unix/alpha/sysdep.S: Renamed from
2042 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
2044 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
2045 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
2046 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
2048 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
2049 address register in the .frame directive.
2051 * sysdeps/alpha/copysign.c: Remove.
2053 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
2054 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
2056 * errno.h: Move __END_DECLS to correct place to make file
2057 compilable under c++.
2059 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
2060 d_ino only if <direntry.h> hasn't defined d_fileno.
2062 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
2063 arguments to weakext to make .weakext detection work on ECOFF systems.
2065 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
2066 that _validuser() has been replaced by __ivaliduser().
2068 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
2070 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
2071 as unsigned long, not as int (to avoid incorrect int->long
2076 See ChangeLog.5 for earlier changes.