1 Sat Jul 20 07:15:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3 * crypt/Makefile, crypt/nocrypt.c: Removed. It is illegal to export
4 from the USA any software that even makes it easy to drop in an
5 encryption module of foreign origin.
6 * Makerules (cryptobjdir): Variable removed.
7 ($(libdir)/libc.so): Remove dep on libcrypt.so$(libcrypt.so-version).
8 * Makefile (subdirs): Remove crypt.
10 Fri Jul 19 15:45:20 1996 Ulrich Drepper <drepper@cygnus.com>
12 * locale/C-messages.c (_nl_C_LC_MESSAGES): Add missing Kleene
13 operator to yesexpr and noexpr string.
15 Fri Jul 19 15:10:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
17 * sunrpc/xdr_mem.c (xdrmem_putlong): Don't cast LP to int32 (the
18 old code would have failed on a big-endian 64-bit architecture).
19 * sunrpc/xdr_stdio.c (xdrstdio_putlong): Ditto.
21 * sunrpc/xdr.c (xdr_int): Handle XDR_FREE case.
22 (xdr_u_long): Use switch instead of chain of if-statements.
23 Remove gratitous parentheses around return expressions.
24 (xdr_enum): Open code case where INT_MAX<LONG_MAX.
26 * sunrpc/svc.c (svc_getreqset): Increment SOCK by 32, not NFDBITS.
28 * sunrpc/portmap.c (reg_service): Declare ANS and PORT as long,
31 Fri Jul 19 16:56:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
33 * dlfcn.h, db.h: New wrapper headers.
35 * posix/glob.h [!_AMIGA && !VMS]: Check this instead of just [!_AMIGA]
36 for `struct stat;' forward decl.
38 Fri Jul 19 22:25:19 1996 Ulrich Drepper <drepper@cygnus.com>
40 * locale/iso-4217.def: Add some more standardized currency
43 Fri Jul 19 13:18:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
45 * hurd/report-wait.c (describe_number): Use unsigned long int for J.
47 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com>
49 * Rules (dummy.o, empty.o): Targets removed.
50 (dummy.c, empty.c): New targets replace them.
52 Thu Jul 18 11:42:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
54 * crypt/Makefile (lib-noranlib): Depend on
55 $(objpfx)libcrypt.so$(libcrypt.so-version).
58 Thu Jul 18 04:33:21 1996 Roland McGrath <roland@baalperazim.frob.com>
60 * sysdeps/mach/hurd/errnos.awk: Move EWOULDBLOCK check before errno==0
61 check. mib's clueless hacking broke it.
63 Thu Jul 18 04:27:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
65 * Makerules ($(libdir)/libc.so): Add missing / after $(cryptobjdir).
67 Wed Jul 17 10:54:20 1996 David Mosberger-Tang <davidm@azstarnet.com>
69 * misc/sys/ustat.h: New file.
70 * misc/ustat.h: Ditto.
71 * sysdeps/generic/ustatbits.h: Ditto.
72 * sysdeps/stub/ustat.c: Ditto.
73 * sysdeps/unix/sysv/linux/ustatbits.h: Ditto.
74 * misc/Makefile (headers): Mention ustat.h, sys/ustat.h, and
76 (routines): Mention ustat.
78 * sysdeps/unix/sysv/linux/alpha/start.S: Move to ...
79 * sysdeps/alpha/elf/start.S: here.
81 * sysdeps/unix/sysv/linux/syscalls.list: Mention klogctl in
82 alphabetically correct place. Mention ustat.
84 * sysdeps/unix/alpha/sysdep.S: Make errno a bss symbol, not a
85 common symbol (makes errno accessible from gdb).
87 * login/pututline_r.c (pututline_r): Test ut_id in repositioning
90 * login/logwtmp.c (logwtmp): Reimplemented. Must ensure that a
91 record always gets appended at end of file (wtmp is a log file,
92 after all). Set ut_type to DEAD_PROCESS if name is empty.
94 * login/getutid_r.c (getutid_r): Handle search for UT_TYPE in
95 separate loop from search for UT_ID. Fix code so it is in
96 sync with Unix man page.
98 * login/getutline_r.c (getutline_r): Stop searching only if
99 ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS.
101 Tue Jul 16 15:06:18 1996 David Mosberger-Tang <davidm@azstarnet.com>
103 * sysdeps/unix/sysv/linux/netinet/in.h: Base on <linux/in.h> to
104 avoid duplicate declarations.
106 Sun Jul 14 19:08:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
108 * manual/maint.texi (Supported Configurations): Add alpha-gnu-linux
109 and alpha-gnu-linuxecoff targets.
111 Fri Jul 12 16:58:44 1996 David Mosberger-Tang <davidm@azstarnet.com>
113 * sysdeps/unix/sysv/linux/netinet/in.h: Declare bindresvport().
115 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
117 * resolv/res_send.c (res_send): Declare FROMLEN as size_t instead
120 * resolv/res_comp.c (res_hnok): Use empty statement in place
121 of NULL (which generates a "useless expression" warning in
124 Wed Jul 17 23:56:35 1996 Roland McGrath <roland@baalperazim.frob.com>
126 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Replace ../
127 with $(..) in output.
129 Wed Jul 17 21:53:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
131 * elf/Makefile (dl-routines): Add dl-cache.
132 * elf/dl-cache.c: New file.
133 * elf/dl-load.c (_dl_map_object): Check cache before default path.
135 Wed Jul 17 20:41:30 1996 Ulrich Drepper <drepper@cygnus.com>
137 * stdio-common/vfscanf.c: Major change. Now read character
138 from stream only if needed. Before it was read after the
139 previous character was used.
140 Bug reported by Martin Goik <goma0002@FH-Karlsruhe.DE>
142 * stdio-common/tstscanf.c: Change test program so that return
143 value is != 0 if one test failed.
145 Wed Jul 17 17:08:48 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
147 * sysdeps/m68k/Makefile (crypt): Variable removed.
148 * sysdeps/sparc/Makefile: Likewise.
150 * version.h (VERSION): Update to 1.93.
152 * Makerules ($(libdir)/libc.so): Depend on
153 $(common-objpfx)libcrypt.so$(libcrypt.so-version).
155 * crypt/nocrypt.c: New file.
156 * Makefile (subdirs): Add crypt.
157 * crypt/Makefile: New file.
159 * Makerules (soversions.mk): Move this target, include of it, and
160 include of version.mk to ...
161 * Makeconfig: ... here.
162 (soversions.mk): Depend on Makeconfig instead of Makerules.
164 * shlib-versions (*-*-*): Set libcrypt=0.
166 Wed Jul 17 11:29:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
168 * stdio/linewrap.c (lwupdate): Fix boundary condition where a
169 word extends right up to rmargin.
171 * stdio/linewrap.c (lwupdate): When we've done a word wrap and
172 output the wrap margin, set point_col to wmargin.
173 Use negative point_col to deal with a wmargin of 0.
174 (line_wrap_point): Return 0 for a negative point_col.
175 (line_wrap_stream): Make wmargin ssize_t.
176 * stdio/linewrap.h (struct line_wrap_data): Make wmargin &
178 (line_wrap_stream): Make wmargin ssize_t.
179 (line_wrap_point): Return 0 for a negative point_col.
181 Wed Jul 17 02:43:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
183 * shlib-versions (*-*-gnu*): Set libc=0.0
185 Tue Jul 16 01:52:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
187 * sysdeps/m68k/dl-machine.h: Follow Jul 14 change in
188 sysdeps/i386/dl-machine.h.
190 Tue Jul 16 00:18:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
192 * stdio/linewrap.c (__line_wrap_update): Add hackery from flshfp
193 to fiddle __put_limit in conjunction with __linebuf_active.
195 Tue Jul 16 00:14:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
197 * sysdeps/unix/inet/syscalls.list (connect, send): Add underscores
198 to the strong name, not the file name.
200 Tue Jul 16 16:43:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
202 * csu/initfini.c: More magic. Detect if .end is produced and put it
203 in the output iff the compiler does.
205 * elf/dl-lookup.c (_dl_lookup_symbol): Avoid sizeof dynamic auto array
206 because that is broken on alpha.
208 * sysdeps/mach/hurd/mmap.c: Use same inheritance arg in second vm_map
211 * Makerules (make-link): Install the new link with atomic mv -f in
212 case ln itself requires the library being installed.
214 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
216 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
217 i386/dl-machine.h of 960713.
219 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
220 (_dl_sysdep_read_whole_file): Fix result variable declaration.
222 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
224 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
227 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
229 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
230 with pointer to local variable instead of NULL.
232 1996-07-15 Paul Eggert <eggert@twinsun.com>
234 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
236 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
238 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
239 that are already added by other means.
241 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
242 caller column to get those syscalls added automagically.
244 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
246 * login/logout.c (logout): Initialize DATA to a state that will
247 make setutent_r happy.
249 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
251 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
252 instead of setting the DT_DEBUG pointer.
254 * csu/initfini.c (_init, _fini): Generate .end directives after
255 standalone prologues and filter them out from epilogues.
257 * Makeconfig (rtld-installed-name): Set to ld.so.1.
258 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
261 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
263 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
265 * MakeTAGS (extract): Pass --add-comments=TRANS.
266 * sysdeps/gnu/errlist.awk: Write comments into the output with the
267 descriptive paragraphs from the manual preceded by TRANS.
269 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
270 (_dl_start): Move RESOLVE defn inside this function and #include
271 "dynamic-link.h" a second time there.
272 [RTLD_START]: Move use of this after _dl_start function.
274 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
276 * elf/rtld.c: Include <string.h>.
278 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
279 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
280 Conditionalize defns on [RESOLVE].
281 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
282 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
283 Instead use RESOLVE macro with same args.
284 (elf_machine_rel): Conditionalize defn on [RESOLVE].
285 * elf/dl-reloc.c (RESOLVE): New macro, define before including
286 "dynamic-link.h". It replaces `resolve' local function.
287 * elf/dl-runtime.c: Likewise.
288 * elf/rtld.c: Likewise.
290 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
292 * elf/dl-open.c (_dl_open): Force an indirect call for
293 _dl_relocate_object so there is no chance a PLT fixup will be done
294 and clobber _dl_global_scope before our call happens.
296 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
297 to =t; must operate on top of fp reg stack, not second from top.
298 Correct input constraint to 0 from t; must be explicit when input and
299 output are the same register.
300 (floor): Use __volatile instead of volatile.
303 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
306 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
308 * manual/Makefile (lib): New phony target. Depend on stamp files.
309 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
311 1996-07-13 Paul Eggert <eggert@twinsun.com>
313 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
314 to match Emacs format-time-string specification.
315 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
317 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
319 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
320 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
321 between MAP and its deps.
322 * elf/link.h: Fix decl.
323 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
324 colon-separated list of names, map those and pass vector of ptrs as
325 PRELOADS list to _dl_map_object_deps.
326 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
327 _dl_map_object_deps with empty preload list.
328 * elf/dl-open.c (_dl_open): Likewise.
330 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
332 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
333 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
334 Conditionalize defn on [! MAP_ANON].
335 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
337 * elf/rtld.c (dl_main): Likewise.
338 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
339 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
341 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
343 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
345 * stdlib/random.c (__random): Declare as int32_t to be in sync
348 * socket/Makefile (headers): Add socketbits.h.
350 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
353 * grp/initgroups.c (initgroups): Add groups that user is a member
354 of, not the ones he is _not_ a member of.
356 * nss/nsswitch.c (known_compare): Make known_compare() a static
357 instead of a local function. The latter are difficult to debug
358 and slow to execute on certain platforms.
360 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
361 place of sizeof (dev). The size of a literal string includes the
364 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
366 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
368 * misc/mntent.c (addmntent): Seek to end of file before writing
369 entry. Return 1 on error, not -1.
371 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
373 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
376 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
378 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
379 shift amount for Jensen must be 5 not 4.
381 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
383 * socket/sys/socket.h (struct osockaddr): New type.
385 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
387 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
388 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
389 and `long double' versions can be generated.
390 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
391 so that included efgcvt{,_r}.c file generate `long double'
393 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
396 * manual/startup.texi: Document new getsubopt function.
397 * manual/examples/subopt.c: New example program for documenting
400 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
402 * stdlib/Makefile (routines): Add getsubopt.
403 * stdlib/stdlib.h: Add prototype for getsubopt.
404 * stdlib/getsubopt.c: New file. Implement getsubopt function
405 to handle suboption parsing.
407 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
409 * inet/getnetent_r.c: Define NEED_H_ERRNO.
410 * inet/getnetbynm_r.c: Likewise.
411 * inet/getnetent.c: Likewise.
412 * inet/getnetbyad_r.c: Likewise.
413 * inet/getnetbyad.c: Likewise.
414 * inet/getnetbynm.c: Likewise.
416 * sysdeps/generic/pselect.c: Include <sys/time.h>.
418 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
421 * math/Makefile (calls): Add s_frexp, s_ldexp.
422 (routines): Remove them and &f from here.
424 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
426 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
429 * nss/nss_files/files-XXX.c: Comment fix.
431 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
433 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
434 of reentrant function.
435 (setup): Pass additional argument with function name we are
437 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
438 new argument {SET,END,GET}FUNC_NAME_STRING.
440 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
443 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
445 * nss/nss_files/files-parse.c: Add comment about things to #define.
447 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
449 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
450 terminator char as an error.
452 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
454 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
456 * catgets/gencat.c (write_out): Move code to determine new
457 best size out of inner loop.
459 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
461 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
462 implementation of frexp() function.
463 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
464 implementation of ldexp() function.
466 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
469 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
471 * misc/mntent.c: Include <sys/types.h>.
472 (endmntent): Return 1 one success, 0 on failure.
473 (getmntent): Chop newline and ignore empty lines.
475 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
477 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
478 differently based on [RTLD_BOOTSTRAP].
479 (elf_machine_rela): Use it instead of the fn ptr arg directly.
481 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
483 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
484 __glob_closedir_hook): Remove decls.
486 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
488 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
489 for send and connect syscalls.
491 * socket/sys/socket.h: New file, taken from non-sysdep parts of
492 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
493 Declare __ names for send and connect.
494 * sysdeps/generic/socketbits.h: New file.
495 * sysdeps/unix/sysv/linux/socketbits.h: New file.
496 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
497 * sysdeps/generic/sys/socket.h: File removed.
499 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
500 * sysdeps/mach/hurd/send.c: Likewise.
502 * sysdeps/mach/libc-lock.h: New file.
503 * sysdeps/unix/readdir.c: Do locking.
504 * sysdeps/unix/seekdir.c: Likewise.
505 * sysdeps/unix/rewinddir.c: Likewise.
506 * sysdeps/unix/closedir.c: Likewise.
507 * sysdeps/unix/bsd/telldir.c: Likewise.
508 * sysdeps/mach/hurd/seekdir.c: Likewise.
509 * sysdeps/mach/hurd/readdir.c: Likewise.
510 * sysdeps/mach/hurd/closedir.c: Likewise.
511 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
512 * sysdeps/unix/opendir.c: Likewise.
513 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
514 (struct __dirstream): Add lock member using __libc_lock_define.
515 * sysdeps/unix/dirstream.h: Likewise.
517 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
519 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
521 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
523 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
525 * locale/programs/stringtrans.c: Fix typo in copyright.
527 * stdio-common/printf-prs.c: Add casts to prevent
528 signed<->unsigned warnings.
530 * stdio-common/printf-parse.h: Initialize state variable before
532 * stdio-common/printf-prs.c: Don't initialize state variable here.
533 * stdio-common/vfprintf.c: Don't initialize state variable.
534 (vfprintf): While determining length of multibyte string don't
535 try to be clever in determining characters to use for first
538 Add real implementation of multibyte<->wide char conversion
539 functions. The functions always convert between the fixed wide
540 char format (ISO 10646 in UCS4) and the UTF8 representation of
541 this character set. Conversion between the currently used
542 8bit character set and ISO 10646 will not take place. This is
544 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
546 Add optimized version of `mbrlen' function.
547 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
549 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
551 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
552 This is needed in the wchar.h header.
553 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
554 encoded character to UCS4.
555 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
556 element of `mbstate_t' for initial state.
557 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
558 encoded string to UCS4 string.
559 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
560 character to UTF8 encoded form.
561 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
562 encoded string to UTF8 encoded form.
564 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
566 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
567 variable name, so new a libc with new requirements won't fail to
568 notice an insufficient Linux version.
570 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
572 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
573 instead of 2.0 headers.
575 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
577 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
578 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
580 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
581 before using it in lhs of weak_alias.
583 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
584 Call __nss_lookup when not setting STARTP.
585 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
586 function-calling loop.
588 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
590 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
591 PENDIN, NOFLSH): Undefine these at start if they are already
592 defined to avoid collision with termbits.h.
593 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
594 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
596 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
598 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
599 already defined to float, long double. Use those macros for _Mdouble_
600 defns when including mathcalls.h.
601 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
602 -D_Mlong_double_=double.
604 Add more -lm functions to -lc because ldexp uses them.
605 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
606 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
607 ldexp have both f and l code, and those have f though not l code.
609 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
611 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
612 error is 0. The "placeholder" entries recently added to
613 errno.texi convert to zero since `???/' is at the front of them.
614 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
616 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
617 __const to conform with unistd.h.
619 * stdlib/stdlib.h (random): Declare return type to be int32_t.
621 * string/argz-delete.c (argz_delete): Use memmove instead of
622 memcpy for possibly overlapping strings.
624 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
626 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
627 storage class. GCC gives an error for non-extern data defns with the
630 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
632 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
633 memmove instead of memcpy for possible overlapping strings.
635 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
637 * libc-symbols.h (weak_function): New macro.
638 For GCC 2.7+ define as __attribute__ ((weak)).
639 * elf/dl-minimal.c: Use weak_function as keyword in function defns
640 instead of weak_symbol (NAME) after the defn.
641 * stdlib/strtol.c: Likewise.
642 * stdlib/strtod.c: Likewise.
643 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
645 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
646 If this is defined, don't declare _dl_rtld_map as weak, and
647 don't check for MAP pointing to it. RESOLVE is always null in this
648 case, so test with #ifdef instead of if.
650 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
652 * csu/initfini.c (_init): Likewise.
653 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
654 * misc/efgcvt_r.c: Likewise.
655 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
656 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
658 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
659 It was not used in any assembler code.
660 (weak_symbol_asm): Renamed to weak_extern_asm.
661 (weak_extern): New macro replaces weak_symbol for weak extern refs;
662 define to weak_extern_asm for [!ASSEMBLER].
664 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
666 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
667 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
668 define those now as aliases.
669 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
670 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
671 after GCC weak attribute decl.
673 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
674 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
675 (element printer): Check for elt in ALIAS, instead of special case
678 * io/Makefile (headers): Add sys/vfs.h.
679 * io/sys/vfs.h: New file.
681 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
682 critical section lock before unlinking dying active resources.
683 The unlock just before return is right (i.e. old code unlocked twice).
685 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
687 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
688 Use memmove instead of memcpy where overlap is possible (not
689 necessary using current implementation of memcpy, but...).
690 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
692 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
694 * stdio/linewrap.c (lwupdate): New function, mostly was
695 __line_wrap_update. Use POINT_COL field instead of POINT.
696 (__line_wrap_output): Use lwupdate.
697 (__line_wrap_update): New function.
698 (ensure_unwrapped, ensure_wrapped): New functions.
699 (line_wrap_set_lmargin, line_wrap_set_rmargin,
700 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
702 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
703 POINT_COL. Add POINT_OFFS field.
704 (__line_wrap_update): New decl.
705 (line_wrap_set_lmargin, line_wrap_set_rmargin,
706 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
708 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
710 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
712 * login/pututline_r.c (pututline_r): Since we assign RESULT from
713 lseek now, check that it's >= 0, not == 0.
715 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
717 * login/login.c (login): Make a copy of *UT, fill in various
718 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
721 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
722 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
724 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
726 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
727 signal during critical section doing interruptible RPC, if
728 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
729 before thread_resume. If in critical section, pass 0 for SIGNO to
730 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
732 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
734 * sysdeps/unix/sysv/linux/sys/user.h: New file.
735 * sysdeps/unix/sysv/linux/Dist: Add it.
736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
738 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
739 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
740 itself, no need to skip past a NUL.
742 * nss/nsswitch.h (known_function): Comment fix.
743 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
744 directly. Do the lookup and insertion with a single call, and fill in
745 the tree node afterwards if new.
746 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
748 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
749 (struct timeval): Add bodiless decl for scope.
751 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
752 Move struct timespec defn outside [_TIME_H] so it can be got with
753 #define __need_timespec.
755 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
756 for `struct timespec' member names.
757 (TIMESPEC_TO_TIMEVAL): Likewise.
759 * nss/Makefile (extra-libs-others): New variable.
761 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
762 $(lib) in $(extra-libs-others).
763 * sunrpc/Makefile (extra-libs-others): New variable.
764 (librpcsvc-no-lib-dep): Variable removed.
766 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
767 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
769 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
770 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
771 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
772 _dl_rtld_map weak only here.
774 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
776 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
778 * login/utmp.h: Fix typos.
780 * misc/syslog.c (vsyslog): Use __send instead of send and
781 __connect instead of connect to avoid name-space collisions (e.g.,
784 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
786 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
788 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
790 * malloc/malloc-size.c (malloc_usable_size): Renamed from
791 malloc_object_allocation_size.
792 * malloc/malloc.h: Fix decl.
794 * sys/select.h: New file, wrapper header.
796 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
797 fd_set, associated macros, and select decl.
799 * sysdeps/posix/isfdtype.c: New file.
801 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
803 The latest Japanese proposal for POSIX locales renames the
804 CHARMAP keyword in locale definition files to CHARCONV.
805 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
806 function ctype_is_charmap to ctype_is_charconv.
807 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
809 * locale/programs/locfile-token.h: Add definition of token
811 * locale/programs/locfile.c: Recognize charconv keyword. Rename
812 lables according to this.
814 * locale/weight.h (get_weight): Cast constants to prevent
817 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
818 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
821 New stuff described in P1003.1g.
822 * misc/Makefile (headers): Add sys/select.h.
823 (routines): Add pselect.
824 * misc/sys/select.h: New file. Declare select functions and
825 needed data types and macros.
826 * sysdeps/generic/pselect.c: New file. Add generic implementation
827 of pselect() function which uses select().
829 * posix/getconf.c: Recognize new variables from P1003.1g.
830 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
831 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
832 * posix/unistd.h: Add description of the P1003.1g variables.
833 * sysdeps/generic/confname.h: Define _SC_* values for new
835 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
837 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
838 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
840 * sysdeps/stub/sysconf.c (sysconf): Ditto.
841 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
842 _POSIX_SELECT since Linux has this.
844 * socket/Makefile (routines): Add isfdtype.
845 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
846 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
849 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
851 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
853 * elf/Makefile (LDFLAGS-dl.so): New variable.
854 (libdl.so): Depend on eval.so.
855 (distribute): Add eval.c.
856 * elf/eval.c: New file.
858 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
859 in case it wrote fewer than MAXDIGITS chars.
861 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
862 newline from flushing full buffer in loop, fix test so no fflush is
863 done when last byte written exactly fills the buffer.
865 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
867 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
868 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
870 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
871 extracting _dl_rtld_map.l_addr.
873 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
875 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
877 * shlib-versions (*-*-*): Set libnss_db=1.
879 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
881 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
883 * rpm/template (%build): Use @prefix@ instead of always /usr.
884 Set up configparms only if @prefix@ is in fact /usr.
885 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
887 * elf/Makefile: Add missing endif.
889 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
891 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
892 (DATABASE): Define this instead of DATAFILE.
893 * nss/nss_files/files-hosts.c: Likewise.
894 (hostbyname): Use LOOKUP_NAME macro.
896 * nss/nss_db/db-XXX.c: New file.
897 * nss/Makefile (services): Add db.
898 (libnss_db-inhibit-o): New variable.
899 (libnss_db-routines): New variable.
900 (distribute): Append db-XXX.c.
901 (libnss_db.so): Depend on libdb.so and libnss_files.so.
902 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
904 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
906 (DATAFILE): New macro.
907 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
909 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
910 Pass db key args to DB_LOOKUP.
911 (DATAFILE): Macro removed.
912 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
913 * nss/nss_files/files-service.c: Likewise.
914 * nss/nss_files/files-pwd.c: Likewise.
915 * nss/nss_files/files-proto.c: Likewise.
916 * nss/nss_files/files-grp.c: Likewise.
917 * nss/nss_files/files-ethers.c: Likewise.
919 * elf/linux-compat.c: File removed.
920 * elf/Makefile (distribute): Remove linux-compat.c.
921 (ld-linux.so.1): Remove target and associated variables.
923 * sunrpc/xdr.c: Remove malloc decl.
924 * sunrpc/portmap.c: Likewise.
926 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
927 casting abort to fn returning bool_t.
929 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
931 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
932 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
933 * nss/nss_files/files-grp.c: Likewise.
935 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
937 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
939 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
940 of ld.so so lookups for that soname find it.
942 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
943 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
945 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
946 define parse_line function.
947 (parse_line): #define to _nss_files_parse_pwent and
948 add extern decl for that.
950 * nss/nss_files/files-XXX.c (internal_getent): Return
951 NSS_STATUS_TRYAGAIN for ERANGE error.
953 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
954 of null, so next round returns null again instead of bombing. Fix
957 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
958 Remove ; after `ENTDATA_DECL (data)'.
959 Truncate line at strpbrk (line, EOLSET "\n").
960 (ENTDATA_DECL): Put ; at end.
961 (MIDLINE_COMMENTS): Macro removed.
962 * nss/nss_files/files-ethers.c: Pass new argument.
963 * nss/nss_files/files-hosts.c: Likewise.
964 * nss/nss_files/files-network.c: Likewise.
965 * nss/nss_files/files-parse.c: Likewise.
966 * nss/nss_files/files-proto.c: Likewise.
967 * nss/nss_files/files-rpc.c: Likewise.
968 * nss/nss_files/files-service.c: Likewise.
969 * grp/fgetgrent.c: Likewise.
970 * pwd/fgetpwent.c: Likewise.
971 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
972 fgetpwent.c already defines it.
973 * nss/nss_files/files-grp.c: Likewise.
975 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
976 as well as any matching with l_libname. Fix DT_SONAME lookup to use
977 string table properly.
979 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
980 invoked directly, and l_libname from that if PT_INTERP missing.
981 Set l_name from l_libname only if not set from argv.
983 * time/europe, time/northamerica: Updated from ADO 96i.
985 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
987 * stdio-common/tst-ungetc.c: Include unistd.h.
989 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
991 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
993 * hurd/report-wait.c (describe_number): Make I unsigned long.
995 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
996 actually found any entry.
998 * login/pututline_r.c (pututline_r): If not located after any
999 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
1000 Lock the file before stating.
1002 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1004 * nss/Makefile (databases): Change host to hosts.
1005 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
1007 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
1009 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
1011 * string/string.h (strndupa): Pass missing arg to strnlen.
1013 * inet/getnetbypt_r.c: Renamed to ...
1014 * inet/getnetbyad_r.c: this; fixed function name.
1015 * inet/getnetbypt.c: Renamed to ...
1016 * inet/getnetbyad.c: this; fixed function name.
1018 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1020 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
1023 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
1025 * login/login.c (login): Initialize DATA so that setutent_r will
1026 actually do something.
1028 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
1030 * resolv/res_hconf.c (strndup): Remove function.
1032 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
1033 using ElfW() instead of Elf32_*.
1035 * sysdeps/unix/sysv/linux/alpha/init-first.h,
1036 sysdeps/unix/sysv/linux/m68k/init-first.h,
1037 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
1038 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
1039 init-first.h to make abstract machine dependent parts of
1042 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
1043 error handling. It's safer that way.
1045 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
1046 Fix by Richard Henderson.
1048 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
1049 typo/extraneous whitespace.
1051 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
1052 determine what integer sizes we're dealing with.
1054 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
1056 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
1057 check for signal zero, repair logical sense of test by
1058 parenthesizing correctly.
1060 * hurd/hurdsig.c (_hurd_internal_post_signal): In
1061 check-for-pending signals code, release _hurd_siglock before
1062 jumping to deliver_pending.
1064 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
1066 * configure.in (config_machine): Make ELF the default even for
1067 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
1070 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1072 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
1073 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
1074 member only #ifdef ENTDATA.
1075 (ENTDATA_DECL): New macro.
1076 (LINE_PARSER): Use it for entdata decl.
1077 (parse_list): Find the space for LIST from DATA->linebuffer instead of
1078 from the input LINE, which might not be writable buffer space.
1079 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
1080 [ENTDATA] (parser_stclass): #define to `static inline'.
1081 [!ENDATA] (parser_stclass): #define to empty.
1082 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
1083 function is exported to -lnss_files users.
1085 * string/strndup.c: Add missing arg.
1087 * string/string.h (strndupa): Likewise.
1088 * string/strndup.c (strndup): Always terminate the string.
1090 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1092 * stdio/Makefile (routines): Add vscanf.
1093 * stdio-common/Makefile (routines): Remove vscanf.
1094 * stdio-common/vscanf.c: Move to ...
1095 * stdio/vscanf.c: here.
1097 * rpm/Makefile (headers, install-lib, install-lib.so,
1098 versioned, install-bin, install-sbin, install-data,
1099 install-others): Add $(-VARIABLE).
1101 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1103 * nss/Makefile (databases): New variable.
1104 (routines, libnss_files-routines): Use it.
1105 (subdir-dirs): Compute from $(services).
1107 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
1108 init_module, klogctl): Use EXTRA in the "caller" column so these get
1109 added to unix-extra-syscalls and thus compiled in misc.
1111 * string/Makefile (routines): Add strndup.
1112 * string/strndup.c: New file.
1113 * string/string.h: Declare strndup.
1114 (strndupa): New macro.
1116 * string/string.h: Declare __strdup.
1117 * string/strdup.c: Deansideclized. Define __ name and weak alias.
1119 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
1121 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
1123 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
1125 * grp/initgroups.c (initgroups): De-ansi-fy.
1126 Move declaration of NGROUPS and GROUPS outside #if so that
1127 the code compiles for NGROUPS_MAX != 0.
1129 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
1130 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
1131 ether_ntoa, ether_ntoa_r, and ether_ntoh.
1132 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
1133 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
1134 inet/ether_ntoh.c: New files. Implementation of functions to
1135 handle Ethernet address to host mapping.
1136 * inet/netinet/ether.h: New file. Declare ether_* functions.
1137 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
1139 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
1140 * nss/Makefile (routines): Add ethers-lookup.
1141 (libnss_files-routines): Add files-ethers.
1143 * nss/getXXent_r.c: Don't define set*ent and end*ent function
1146 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
1147 KEEP_STREAM every time called.
1148 (_nss_files_end): Reset KEEP_STREAM here instead.
1149 (internal_getent): If STREAM == NULL try to open instead of
1151 Use cast to prevent warning.
1152 Terminate read line in case the buffer is too small.
1154 * nss/nss_files/files-ethers.c: New file. Implementation of
1155 Ethernet adress<->hostname lookup through files interface.
1157 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
1158 * stdlib/mbtowc.c: Define based on mbrtowc().
1159 * stdlib/wcstombs.c: Define based on wcsrtombs().
1160 * stdlib/wctomb.c: Define based on wcrtomb().
1162 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
1163 unexpected_sizes_in_xdr_u_int.
1165 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
1166 of `struct ether_addr'.
1167 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
1168 declaration of `struct ether_addr'.
1170 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
1171 * wcsmbs/mbsrtowcs.c: Ditto.
1172 * wcsmbs/wcrtomb.c: Ditto.
1173 * wcsmbs/wcsrtombs.c: Ditto.
1175 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
1177 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
1179 * hurd/get-host.c <fcntl.h>: New include.
1180 * hurd/set-host.c <fcntl.h>: New include.
1181 (_hurd_set_host_config): Include NEW in args to dir_link.
1182 Return NWROTE, not NREAD.
1184 * sysdeps/mach/hurd/getcwd.c
1185 (_hurd_canonicalize_directory_name_internal): Don't deallocate
1186 DOTID & DOTDEVID until we're finished with them (we need to keep
1187 them at least until we've fetched the next level of id ports, so
1188 that mach will be able to use the same name if they're the same).
1189 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
1190 jumps to errlose, for those places where such cleanup is needed.
1192 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1194 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
1196 Move DB code into separate -ldb library.
1197 * db/Makefile (extra-libs): New variable, list libdb.
1198 (routines): Renamed to libdb-routines.
1199 * shlib-versions: Add libdb=2.
1201 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
1202 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
1204 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
1205 of strncasecmp. Extend syntax to grok [!foo=bar].
1207 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
1209 * string/string.h: Declare __strncasecmp.
1211 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
1212 (service_alias): Variable removed.
1213 (nss_parse_service_list): New function, broken out of nss_getline.
1214 Remove alias conversion; we will just use symlinks.
1215 (__nss_database_lookup): Take new string arg DEFCONFIG.
1216 If no entry exists, make one with service list parsed from that.
1217 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
1218 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
1219 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
1221 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
1224 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
1226 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
1228 * locale/programs/locale.c (long_options): Short form of
1229 --version option is `-V'.
1230 (main): Recognize `-V' as option, not `-v'.
1231 Call `usage' instead of printing error message for illegal
1233 (usage): Document `-V'.
1235 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
1237 * sysdeps/mach/hurd/getcwd.c
1238 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
1239 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
1241 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1243 * inet/getrpcent.c: Fix macros.
1244 * inet/getrpcent_r.c: Fix macros.
1246 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
1248 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
1250 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1252 * catgets/gencat.c (write_out): Use %Zu to print variables of type
1254 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
1255 cast it to (unsigned long) to make it work both on 32 and 64
1258 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1260 * locale/Makefile (distribute): Add `programs/' prefix to all
1261 files in that directory.
1263 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
1266 * MakeTAGS (sources, headers): Make them simply expanded variables
1267 so that all-dist is expanded before it is changed.
1269 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1271 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
1272 * Makefile (subdirs): Remove crypt.
1273 * crypt: Directory removed. It will be made an independent library
1276 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
1278 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
1280 * inet/getrpcbynumber.c (BUFLEN): New macro.
1282 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
1284 * Makefile (headers): Add libc-lock.h.
1285 * sysdeps/stub/libc-lock.h: New file.
1287 * inet/getrpcbynumber.c: Remove _r typo.
1289 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
1291 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
1294 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
1295 or doesn't mention DATABASE, use an internal default equivalent to
1296 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
1297 (nss_lookup_function): Call nss_new_service as needed.
1298 (nss_parse_file): Don't bother calling nss_new_service here.
1300 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
1301 * pwd/fgetpwent.c: Likewise.
1303 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
1304 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
1305 * malloc/malloc-size.c: New file.
1306 * malloc/malloc-walk.c: New file.
1308 * malloc/malloc-find.c (malloc_find_object_address): Return null if
1309 PTR is outside the heap.
1311 * elf/dl-load.c (_dl_map_object): If the requested name matches the
1312 soname of a loaded object, use that object.
1314 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1316 * Makefile (subdirs): Add nss.
1318 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
1319 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
1320 * inet/getrpcbynumber_r.c: New file.
1321 * inet/getrpcbynumber.c: New file.
1322 * inet/getrpcbyname.c: New file.
1323 * inet/getrpcbyname_r.c: New file.
1324 * inet/getrpcent_r.c: New file.
1325 * inet/getrpcent.c: New file.
1326 * nss/rpc-lookup.c: New file.
1327 * nss/nss_files/files-rpc.c: New file.
1328 * nss/Makefile (routines): Add rpc-lookup.
1329 (libnss_files-routines): Add files-rpc.
1330 * sunrpc/Makefile (routines): Remove getrpcent.
1331 * sunrpc/getrpcent.c: File removed.
1333 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
1336 * Makeconfig (rpath-link): Add $(nssobjdir).
1337 (nssobjdir): New variable.
1339 * Makerules: Move shared library building before objects rules, so
1340 versions are known before extra-lib.mk gets included.
1341 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
1343 * pwd/getpwuid.c: Rewritten using nss.
1344 * pwd/getpwnam.c: Likewise.
1345 * pwd/getpwent.c: Likewise.
1346 * grp/getgrnam.c: Likewise.
1347 * grp/getgrgid.c: Likewise.
1348 * grp/getgrent.c: Likewise.
1349 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
1350 * pwd/getpwent_r.c: New file.
1351 * pwd/getpwnam_r.c: New file.
1352 * pwd/getpwuid_r.c: New file.
1353 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
1354 * grp/getgrnam_r.c: New file.
1355 * grp/getgrgid_r.c: New file.
1356 * grp/getgrent_r.c: New file.
1357 * grp/Makefile (routines): Remove grpopen, grpread.
1358 * pwd/Makefile (routines): Remove pwdopen, pwdread.
1359 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
1361 * pwd/fgetpwent.c: Rewritten using files-parse.c.
1362 * grp/fgetgrent.c: Likewise.
1364 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
1365 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
1366 * nss/nss_files/files-grp.c: New file.
1367 * nss/nss_files/files-pwd.c: New file.
1369 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
1371 * nss/nss_files/files-parse.c: New file.
1372 * nss/nss_files/files-XXX.c: New file.
1373 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
1374 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
1375 Rewritten using them.
1377 * nss/Makefile (libnss_files-routines): Remove files-host.
1378 Add files-hosts, files-grp, files-pwd.
1380 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
1382 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
1384 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1385 A .plt entry now loads the .rela.plt offset directly rather
1386 than making us calculate it.
1388 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1390 * time/Makefile ($(installed-localtime-file) rule): Do
1391 $(make-target-directory) first.
1393 * resolv.h: Fix wrapper for resolv/resolv.h.
1395 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
1396 Compile dummy file and pass -nostdlib -nostartfiles so as not to
1397 require installed libraries.
1399 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
1402 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
1404 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
1405 and mapv4v6hostent.h.
1406 (routines): Move res* and gethnamaddr into libresolv-routines.
1407 (libresolv-routines): New variable, put them there.
1408 (extra-libs): New variable, list libresolv.
1409 (CPPFLAGS): Add -D for get*by* to res_get*by*.
1411 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
1413 * inet/herrno.c: New file.
1415 * resolv/res_init.c: Remove res_hconf calls.
1417 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
1418 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
1419 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
1420 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
1421 nss/service-lookup.c: New files. Implementation of name
1422 service switch, following the approach in Solaris.
1423 Interface specification and general structure inspired by Peter
1424 Eriksson <pen@lysator.liu.se>.
1425 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
1426 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
1427 Implementation of libnss_files.so module for file based databases
1429 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
1430 if libnss_dns.so module for DNS name lookup in NSS service.
1432 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
1433 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
1434 Changed to serve as interface to NSS.
1435 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
1436 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
1437 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
1438 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
1439 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
1440 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
1441 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
1442 interfaces to NSS, including reentrant functions.
1444 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
1445 resolv/sethostent.c: Removed: Obsoleted by NSS.
1447 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
1448 gethnamaddr.c. These private functions are now used in more
1451 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
1453 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1455 * rpm/Makefile ($(config)): Make sure the word list in the for
1456 loop is syntactically non-empty.
1458 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1460 * Version 1.92 test release.
1462 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
1464 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
1465 to klogctl to match prototype in sys/klog.h.
1467 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
1468 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
1470 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
1471 Remove. Code is now part of __getcwd again. The old function
1472 never really worked for anything but THISDIR==".".
1474 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
1475 only when building ELF version of library.
1477 * libio/libioP.h (_IO_vscanf): Add prototype.
1479 * posix/unistd.h (syscall): Change sysno arg and return value
1482 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1484 * version.h (VERSION): Updated to 1.92.
1486 * misc/Makefile (headers): Add ar.h.
1487 * misc/ar.h: New file.
1489 * config.make.in (BUILD_CC): New variable.
1490 * configure.in: Check for BUILD_CC if $host != $build.
1492 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
1494 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
1495 (stamp$o files): New targets, create them empty, no deps.
1497 * rpm/template (Source): New field.
1498 (%prep, %build, %install): New sections.
1499 (%files): Add %doc FAQ NEWS NOTES README.
1500 * rpm/rpmrc (builddir): Removed.
1502 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1504 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
1505 guessing to not assume p_vaddr of first load cmd is zero.
1507 * sysdeps/sparc/elf/start.S: New file.
1508 * sysdeps/sparc/dl-machine.h: New file.
1510 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
1511 only for ?s, not for *s. Fix from Chet Ramey.
1513 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
1514 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
1515 Use __{BEGIN,END}_DECLS.
1516 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
1517 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
1518 New macros, moved here from sysdeps/gnu/utmpbits.h.
1519 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
1520 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
1521 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
1522 Use sizeof instead of UT_*SIZE.
1523 * login/logwtmp.c: Likewise.
1525 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
1527 * version.c (banner): Add trailing newline.
1529 * login/utmp.h: Declare login_tty.
1531 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
1533 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
1534 Changed to a 12-byte PLT entry to remove dependency on $gp.
1535 Take a new got_addr parameter.
1536 (elf_machine_rela): Pass the new parameter.
1537 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
1538 (RTLD_START): Do normal linkage with program entry.
1540 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
1542 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
1544 * hurd/getuids.c (getuids): New weak link to __getuids.
1546 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
1548 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
1549 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
1551 Rename nested function lookup to lookup_op.
1552 (__file_name_lookup, __file_name_lookup_under):
1553 Pass 0 for lookup arg to __hurd_file_name_lookup.
1554 (__file_name_split): Likewise for __hurd_file_name_split.
1555 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
1556 Rename nested function lookup to scan_lookup.
1557 (file_name_path_lookup): Pass 0 for lookup arg to
1558 hurd_file_name_path_lookup.
1559 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
1560 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
1561 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
1562 Add LOOKUP argument.
1563 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
1564 __hurd_file_name_lookup.
1566 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1568 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
1569 up a huge list just to discard most of it.
1571 * configure.in (sysnames): Avoid fgrep by using the case shell
1574 * Makeconfig (config.status): Fix dependency on Implies files.
1576 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1578 * math/Makefile (distribute): Add ieee-math.c.
1580 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
1582 * locale/codeset_name.c: New file. Provide function for information
1583 about currently used character set.
1584 * locale/Makefile (routines): Add codeset_name.
1585 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
1586 * locale/localeinfo.h: Change magic number because of incompatible
1588 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
1589 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
1591 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
1592 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
1594 * locale/setlocale.c (setlocale): Initialize local variables to
1597 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
1599 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
1601 * locale/programs/locale.c: Include string.h.
1603 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
1604 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
1605 appropriate sign-extension is performed on machines with
1608 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
1609 sizeof(int)<sizeof(long), we need to go through a temporary
1612 * locale/programs/ld-numeric.c: Include <alloca.h>
1614 * libio/stdio.h (__libc_fatal): Add prototype.
1616 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
1619 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
1620 volatile to avoid "might get clobbered by longjmp" warning.
1622 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
1623 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
1624 probability is a sure loser).
1625 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
1627 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
1628 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
1630 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
1631 to be Linux FSSTND compliant.
1633 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
1635 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
1637 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
1638 sysdeps/unix/sysv/linux/alpha/brk.S,
1639 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
1640 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
1641 sysdeps/unix/sysv/linux/alpha/llseek.S,
1642 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
1643 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
1644 __syscall_error to avoid intruding application name space.
1646 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
1647 to SYS_get?id so that syscall stubs in sysdeps/unix define
1648 these syscalls in terms of getxpid/getxuid/getxgid.
1650 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
1651 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
1652 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
1653 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
1655 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
1656 (PSEUDO_END): Rename END() to PSEUDO_END().
1658 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
1659 to PSEUDO_END to improve branch-prediction. Include .frame
1660 directive to make syscalls debugabble.
1661 (PSEUDO_END): New macro.
1663 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
1664 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
1665 latter is illegal under DEC Unix.
1667 * sysdeps/unix/alpha/sysdep.S: Renamed from
1668 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
1670 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
1671 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
1672 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
1674 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
1675 address register in the .frame directive.
1677 * sysdeps/alpha/copysign.c: Remove.
1679 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
1680 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
1682 * errno.h: Move __END_DECLS to correct place to make file
1683 compilable under c++.
1685 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
1686 d_ino only if <direntry.h> hasn't defined d_fileno.
1688 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
1689 arguments to weakext to make .weakext detection work on ECOFF systems.
1691 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
1692 that _validuser() has been replaced by __ivaliduser().
1694 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
1696 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
1697 as unsigned long, not as int (to avoid incorrect int->long
1702 See ChangeLog.5 for earlier changes.