Commit Graph

814 Commits

Author SHA1 Message Date
rsc
7b0c2f155d no more 9commands 2005-01-11 21:28:31 +00:00
rsc
37cc72d323 paranoia 2005-01-11 21:28:00 +00:00
rsc
e9dbe11dbf don't rfork(RFNOTEG) because then you lose
the ability to read from the console.  damn.

also, handle case where child exits before
fork returns in parent.  have to record that
sigchld was seen and then run the handler later.
2005-01-11 21:06:55 +00:00
rsc
c70667367f get rid of the 9foo commands in favor of the 9 script 2005-01-11 20:57:41 +00:00
rsc
1c096fa40a better cleanup of tmp files 2005-01-11 20:57:00 +00:00
rsc
63abaa8216 fix cflags 2005-01-11 19:46:56 +00:00
rsc
ed7f32b9d7 unbugger postscript 2005-01-11 19:46:33 +00:00
rsc
4de03b544c add $plan9 variable 2005-01-11 19:46:06 +00:00
rsc
b8f742db85 os x changes 2005-01-11 17:43:53 +00:00
rsc
dcba4bf6bd fixes for openbsd 2005-01-11 17:14:07 +00:00
rsc
2e65dc0d02 changes from rob 2005-01-11 16:48:35 +00:00
rsc
515bd9ec76 do rfork(RFNOTEG) before exec 2005-01-10 00:28:14 +00:00
rsc
d8c78a8d56 add -r flag to reverse scrolling behavior.
from peter canning.
2005-01-10 00:21:13 +00:00
rsc
266f8e128c oops 2005-01-07 23:11:34 +00:00
rsc
3088012119 symopen 2005-01-07 23:11:11 +00:00
rsc
0a76e9690e symopen 2005-01-07 23:10:37 +00:00
rsc
6af7b77611 oops 2005-01-07 22:59:51 +00:00
rsc
50f7ec339a initial darwin 2005-01-07 21:47:30 +00:00
rsc
1aa9c533e0 allow lock passing 2005-01-07 20:52:07 +00:00
rsc
8b549a6214 symopen 2005-01-07 20:45:11 +00:00
rsc
1ab0f6f00b new program from presotto 2005-01-07 20:41:13 +00:00
rsc
931ba0b740 fix from axel 2005-01-07 20:07:33 +00:00
rsc
566f93c70d fix sunos 2005-01-07 19:11:44 +00:00
rsc
c761d0aa4f unbugger 2005-01-07 18:52:18 +00:00
rsc
39dbe6e72b small hidings 2005-01-07 18:45:17 +00:00
rsc
60efa1d2b9 seems to correct lack of focus when
coming back from being hidden.
not strictly correct in multithreaded
programs but let's see if anything breaks.
2005-01-07 18:44:21 +00:00
rsc
21621d7e20 gcc 2005-01-07 18:04:24 +00:00
rsc
a19ff5b204 debugging for sam, and an old fix forgotten 2005-01-07 18:03:36 +00:00
wkj
b80755cf2d Update CVS turd. 2005-01-07 17:41:02 +00:00
wkj
8a830ad090 First pass at supporting FreeBSD 5.x.
I do not yet have a way of testing this.
2005-01-07 17:38:08 +00:00
rsc
b4135f04f1 debugging 2005-01-07 17:26:07 +00:00
rsc
c619cc2cb9 more name conflicts 2005-01-07 17:21:09 +00:00
rsc
60ee914042 stupid FreeBSD name conflict 2005-01-07 17:20:02 +00:00
rsc
e45084490f ignore spurious sigchilds on sunos 2005-01-07 17:06:01 +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
0dfd6525a6 no need to include sec.h 2005-01-07 06:41:21 +00:00
rsc
6b4c8671de add _flushmemscreen declaration 2005-01-07 04:05:32 +00:00
rsc
bdfd1b275b add declaration for elfdl386mapdl. 2005-01-07 04:03:29 +00:00
rsc
d0f5cbcf04 make regdesc global 2005-01-07 04:02:28 +00:00
rsc
5eb2d21999 use fmtvprint to avoid needing
to copy the arguments.
(stupid va_copy).
2005-01-06 23:45:51 +00:00
rsc
a0a331aad9 add _procwakeupandunlock
to help ease locking contention
on Linux 2.4.
2005-01-06 23:43:42 +00:00
rsc
815552b9ed go back to 1000 scheds 2005-01-06 23:13:56 +00:00
rsc
bb426e77f6 more precision on time 2005-01-06 23:11:14 +00:00
rsc
a620761c92 add some annoying lock loop prints -- let's see
if they ever fire.

