Daniel Eischen
29ac6bd228
libc MT-safety, part 2.
...
Add a lock to FILE. flockfile and friends are now implemented
(for the most part) in libc. flockfile_debug is implemented in
libc_r; I suppose it's about time to kill it but will do it in
a future commit.
Fix a potential deadlock in _fwalk in a threaded environment.
A file flag (__SIGN) was added to stdio.h that, when set, tells
_fwalk to ignore it in its walk. This seemed to be needed in
refill.c because each file needs to be locked when flushing.
Add a stub for pthread_self in libc. This is needed by flockfile
which is allowed by POSIX to be recursive.
Make fgetpos() error return value (-1) match man page.
Remove recursive calls to locked functions (stdio); I think I've
got them all, but I may have missed a couple.
A few K&R -> ANSI conversions along with removal of a few instances
of "register".
$Id$ -> $FreeBSD$ in libc/stdio/rget.c
Not objected to: -arch, a few months ago
2001-02-11 22:06:43 +00:00
..
1999-08-28 00:22:10 +00:00
2001-02-11 22:06:43 +00:00
2001-01-24 13:01:12 +00:00
2001-01-24 13:01:12 +00:00
2000-10-30 13:23:19 +00:00
2000-10-30 13:23:19 +00:00
2001-01-24 13:01:12 +00:00
2000-11-17 11:44:16 +00:00
2000-08-31 15:56:15 +00:00
2000-04-21 09:42:15 +00:00
2001-01-24 13:01:12 +00:00
2000-12-29 14:08:20 +00:00
1999-08-28 05:11:36 +00:00
2000-10-30 13:23:19 +00:00
1999-11-28 23:28:49 +00:00
2000-10-30 13:23:19 +00:00
2001-01-24 13:01:12 +00:00
2000-09-09 11:39:59 +00:00
2001-01-24 13:01:12 +00:00
2000-12-06 03:15:49 +00:00
2000-11-17 11:44:16 +00:00
2000-08-31 15:56:15 +00:00
2001-01-24 13:01:12 +00:00
2000-04-21 09:42:15 +00:00
1999-12-27 04:44:04 +00:00
2000-11-14 11:20:58 +00:00
2001-02-01 16:38:02 +00:00
2000-12-11 15:15:20 +00:00
1999-08-28 00:22:10 +00:00
1999-04-24 18:28:24 +00:00
2001-01-12 15:46:56 +00:00
2001-01-24 13:01:12 +00:00
2000-10-30 13:23:19 +00:00
2000-10-30 13:23:19 +00:00
2001-01-24 13:01:12 +00:00
2000-04-21 09:42:15 +00:00
1999-08-28 00:22:10 +00:00
2001-01-24 13:01:12 +00:00
2001-02-01 16:38:02 +00:00
2001-01-24 13:01:12 +00:00
2000-04-21 09:42:15 +00:00
1999-08-28 00:22:10 +00:00
2000-04-21 09:42:15 +00:00
1998-08-02 14:41:34 +00:00
2001-02-01 16:38:02 +00:00
2001-01-24 13:01:12 +00:00
2001-02-01 16:38:02 +00:00
2001-01-24 13:01:12 +00:00
2000-10-30 13:23:19 +00:00
2000-10-30 13:23:19 +00:00
1999-08-28 00:22:10 +00:00
2000-10-30 13:23:19 +00:00
2000-11-20 16:18:45 +00:00
2000-12-17 21:10:41 +00:00
2000-10-30 13:23:19 +00:00
2000-10-30 13:23:19 +00:00
2000-04-21 09:42:15 +00:00
2001-01-24 13:01:12 +00:00
2000-10-30 13:23:19 +00:00
2000-04-21 09:42:15 +00:00
1999-11-04 04:16:28 +00:00
2000-12-29 14:08:20 +00:00
1999-12-18 04:47:43 +00:00
1999-08-28 00:22:10 +00:00
2000-04-21 09:42:15 +00:00
2000-04-21 09:42:15 +00:00
2001-01-24 13:01:12 +00:00
2001-02-01 16:38:02 +00:00
2001-01-24 13:01:12 +00:00
2000-04-21 09:42:15 +00:00
1999-11-04 04:16:28 +00:00
2000-11-20 16:25:10 +00:00
2000-09-06 18:16:48 +00:00
2000-12-29 14:08:20 +00:00
1999-08-28 00:22:10 +00:00
2000-11-22 09:23:54 +00:00
2001-01-24 13:01:12 +00:00
2001-02-01 16:38:02 +00:00
2000-10-30 13:23:19 +00:00
2001-01-24 13:01:12 +00:00
2000-10-30 13:23:19 +00:00
2000-04-21 09:42:15 +00:00
2000-12-29 14:08:20 +00:00
2001-01-24 13:01:12 +00:00
2001-02-05 14:55:14 +00:00
2000-10-30 13:23:19 +00:00
2001-01-16 09:08:22 +00:00
2001-02-01 16:38:02 +00:00
2000-12-29 14:08:20 +00:00
2000-11-14 11:20:58 +00:00
2000-10-30 13:23:19 +00:00
2000-04-21 09:42:15 +00:00
2001-01-24 13:01:12 +00:00
1999-08-28 00:22:10 +00:00
2001-01-24 13:01:12 +00:00
2000-10-30 13:23:19 +00:00
2001-01-24 13:01:12 +00:00
2001-01-23 04:49:39 +00:00
2000-11-17 11:44:16 +00:00
2001-01-24 13:01:12 +00:00
2001-01-24 13:01:12 +00:00
2001-01-24 13:01:12 +00:00
2001-01-12 15:46:56 +00:00
2001-01-24 13:01:12 +00:00
2000-09-06 18:16:48 +00:00
2000-09-06 18:16:48 +00:00
2000-10-30 13:23:19 +00:00
2000-04-21 09:42:15 +00:00
2000-12-29 14:08:20 +00:00
2001-01-24 13:01:12 +00:00
2000-12-11 04:00:36 +00:00
2000-12-11 15:15:20 +00:00
2000-10-30 13:23:19 +00:00
2001-01-24 13:01:12 +00:00
2001-01-24 13:01:12 +00:00
2000-11-22 16:02:00 +00:00
2000-07-18 01:38:19 +00:00
2000-11-22 16:02:00 +00:00
2000-07-18 01:38:19 +00:00
2000-08-01 21:19:09 +00:00
2000-07-18 01:38:19 +00:00
1999-08-28 00:22:10 +00:00
2000-04-21 09:42:15 +00:00
2001-01-24 13:01:12 +00:00
2000-10-30 13:23:19 +00:00
2001-01-24 13:01:12 +00:00
2000-11-22 09:23:54 +00:00
2000-12-04 01:45:57 +00:00
2000-11-20 14:11:46 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
2000-11-22 16:02:00 +00:00
2001-01-24 13:01:12 +00:00
1999-05-18 04:48:58 +00:00
2001-01-16 22:25:26 +00:00
2001-01-24 13:01:12 +00:00
2000-04-21 09:42:15 +00:00
1999-10-02 19:37:14 +00:00
2000-12-11 15:15:20 +00:00
2001-01-24 13:01:12 +00:00
2000-10-30 13:23:19 +00:00
1998-09-16 04:17:47 +00:00
2000-10-30 13:23:19 +00:00
2000-06-17 11:09:24 +00:00
2000-12-29 14:08:20 +00:00
2001-02-01 16:38:02 +00:00
1999-01-06 18:11:53 +00:00
1999-08-28 00:22:10 +00:00
2001-01-23 03:40:32 +00:00
2001-02-01 16:38:02 +00:00
2001-01-24 13:01:12 +00:00
2000-04-21 09:42:15 +00:00
2001-01-16 09:08:22 +00:00
2001-02-01 16:38:02 +00:00
2000-11-20 14:11:46 +00:00
2001-01-24 13:01:12 +00:00
2001-01-24 13:01:12 +00:00
2001-01-24 13:01:12 +00:00
2000-12-29 14:08:20 +00:00
2000-10-30 13:23:19 +00:00
2000-11-10 17:46:15 +00:00
2001-02-01 16:38:02 +00:00
2001-01-24 13:01:12 +00:00
2001-02-07 13:45:30 +00:00
2000-10-30 13:23:19 +00:00
2001-02-01 16:38:02 +00:00
1999-08-28 00:22:10 +00:00
2000-12-29 14:08:20 +00:00
2000-07-01 15:55:49 +00:00
2000-12-29 14:08:20 +00:00
2001-01-24 13:01:12 +00:00
2000-10-30 13:23:19 +00:00
2000-10-30 13:23:19 +00:00
2001-02-01 16:38:02 +00:00
2001-01-24 13:01:12 +00:00
2001-01-24 13:01:12 +00:00
2001-01-24 13:01:12 +00:00
2001-01-24 13:01:12 +00:00