Commit graph

203 commits

Author SHA1 Message Date
rsc
46199d113e bug fix 2005-02-08 20:24:52 +00:00
rsc
2acd6fa6ff expose unix mode bits 2005-02-08 20:17:02 +00:00
rsc
0a22905232 start adding DM bits 2005-02-08 20:08:28 +00:00
rsc
f3ecd8ae84 play nicer with others w.r.t. signal masks 2005-02-08 19:08:47 +00:00
rsc
4a62371140 Add searchpath(). 2005-01-23 22:33:59 +00:00
rsc
0ebee0de76 add x86 64 2005-01-18 05:57:56 +00:00
rsc
10f14b04f3 update return interface 2005-01-16 21:28:44 +00:00
rsc
78e51a8c66 checkpoint 2005-01-14 03:45:44 +00:00
rsc
133c240533 these mkfiles only confuse 2005-01-13 04:58:16 +00:00
rsc
a19ff5b204 debugging for sam, and an old fix forgotten 2005-01-07 18:03:36 +00:00
rsc
005a85f3a2 success on the sun 2005-01-07 08:02:54 +00:00
rsc
c345061e8d sunos fixes 2005-01-07 07:47:37 +00:00
rsc
c71af67adc do not depend on flock 2005-01-07 07:19:35 +00:00
rsc
48bfee4e5b in with the new 2005-01-04 22:30:15 +00:00
rsc
70723aae3c cache answer 2005-01-04 22:19:25 +00:00
rsc
a1d42887d6 add execl and rand 2005-01-04 22:19:18 +00:00
rsc
b94ad13d4b cache answer 2005-01-04 22:19:07 +00:00
rsc
66c10f02c3 avoid duplicated code.
guarantee that EINTR is "interrupted".
2005-01-04 22:18:54 +00:00
rsc
f84eebeb81 use fcntl F_SETLK instead of flock, for sun's. 2005-01-04 22:18:40 +00:00
rsc
b4223cd6f2 exception names 2005-01-04 22:18:13 +00:00
rsc
4fe01a2b11 change _p9pow10 to fmtpow10 2004-12-31 05:37:15 +00:00
wkj
8d8865f3d0 Rename lrand to p9lrand, too. 2004-12-29 02:44:01 +00:00
wkj
e25d5b710a Avoid conflicts with stdlib. 2004-12-29 01:30:19 +00:00
wkj
c90dd38f54 Formatting nits. 2004-12-29 01:27:57 +00:00
wkj
4645c5d7d3 #define pow10 to _p9pow10 as a stop-gap. 2004-12-29 01:27:23 +00:00
wkj
829e822386 Appease the time_t monster. 2004-12-29 01:25:41 +00:00
wkj
c2070b2fc9 Include netinet/in.h to get ntohs prototype. 2004-12-29 01:25:18 +00:00
wkj
374886540d Formatting nit. 2004-12-29 01:24:13 +00:00
rsc
b37396bd11 make these files look like plan 9's 2004-12-28 20:01:58 +00:00
rsc
0341761074 add awaitfor and waitfor 2004-12-27 19:11:21 +00:00
rsc
e8edc17986 lock using Lock instead of QLock.
qlocks are complicated enough that
they need to be able to print during
debugging.
2004-12-27 05:18:22 +00:00
rsc
10b4555766 as wkj pointed out, notifyseton should not call notesetenable 2004-12-27 03:22:54 +00:00
rsc
eb7f99c552 fmtdef.h needed for VA_COPY 2004-12-27 00:11:32 +00:00
rsc
cdccf023aa add isNaN 2004-12-27 00:11:13 +00:00
rsc
e686c2b35e forgot this 2004-12-27 00:11:01 +00:00
rsc
5787ba4d73 add proper locking for libfmt! 2004-12-26 23:17:18 +00:00
rsc
a3add39bbc plan 9 changes 2004-12-26 23:17:03 +00:00
rsc
00975b7ef1 add portdate 2004-12-26 23:10:19 +00:00
rsc
5cd259167b portdates 2004-12-26 23:08:53 +00:00
rsc
ae1c9bc4ab more tests 2004-12-26 23:07:49 +00:00
rsc
df121a0027 import changes from plan 9 2004-12-26 23:07:37 +00:00
rsc
a76c0fd4a9 pick up plan 9 fltfmt changes 2004-12-26 22:36:52 +00:00
rsc
3f1a219769 various little changes.
also pick up latest fltfmt from plan 9
2004-12-26 22:36:12 +00:00
rsc
5f8fa94796 cleanups - lots of removed files now in thread library.
qlock.c - stubs to thread library
notify.c - clean interface slightly.
2004-12-26 21:51:15 +00:00
rsc
b2ff538258 add for unix port 2004-12-26 21:50:39 +00:00
rsc
bd36f714d2 add for unix port 2004-12-26 21:50:28 +00:00
rsc
e5aa96acbf clean up for unix port 2004-12-26 21:50:14 +00:00
rsc
9acaad4570 clean up signal handling 2004-10-23 02:59:33 +00:00
rsc
298f6bd657 print 0 %ux as 0x0 2004-10-22 17:13:54 +00:00
rsc
32116738e1 more debugging 2004-10-22 17:12:38 +00:00
rsc
aa200fe309 try to avoid calling notify on the "dumb" signals 2004-10-22 17:12:11 +00:00
rsc
99834d136f add core dump and signal to status line 2004-10-22 17:11:47 +00:00
rsc
8537259f82 Fix bug in rune half of __fmtcpy reported by rob. 2004-09-28 16:23:32 +00:00
rsc
05d8c6df6c Get rid of 9proc. 2004-09-23 03:06:04 +00:00
rsc
040d1d02f5 Get rid of 64-bit constants. 2004-09-23 03:05:40 +00:00
rsc
c6687d4591 Continue the pthreads torture. 2004-09-21 01:11:28 +00:00
rsc
e5c26b01f7 various forgotten files 2004-09-20 15:08:57 +00:00
rsc
8d4a3514a8 was ffork-Linux.c. 2004-09-17 22:11:21 +00:00
rsc
282c88f9de Bite the bullet. Have to use different
binaries on 2.4 and 2.6.
2004-09-17 22:09:31 +00:00
rsc
b4c842f139 small tweaks 2004-09-17 22:08:43 +00:00
rsc
bcf527a98e Continue switching library over to pthreads when possible.
Tprimes works on Linux 2.6.  You can only have 128 procs
though.
2004-09-17 03:34:32 +00:00
rsc
06bb4ed20d Rewrite to remove dependence on rendezvous and its bizarre
data structures.  Makes it easier to use pthreads too.
Still need to add code for non-pthreads systems.

