Commit graph

233 commits

Author SHA1 Message Date
rsc
3a6c348fba OpenBSD lets you open /dev/random but not read it! 2005-09-19 16:40:56 +00:00
rsc
3ce03fac39 Add statcheck. 2005-09-13 02:40:46 +00:00
rsc
fb941e08c5 Add 9P2000.u functions. 2005-09-13 01:37:14 +00:00
rsc
fea3228fec Accomodate OpenBSD with /dev/srandom 2005-08-11 03:20:57 +00:00
rsc
a3e9d8935f Fix overflow in old Linux file size. 2005-08-10 17:16:38 +00:00
rsc
04084d4e1d openbsd 2005-07-21 18:59:12 +00:00
rsc
fe8c925e8a OpenBSD, thanks to Tim Wiess 2005-07-21 18:29:04 +00:00
rsc
1c171e3add I just hate to be pushed around by some @#$%^& machine. 2005-07-19 18:00:07 +00:00
rsc
9f95eb6fd6 announce to networks 2005-07-18 00:05:41 +00:00
rsc
8be32ce2cb cannot trust system libraries to lock properly. sigh. 2005-07-14 00:06:43 +00:00
rsc
a8ec4910fd apple 2005-07-13 21:34:11 +00:00
rsc
2e9749ec60 unix is not a variable name 2005-07-13 10:50:16 +00:00
rsc
2ec48bbca3 align macros for sun 2005-07-13 03:55:52 +00:00
rsc
835c1e4786 better error messages 2005-07-13 03:55:44 +00:00
rsc
f92a2ceba4 handle 0 precision better 2005-05-19 14:39:00 +00:00
rsc
bb0266fe61 no wide character constants; sigh 2005-05-07 22:42:06 +00:00
rsc
bc7da02954 OS X Tiger changes 2005-05-07 22:41:59 +00:00
rsc
fc11cb4bbb make sure to set p9unix 2005-05-07 22:36:07 +00:00
rsc
40ce5ba674 For Mac OS X Tiger - no SIGIO, SIGWINCH, or WCOREDUMP. 2005-05-01 18:40:25 +00:00
rsc
52e6164443 OpenBSD support. 2005-05-01 18:40:01 +00:00
rsc
8e4ae643c3 more netbsd support. 2005-03-28 19:37:33 +00:00
rsc
1dd11f5932 try leaving TTIN, TTOU alone 2005-03-18 19:04:05 +00:00
rsc
915734a70c better error message 2005-03-18 19:03:45 +00:00
rsc
98660df250 better symlink 2005-02-21 14:25:12 +00:00
rsc
06f4d9201a add getnetconninfo 2005-02-13 19:25:44 +00:00
rsc
b2e0da3e39 bug fix 2005-02-13 18:33:41 +00:00
rsc
e5d68728eb add local address to dial 2005-02-13 18:33:26 +00:00
rsc
b589fce2fb hard code list of plan 9 services in case they are not in /etc/services 2005-02-11 16:58:23 +00:00
rsc
641405320f add crypt 2005-02-08 21:02:40 +00:00
rsc
8a75090664 add mode chars 2005-02-08 20:25:07 +00:00
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