kopensolaris-gnu/glibc.git
25 years ago(_hurd_fd_get): Don't do critical section locking; don't leave the
roland [Tue, 14 Feb 1995 14:54:02 +0000 (14:54 +0000)]
(_hurd_fd_get): Don't do critical section locking; don't leave the
descriptor locked on return.
(HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the descriptor locked.
Use a critical section around locking the descriptor.
Check for an empty descriptor and return EBADF.

25 years agoDon't expect _hurd_fd_get to lock the descriptor.
roland [Tue, 14 Feb 1995 14:43:13 +0000 (14:43 +0000)]
Don't expect _hurd_fd_get to lock the descriptor.
Use critical sections while locking the descriptors.
Check for empty descriptor and return EBADF.

25 years agoDon't lock the descriptor before using HURD_FD_PORT_USE.
roland [Tue, 14 Feb 1995 14:26:21 +0000 (14:26 +0000)]
Don't lock the descriptor before using HURD_FD_PORT_USE.

25 years agoUse a critical section while locking the descriptor.
roland [Tue, 14 Feb 1995 13:50:01 +0000 (13:50 +0000)]
Use a critical section while locking the descriptor.

25 years agoCheck for empty descriptor and return EBADF.
roland [Tue, 14 Feb 1995 13:47:45 +0000 (13:47 +0000)]
Check for empty descriptor and return EBADF.

25 years ago(init_stdio): Don't expect _hurd_fd_get to lock the descriptor.
roland [Tue, 14 Feb 1995 13:45:59 +0000 (13:45 +0000)]
(init_stdio): Don't expect _hurd_fd_get to lock the descriptor.

25 years agoDon't expect the descriptor to be locked.
roland [Tue, 14 Feb 1995 13:43:31 +0000 (13:43 +0000)]
Don't expect the descriptor to be locked.

25 years agoUse critical sections while locking the descriptor.
roland [Tue, 14 Feb 1995 13:29:04 +0000 (13:29 +0000)]
Use critical sections while locking the descriptor.

25 years agoUse a critical section while locking the descriptor.
roland [Tue, 14 Feb 1995 13:22:16 +0000 (13:22 +0000)]
Use a critical section while locking the descriptor.

25 years agoInitial revision
roland [Tue, 14 Feb 1995 10:36:45 +0000 (10:36 +0000)]
Initial revision

25 years agoInitial revision
roland [Tue, 14 Feb 1995 10:36:16 +0000 (10:36 +0000)]
Initial revision

25 years agoUse _hurd_ctty_output.
roland [Tue, 14 Feb 1995 10:33:36 +0000 (10:33 +0000)]
Use _hurd_ctty_output.

25 years ago(dtable): Add ctty-input and ctty-output.
roland [Tue, 14 Feb 1995 08:54:27 +0000 (08:54 +0000)]
(dtable): Add ctty-input and ctty-output.

25 years agoUse _hurd_ctty_output.
roland [Tue, 14 Feb 1995 08:53:48 +0000 (08:53 +0000)]
Use _hurd_ctty_output.

25 years agoUse _hurd_ctty_input.
roland [Tue, 14 Feb 1995 08:53:33 +0000 (08:53 +0000)]
Use _hurd_ctty_input.

25 years ago(_hurd_ctty_input, _hurd_ctty_output): Declare them.
roland [Tue, 14 Feb 1995 08:01:09 +0000 (08:01 +0000)]
(_hurd_ctty_input, _hurd_ctty_output): Declare them.

25 years ago(%e, %f, %g): Use strod, __strtold, or __strtof as appropriate to the type.
roland [Mon, 13 Feb 1995 23:10:41 +0000 (23:10 +0000)]
(%e, %f, %g): Use strod, __strtold, or __strtof as appropriate to the type.

25 years ago(__huge_val_t): New macro to avoid repeating the union.
roland [Mon, 13 Feb 1995 23:09:21 +0000 (23:09 +0000)]
(__huge_val_t): New macro to avoid repeating the union.
(HUGE_VAL, __huge_val): Use it.
[__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with analogous macros
to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes.

25 years ago(FLOAT_HUGE_VAL): Define this to HUGE_VALl.
roland [Mon, 13 Feb 1995 23:06:58 +0000 (23:06 +0000)]
(FLOAT_HUGE_VAL): Define this to HUGE_VALl.
(STRTOF): Set to __strtold; define strtold as weak alias.

25 years ago(FLOAT_HUGE_VAL): Define this to HUGE_VALf.
roland [Mon, 13 Feb 1995 23:06:27 +0000 (23:06 +0000)]
(FLOAT_HUGE_VAL): Define this to HUGE_VALf.
(STRTOF): Set to __strtof; define strtof as weak alias.

25 years ago(union ieee754_float): New type.
roland [Mon, 13 Feb 1995 23:05:28 +0000 (23:05 +0000)]
(union ieee754_float): New type.
(IEEE754_FLOAT_BIAS): New macro.

25 years agoAdd tests from rfg for using normal chars as multibyte chars.
roland [Mon, 13 Feb 1995 23:04:28 +0000 (23:04 +0000)]
Add tests from rfg for using normal chars as multibyte chars.

25 years agoFix typos.
roland [Mon, 13 Feb 1995 23:03:19 +0000 (23:03 +0000)]
Fix typos.

25 years agoInclude "fpioconst.h".
roland [Mon, 13 Feb 1995 22:12:34 +0000 (22:12 +0000)]
Include "fpioconst.h".
(_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10.
(__printf_fp): All references changed.
Don't bother computing THOUSANDS_SEP if GROUPING is empty.
(group_number): Use memmove instead of memcpy, since operands overlap.

25 years ago(malloc_init): Add self reference to avoid not only the `defined but not
roland [Mon, 13 Feb 1995 22:04:34 +0000 (22:04 +0000)]
(malloc_init): Add self reference to avoid not only the `defined but not
used' warning, but also to avoid GCC optimizing out the entire function
(!).

25 years agoInclude ctype.h.
roland [Mon, 13 Feb 1995 17:42:17 +0000 (17:42 +0000)]
Include ctype.h.

25 years ago(install-lib-non.a): Don't include $(non-lib.a).
roland [Mon, 13 Feb 1995 16:42:42 +0000 (16:42 +0000)]
(install-lib-non.a): Don't include $(non-lib.a).

25 years agoInclude string.h; #define bcopy using memcpy.
roland [Mon, 13 Feb 1995 16:36:08 +0000 (16:36 +0000)]
Include string.h; #define bcopy using memcpy.

25 years agoInitial revision
roland [Sat, 11 Feb 1995 18:59:34 +0000 (18:59 +0000)]
Initial revision

25 years agoInitial revision
roland [Sat, 11 Feb 1995 18:57:03 +0000 (18:57 +0000)]
Initial revision

25 years ago(aux): Add fpioconst.
roland [Sat, 11 Feb 1995 18:48:53 +0000 (18:48 +0000)]
(aux): Add fpioconst.
(distribute): Add fpioconst.h.

25 years agoInitial revision
roland [Sat, 11 Feb 1995 18:12:45 +0000 (18:12 +0000)]
Initial revision

25 years agoInitial revision
roland [Sat, 11 Feb 1995 18:11:42 +0000 (18:11 +0000)]
Initial revision

25 years ago(routines): Add strtof, strtold.
roland [Sat, 11 Feb 1995 18:09:57 +0000 (18:09 +0000)]
(routines): Add strtof, strtold.

25 years ago(routines): Add mpn2flt, mpn2dbl, mpn2ldbl.
roland [Sat, 11 Feb 1995 18:09:22 +0000 (18:09 +0000)]
(routines): Add mpn2flt, mpn2dbl, mpn2ldbl.

25 years agoInitial revision
roland [Sat, 11 Feb 1995 18:06:19 +0000 (18:06 +0000)]
Initial revision

25 years agoInitial revision
roland [Sat, 11 Feb 1995 18:05:19 +0000 (18:05 +0000)]
Initial revision

25 years agoInitial revision
roland [Sat, 11 Feb 1995 17:57:27 +0000 (17:57 +0000)]
Initial revision

25 years agoInitial revision
roland [Sat, 11 Feb 1995 17:56:29 +0000 (17:56 +0000)]
Initial revision

25 years agoInitial revision
roland [Sat, 11 Feb 1995 17:55:46 +0000 (17:55 +0000)]
Initial revision

25 years agoInitial revision
roland [Sat, 11 Feb 1995 17:51:23 +0000 (17:51 +0000)]
Initial revision

25 years ago(Integer Conversions): Document ' flag.
roland [Sat, 11 Feb 1995 15:25:54 +0000 (15:25 +0000)]
(Integer Conversions): Document ' flag.
(Floating-Point Conversions): Likewise.
(Conversion Specifier Options): Document `group' member for ' flag.

25 years ago(install-lib.a): Don't filter out $(non-lib.a).
roland [Sat, 11 Feb 1995 09:05:20 +0000 (09:05 +0000)]
(install-lib.a): Don't filter out $(non-lib.a).
($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@ appears
in $(non-lib.a).

25 years agoA normal ASCII character translates to itself.
roland [Fri, 10 Feb 1995 22:22:55 +0000 (22:22 +0000)]
A normal ASCII character translates to itself.

25 years agoA normal ASCII character translates to itself.
roland [Fri, 10 Feb 1995 22:20:10 +0000 (22:20 +0000)]
A normal ASCII character translates to itself.

25 years agoRemove `const' from function prototype.
roland [Fri, 10 Feb 1995 00:14:13 +0000 (00:14 +0000)]
Remove `const' from function prototype.

25 years agoRemove `const' from function prototype.
roland [Fri, 10 Feb 1995 00:10:54 +0000 (00:10 +0000)]
Remove `const' from function prototype.

25 years agoRemove `const' from function prototype.
roland [Fri, 10 Feb 1995 00:10:06 +0000 (00:10 +0000)]
Remove `const' from function prototype.

25 years agoIncrement *IDX at beginning of loop, so when we return a name, it is
roland [Fri, 10 Feb 1995 00:09:17 +0000 (00:09 +0000)]
Increment *IDX at beginning of loop, so when we return a name, it is
incremented past the value that produces that same name.

25 years ago(fgets): Change `size_t' to `int' in prototype. Sigh.
roland [Fri, 10 Feb 1995 00:06:17 +0000 (00:06 +0000)]
(fgets): Change `size_t' to `int' in prototype.  Sigh.

25 years ago(fgets): Change `size_t' to `int' in prototype. Sigh.
roland [Thu, 9 Feb 1995 23:01:48 +0000 (23:01 +0000)]
(fgets): Change `size_t' to `int' in prototype.  Sigh.

25 years ago(longjmp, _longjmp, __longjmp, siglongjmp): Remove `const' from prototypes.
roland [Thu, 9 Feb 1995 22:56:20 +0000 (22:56 +0000)]
(longjmp, _longjmp, __longjmp, siglongjmp): Remove `const' from prototypes.

25 years ago(printf_unknown): Print ' for INFO->group flag.
roland [Thu, 9 Feb 1995 17:49:06 +0000 (17:49 +0000)]
(printf_unknown): Print ' for INFO->group flag.

25 years agoDon't clobber ERR with the msg_sig_post call when it's EBACKGROUND;
roland [Thu, 9 Feb 1995 08:57:21 +0000 (08:57 +0000)]
Don't clobber ERR with the msg_sig_post call when it's EBACKGROUND;
we need to notice that it is EBACKGROUND and retry the io_write.

25 years agoDon't clobber ERR with the msg_sig_post call when it's EBACKGROUND;
roland [Thu, 9 Feb 1995 08:55:52 +0000 (08:55 +0000)]
Don't clobber ERR with the msg_sig_post call when it's EBACKGROUND;
we need to notice that it is EBACKGROUND and retry the io_read.

25 years agoAdd a blank in the #! line for 4.2BSD Dynix etc.
djm [Wed, 8 Feb 1995 15:05:06 +0000 (15:05 +0000)]
Add a blank in the #! line for 4.2BSD Dynix etc.

25 years agoadd a space in #! for 4.2bsd dynix etc.
djm [Wed, 8 Feb 1995 15:03:05 +0000 (15:03 +0000)]
add a space in #! for 4.2bsd dynix etc.

25 years agoadd a space in #! line
djm [Wed, 8 Feb 1995 14:59:55 +0000 (14:59 +0000)]
add a space in #! line
for 4.2bsd dynix etc.

25 years ago[FATAL_PREPARE_INCLUDE]: Include it.
roland [Wed, 8 Feb 1995 12:00:55 +0000 (12:00 +0000)]
[FATAL_PREPARE_INCLUDE]: Include it.

25 years ago[FATAL_PREPARE_INCLUDE]: Include it.
roland [Wed, 8 Feb 1995 11:59:33 +0000 (11:59 +0000)]
[FATAL_PREPARE_INCLUDE]: Include it.

25 years ago[FATAL_PREPARE_INCLUDE]: Include it.
roland [Wed, 8 Feb 1995 11:58:39 +0000 (11:58 +0000)]
[FATAL_PREPARE_INCLUDE]: Include it.

25 years ago(FATAL_PREPARE_INCLUDE): New macro, set to <mach/mig_support.h>.
roland [Wed, 8 Feb 1995 10:01:01 +0000 (10:01 +0000)]
(FATAL_PREPARE_INCLUDE): New macro, set to <mach/mig_support.h>.

25 years ago[__STRICT_ANSI__] (stdin, stdout, stderr): Define as macros, to
roland [Wed, 8 Feb 1995 04:55:39 +0000 (04:55 +0000)]
[__STRICT_ANSI__] (stdin, stdout, stderr): Define as macros, to
satisfy ANSI pedants.

25 years agoInitial revision
roland [Wed, 8 Feb 1995 03:06:52 +0000 (03:06 +0000)]
Initial revision

25 years ago(flushbuf): When there is no new data after priming the stream,
roland [Wed, 8 Feb 1995 02:02:39 +0000 (02:02 +0000)]
(flushbuf): When there is no new data after priming the stream,
return without writing out the buffer.

25 years ago(tests): Add bug7.
roland [Wed, 8 Feb 1995 02:00:43 +0000 (02:00 +0000)]
(tests): Add bug7.

25 years agoInitial revision
roland [Wed, 8 Feb 1995 01:54:30 +0000 (01:54 +0000)]
Initial revision

25 years ago(S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK, S_ISSOCK): Define only if
roland [Tue, 7 Feb 1995 23:06:40 +0000 (23:06 +0000)]
(S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK, S_ISSOCK): Define only if
the corresponding underlying __S_IF* macro is defined.

25 years agoDecrement COPY after getting a char from __fillbf.
roland [Tue, 7 Feb 1995 23:02:38 +0000 (23:02 +0000)]
Decrement COPY after getting a char from __fillbf.

25 years ago(tests): Add errnobug.
roland [Tue, 7 Feb 1995 23:00:41 +0000 (23:00 +0000)]
(tests): Add errnobug.

25 years agoInitial revision
roland [Tue, 7 Feb 1995 23:00:18 +0000 (23:00 +0000)]
Initial revision

25 years agoInclude string.h.
roland [Tue, 7 Feb 1995 22:02:36 +0000 (22:02 +0000)]
Include string.h.

25 years agoDon't #include <mach/mig_support.h>. Its inlines cause trouble for files
roland [Tue, 7 Feb 1995 22:01:16 +0000 (22:01 +0000)]
Don't #include <mach/mig_support.h>.  Its inlines cause trouble for files
defining global register variables.

25 years ago(__mig_strncpy): Fix typos.
roland [Tue, 7 Feb 1995 21:09:38 +0000 (21:09 +0000)]
(__mig_strncpy): Fix typos.

25 years ago(guess_grouping, group_number): New functions.
roland [Tue, 7 Feb 1995 20:57:36 +0000 (20:57 +0000)]
(guess_grouping, group_number): New functions.
(__printf_fp): Implement `group' flag using them.

25 years ago(parse_printf_format): Fix typo in last change.
roland [Tue, 7 Feb 1995 20:56:51 +0000 (20:56 +0000)]
(parse_printf_format): Fix typo in last change.

25 years agoUse _strerror_internal for %m.
roland [Tue, 7 Feb 1995 20:37:30 +0000 (20:37 +0000)]
Use _strerror_internal for %m.

25 years agoFixes from drepper for 64-bit limbs.
roland [Tue, 7 Feb 1995 20:33:14 +0000 (20:33 +0000)]
Fixes from drepper for 64-bit limbs.

25 years ago(group_number): New function.
roland [Tue, 7 Feb 1995 20:09:40 +0000 (20:09 +0000)]
(group_number): New function.
(vfprintf): Support %' flag for integer formats, by calling group_number
after formatting the number in WORK.

25 years ago(parse_printf_format): Grok %' flag and set INFO.group.
roland [Tue, 7 Feb 1995 19:57:00 +0000 (19:57 +0000)]
(parse_printf_format): Grok %' flag and set INFO.group.

25 years ago(struct printf_info): New member `group', for %' flag.
roland [Tue, 7 Feb 1995 18:39:49 +0000 (18:39 +0000)]
(struct printf_info): New member `group', for %' flag.

25 years ago(include sysd-dirs): Protect with ifndef avoid-generated.
roland [Tue, 7 Feb 1995 17:24:11 +0000 (17:24 +0000)]
(include sysd-dirs): Protect with ifndef avoid-generated.
(parent-clean): Remove sysd-rules, not sysdirs.
(distclean): Pass avoid-generated=yes to submake.
(distclean-1): Remove $(sysdep-$(distclean-1)).

25 years ago(objects, objs): Depend on $(extra-objs) too.
roland [Tue, 7 Feb 1995 17:21:32 +0000 (17:21 +0000)]
(objects, objs): Depend on $(extra-objs) too.
(include sysd-Makefile): Protect with ifndef avoid-generated.

25 years ago(+defines, +gnu-stabs, gnu-as): Variables removed.
roland [Tue, 7 Feb 1995 17:20:04 +0000 (17:20 +0000)]
(+defines, +gnu-stabs, gnu-as): Variables removed.
(CPPFLAGS): Use $(defines) in place of $(+defines).
Replace -D_LIBC with -include $(..)libc-symbols.h.

25 years agoSet seen bit before calling fclose.
roland [Tue, 7 Feb 1995 17:17:56 +0000 (17:17 +0000)]
Set seen bit before calling fclose.

25 years agoKeep track of numbers of successes and each kind of failure.
roland [Tue, 7 Feb 1995 04:45:27 +0000 (04:45 +0000)]
Keep track of numbers of successes and each kind of failure.
Return EPERM or EACCES only if every task failed that way.

25 years agoHandle out of band buffers correctly.
roland [Tue, 7 Feb 1995 04:42:14 +0000 (04:42 +0000)]
Handle out of band buffers correctly.

25 years ago(PTRACE_ATTACH, PTRACE_DETACH): Stop or resume the process after frobbing.
roland [Tue, 7 Feb 1995 04:38:20 +0000 (04:38 +0000)]
(PTRACE_ATTACH, PTRACE_DETACH): Stop or resume the process after frobbing.

25 years agoUse spin lock operations on sigstate locks throughout.
roland [Tue, 7 Feb 1995 04:34:58 +0000 (04:34 +0000)]
Use spin lock operations on sigstate locks throughout.
(_hurd_thread_sigstate): Don't lock the sigstate lock.
(_hurd_internal_post_signal): New subfunction `mark_pending'; replace
repeated sequences with calls to it.
Don't expect the sigstate lock to be held on entry; lock it just before
examining sigaction.  In handler case, check SS->critical_section after
calling abort_rpcs; if set, mark the signal pending and resume the thread.

25 years agoUse spin lock operations on sigstate lock.
roland [Tue, 7 Feb 1995 04:25:56 +0000 (04:25 +0000)]
Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.

25 years agoUse spin lock operations on sigstate lock.
roland [Tue, 7 Feb 1995 04:24:29 +0000 (04:24 +0000)]
Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.

25 years agoUse spin lock operations on sigstate lock.
roland [Tue, 7 Feb 1995 04:22:19 +0000 (04:22 +0000)]
Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.

25 years agoUse spin lock operations on sigstate lock.
roland [Tue, 7 Feb 1995 04:21:19 +0000 (04:21 +0000)]
Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.
Fix critical section locking.

25 years agoUse spin lock operations on sigstate lock.
roland [Tue, 7 Feb 1995 04:18:46 +0000 (04:18 +0000)]
Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.

25 years agoUse spin lock operations on sigstate lock.
roland [Tue, 7 Feb 1995 04:18:00 +0000 (04:18 +0000)]
Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.

25 years agoUse spin lock operations on sigstate lock.
roland [Tue, 7 Feb 1995 04:17:20 +0000 (04:17 +0000)]
Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.

25 years agoUse spin lock operations on sigstate lock.
roland [Tue, 7 Feb 1995 04:16:33 +0000 (04:16 +0000)]
Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.
Fix critical section locking.

25 years agoUse spin lock operations on sigstate lock.
roland [Tue, 7 Feb 1995 04:13:55 +0000 (04:13 +0000)]
Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.

25 years agoUse spin lock operations on sigstate lock.
roland [Tue, 7 Feb 1995 04:12:55 +0000 (04:12 +0000)]
Use spin lock operations on sigstate lock.
Don't expect _hurd_self_sigstate to lock it.

25 years ago(_hurd_self_sigstate_unlocked): Function removed.
roland [Tue, 7 Feb 1995 04:10:44 +0000 (04:10 +0000)]
(_hurd_self_sigstate_unlocked): Function removed.
(_hurd_self_sigstate): Don't lock the sigstate lock.
(HURD_EINTR_RPC): Call _hurd_self_sigstate instead of
_hurd_self_sigstate_unlocked.