Just a checkpoint to switch work to another machine.
2004-09-17 00:38:29 +00:00
rsc
984e353160 PowerPC Linux support from ericvh.
Mainly adding va_copy/va_end.
Also fix bug in sprint wrapping
around top of memory.
2004-08-22 15:39:56 +00:00
rsc
3f23048f7b remove temp files on close 2004-06-17 21:19:37 +00:00
wkj
72a653997c Unused variable. 2004-06-17 01:59:07 +00:00
rsc
e42882dc96 publish p9dialparse 2004-06-16 16:45:09 +00:00
rsc
bd2e802053 DAMN BERKELEY. 2004-06-16 03:50:28 +00:00
rsc
d9e16d252a get this right 2004-06-11 18:57:32 +00:00
rsc
e750400529 add OLOCK 2004-06-11 14:38:56 +00:00
rsc
9c63558707 asdf 2004-06-09 14:22:08 +00:00
rsc
f437e56d1d add strdup for debugging. 2004-06-09 14:15:47 +00:00
rsc
ca9b36624f work much harder to reclaim stacks 2004-06-09 14:14:11 +00:00
rsc
ceecb31310 satisfy valgrind 2004-06-09 14:13:49 +00:00
rsc
d1b4cfde55 use plan9 malloc 2004-06-09 14:12:04 +00:00
rsc
6c7460701e various bug fixes and paranoia 2004-05-23 00:59:33 +00:00
rsc
7e0e6522e5 lock malloc ourselves 2004-05-23 00:58:23 +00:00
rsc
1c39bb5919 fix race. 2004-05-20 21:39:24 +00:00
rsc
76e6aca867 old linux 2004-05-15 23:16:38 +00:00
rsc
983990c806 C
little bugs
.
wq
VS: ----------------------------------------------------------------------
2004-05-14 20:19:53 +00:00
rsc
631fe87f4c minor bug fixes 2004-05-14 20:08:02 +00:00
rsc
debcecb539 little bug fixes 2004-05-14 19:45:23 +00:00
rsc
f1bfc54e12 More little bug fixes 2004-05-14 17:45:39 +00:00
rsc
1a8f27c350 various bug fixes 2004-05-14 15:14:21 +00:00
rsc
c4097c2951 Fix small bugs. 2004-05-11 17:51:27 +00:00
rsc
2e965b3324 various bug fixes 2004-05-05 04:22:16 +00:00
wkj
115d4c0afc Ignore unknown pragmas.
Be less verbose when allocating uprocs.
Don't drop core dump turds all over the place when x11 goes away.
2004-05-03 17:26:17 +00:00
rsc
b1455f33a8 Little fixes. 2004-04-30 02:16:28 +00:00
rsc
be36ff6885 add -W to specify window size.
various other little fixes.
2004-04-29 17:13:24 +00:00
rsc
3d72637f9b Don't be stupid. 2004-04-26 19:28:28 +00:00
rsc
7317e77da3 display correct size of block devices for linux.
that was surprisingly easy.
2004-04-25 22:24:56 +00:00
rsc
d72054aa27 add this 2004-04-23 03:50:19 +00:00
rsc
141243821c just a stub. 2004-04-21 22:44:51 +00:00
rsc
06c4fd06ca add RFNOWAIT. this was probably a bad idea. 2004-04-21 22:44:37 +00:00
rsc
0b424d7bd7 always a good idea to drop the lock when you're done. 2004-04-21 07:47:50 +00:00
rsc
f928ea8571 yet more 2004-04-21 04:50:23 +00:00
rsc
868600f21e more stuff. 2004-04-21 04:50:13 +00:00
rsc
175b8a534a No more malloc or lock inside signal handlers. 2004-04-21 04:48:25 +00:00
wkj
60d3db8e6b Try to gather entropy from /dev/random. 2004-04-21 03:06:03 +00:00
rsc
dddc2ed156 Compute time zone using strftime. 2004-04-20 17:00:01 +00:00
rsc
a16e9f2de7 help out freebsd 4.9 2004-04-20 05:11:39 +00:00