Commit graph

1989 commits

Author SHA1 Message Date
Russ Cox
6519f89515 libdiskfs: work around OS X linker brain-damage 2007-11-05 16:37:29 -05:00
Russ Cox
760f2fb6a9 libmach: move machbyname, mach to crack.c to avoid OS X linker problem 2007-11-05 14:53:16 -05:00
Russ Cox
2640996af8 libthread: use our own swapcontext/makecontext even on OS X 10.5 2007-11-05 13:14:52 -05:00
Russ Cox
88cf592723 libmp: no text jump labels for darwin 2007-11-05 12:27:49 -05:00
Russ Cox
50808670fc build: use ar s flag to avoid ranlib 2007-11-05 11:27:14 -05:00
Russ Cox
eb5d2a54d5 diff: continue after i/o errors when diffing many files 2007-11-05 11:09:39 -05:00
Russ Cox
e84044be84 mailfs: add -r flag to specify mail root (Richard Bilson) 2007-11-05 10:55:26 -05:00
Russ Cox
f1ea0d2916 mailfs: handle NIL body 2007-11-05 10:52:30 -05:00
Russ Cox
523f31487b factotum: silence gcc warning 2007-11-05 10:37:56 -05:00
Russ Cox
ea55a42c96 libthread: better OS X 10.5 test (Jeff Sickel) 2007-11-03 16:10:39 -04:00
Russ Cox
32ee64c230 venti: use 9ar, not ar (fixes Darwin build problem) 2007-10-31 17:29:00 -04:00
Russ Cox
e7ae61181c libthread: Apple OS X 10.5 (Leopard) tweaks (Jeff Sickel, Bakul Shah) 2007-10-30 13:33:12 -04:00
Russ Cox
45ac814c86 venti: fix sync deadlock, add /proc stub 2007-10-29 14:33:17 -04:00
Russ Cox
c5a183de10 grap: fclose, error context bug fixes (Doug Gwyn) 2007-10-29 10:34:43 -04:00
Russ Cox
151b86a037 srv: add -n flag to reject auth by clients 2007-10-12 12:56:57 -04:00
Russ Cox
9b25329723 9pserve: add -n flag to reject auth by clients 2007-10-12 12:55:19 -04:00
Russ Cox
4ff6950783 9p: add -n to disable authentication 2007-10-12 12:52:52 -04:00
Russ Cox
7a400ee957 venti: new icache 2007-09-25 09:47:31 -04:00
Russ Cox
25a4e89fa9 venti: fix double free on corrupt bloom filter 2007-09-25 09:46:52 -04:00
Russ Cox
952f137f04 venti: formatting changes for wrarena 2007-09-24 22:35:57 -04:00
Russ Cox
67a65bbaa5 venti: formatting changes in fixarenas 2007-09-24 22:33:34 -04:00
Russ Cox
c1edcb95cf venti: formatting changes in findscore 2007-09-24 22:33:21 -04:00
Russ Cox
12c0e45f79 venti: throw away dcache read-ahead code 2007-09-24 22:32:46 -04:00
Russ Cox
b41e39aa1a venti: move os x linker hack 2007-09-24 22:31:26 -04:00
Russ Cox
72281ecda8 venti/randtest: compute totalbytes correctly 2007-09-24 22:29:16 -04:00
Russ Cox
50f5d1a7a8 factotum: fix build error (Axel Belinfante) 2007-09-16 17:28:44 -04:00
Russ Cox
7be768e78c auxstats: use acpi to find battery info on Linux (Andrey Mirtchovski) 2007-09-15 19:06:48 -04:00
Russ Cox
d96dce4d87 factotum: implement p9cr 2007-09-13 21:12:49 -04:00
Russ Cox
ec9247088b 9pserve: delete from correct hash slot (fix infinite loop) 2007-08-28 08:45:27 -04:00
Russ Cox
db1cda12ae venti: seal arenas without bypassing dcache 2007-08-23 19:02:35 -04:00
Russ Cox
2432b7b1e5 venti: allow partition syntax in verifyarena (Michael Kaminsky) 2007-08-23 11:53:47 -04:00
Russ Cox
6610dac99c venti: avoid race in mirrorarenas (Michael Kaminsky) 2007-08-23 11:10:58 -04:00
Russ Cox
92baf59b69 venti: add -s flag to disable redundant SHA1 in mirrorarenas 2007-08-23 11:01:20 -04:00
Russ Cox
6b0a42ed04 mailfs: fix handling of FLAGS response (Robert Vollmert) 2007-08-22 11:21:52 -04:00
Russ Cox
47ede89e4a libthread: simplify alt tracking, possibly fixing bug 2007-08-22 11:14:30 -04:00
Russ Cox
acecbb1619 acme: fix memory leak in warning (Michael Teichgräber) 2007-08-22 10:58:30 -04:00
Russ Cox
4a6f051073 9pserve: fix a new race involving assert(c->nmsg == 0).
Just like outputthread can have processed the message
but not yet called msgput, the same is true of the
connoutthread, so we cannot check c->nmsg until
after the connoutthread has shut down gracefully.
2007-08-22 09:14:25 -04:00
Russ Cox
ebda53e16b merge 2007-08-22 09:00:26 -04:00
Russ Cox
841d71b5c6 9pserve: fix races causing assert(c->nmsg == 0) to fail.
1. Could happen that connoutthread sends c->outq a nil
just before the regular input handler sends c->outq a real message.
When the connoutthread gets the nil it will free c->outq,
leaving the real message unprocessed.

