Dan Cross
fa325e9b42
Trivial changes: whitespace and modes.
...
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.
Signed-off-by: Dan Cross <cross@gajendra.net>
2020-01-10 14:54:30 +00:00
David du Colombier
63002b3e5a
fix gcc 4.8 warnings
...
LGTM=rsc
R=rsc
https://codereview.appspot.com/33240044
2014-03-03 22:30:34 +01:00
David du Colombier
4ed8efea38
libventi: fix segfault in vtgetreq
...
Don't call vtlog() when _vtqrecv() returns
nil on queue hangup, as reported on
http://bitbucket.org/rsc/plan9port/issue/102/
R=rsc
http://codereview.appspot.com/6373046
2012-07-29 18:53:37 -04:00
David du Colombier
83b247a771
libventi: add functions vtsha1 and vtsha1check
...
These functions are equivalent to vtSha1 and vtSha1Check
from the old libventi and are particularly used by Fossil.
R=rsc
http://codereview.appspot.com/5555064
2012-01-21 10:01:20 +01:00
David du Colombier
fc638f7bd4
libventi: handle rpc when not connected
...
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5491051
2012-01-16 16:53:08 -05:00
David du Colombier
73392c2c7c
libventi: fix segfault in vtreadpacket when not connected
...
This problem happens especially in fossil/view when vtread
can be called even if not connected to venti.
The old libventi handle this case properly in the function vtRPC, which is called by vtReadPacket (client.c).
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5484044
2011-12-12 16:44:50 -05:00
David du Colombier
4544da5200
libventi: add functions reconn and redial for use with fossil
...
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5325046
2011-11-08 09:02:31 -05:00
David du Colombier
36c242dd86
venti: fix format on ulong
...
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5328046
2011-11-08 09:02:28 -05:00
David du Colombier
f7cca88267
libventi: import changes from plan 9
...
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4530100
2011-06-07 14:25:02 -04:00
Russ Cox
6f4a41c68c
libventi: correct handling of VtRead size
...
Fixes #7 http://code.swtch.com/plan9port/issue/7/
Thanks to Venkatesh Srinivas and Michael Teichgräber
for finding the bug.
http://codereview.appspot.com/98041
2009-07-26 13:40:01 -04:00
Russ Cox
a0899df665
libventi: fix cache teardown checks
2009-06-16 11:04:40 -04:00
Russ Cox
75d048884c
venti: 32-bit extensions to data structures
2009-05-25 02:11:27 -07:00
Russ Cox
33b446b8bb
libventi: protocol support for blocks larger than 64k
2009-05-25 00:30:17 -07:00
Russ Cox
3d424a64ec
libventi: remove unused variable
2008-12-23 13:02:20 -08:00
Russ Cox
ece9d931eb
libventi: add %+T
2008-12-23 12:32:08 -08:00
Russ Cox
589ae3a367
libventi: correct vtfilesetsize bug (reported by Michael Kaminsky)
2008-10-26 17:02:48 -04:00
Russ Cox
e9b70a5f4c
libventi: minor vtfile bug fixes
2008-06-14 23:05:19 -04:00
Russ Cox
1309689171
libventi: return value nits
2008-06-14 23:04:44 -04:00
rsc
6ce75e8dc0
sync with plan 9
2007-04-21 19:43:09 +00:00
rsc
4f6d2bb1e8
correct dangling pointer race (Bakul Shah)
2007-04-08 01:30:26 +00:00
rsc
6fc7da3c52
Fix a handful of small one-time memory leaks in vbackup,
...
and one per-package memory leak (in writethread).
2006-10-19 21:58:59 +00:00
rsc
981672ae7e
fix cache bug (Eoghan Sherry)
2006-07-23 02:36:04 +00:00
rsc
d20564a9a6
add vttimefmt
2006-07-18 15:23:58 +00:00
rsc
6df24754e4
cut and paste fixes
2006-05-05 15:16:03 +00:00
rsc
02846514a3
add debugpacket
2006-05-05 13:17:39 +00:00
rsc
6cd6f68910
vttracelevel
2006-05-05 13:17:28 +00:00
rsc
cbeb0b26e4
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
2006-04-01 19:24:03 +00:00
rsc
3f6a501b4d
consistency is the hobgoblin of little minds. (taj/andrey)
2005-12-30 02:06:05 +00:00
rsc
7d014832d8
better errors
2005-12-14 20:06:43 +00:00
rsc
7252036fe8
Better logging in vtrpc, publish cache statistics.
2005-11-02 19:08:43 +00:00
rsc
bcac59d81b
silence various warnings
2005-08-11 17:33:43 +00:00
rsc
23fb2edb22
venti updates
2005-07-24 20:15:44 +00:00
rsc
c1e6f6426f
update
2005-07-13 13:59:50 +00:00
rsc
3082404ea9
update
2005-07-13 13:40:05 +00:00
rsc
7643b2635c
cleanup
2005-07-13 10:52:39 +00:00
rsc
9c8fc12873
zero unused io
2005-07-13 03:58:11 +00:00
rsc
e87f5d7cec
no mode
2005-07-13 03:57:57 +00:00
rsc
52006c8244
add vtlognames
2005-05-12 14:03:57 +00:00
rsc
5ddc97fc3e
disable logging
2005-02-14 19:33:42 +00:00
rsc
0faf0f0baa
add log
2005-02-13 19:26:14 +00:00
rsc
18b1814390
use nci to label connections
2005-02-13 18:35:32 +00:00
rsc
2f4ba94e0f
debugging
2005-02-11 05:23:12 +00:00
rsc
361e279c59
bug fixes
2005-01-18 20:15:18 +00:00
rsc
17465d1425
must use tcp explicitly
2005-01-16 21:13:23 +00:00
rsc
0dc9950215
stupid sun
2005-01-14 18:21:12 +00:00
rsc
e5d47e6e15
compiler appeasement
2004-12-28 23:27:16 +00:00
rsc
005ee04b9f
another flush bug fix
2004-06-17 21:16:17 +00:00
rsc
59a9682013
attempt better flushing
...
'
2004-06-17 21:13:51 +00:00
rsc
eacc220a04
less aborting, more chatting
2004-06-17 20:44:21 +00:00
rsc
a1882dc1d0
silly cache hack, also fix vtfilewritebefore not to be so aggressive.
2004-06-17 19:17:04 +00:00