The patch adds _XOPEN_SOURCE=500
Explaination: on glibc, S_ISVTX is only visible if the aformentioned
macro is defined.
Compiler: gcc 7.2.1
CFLAGS=-Wall -Wextra -Werror -Wpedantic -fno-builtin -std=c99
--- main.c.old 2017-12-26 18:09:07.383869000 -0500
+++ main.c 2017-12-26 18:08:13.470618500 -0500
@@ -20,6 +20,7 @@
corrupt or invalid input file, 3 for an internal consistency error
(eg, bug) which caused clzip to panic.
*/
+#define _XOPEN_SOURCE 500
#define _FILE_OFFSET_BITS 64
#include <ctype.h>
_______________________________________________
Lzip-bug mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lzip-bug