git: 9front

Download patch

ref: 5499eb0c3964418a36d708620730d33c9613859e
parent: 07eedf56db49f6f5cf6683549b6f4cf26d3aef96
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Jan 6 14:32:34 EST 2023

libc: coding style (from drawterm)

--- a/sys/src/libc/port/strtod.c
+++ b/sys/src/libc/port/strtod.c
@@ -509,7 +509,7 @@
 {
 	int c1, c2;
 
-	while(c1 = *b++) {
+	while((c1 = *b++) != 0) {
 		c2 = *a++;
 		if(isupper(c2))
 			c2 = tolower(c2);
--