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.
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.
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.
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.
mib [Tue, 9 Jul 1996 03:36:58 +0000 (03:36 +0000)]
*** empty log message ***
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.
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.
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.
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.
mib [Tue, 9 Jul 1996 02:47:42 +0000 (02:47 +0000)]
* stdlib/stdlib.h (random): Declare return type to be int32_t.
roland [Mon, 8 Jul 1996 17:45:03 +0000 (17:45 +0000)]
.
roland [Mon, 8 Jul 1996 17:44:50 +0000 (17:44 +0000)]
.
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.
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.
mib [Mon, 8 Jul 1996 17:13:20 +0000 (17:13 +0000)]
*** empty log message ***
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.
miles [Mon, 8 Jul 1996 15:26:36 +0000 (15:26 +0000)]
Regenerated: autoconf sysdeps/generic/configure.in
miles [Mon, 8 Jul 1996 15:26:26 +0000 (15:26 +0000)]
Regenerated: autoconf sysdeps/unix/configure.in
miles [Mon, 8 Jul 1996 15:26:18 +0000 (15:26 +0000)]
Regenerated: autoconf sysdeps/unix/common/configure.in
roland [Mon, 8 Jul 1996 10:21:07 +0000 (10:21 +0000)]
.
roland [Mon, 8 Jul 1996 08:32:05 +0000 (08:32 +0000)]
Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* libc-symbols.h (weak_function): New macro.
For GCC 2.7+ define as __attribute__ ((weak)).
* elf/dl-minimal.c: Use weak_function as keyword in function defns
instead of weak_symbol (NAME) after the defn.
* stdlib/strtol.c: Likewise.
* stdlib/strtod.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
roland [Mon, 8 Jul 1996 06:18:25 +0000 (06:18 +0000)]
.
roland [Mon, 8 Jul 1996 06:17:22 +0000 (06:17 +0000)]
Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
storage class. GCC gives an error for non-extern data defns with the
alias attribute.
Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* libc-symbols.h (weak_function): New macro.
For GCC 2.7+ define as __attribute__ ((weak)).
* elf/dl-minimal.c: Use weak_function as keyword in function defns
instead of weak_symbol (NAME) after the defn.
* stdlib/strtol.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* libc-symbols.h (symbol_set_declare): Use weak_extern instead of
weak_symbol.
* csu/initfini.c (_init): Likewise.
* locale/setlocale.c (DEFINE_CATEGORY): Likewise.
* misc/efgcvt_r.c: Likewise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
* libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
It was not used in any assembler code.
(weak_symbol_asm): Renamed to weak_extern_asm.
(weak_extern): New macro replaces weak_symbol for weak extern refs;
define to weak_extern_asm for [!ASSEMBLER].
Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
define those now as aliases.
Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
[GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
after GCC weak attribute decl.
roland [Mon, 8 Jul 1996 06:17:19 +0000 (06:17 +0000)]
Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
If this is defined, don't declare _dl_rtld_map as weak, and
don't check for MAP pointing to it. RESOLVE is always null in this
case, so test with #ifdef instead of if.
* libc-symbols.h (symbol_set_declare): Use weak_extern instead of
weak_symbol.
* csu/initfini.c (_init): Likewise.
* locale/setlocale.c (DEFINE_CATEGORY): Likewise.
* misc/efgcvt_r.c: Likewise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
roland [Mon, 8 Jul 1996 06:17:12 +0000 (06:17 +0000)]
Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* libc-symbols.h (weak_function): New macro.
For GCC 2.7+ define as __attribute__ ((weak)).
* elf/dl-minimal.c: Use weak_function as keyword in function defns
instead of weak_symbol (NAME) after the defn.
* stdlib/strtol.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
roland [Mon, 8 Jul 1996 06:16:57 +0000 (06:16 +0000)]
Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* libc-symbols.h (symbol_set_declare): Use weak_extern instead of
weak_symbol.
* csu/initfini.c (_init): Likewise.
* locale/setlocale.c (DEFINE_CATEGORY): Likewise.
* misc/efgcvt_r.c: Likewise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
mib [Mon, 8 Jul 1996 05:52:04 +0000 (05:52 +0000)]
*** empty log message ***
mib [Mon, 8 Jul 1996 05:37:55 +0000 (05:37 +0000)]
(__argz_insert): Use memmove instead of memcpy for possible
overlapping strings.
roland [Sun, 7 Jul 1996 23:55:24 +0000 (23:55 +0000)]
.
roland [Sun, 7 Jul 1996 23:54:27 +0000 (23:54 +0000)]
Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
(element printer): Check for elt in ALIAS, instead of special case
for EWOULDBLOCK.
roland [Sun, 7 Jul 1996 23:52:39 +0000 (23:52 +0000)]
Regenerated from sysdeps/gnu/errlist.awk manual/errno.texi
roland [Sun, 7 Jul 1996 23:23:51 +0000 (23:23 +0000)]
.
roland [Sun, 7 Jul 1996 23:23:28 +0000 (23:23 +0000)]
Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* io/Makefile (headers): Add sys/vfs.h.
* io/sys/vfs.h: New file.
roland [Sun, 7 Jul 1996 22:49:48 +0000 (22:49 +0000)]
.
roland [Sun, 7 Jul 1996 22:46:26 +0000 (22:46 +0000)]
.
roland [Sun, 7 Jul 1996 22:45:05 +0000 (22:45 +0000)]
Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
critical section lock before unlinking dying active resources.
The unlock just before return is right (i.e. old code unlocked twice).
dje [Sun, 7 Jul 1996 17:26:50 +0000 (17:26 +0000)]
Recognize rtems as an o/s.
miles [Sun, 7 Jul 1996 16:54:03 +0000 (16:54 +0000)]
.
miles [Sun, 7 Jul 1996 16:51:44 +0000 (16:51 +0000)]
(struct line_wrap_data):
Rename POINT field to POINT_COL.
Add POINT_OFFS field.
(__line_wrap_update): New decl.
(line_wrap_set_lmargin, line_wrap_set_rmargin,
line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
miles [Sun, 7 Jul 1996 16:49:06 +0000 (16:49 +0000)]
(lwupdate):
New function, mostly was __line_wrap_update.
Use POINT_COL field instead of POINT.
Update D->point_offs when done.
Use memmove instead of memcpy where overlap is possible (not
necessary using current implementation of memcpy, but...).
(__line_wrap_output): Use lwupdate.
(__line_wrap_update): New function.
(line_wrap_set_lmargin, line_wrap_set_rmargin,
line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
(ensure_unwrapped, ensure_wrapped): New functions.
roland [Sat, 6 Jul 1996 11:19:21 +0000 (11:19 +0000)]
.
roland [Sat, 6 Jul 1996 11:01:20 +0000 (11:01 +0000)]
.
roland [Sat, 6 Jul 1996 11:00:43 +0000 (11:00 +0000)]
Drepper added Q10
roland [Sat, 6 Jul 1996 10:59:13 +0000 (10:59 +0000)]
regenerated by gperf from locfile-kw.gperf
roland [Sat, 6 Jul 1996 10:54:55 +0000 (10:54 +0000)]
Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* math/Makefile (routines): Move s_ldexp, s_frexp, s_modf here from
calls, since the f and l versions are not all there yet.
miles [Sat, 6 Jul 1996 03:57:56 +0000 (03:57 +0000)]
.
miles [Sat, 6 Jul 1996 03:49:32 +0000 (03:49 +0000)]
(logout): Do nothing if getutline_r returns ESRCH.
miles [Sat, 6 Jul 1996 00:16:42 +0000 (00:16 +0000)]
(login): Make a copy of *UT, fill in various fields that we supply (ut_line,
ut_type, ut_pid), and use the copy in place of UT.
miles [Sat, 6 Jul 1996 00:03:07 +0000 (00:03 +0000)]
(pututline_r):
Since we assign RESULT from lseek now, check that it's >= 0, not == 0.
roland [Fri, 5 Jul 1996 23:55:36 +0000 (23:55 +0000)]
Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* math/Makefile (calls): Add s_ldexp, s_frexp, s_modf.
These functions are traditionally duplicated in libc and libm.
Go with the flow.
roland [Fri, 5 Jul 1996 23:51:10 +0000 (23:51 +0000)]
.
miles [Fri, 5 Jul 1996 23:48:41 +0000 (23:48 +0000)]
(getutline_r): When we return ESRCH, mark UTMP_DATA->ubuf invalid (by setting
UTMP_DATA->loc_utmp to 0).
roland [Fri, 5 Jul 1996 23:47:08 +0000 (23:47 +0000)]
Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
signal during critical section doing interruptible RPC, if
_hurdsig_abort_rpcs wants to change thread state, do thread_set_state
before thread_resume. If in critical section, pass 0 for SIGNO to
_hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
roland [Fri, 5 Jul 1996 23:47:02 +0000 (23:47 +0000)]
Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
roland [Fri, 5 Jul 1996 20:02:58 +0000 (20:02 +0000)]
.
roland [Fri, 5 Jul 1996 20:02:33 +0000 (20:02 +0000)]
Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/sys/user.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add it.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
roland [Fri, 5 Jul 1996 19:18:13 +0000 (19:18 +0000)]
.
roland [Fri, 5 Jul 1996 19:17:17 +0000 (19:17 +0000)]
Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
for `struct timespec' member names.
(TIMESPEC_TO_TIMEVAL): Likewise.
roland [Fri, 5 Jul 1996 19:17:13 +0000 (19:17 +0000)]
Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
Move struct timespec defn outside [_TIME_H] so it can be got with
#define __need_timespec.
roland [Fri, 5 Jul 1996 19:17:10 +0000 (19:17 +0000)]
Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
(struct timeval): Add bodiless decl for scope.