[9changes] Plan 9 from Bell Labs 2014-08-15

8 views
Skip to first unread message

9cha...@9grid.fr

unread,
Aug 15, 2014, 6:09:40 AM8/15/14
to 9cha...@googlegroups.com
--- /sys/src/cmd/venti/copy.c Mon Dec 1 20:27:56 2008
+++ /sys/src/cmd/venti/copy.c Thu Aug 14 16:37:36 2014
@@ -123,7 +123,7 @@
break;

case VtDirType:
- for(i=0; i<n/VtEntrySize; i++){
+ for(i=0; i*VtEntrySize<n; i++){
if(vtentryunpack(&e, buf, i) < 0){
fprint(2, "warning: could not unpack entry #%d in %V %d\n", i, score, type);
continue;
Reply all
Reply to author
Forward
0 new messages