import glibc-2.17-292.el7.src.rpm

Signed-off-by: zhangbinchen <zhangbinchen@openanolis.org>
This commit is contained in:
zhangbinchen 2021-08-21 12:40:25 +08:00
commit ff0128648f
929 changed files with 436800 additions and 0 deletions

27
glibc-rh1647490-6.patch Normal file
View file

@ -0,0 +1,27 @@
Use <support/test-driver.c> in stdlib/tst-strtod-overflow.c
This downstream-only patch is needed because test-skeleton.c contains
a copy of the old test skeleton (unlike upstream), resulting in the
following error:
In file included from tst-strtod-overflow.c:53:0:
../test-skeleton.c:65:20: error: static declaration of 'test_dir' follows non-static declaration
static const char *test_dir;
^
In file included from tst-strtod-overflow.c:23:0:
../support/test-driver.h:65:20: note: previous declaration of 'test_dir' was here
extern const char *test_dir;
^
diff --git a/stdlib/tst-strtod-overflow.c b/stdlib/tst-strtod-overflow.c
index fd1be79f3f58c64b..2b30947d9a9fa03a 100644
--- a/stdlib/tst-strtod-overflow.c
+++ b/stdlib/tst-strtod-overflow.c
@@ -48,6 +48,4 @@ do_test (void)
return 0;
}
-#define TEST_FUNCTION do_test ()
-#define TIMEOUT 5
-#include "../test-skeleton.c"
+#include <support/test-driver.c>