ports/devel/glib2/patches/patch-glib_tests_test-printf_c

22 lines
393 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Don't use printf %n.
Index: glib/tests/test-printf.c
--- glib/tests/test-printf.c.orig
+++ glib/tests/test-printf.c
@@ -578,6 +578,7 @@ test_s (void)
static void
test_n (void)
{
+#if 0
gchar buf[128];
gint res;
gint i;
@@ -592,6 +593,7 @@ test_n (void)
g_assert_cmpint (res, ==, 3);
g_assert_cmpstr (buf, ==, "abc");
g_assert_cmpint (l, ==, 3);
+#endif
}
static void