also fix race in delaystack.  it was actually happening!
that just goes to show that while i can reason very well
about what can and cannot happen, i have no intuition
at all for how likely they are.
2005-01-06 23:08:55 +00:00
rsc
af89fc108d more debugging 2005-01-06 23:07:19 +00:00
rsc
f8104b3d3d exit on eof 2005-01-05 04:01:12 +00:00
rsc
33adad7dc7 update mkmk.sh 2005-01-04 22:44:52 +00:00
rsc
b253a743b2 scrolling 2005-01-04 22:43:50 +00:00
rsc
9aa1c92f74 add new | syntax.
syntax will change.
2005-01-04 22:41:27 +00:00
rsc
9e6fcbd790 forgot this 2005-01-04 22:31:35 +00:00
rsc
b2ad2ef138 in with the new 2005-01-04 22:30:59 +00:00
rsc
48bfee4e5b in with the new 2005-01-04 22:30:15 +00:00
rsc
c7acb53e03 add _threaddaemonize 2005-01-04 22:23:24 +00:00
rsc
15cd8255b5 more debugging 2005-01-04 22:22:18 +00:00
rsc
230ead2fbe better handling 2005-01-04 22:22:09 +00:00
rsc
c66e8adfa3 remove thread.c 2005-01-04 22:21:33 +00:00
rsc
b4e8c4b6d6 use 9pclient 2005-01-04 22:21:23 +00:00
rsc
817f7637e8 good thing no one uses this. 2005-01-04 22:21:01 +00:00
rsc
d165fa680c do not free r until done with it! 2005-01-04 22:20:52 +00:00
rsc
7e19561a6c hide some routines 2005-01-04 22:20:21 +00:00
rsc
1818ce0f28 minor fixes; hide some routines 2005-01-04 22:20:14 +00:00
rsc
ba3de38060 no need for disk or scsi 2005-01-04 22:19:58 +00:00
rsc
834469a3a4 fix error message 2005-01-04 22:19:46 +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
a6662a3672 unused variables 2005-01-04 22:17:58 +00:00
rsc
d40457248b use 9pclient 2005-01-04 22:17:47 +00:00
rsc
d2e350c019 parse -s option 2005-01-04 22:17:37 +00:00
rsc
f4b26b64bc do threading right 2005-01-04 22:17:10 +00:00
rsc
b10db40d3b exit correctly 2005-01-04 22:17:00 +00:00
rsc
28aaab76cf exit correctly. 2005-01-04 22:16:38 +00:00
rsc
8cc98332ad use 9pclient 2005-01-04 22:16:30 +00:00
rsc
f6127ed209 more tests 2005-01-04 22:15:53 +00:00
rsc
ed01060152 3d color cube 2005-01-04 22:13:32 +00:00
rsc
2ce287bb13 don't use (){} struct constructor 2005-01-04 22:10:43 +00:00
rsc
372e9667df Goodbye SHORTLIB 2005-01-04 22:10:29 +00:00
rsc
eb423b5cc0 use 9pclient instead of fs 2005-01-04 22:09:51 +00:00
rsc
3f54e7c8a4 good bye SHORTLIB 2005-01-04 22:09:40 +00:00
rsc
b0a81ab05d set SYSVERSION for 9c 2005-01-04 22:09:23 +00:00
rsc
1a0f021ef8 bugger fs in case it comes back 2005-01-04 22:09:09 +00:00
rsc
627bae9c76 clean up mkfile; fix winctlprint bug reported by peter canning 2005-01-04 21:39:23 +00:00
rsc
f755d50401 don't need to rename Fid 2005-01-04 21:29:20 +00:00
rsc
05636f8303 don't need to rename Fid anymore 2005-01-04 21:28:37 +00:00
rsc
93a6f8d76a back to threadnotify 2005-01-04 21:28:25 +00:00
rsc
452c09358f change to use new library. 2005-01-04 21:27:19 +00:00
rsc
30968c3fe9 typo flags => flag 2005-01-04 21:27:02 +00:00
rsc
100d566802 new prototype 2005-01-04 21:26:49 +00:00
rsc
f583e2b1d8 don't be dumb. 2005-01-04 21:26:30 +00:00
rsc
9e0b427274 small fixes; goodbye SHORTLIB 2005-01-04 21:26:13 +00:00
rsc
4bd8ec4c1c change comparison function to be consistent.
(now qsort on sunos should stop crashing.)
2005-01-04 21:25:48 +00:00
rsc
0daf9c0941 have lrand now 2005-01-04 21:25:26 +00:00
rsc
c39bd3556b allow - as input file 2005-01-04 21:25:17 +00:00
rsc
e2a1725dfc more debugging 2005-01-04 21:24:52 +00:00
rsc
020c80587a an old saddle 2005-01-04 21:24:19 +00:00