From 2763a6d8324fc5e1296e9a50a067ec04d52c581f Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 21 Oct 2014 07:25:13 -0400 Subject: venti/copy: fix bug writing directories that zero truncate Found by nwf. TBR=rsc https://codereview.appspot.com/162860045 --- src/cmd/venti/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/venti') diff --git a/src/cmd/venti/copy.c b/src/cmd/venti/copy.c index 8c791f2a..d6d770bc 100644 --- a/src/cmd/venti/copy.c +++ b/src/cmd/venti/copy.c @@ -136,7 +136,7 @@ walk(uchar score[VtScoreSize], uint type, int base, int depth) break; case VtDirType: - for(i=0; i