gnu-cobol/fix_test_698.patch
Dr. Werner Fink ceae2b06aa Accepting request 858446 from home:alois:branches:devel:languages:misc
- Update to version 3.1.2 (see NEWS or ChangeLog for details)
- Drop gnucobol-CFLAGS.patch (no longer needed)
- Add fix_test_698.patch and enable hardening
- Add buildtime requirements for libjson-c and libxml2
- Disable lto to avoid test failure

OBS-URL: https://build.opensuse.org/request/show/858446
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/gnu-cobol?expand=0&rev=11
2021-04-22 06:00:02 +00:00

14 lines
490 B
Diff

Index: gnucobol-3.1.2/tests/testsuite.src/run_misc.at
===================================================================
--- gnucobol-3.1.2.orig/tests/testsuite.src/run_misc.at
+++ gnucobol-3.1.2/tests/testsuite.src/run_misc.at
@@ -10402,7 +10402,7 @@ COB_EXT_EXPORT int
CAPI (void *p1, ...)
{
int k,nargs,type,digits,scale,size,sign,byvalue;
- cob_s64_t val;
+ cob_s64_t val = 0;
char *str;
char wrk[80],pic[30]; /* note: maxium _theoretical_ size */