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
rsc
a0f1e21ff9
make things work on SunOS
2004-04-20 02:03:38 +00:00
rsc
1b135a7805
clean up when finished.
...
don't set PLAN9
don't set PLAN9
2004-04-19 23:04:36 +00:00
rsc
5ad51f0cff
bye bye
2004-04-08 19:57:05 +00:00
rsc
6f6553dfb7
Cache last uid, gid to make translation faster.
2004-04-08 19:31:21 +00:00
rsc
3a9dccd76e
Change _p9strsig to return nil if tmp==nil.
...
Add atoi, atol, atoll.
These versions call strtol/strtoll with base==0.
The Unix versions use base==10.
2004-04-02 22:57:49 +00:00
rsc
d99b2f34e6
Sometimes it's amazing these haven't been turned
...
up by other compilers.
2004-03-26 19:20:10 +00:00
rsc
3df902ecd0
Only use futimesat on Solaris 9
2004-03-26 05:06:22 +00:00
rsc
be22ae2d07
SunOS can rot in hell.
2004-03-26 01:59:35 +00:00
rsc
70bcc7804e
More files.
...
More files.
2004-03-25 23:08:53 +00:00
rsc
8ad517944e
Today's changes.
...
More changes.
2004-03-25 23:03:57 +00:00
rsc
498bb22174
Add some missing files.
2004-03-21 14:05:38 +00:00
rsc
2277c5d7bb
Small tweaks
...
Lots of new code imported.
2004-03-21 04:33:13 +00:00
rsc
c91bd3283a
Pipes cannot use SOCK_DGRAM. Back to SOCK_STREAM.
...
Add debugging to fdwait.
Rewrite getcallerpc on PowerMac to be correct.
2004-03-05 02:25:41 +00:00
rsc
ff34e95bc3
Change pipes to preserve message boundaries.
2004-03-02 19:27:44 +00:00
rsc
05b7f431f0
Long-standing stability bugs fixed in 9pserve.
...
Update win to use acme interface directly instead of via pipes.
Add comment to pipe about lack of message boundaries.
2004-03-02 19:21:48 +00:00
rsc
8f314994db
More Mac tweaks.
2004-03-02 17:34:15 +00:00
rsc
53dbac9485
Tweaks for the Macintosh.
2004-03-02 16:58:49 +00:00
rsc
d6df6c1e29
Update mkmk.sh.
2004-02-29 22:49:59 +00:00
rsc
91c13e54b5
Move utf, fmt. Small header file changes.
2004-02-29 22:11:15 +00:00
rsc
5a8e63b2f0
Fighting the good fight.
...
Move libfmt, libutf into subdirectories of lib9.
Add poll-based socket i/o to libthread, so that we can
avoid using multiple procs when possible, thus removing
dependence on crappy pthreads implementations.
Convert samterm, acme to the single-proc libthread.
Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
2004-02-29 22:10:26 +00:00
rsc
d51419bf43
various tweaks.
2004-02-09 19:33:05 +00:00
rsc
03480d7333
Why would the Linux man page actually tell the truth?
2004-01-09 20:07:49 +00:00
rsc
49588d5d90
Tweaks to various bits.
...
Until I hear otherwise, Refs aren't used enough to
merit their own assembly. They are now implemented with locks.
2003-12-17 04:34:52 +00:00
rsc
b3994ec5c7
More files related to user-level file servers.
...
Also add acme!
2003-12-11 17:50:28 +00:00
rsc
32f69c36e0
Add support for user-level 9P servers/clients and various bug fixes to go with them.
2003-12-11 17:48:38 +00:00
rsc
e95a70884b
Bug fixes from the Valgrind oracle.
2003-12-09 06:37:26 +00:00
rsc
d3df308747
File system stuff.
2003-12-06 18:08:52 +00:00
rsc
e97ceade5e
various tweaks.
2003-12-06 18:05:27 +00:00
rsc
c715a6127a
nan
2003-12-04 19:18:28 +00:00
rsc
dff7e27317
Clean up yacc files in mkcommon, mkhdr.
...
Add nan to lib9.
Fix memory corruption bugs in 9term.
2003-12-04 19:16:29 +00:00
rsc
1c8efa18ee
allow rfork(RFNOTEG|RFPROC|RFFDG) for rc.
2003-12-04 00:17:10 +00:00
rsc
669250d159
Various fixes.
...
B - fixed usage, DISPLAY :0 vs :0.0
9term - fixed various terminal things
rc - notice traps in Read
_p9dir - only run disk code for disks
dirread - getdirentries on FreeBSD and Linux
are different w.r.t. meaning of off.
notify - set up so signals interrupt system calls
bprint - use bfmt.
2003-12-03 22:50:48 +00:00
rsc
1555bd7aaa
call exit rather than _exits inside exits,
...
so that the c library atexit handlers get
a chance to run.
2003-11-26 00:48:56 +00:00
rsc
3765283ccf
Silence some Mac OS X warnings.
2003-11-25 02:36:46 +00:00
rsc
6bb54fab15
more tweaks.
2003-11-25 02:22:49 +00:00
rsc
64bcfff3a1
More tweaks on Linux and Solaris.
2003-11-25 02:11:11 +00:00
rsc
f7012583e9
Add the #goo to allow use in C++.
...
Silence a few more warnings.
Strip down the mkfiles more.
Fix bug in X11 mouse handling, note groups.
2003-11-25 01:40:27 +00:00
rsc
912fba95e7
Changes for Mac OS X. Most important is stack sizes in samterm,
...
which were completely bogus. (Libthread used to ignore them but
not anymore. Maybe we really should ignore them, but that breaks
Venti, which needs *really* big stacks.)
2003-11-24 22:39:06 +00:00
rsc
f9355efb2e
Build correctly on FreeBSD.
...
(Will this process ever reach a fixed point?)
2003-11-24 00:47:50 +00:00
rsc
d2c4ee9e48
Tweaks to build properly on Linux.
2003-11-24 00:43:41 +00:00
rsc
478ee9636f
Make things build on FreeBSD again.
2003-11-23 20:04:53 +00:00
rsc
1c253ceb58
Annoying changes to work on Sun boxes.
2003-11-23 19:49:17 +00:00
rsc
fd04aacee1
Various additions and fixes.
2003-11-23 18:12:54 +00:00
rsc
3d7e9092a4
Single-threaded plumber that can run "start" rules.
...
Thanks to Caerwyn Jones.
2003-10-14 02:35:00 +00:00
rsc
169aba14a4
Move werrstr into errstr, so that if you use werrstr
...
you have to get this __errfmt instead of the one
in libfmt that only does Unix error codes.
2003-10-14 02:10:47 +00:00
rsc
90026180d1
Use new directory structure.
2003-10-11 03:58:46 +00:00
rsc
00b80edb97
Licensing and various tweaks.
2003-10-11 02:59:10 +00:00
rsc
a6ea03aea9
Allow prec==0.
2003-10-11 02:49:01 +00:00
rsc
98014aa543
Macintosh.
2003-10-03 15:33:45 +00:00
rsc
a46395ecf9
More Darwin.
2003-10-01 02:53:00 +00:00
rsc
a995e477ff
Various tweaks to make things run on Mac OS.
...
The main change is the use of pthread to implement ffork.
2003-10-01 02:50:57 +00:00
rsc
522b0689c3
Reorg
2003-09-30 19:05:50 +00:00
rsc
b2cfc4e2e7
Initial revision
2003-09-30 17:47:41 +00:00