ref: cd357a2b8c574b0584d6b1736d9bbcaa9704f5ae
parent: 8c9e4efa17455ba801442a78ff4a4f5711727e83
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);