shithub: gefs

Download patch

ref: d7e8668fd291573b480868494d35ff59f433a2ae
parent: 95332069fecfe2e7497b21dad8c06f1b93cb1d40
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Nov 22 15:17:55 EST 2023

ream: remove useless flag

keep the flag field for future expansion

--- a/dat.h
+++ b/dat.h
@@ -117,10 +117,6 @@
 };
 
 enum {
-	Tforked	= 1 << 0,
-};
-
-enum {
 	Lmut	= 1 << 0,
 };
 
--- a/ream.c
+++ b/ream.c
@@ -109,7 +109,7 @@
 	kv.nk = p - kv.k;
 	kv.v = p;
 	memset(&t, 0, sizeof(Tree));
-	t.flag = Tforked;
+	t.flag = 0;
 	t.nref = 2;
 	t.nlbl = 1;
 	t.ht = 1;