* localtime.cc (increment_overflow): Mark as non-inline to prevent compiler
from complaining about the very thing we're trying to test. * ntea.cc (read_ea): Reorganize to avoid a new compiler warning/error. * sched.cc (sched_rr_get_interval): Ditto. * select.cc (peek_serial): Ditto. * libc/rexec.cc (ruserpass): Ditto. * posix_ipc.cc (ipc_names): Make static to avoid a compiler warning (and it's the right thing to do anyway).
This commit is contained in:
		| @@ -206,7 +206,7 @@ next: | ||||
| 		while ((t = token()) && t != MACH && t != DEFAULT) switch(t) { | ||||
|  | ||||
| 		case LOGIN: | ||||
| 			if (token()) | ||||
| 			if (token()) { | ||||
| 				if (*aname == 0) { | ||||
| 					*aname = (char *) malloc((unsigned) strlen(tokval) + 1); | ||||
| 					(void) strcpy(*aname, tokval); | ||||
| @@ -214,6 +214,7 @@ next: | ||||
| 					if (strcmp(*aname, tokval)) | ||||
| 						goto next; | ||||
| 				} | ||||
| 			} | ||||
| 			break; | ||||
| 		case PASSWD: | ||||
| 			if ((*aname == 0 || strcmp(*aname, "anonymous")) && | ||||
|   | ||||
		Reference in New Issue
	
	Block a user