miles [Mon, 15 Jul 1996 16:25:44 +0000 (16:25 +0000)]
(logout): Initialize DATA to a state that will make setutent_r happy.
roland [Mon, 15 Jul 1996 00:11:11 +0000 (00:11 +0000)]
.
roland [Mon, 15 Jul 1996 00:10:49 +0000 (00:10 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* Makeconfig (rtld-installed-name): Set to ld.so.1.
* sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
removed.
roland [Mon, 15 Jul 1996 00:06:00 +0000 (00:06 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/Makefile (glibc-targets): Remove subdir_ from elts.
roland [Mon, 15 Jul 1996 00:05:56 +0000 (00:05 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
tege [Sun, 14 Jul 1996 18:09:15 +0000 (18:09 +0000)]
Generalize C90 alternative to all x90 machines.
roland [Sun, 14 Jul 1996 17:48:00 +0000 (17:48 +0000)]
.
roland [Sun, 14 Jul 1996 17:47:42 +0000 (17:47 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* MakeTAGS (extract): Pass --add-comments=TRANS.
* sysdeps/gnu/errlist.awk: Write comments into the output with the
descriptive paragraphs from the manual preceded by TRANS.
roland [Sun, 14 Jul 1996 17:45:20 +0000 (17:45 +0000)]
(Error Codes): Add @comment about ED for losers you don't get the joke.
roland [Sun, 14 Jul 1996 13:20:46 +0000 (13:20 +0000)]
.
roland [Sun, 14 Jul 1996 13:20:12 +0000 (13:20 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
(_dl_start): Move RESOLVE defn inside this function and #include
"dynamic-link.h" a second time there.
[RTLD_START]: Move use of this after _dl_start function.
roland [Sun, 14 Jul 1996 11:39:25 +0000 (11:39 +0000)]
.
roland [Sun, 14 Jul 1996 11:39:06 +0000 (11:39 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
roland [Sun, 14 Jul 1996 10:53:37 +0000 (10:53 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/rtld.c: Include <string.h>.
* elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
Conditionalize defns on [RESOLVE].
* elf/do-rel.h (elf_dynamic_do_rel): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
Instead use RESOLVE macro with same args.
(elf_machine_rel): Conditionalize defn on [RESOLVE].
* elf/dl-reloc.c (RESOLVE): New macro, define before including
"dynamic-link.h". It replaces `resolve' local function.
* elf/dl-runtime.c: Likewise.
* elf/rtld.c: Likewise.
roland [Sun, 14 Jul 1996 10:53:18 +0000 (10:53 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
Conditionalize defns on [RESOLVE].
* elf/do-rel.h (elf_dynamic_do_rel): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
Instead use RESOLVE macro with same args.
(elf_machine_rel): Conditionalize defn on [RESOLVE].
* elf/dl-reloc.c (RESOLVE): New macro, define before including
"dynamic-link.h". It replaces `resolve' local function.
* elf/dl-runtime.c: Likewise.
* elf/rtld.c: Likewise.
roland [Sun, 14 Jul 1996 10:04:21 +0000 (10:04 +0000)]
.
roland [Sun, 14 Jul 1996 10:03:32 +0000 (10:03 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
roland [Sun, 14 Jul 1996 09:31:59 +0000 (09:31 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-open.c (_dl_open): Force an indirect call for
_dl_relocate_object so there is no chance a PLT fixup will be done
and clobber _dl_global_scope before our call happens.
roland [Sun, 14 Jul 1996 09:21:13 +0000 (09:21 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
other targets.
roland [Sun, 14 Jul 1996 09:21:10 +0000 (09:21 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
to =t; must operate on top of fp reg stack, not second from top.
Correct input constraint to 0 from t; must be explicit when input and
output are the same register.
(floor): Use __volatile instead of volatile.
(ceil): Likewise.
roland [Sun, 14 Jul 1996 06:04:09 +0000 (06:04 +0000)]
.
roland [Sun, 14 Jul 1996 06:03:54 +0000 (06:03 +0000)]
.
roland [Sun, 14 Jul 1996 05:58:34 +0000 (05:58 +0000)]
Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
* manual/startup.texi: Document new getsubopt function.
* manual/examples/subopt.c: New example program for documenting
getsubopt function.
roland [Sun, 14 Jul 1996 05:56:57 +0000 (05:56 +0000)]
Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/Makefile (glibc-targets): Variable and targets removed.
Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/Makefile (lib): New phony target. Depend on stamp files.
($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
roland [Sun, 14 Jul 1996 05:28:16 +0000 (05:28 +0000)]
Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
* misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
* misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
and `long double' versions can be generated.
* misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
so that included efgcvt{,_r}.c file generate `long double'
versions.
* stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
functions.
roland [Sun, 14 Jul 1996 05:28:12 +0000 (05:28 +0000)]
Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* socket/sys/socket.h (struct osockaddr): New type.
roland [Sun, 14 Jul 1996 05:28:09 +0000 (05:28 +0000)]
Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
shift amount for Jensen must be 5 not 4.
roland [Sun, 14 Jul 1996 05:27:54 +0000 (05:27 +0000)]
Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
removed.
(__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
Conditionalize defn on [! MAP_ANON].
* elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
on [! MAP_ANON].
* elf/rtld.c (dl_main): Likewise.
* elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
(_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
roland [Sun, 14 Jul 1996 05:27:49 +0000 (05:27 +0000)]
Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* manual/Makefile (lib): New phony target. Depend on stamp files.
($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
roland [Sun, 14 Jul 1996 05:27:42 +0000 (05:27 +0000)]
Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
between MAP and its deps.
* elf/link.h: Fix decl.
* elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
colon-separated list of names, map those and pass vector of ptrs as
PRELOADS list to _dl_map_object_deps.
* elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
_dl_map_object_deps with empty preload list.
* elf/dl-open.c (_dl_open): Likewise.
roland [Sun, 14 Jul 1996 05:27:39 +0000 (05:27 +0000)]
1996-07-13 Paul Eggert <eggert@twinsun.com>
* time/strftime.c (strftime): Use space padding for %e, %k, %l,
to match Emacs format-time-string specification.
(DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
roland [Sun, 14 Jul 1996 05:27:34 +0000 (05:27 +0000)]
Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
* stdlib/Makefile (routines): Add getsubopt.
* stdlib/stdlib.h: Add prototype for getsubopt.
* stdlib/getsubopt.c: New file. Implement getsubopt function
to handle suboption parsing.
roland [Sun, 14 Jul 1996 05:27:31 +0000 (05:27 +0000)]
Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
* grp/initgroups.c (initgroups): Add groups that user is a member
of, not the ones he is _not_ a member of.
roland [Sun, 14 Jul 1996 05:27:26 +0000 (05:27 +0000)]
Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
* stdlib/random.c (__random): Declare as int32_t to be in sync
with declaration.
roland [Sun, 14 Jul 1996 05:27:23 +0000 (05:27 +0000)]
Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
roland [Sun, 14 Jul 1996 05:27:20 +0000 (05:27 +0000)]
Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
syscall.
roland [Sun, 14 Jul 1996 05:27:17 +0000 (05:27 +0000)]
Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
roland [Sun, 14 Jul 1996 05:27:13 +0000 (05:27 +0000)]
Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
* misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
* misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
and `long double' versions can be generated.
* misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
so that included efgcvt{,_r}.c file generate `long double'
versions.
* stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
functions.
Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
* stdlib/Makefile (routines): Add getsubopt.
* stdlib/stdlib.h: Add prototype for getsubopt.
* stdlib/getsubopt.c: New file. Implement getsubopt function
to handle suboption parsing.
roland [Sun, 14 Jul 1996 05:27:09 +0000 (05:27 +0000)]
Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
between MAP and its deps.
* elf/link.h: Fix decl.
* elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
colon-separated list of names, map those and pass vector of ptrs as
PRELOADS list to _dl_map_object_deps.
* elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
_dl_map_object_deps with empty preload list.
* elf/dl-open.c (_dl_open): Likewise.
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
removed.
(__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
Conditionalize defn on [! MAP_ANON].
* elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
on [! MAP_ANON].
* elf/rtld.c (dl_main): Likewise.
* elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
(_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
roland [Sun, 14 Jul 1996 05:27:05 +0000 (05:27 +0000)]
Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
* manual/startup.texi: Document new getsubopt function.
* manual/example/subopt.c: New example program for documenting
getsubopt function.
roland [Sun, 14 Jul 1996 05:27:01 +0000 (05:27 +0000)]
Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
* misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
it that way.
Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
* misc/mntent.c (addmntent): Seek to end of file before writing
entry. Return 1 on error, not -1.
roland [Sun, 14 Jul 1996 05:26:58 +0000 (05:26 +0000)]
Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
* socket/Makefile (headers): Add socketbits.h.
roland [Sun, 14 Jul 1996 05:26:55 +0000 (05:26 +0000)]
Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
* nss/nsswitch.c (known_compare): Make known_compare() a static
instead of a local function. The latter are difficult to debug
and slow to execute on certain platforms.
roland [Sun, 14 Jul 1996 05:26:50 +0000 (05:26 +0000)]
Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
place of sizeof (dev). The size of a literal string includes the
NUL byte.
roland [Fri, 12 Jul 1996 02:01:17 +0000 (02:01 +0000)]
.
roland [Fri, 12 Jul 1996 02:00:44 +0000 (02:00 +0000)]
Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* inet/getnetent_r.c: Define NEED_H_ERRNO.
* inet/getnetbynm_r.c: Likewise.
* inet/getnetent.c: Likewise.
* inet/getnetbyad_r.c: Likewise.
* inet/getnetbyad.c: Likewise.
* inet/getnetbynm.c: Likewise.
roland [Fri, 12 Jul 1996 02:00:41 +0000 (02:00 +0000)]
Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
`struct timespec'.
roland [Fri, 12 Jul 1996 02:00:36 +0000 (02:00 +0000)]
Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/generic/pselect.c: Include <sys/time.h>.
roland [Fri, 12 Jul 1996 00:46:31 +0000 (00:46 +0000)]
Updated from ../gpl2lgpl.sed
roland [Fri, 12 Jul 1996 00:46:20 +0000 (00:46 +0000)]
Updated from ../gpl2lgpl.sed
roland [Fri, 12 Jul 1996 00:43:28 +0000 (00:43 +0000)]
.
roland [Fri, 12 Jul 1996 00:43:12 +0000 (00:43 +0000)]
Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* math/Makefile (calls): Add s_frexp, s_ldexp.
(routines): Remove them and &f from here.
roland [Fri, 12 Jul 1996 00:38:34 +0000 (00:38 +0000)]
Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
out before or'ing.
roland [Fri, 12 Jul 1996 00:38:31 +0000 (00:38 +0000)]
Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
implementation of frexp() function.
* sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
implementation of ldexp() function.
roland [Fri, 12 Jul 1996 00:20:03 +0000 (00:20 +0000)]
.
roland [Fri, 12 Jul 1996 00:19:52 +0000 (00:19 +0000)]
.
roland [Fri, 12 Jul 1996 00:11:53 +0000 (00:11 +0000)]
Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
and check it.
roland [Fri, 12 Jul 1996 00:11:51 +0000 (00:11 +0000)]
Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/nss_files/files-XXX.c: Comment fix.
roland [Thu, 11 Jul 1996 23:52:08 +0000 (23:52 +0000)]
Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
roland [Thu, 11 Jul 1996 23:52:07 +0000 (23:52 +0000)]
Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/nss_files/files-parse.c: Add comment about things to #define.
* nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
terminator char as an error.
roland [Thu, 11 Jul 1996 23:52:04 +0000 (23:52 +0000)]
Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
roland [Thu, 11 Jul 1996 23:48:42 +0000 (23:48 +0000)]
Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
* misc/mntent.c: Include <sys/types.h>.
(endmntent): Return 1 one success, 0 on failure.
(getmntent): Chop newline and ignore empty lines.
roland [Thu, 11 Jul 1996 23:46:56 +0000 (23:46 +0000)]
Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
* catgets/gencat.c (write_out): Move code to determine new
best size out of inner loop.
roland [Thu, 11 Jul 1996 23:42:55 +0000 (23:42 +0000)]
Thu Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
* nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
we return a pointer.
roland [Thu, 11 Jul 1996 23:42:52 +0000 (23:42 +0000)]
Thu Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
* nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
of reentrant function.
(setup): Pass additional argument with function name we are
looking for.
(SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
new argument {SET,END,GET}FUNC_NAME_STRING.
djm [Thu, 11 Jul 1996 21:02:19 +0000 (21:02 +0000)]
Add MIT copyright notice. From gordoni@cygnus.com.
roland [Wed, 10 Jul 1996 14:42:15 +0000 (14:42 +0000)]
Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
differently based on [RTLD_BOOTSTRAP].
(elf_machine_rela): Use it instead of the fn ptr arg directly.
roland [Tue, 9 Jul 1996 23:17:59 +0000 (23:17 +0000)]
.
roland [Tue, 9 Jul 1996 22:18:26 +0000 (22:18 +0000)]
Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/generic/machine-gmon.h: Declare mcount_internal.
roland [Tue, 9 Jul 1996 22:18:16 +0000 (22:18 +0000)]
Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* socket/sys/socket.h: New file, taken from non-sysdep parts of
linux/sys/socket.h; break sysdeps parts out into socketbits.h.
Declare __ names for send and connect.
* sysdeps/generic/socketbits.h: New file.
* sysdeps/unix/sysv/linux/socketbits.h: New file.
* sysdeps/unix/sysv/linux/sys/socket.h: File removed.
* sysdeps/generic/sys/socket.h: File removed.
roland [Tue, 9 Jul 1996 22:18:14 +0000 (22:18 +0000)]
Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
for send and connect syscalls.
roland [Tue, 9 Jul 1996 22:18:12 +0000 (22:18 +0000)]
Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
__glob_closedir_hook): Remove decls.
roland [Tue, 9 Jul 1996 22:18:08 +0000 (22:18 +0000)]
Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
* sysdeps/mach/hurd/send.c: Likewise.
roland [Tue, 9 Jul 1996 18:49:47 +0000 (18:49 +0000)]
Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/stringtrans.c: Fix typo in copyright.
roland [Tue, 9 Jul 1996 18:49:42 +0000 (18:49 +0000)]
Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/printf-parse.h: Initialize state variable before
calling mbrlen.
* stdio-common/printf-prs.c: Don't initialize state variable here.
* stdio-common/vfprintf.c: Don't initialize state variable.
(vfprintf): While determining length of multibyte string don't
try to be clever in determining characters to use for first
call.
roland [Tue, 9 Jul 1996 18:49:40 +0000 (18:49 +0000)]
Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/printf-prs.c: Add casts to prevent
signed<->unsigned warnings.
* stdio-common/printf-parse.h: Initialize state variable before
calling mbrlen.
* stdio-common/printf-prs.c: Don't initialize state variable here.
* stdio-common/vfprintf.c: Don't initialize state variable.
(vfprintf): While determining length of multibyte string don't
try to be clever in determining characters to use for first
call.
roland [Tue, 9 Jul 1996 18:49:33 +0000 (18:49 +0000)]
Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
Add real implementation of multibyte<->wide char conversion
functions. The functions always convert between the fixed wide
char format (ISO 10646 in UCS4) and the UTF8 representation of
this character set. Conversion between the currently used
8bit character set and ISO 10646 will not take place. This is
what iconv() is for.
* wcsmbs/wchar.h (mbstate_t): Define as structure to replace
dummy definition.
Add optimized version of `mbrlen' function.
* wcsmbs/btowc.c (btowc): Restrict range of legal characters
to 0...0x7f.
* wcsmbs/wctob.c (wctob): Restrict range of legal characters
to 0..0x7f.
* wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
This is needed in the wchar.h header.
* wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
encoded character to UCS4.
* wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
element of `mbstate_t' for initial state.
* wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
encoded string to UCS4 string.
* wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
character to UTF8 encoded form.
* wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
encoded string to UTF8 encoded form.
roland [Tue, 9 Jul 1996 15:54:08 +0000 (15:54 +0000)]
Regenerated: autoconf sysdeps/unix/sysv/linux/configure.in
roland [Tue, 9 Jul 1996 14:49:13 +0000 (14:49 +0000)]
.
roland [Tue, 9 Jul 1996 14:48:47 +0000 (14:48 +0000)]
Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
roland [Tue, 9 Jul 1996 14:48:41 +0000 (14:48 +0000)]
Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
roland [Tue, 9 Jul 1996 14:48:37 +0000 (14:48 +0000)]
Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
roland [Tue, 9 Jul 1996 14:48:14 +0000 (14:48 +0000)]
Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/mach/libc-lock.h: New file.
* sysdeps/unix/readdir.c: Do locking.
* sysdeps/unix/seekdir.c: Likewise.
* sysdeps/unix/rewinddir.c: Likewise.
* sysdeps/unix/closedir.c: Likewise.
* sysdeps/unix/bsd/telldir.c: Likewise.
* sysdeps/mach/hurd/seekdir.c: Likewise.
* sysdeps/mach/hurd/readdir.c: Likewise.
* sysdeps/mach/hurd/closedir.c: Likewise.
* sysdeps/mach/hurd/opendir.c: Initialize the lock.
* sysdeps/unix/opendir.c: Likewise.
* sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
(struct __dirstream): Add lock member using __libc_lock_define.
* sysdeps/unix/dirstream.h: Likewise.
roland [Tue, 9 Jul 1996 13:39:55 +0000 (13:39 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
roland [Tue, 9 Jul 1996 12:22:26 +0000 (12:22 +0000)]
.
roland [Tue, 9 Jul 1996 12:22:05 +0000 (12:22 +0000)]
Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/configure.in: Use version number in cache
variable name, so new a libc with new requirements won't fail to
notice an insufficient Linux version.
roland [Tue, 9 Jul 1996 12:19:29 +0000 (12:19 +0000)]
Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
instead of 2.0 headers.
roland [Tue, 9 Jul 1996 12:19:26 +0000 (12:19 +0000)]
Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
roland [Tue, 9 Jul 1996 12:19:08 +0000 (12:19 +0000)]
Regenerated: autoconf sysdeps/unix/sysv/linux/configure.in
roland [Tue, 9 Jul 1996 12:18:13 +0000 (12:18 +0000)]
.
roland [Tue, 9 Jul 1996 11:21:20 +0000 (11:21 +0000)]
.
roland [Tue, 9 Jul 1996 11:20:50 +0000 (11:20 +0000)]
Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
roland [Tue, 9 Jul 1996 11:20:48 +0000 (11:20 +0000)]
Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
roland [Tue, 9 Jul 1996 11:09:08 +0000 (11:09 +0000)]
.
roland [Tue, 9 Jul 1996 11:08:53 +0000 (11:08 +0000)]
Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
Call __nss_lookup when not setting STARTP.
(SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
function-calling loop.
roland [Tue, 9 Jul 1996 11:08:51 +0000 (11:08 +0000)]
Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
before using it in lhs of weak_alias.
roland [Tue, 9 Jul 1996 09:39:41 +0000 (09:39 +0000)]
.
mib [Tue, 9 Jul 1996 06:13:23 +0000 (06:13 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
mib [Tue, 9 Jul 1996 05:02:06 +0000 (05:02 +0000)]
*** empty log message ***
mib [Tue, 9 Jul 1996 04:24:10 +0000 (04:24 +0000)]
* sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH):Undefine these at start if they are already
defined to avoid collision with termbits.h.
(MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.