Commit graph

1134 commits

Author SHA1 Message Date
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
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
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
2f9d900118 day one bug in sam regexp code 2007-06-09 04:58:00 +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
f9888587c7 oops 2007-05-21 21:09:24 +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
97e4432344 better tick handling 2007-05-10 19:34:04 +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
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