2. Could happen that the outputthread writes a message
body to the remote 9P server and then a response comes
in and then the connection gets torn down, all before the
outputthread manages to call msgput(m).
Thanks to David Swasey for identifying this scenario.

Also change yield() loop into explicit communication.

Also remove dead code involving hungup queues.
2007-08-22 08:55:08 -04:00
rsc
eb44dca240 mailfs: fix subject formatting 2007-06-25 02:42:09 +00:00
rsc
e12bc7cd5b silence 2007-06-23 06:35:51 +00:00
rsc
de7b2cd774 refresh on i, y commands 2007-06-23 06:30:41 +00:00
rsc
e4ad2971d7 --chatty 2007-06-23 06:27:57 +00:00
rsc
313c365a29 remove elsewhere-deleted messages from window; Refresh -> Get 2007-06-23 06:27:38 +00:00
rsc
7cc0e47fa8 add Get, Refresh commands; refresh at startup 2007-06-23 06:14:23 +00:00
rsc
bb70a84b1f bug fixes:
list message 1.
give correct contents for raw, rawheader, rawbody.
provide filename and charset in mime attachments.
only rename mailboxes named mbox* not mbox*.
2007-06-23 06:12:50 +00:00
rsc
9ec386fef4 add -a aname 2007-06-21 02:11:21 +00:00
rsc
6654bd74cb more macfuse path nonsense 2007-06-20 00:10:03 +00:00
rsc
d28cfee19e more from dave swasey 2007-06-18 15:24:25 +00:00
rsc
6322b295cf ignore window resize; should be elsewhere 2007-06-18 15:19:26 +00:00
rsc
73ac88baa7 remove debugging print 2007-06-18 14:44:03 +00:00
rsc
9952c0eb9f fix acme Snarf bug; change Indent to apply to all windows 2007-06-15 04:07:21 +00:00
rsc
933a862577 always write last block in vcat (dave swasey) 2007-06-12 18:35:37 +00:00
rsc
9437f55b49 vbackup for mac tweaks (dave swasey) 2007-06-12 18:35:17 +00:00
rsc
c99ef336aa better fix 2007-06-09 05:17:47 +00:00
rsc
1d550471f1 another 2007-06-09 04:59:40 +00:00
rsc
2f9d900118 day one bug in sam regexp code 2007-06-09 04:58:00 +00:00
rsc
63408c39a1 mac resource fork - from Dave Swasey 2007-06-08 14:29:39 +00:00
rsc
001dc1709b less chatty 2007-06-05 21:34:14 +00:00
rsc
c59c3b2112 fix dotdot? (dave swasey) 2007-06-04 03:30:17 +00:00
rsc
703d3cbc4c fix comment 2007-05-29 13:42:07 +00:00
rsc
adf6cb6c37 add hfs 2007-05-29 13:42:03 +00:00
rsc
d63163af35 hfs (David Swasey) 2007-05-28 20:27:25 +00:00
rsc
dcb5580cf0 fix args 2007-05-28 17:41:28 +00:00
rsc
92a9bc24f9 disk partitions 2007-05-28 17:34:39 +00:00
rsc
51d1a81c38 add disk partitions (David Swasey) 2007-05-28 17:34:27 +00:00
rsc
27c1d3a436 quiet 2007-05-28 17:22:28 +00:00
rsc
5957fc1e7a Bterm before return 2007-05-28 17:16:21 +00:00
rsc
f9888587c7 oops 2007-05-21 21:09:24 +00:00
rsc
29412e1c31 fix pointer comparison (Ramon de Vera) 2007-05-21 19:21:56 +00:00
rsc
4276f84713 futimes on linux now 2007-05-20 14:38:54 +00:00
rsc
b7cb7453e2 print error if changing time fails 2007-05-20 14:37:29 +00:00
rsc
e1ad38bf2f new test.c from plan 9 2007-05-19 16:22:38 +00:00
rsc
da7f7882a2 Match leading ^ in regexp with embedded newlines (Roger Peppe) 2007-05-18 16:43:43 +00:00
rsc
9752950804 new media size from Lou Kamenov 2007-05-15 13:10:51 +00:00
rsc
43f16cfa92 again 2007-05-11 00:20:51 +00:00
rsc
69bdb78dec use device names for FreeBSD (Lou Kamenov) 2007-05-11 00:16:40 +00:00
rsc
97e4432344 better tick handling 2007-05-10 19:34:04 +00:00
rsc
024c9812e4 revert frseltick 2007-05-10 19:30:02 +00:00
rsc
af4c27865c Better tick management - no frdrawseltick calls. 2007-05-10 19:27:45 +00:00
rsc
7a3533513e manage off-screen tick better 2007-05-10 19:08:47 +00:00
rsc
813751d754 add frdrawseltick 2007-05-10 19:08:09 +00:00
rsc
35920e96a1 fix nan64 2007-05-10 04:18:22 +00:00
rsc
e54f9a4ad2 Unswap perm and omode in fsfcreate call (Michael Teichgräber) 2007-05-09 00:06:11 +00:00
rsc
d7158243a6 Better flag handling in fusecreate (Michael Teichgräber) 2007-05-09 00:05:06 +00:00
rsc
4198bd0e2e fix random troff crash (Noel Hunt) 2007-05-08 02:52:21 +00:00
rsc
e17c64a7cd fix troff input (Colin DeVilbiss) 2007-05-05 13:08:06 +00:00
rsc
cd2bb6ce1d propagate offset in reads and writes (Michael Teichgräber) 2007-05-04 19:15:39 +00:00
rsc
4b3989fd41 report target list as 32-bit chunks, not 8-bit, for OS X 2007-05-04 02:19:18 +00:00
rsc
7c809320ca OS X crap 2007-05-04 01:42:24 +00:00
rsc
2305af1c11 no need to be so forward about it 2007-05-03 22:27:52 +00:00
rsc
29cfa38567 add gnu grep -q flag (rob pike) 2007-05-03 22:26:51 +00:00
rsc
3270dcf06c say utf8string before string in target list 2007-05-03 21:12:20 +00:00
rsc
0335ceaeb6 try for utf8 string first in getsnarf; new test program snarf 2007-05-03 19:13:56 +00:00
rsc
703c2d41ac use clump info directory to walk past corruption 2007-05-03 03:14:59 +00:00
rsc
0e26338762 add -r for readonly 2007-05-03 03:14:43 +00:00
rsc
786ce2cf5c oops 2007-05-03 03:14:34 +00:00
rsc
91872ab97b allow plan9-style branded disks as configs 2007-05-03 03:14:30 +00:00
rsc
c482feff4b allow fixarenas of single arena file 2007-05-03 03:14:02 +00:00
rsc
1d53bf4a03 fix buildindex minibuf sizing bug 2007-05-03 03:13:47 +00:00