Activity log for bug #2019954

Date Who What changed Old value New value Message
2023-05-17 11:18:29 Sven M. Hallberg bug added bug
2023-05-17 11:18:29 Sven M. Hallberg attachment added patch-xorn_tests_storage-alloca https://bugs.launchpad.net/bugs/2019954/+attachment/5673552/+files/patch-xorn_tests_storage-alloca
2023-05-17 11:21:26 Sven M. Hallberg description Noticed when porting to OpenBSD: The files normalize.c and validate.c in xorn/tests/storage/ use the alloca() function and include <alloca.h> for its prototype. That header is specific to GCC and not available at least on OpenBSD. The attached patches change the include to <stdlib.h> which works on both systems. Noticed when porting to OpenBSD: The files normalize.c and validate.c in xorn/tests/storage/ use the alloca() function and include <alloca.h> for its prototype. That header is specific to glibc and not available at least on OpenBSD. The attached patches change the include to <stdlib.h> which works on both systems.
2023-05-17 11:22:02 Sven M. Hallberg description Noticed when porting to OpenBSD: The files normalize.c and validate.c in xorn/tests/storage/ use the alloca() function and include <alloca.h> for its prototype. That header is specific to glibc and not available at least on OpenBSD. The attached patches change the include to <stdlib.h> which works on both systems. Noticed when porting to OpenBSD: The files normalize.c and validate.c in xorn/tests/storage/ use the alloca() function and include <alloca.h> for its prototype. That header is specific to glibc and not available at least on OpenBSD. The attached patch changes the includes to <stdlib.h> which works on both systems.