Commit Graph

1181 Commits

Author SHA1 Message Date
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
rsc
6a5a2a9562 fix arenas if possible 2007-05-03 02:35:47 +00:00
rsc
ef609927dd OS X linker crap (John Nowak) 2007-05-03 02:22:49 +00:00
rsc
6b9887c7e5 debugging 2007-05-03 02:21:52 +00:00
rsc
53f56329be read pcap 2007-05-02 19:58:17 +00:00
rsc
57775dd9f3 cannot use fadv_random on linux -- too slow 2007-04-27 19:32:12 +00:00
rsc
ef67e917aa bug in tester 2007-04-27 18:19:36 +00:00
rsc
e46cacb0ea add flushpart; avoid O_DIRECT on linux 2007-04-27 18:14:45 +00:00
rsc
7e4524011b checkpoint 2007-04-27 17:52:24 +00:00
rsc
9ec61f3ede allow swap of column 0 with others 2007-04-25 18:59:29 +00:00
rsc
2bd7756a44 quieter 2007-04-24 16:30:43 +00:00
rsc
81573e491f mirror log processor 2007-04-24 16:29:42 +00:00
rsc
ebcef6f010 fix various nits; clean up output 2007-04-24 16:26:01 +00:00
rsc
07029cdbbd cleanup 2007-04-23 14:40:54 +00:00
rsc
8d271d6cc3 checked magic! 2007-04-22 13:56:21 +00:00
rsc
300f21776e freepart on readbloom failure 2007-04-22 13:55:47 +00:00
rsc
e6594f1a04 quieter 2007-04-22 13:54:53 +00:00
rsc
d0648192ab warn about \w no arg 2007-04-21 22:37:13 +00:00
rsc
14b4a4702c unix fix 2007-04-21 22:36:01 +00:00
rsc
3cbbc79a05 test scripts 2007-04-21 22:32:46 +00:00
rsc
d392fc771e new args 2007-04-21 21:27:51 +00:00
rsc
6932098c9f more fixes 2007-04-21 20:49:30 +00:00
rsc
43b99cd970 new 2007-04-21 19:41:25 +00:00
rsc
27d2809820 sync with mit plan 9 version 2007-04-21 19:40:55 +00:00
rsc
adcb656c84 correct dump string (Fazlul Shahriar) 2007-04-17 05:43:22 +00:00
rsc
c7a10afd38 xnet (Jeff Sickel) 2007-04-14 14:59:27 +00:00
rsc
caccd753fd fix double-fclose (Gabi Diaz) 2007-04-13 12:16:37 +00:00
rsc
4492a1eef7 better memory stats (Jeff Sickel) 2007-04-12 14:18:57 +00:00
rsc
86190ea39d complain loudly about vtwrite failure 2007-04-08 01:33:31 +00:00
rsc
5cd829d589 finish conversion to libthread; avoids extra page proc sticking around (Tim Wiess) 2007-04-03 12:50:49 +00:00
rsc
fbc629a995 keep path and PATH in sync 2007-03-28 16:04:37 +00:00
rsc
05a4d855f1 add page (Kris Maglione) 2007-03-26 20:55:26 +00:00
rsc
6c4c5c5b95 fix empty string interpolation bugs (Michael Teichgräber) 2007-03-26 17:27:08 +00:00
rsc
edd308cfa2 fix int/size_t warning (Chad Dougherty) 2007-03-26 17:07:31 +00:00
rsc
2894c70c08 do not redefine rewind 2007-03-26 17:04:41 +00:00
rsc
96dada90ef pad out zmagic to 32+ bytes 2007-03-26 15:03:34 +00:00
rsc
40402738da more memory errors (valgrind) 2007-03-26 15:02:15 +00:00
rsc
4b241872ef fix wait 2007-03-26 14:26:32 +00:00
rsc
bd1b0cc17e fix phantom rc crashes 2007-03-26 14:24:44 +00:00
rsc
314f5742af better rc detection (Michael Teichgräber) 2007-03-26 13:38:36 +00:00
rsc
63b581e320 64-bit 2007-03-26 13:38:24 +00:00
rsc
a584135910 make :1-1 work (Arvindh Tamilmani) 2007-03-26 13:26:22 +00:00
rsc
c8f538425f sync with plan 9 2007-03-26 12:02:41 +00:00
rsc
79049567a0 try to handle Beof in the macros (Michael Teichgräber) 2007-03-25 18:32:51 +00:00
rsc
ff3dce55bf remove double free (David Swasey) 2007-03-25 17:42:25 +00:00
rsc
6d4dda86ee fix args to should (David Swasey) 2007-03-25 17:36:43 +00:00
rsc
8f57d0d0d9 make Load more faithful to original Dump (Peter Canning) 2007-03-25 17:32:16 +00:00
rsc
3087c4fe19 fix again 2007-03-25 17:28:01 +00:00
rsc
2b66e58623 use plain char if no translation in troffchar (fix ", "" in wintext(1)) 2007-03-25 17:25:30 +00:00
rsc
1e987f65a1 import statusbar, converted to libthread (Lou Kamenov) 2007-03-25 17:19:30 +00:00
rsc
edc77f0b2b cope with programs that leave fd in non-blocking mode (Tim Wiess) 2007-03-25 17:16:40 +00:00
rsc
d76a49fb43 fix tags again 2007-03-16 03:28:46 +00:00
rsc
fb04a0b942 libc conflict on os x 2007-03-15 17:35:43 +00:00
rsc
1bcfd909e7 fix too-aggressive tag redraw 2007-03-15 16:26:09 +00:00