Author: bapt
Date: Sun Nov 15 11:18:37 2015
New Revision: 290856
URL: https://svnweb.freebsd.org/changeset/base/290856
Log:
also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros
Modified:
head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c
Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c Sun Nov 15 10:58:01
2015 (r290855)
+++ head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c Sun Nov 15 11:18:37
2015 (r290856)
@@ -303,6 +303,7 @@ ATF_TC_BODY(fopen_perm, tc)
ATF_REQUIRE_ERRNO(EACCES, fopen("/bin/ls", "w+") == NULL);
}
+#ifdef __NetBSD__
ATF_TC(fopen_regular);
ATF_TC_HEAD(fopen_regular, tc)
{
@@ -335,6 +336,7 @@ ATF_TC_BODY(fopen_regular, tc)
}
}
}
+#endif
ATF_TC_WITH_CLEANUP(fopen_seek);
ATF_TC_HEAD(fopen_seek, tc)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"