svn commit: r312376 - projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys

Ngie Cooper ngie at FreeBSD.org
Wed Jan 18 09:46:03 UTC 2017


Author: ngie
Date: Wed Jan 18 09:46:02 2017
New Revision: 312376
URL: https://svnweb.freebsd.org/changeset/base/312376

Log:
  Add back #else block accidentally removed in r312145
  
  This fixes the build with !(amd64|arm64|mips*)

Modified:
  projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c

Modified: projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c
==============================================================================
--- projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c	Wed Jan 18 08:20:36 2017	(r312375)
+++ projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libc/sys/t_getcontext.c	Wed Jan 18 09:46:02 2017	(r312376)
@@ -58,6 +58,8 @@ run(int n, ...)
 	for (i = 0; i < 7; i++) {
 #elif defined(__mips__)
 	for (i = 0; i < 5; i++) {
+#else
+	for (i = 0; i < 9; i++) {
 #endif
 #else
 	for (i = 0; i < 9; i++) {


More information about the svn-src-projects mailing list