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
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