diff options
Diffstat (limited to 'system/coreutils/gnulib-test-fixes.patch')
-rw-r--r-- | system/coreutils/gnulib-test-fixes.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/system/coreutils/gnulib-test-fixes.patch b/system/coreutils/gnulib-test-fixes.patch index 5455cf7cd..7876e22aa 100644 --- a/system/coreutils/gnulib-test-fixes.patch +++ b/system/coreutils/gnulib-test-fixes.patch @@ -9,30 +9,6 @@ ret = getrusage (RUSAGE_SELF, &before); ASSERT (ret == 0); ---- coreutils-8.31/gnulib-tests/test-parse-datetime.c.old 2019-06-01 07:46:25.716292871 +0000 -+++ coreutils-8.31/gnulib-tests/test-parse-datetime.c 2019-06-01 22:07:59.456653669 +0000 -@@ -432,21 +432,5 @@ - ASSERT ( parse_datetime (&result, "TZ=\"\\\\\"", &now)); - ASSERT ( parse_datetime (&result, "TZ=\"\\\"\"", &now)); - -- /* Outlandishly-long time zone abbreviations should not cause problems. */ -- { -- static char const bufprefix[] = "TZ=\""; -- enum { tzname_len = 2000 }; -- static char const bufsuffix[] = "0\" 1970-01-01 01:02:03.123456789"; -- enum { bufsize = sizeof bufprefix - 1 + tzname_len + sizeof bufsuffix }; -- char buf[bufsize]; -- memcpy (buf, bufprefix, sizeof bufprefix - 1); -- memset (buf + sizeof bufprefix - 1, 'X', tzname_len); -- strcpy (buf + bufsize - sizeof bufsuffix, bufsuffix); -- ASSERT (parse_datetime (&result, buf, &now)); -- LOG (buf, now, result); -- ASSERT (result.tv_sec == 1 * 60 * 60 + 2 * 60 + 3 -- && result.tv_nsec == 123456789); -- } -- - return 0; - } --- coreutils-8.31/gnulib-tests/test-getlogin.h 2019-01-04 10:14:43.000000000 -0600 +++ coreutils-8.31/gnulib-tests/test-getlogin.h 2019-09-11 06:50:47.791580246 -0500 @@ -61,6 +61,9 @@ test_getlogin_result (const char *buf, i |