shithub: n900

Download patch

ref: 58b42833b93b3843cc0e3aaee0702510aabd91ef
parent: 8bbd3f0e4b1103b74cba2372a4be3ab80f7b7bdc
author: mia soweli <mia@soweli.net>
date: Tue Aug 12 18:33:36 EDT 2025

main: fix plan9.ini parsing

i dropped null terminating the key so it ended up containing
the key and the value. whoops.

--- a/sys/src/9/omap/main.c
+++ b/sys/src/9/omap/main.c
@@ -69,6 +69,7 @@
 		if(!c)
 			continue;
 
+		*c++ = '\0';
 		confname[nconf] = v[i];
 		confval[nconf] = c;
 		nconf++;
--