kopensolaris-gnu/glibc.git
24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years ago. libc-960714
roland [Sun, 14 Jul 1996 06:04:09 +0000 (06:04 +0000)]
.

24 years ago.
roland [Sun, 14 Jul 1996 06:03:54 +0000 (06:03 +0000)]
.

24 years agoFri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoSun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoSat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoSat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoFri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
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.

24 years agoSat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoSat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoSat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years ago1996-07-13 Paul Eggert <eggert@twinsun.com>
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.

24 years agoFri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
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.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
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.

24 years agoSat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
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.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
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.

24 years agoSat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoSat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoSat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
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.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
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.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
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.

24 years agoSat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
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.

24 years ago. libc-960713
roland [Fri, 12 Jul 1996 02:01:17 +0000 (02:01 +0000)]
.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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'.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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>.

24 years agoUpdated from ../gpl2lgpl.sed
roland [Fri, 12 Jul 1996 00:46:31 +0000 (00:46 +0000)]
Updated from ../gpl2lgpl.sed

24 years agoUpdated from ../gpl2lgpl.sed
roland [Fri, 12 Jul 1996 00:46:20 +0000 (00:46 +0000)]
Updated from ../gpl2lgpl.sed

24 years ago.
roland [Fri, 12 Jul 1996 00:43:28 +0000 (00:43 +0000)]
.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoThu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoThu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years ago.
roland [Fri, 12 Jul 1996 00:20:03 +0000 (00:20 +0000)]
.

24 years ago.
roland [Fri, 12 Jul 1996 00:19:52 +0000 (00:19 +0000)]
.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoThu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoThu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoThu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoThu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoWed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
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.

24 years agoThu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoThu Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoThu Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoAdd MIT copyright notice. From gordoni@cygnus.com. make-3-75
djm [Thu, 11 Jul 1996 21:02:19 +0000 (21:02 +0000)]
Add MIT copyright notice.  From gordoni@cygnus.com.

24 years agoMon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> libc-960711
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.

24 years ago. libc-960710
roland [Tue, 9 Jul 1996 23:17:59 +0000 (23:17 +0000)]
.

24 years agoTue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoThu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoThu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoThu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoThu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
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.

24 years agoRegenerated: autoconf sysdeps/unix/sysv/linux/configure.in
roland [Tue, 9 Jul 1996 15:54:08 +0000 (15:54 +0000)]
Regenerated: autoconf  sysdeps/unix/sysv/linux/configure.in

24 years ago.
roland [Tue, 9 Jul 1996 14:49:13 +0000 (14:49 +0000)]
.

