Plan 9 from Bell Labs’s /usr/web/sources/contrib/djc/fossil/fossil-libventi-p9p.diff

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


diff -Nru /sys/src/cmd/fossil/fs.h /sys/src/cmd/fossil.new/fs.h
--- /sys/src/cmd/fossil/fs.h	Wed May 23 00:00:00 2012
+++ /sys/src/cmd/fossil.new/fs.h	Wed May 23 00:00:00 2012
@@ -11,6 +11,12 @@
 	STACK = 32*1024,
 };
 
+enum
+{
+	// XXX What to do here?
+	VtMaxLumpSize = 65536,
+};
+
 /* modes */
 
 enum {
diff -Nru /sys/src/cmd/fossil/view.c /sys/src/cmd/fossil.new/view.c
--- /sys/src/cmd/fossil/view.c	Wed May 23 09:42:11 2012
+++ /sys/src/cmd/fossil.new/view.c	Wed May 23 00:00:00 2012
@@ -447,7 +447,7 @@
 		return stringnode("unpack %d-byte root: %r", n);
 
 	h.blockSize = vac.blocksize;
-	t = stringnode("vac version=%#ux name=%s type=%s blocksize=%ud score=%V prev=%V",
+	t = stringnode("vac version=%#ux name=%s type=%s blocksize=%lud score=%V prev=%V",
 		VtRootVersion, vac.name, vac.type, vac.blocksize, vac.score, vac.prev);
 	t->expand = xvacrootexpand;
 	return t;

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].