git: 9front

Download patch

ref: 3e0ff9f3a4dd40242240178b7b9bfcfc58bc8a5c
parent: c71bc6753a189527ee1033970ecc9127b4f62b1d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 9 18:24:50 EDT 2015

acid -k: fix procenv() to new data structure

--- a/sys/lib/acid/kernel
+++ b/sys/lib/acid/kernel
@@ -231,8 +231,8 @@
 	e = p.egrp;
 	complex Egrp e;
 	i=0; loop 1,e.nent do {
-		v = e.ent[i];
-		i = i+1;
+		v = e.ent + i;
+		i = i+sizeofEvalue;
 		complex Evalue v;
 		print(*(v.name\s), "=");
 		printstringn(v.value, v.len);
--