24 years agoTue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoRegenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
roland [Tue, 9 Jul 1996 13:39:55 +0000 (13:39 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi

24 years ago.
roland [Tue, 9 Jul 1996 12:22:26 +0000 (12:22 +0000)]
.

24 years agoTue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoRegenerated: autoconf sysdeps/unix/sysv/linux/configure.in
roland [Tue, 9 Jul 1996 12:19:08 +0000 (12:19 +0000)]
Regenerated: autoconf  sysdeps/unix/sysv/linux/configure.in

24 years ago.
roland [Tue, 9 Jul 1996 12:18:13 +0000 (12:18 +0000)]
.

24 years ago.
roland [Tue, 9 Jul 1996 11:21:20 +0000 (11:21 +0000)]
.

24 years agoTue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years ago.
roland [Tue, 9 Jul 1996 11:09:08 +0000 (11:09 +0000)]
.

24 years agoTue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years agoTue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
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.

24 years ago.
roland [Tue, 9 Jul 1996 09:39:41 +0000 (09:39 +0000)]
.

24 years agoRegenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi libc-960709
mib [Tue, 9 Jul 1996 06:13:23 +0000 (06:13 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi

24 years ago*** empty log message ***
mib [Tue, 9 Jul 1996 05:02:06 +0000 (05:02 +0000)]
*** empty log message ***

24 years ago* sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH):Undefine these at start if they...
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.

24 years ago* sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
mib [Tue, 9 Jul 1996 04:23:00 +0000 (04:23 +0000)]
* sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
  PENDIN, NOFLSH): Undefine these at start if they are already
  defined to avoid collision with termbits.h.

24 years agoBetter change than last one:
mib [Tue, 9 Jul 1996 03:45:22 +0000 (03:45 +0000)]
Better change than last one:

* sysdeps/mach/hurd/errnos.awk: Skip entries where the
  error is 0.  The "placeholder" entries recently added to
errno.texi convert to zero since `???/' is at the front of them.

24 years agoBetter change than last one:
mib [Tue, 9 Jul 1996 03:44:53 +0000 (03:44 +0000)]
Better change than last one:
Skip entries where the
  error is 0.  The "placeholder" entries recently added to
errno.texi convert to zero since `???/' is at the front of them.

24 years ago*** empty log message ***
mib [Tue, 9 Jul 1996 03:36:58 +0000 (03:36 +0000)]
*** empty log message ***

24 years ago * sysdeps/mach/hurd/errnos.awk: Skip entries where the
mib [Tue, 9 Jul 1996 03:33:46 +0000 (03:33 +0000)]
* sysdeps/mach/hurd/errnos.awk: Skip entries where the
  error number contains a slash.  When some bozo with initials rm
  added "placeholder error codes" he put them in this weird syntax
  but neglected to adjust the parsers appropriately.

24 years ago Skip entries where the
mib [Tue, 9 Jul 1996 03:33:22 +0000 (03:33 +0000)]
 Skip entries where the
  error number contains a slash.  When some bozo with initials rm
  added "placeholder error codes" he put them in this weird syntax
  but neglected to adjust the parsers appropriately.

24 years ago* sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
mib [Tue, 9 Jul 1996 03:08:56 +0000 (03:08 +0000)]
* sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
__const to conform with unistd.h.

24 years ago * posix/regex.c (re_comp, re_exec): Use weak_function as
mib [Tue, 9 Jul 1996 03:05:58 +0000 (03:05 +0000)]
* posix/regex.c (re_comp, re_exec): Use weak_function as
keyword in function defns instead of weak_symbol (NAME) after
the defn.

24 years ago* stdlib/stdlib.h (random): Declare return type to be int32_t.
mib [Tue, 9 Jul 1996 02:47:42 +0000 (02:47 +0000)]
* stdlib/stdlib.h (random): Declare return type to be int32_t.

24 years ago.
roland [Mon, 8 Jul 1996 17:45:03 +0000 (17:45 +0000)]
.

24 years ago.
roland [Mon, 8 Jul 1996 17:44:50 +0000 (17:44 +0000)]
.

24 years agoMon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 8 Jul 1996 17:35:33 +0000 (17:35 +0000)]
Mon Jul  8 02:14:25 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
already defined to float, long double.  Use those macros for _Mdouble_
defns when including mathcalls.h.
* math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
-D_Mlong_double_=double.

24 years agoMon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 8 Jul 1996 17:35:27 +0000 (17:35 +0000)]
Mon Jul  8 02:14:25 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
already defined to float, long double.  Use those macros for _Mdouble_
defns when including mathcalls.h.
* math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
-D_Mlong_double_=double.
Add more -lm functions to -lc because ldexp uses them.
* math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
(routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
ldexp have both f and l code, and those have f though not l code.

24 years ago*** empty log message ***
mib [Mon, 8 Jul 1996 17:13:20 +0000 (17:13 +0000)]
*** empty log message ***

24 years agostring/argz-delete.c (argz_delete): Use memmove instead of
mib [Mon, 8 Jul 1996 17:12:04 +0000 (17:12 +0000)]
string/argz-delete.c (argz_delete): Use memmove instead of
memcpy for possbly overlapping strings.

24 years agoRegenerated: autoconf sysdeps/generic/configure.in
miles [Mon, 8 Jul 1996 15:26:36 +0000 (15:26 +0000)]
Regenerated: autoconf  sysdeps/generic/configure.in

24 years agoRegenerated: autoconf sysdeps/unix/configure.in
miles [Mon, 8 Jul 1996 15:26:26 +0000 (15:26 +0000)]
Regenerated: autoconf  sysdeps/unix/configure.in