vmcore-dmesg: don't enforce largefile handling
Subsystems (2)
PATCH 1/1 vmcore-dmesg: don't enforce largefile handling
Breaks build on !largefile toolchains.
Instead simply use whatever mode is selected by toolchain / CFLAGS.
--- vmcore-dmesg/vmcore-dmesg.c | 2 -- 1 file changed, 2 deletions(-)
vmcore-dmesg/vmcore-dmesg.c +0 -2
@@ -1,6 +1,4 @@#define _XOPEN_SOURCE 600 -#define _LARGEFILE_SOURCE 1 -#define _FILE_OFFSET_BITS 64#include <endian.h> #include <byteswap.h> #include <stdio.h>
Signature · 7 lines
1.8.3.2 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Quoted 3 lines · Yegor Yefremov
Breaks build on !largefile toolchains.
Instead simply use whatever mode is selected by toolchain / CFLAGS.
Perhaps the use of configure or something similar is in order to select these options if they are available. It seems to me that one would want them if one can have them.
Quoted 26 lines
Signed-off-by Peter Korsgaard <[email protected]>Signed-off-by Yegor Yefremov <[email protected]>--- vmcore-dmesg/vmcore-dmesg.c | 2 -- 1 file changed, 2 deletions(-)vmcore-dmesg/vmcore-dmesg.c +0
-2@@ -1,6 +1,4 @@#define _XOPEN_SOURCE 600 -#define _LARGEFILE_SOURCE 1 -#define _FILE_OFFSET_BITS 64#include <endian.h> #include <byteswap.h> #include <stdio.h> Signature · 7 lines
1.8.3.2 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 8 lines · Simon Horman
Quoted 3 lines · Yegor Yefremov
Breaks build on !largefile toolchains.
Instead simply use whatever mode is selected by toolchain / CFLAGS.
Perhaps the use of configure or something similar is in order to select these options if they are available. It seems to me that one would want them if one can have them.
Do you mean something like this: AC_SYS_LARGEFILE
(https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/System-Services.html)?
Quoted 21 lines
Quoted 21 lines
Signed-off-by Peter Korsgaard <[email protected]>Signed-off-by Yegor Yefremov <[email protected]>--- vmcore-dmesg/vmcore-dmesg.c | 2 -- 1 file changed, 2 deletions(-)vmcore-dmesg/vmcore-dmesg.c +0
-3@@ -1,6 +1,4 @@#define _XOPEN_SOURCE 600 -#define _LARGEFILE_SOURCE 1 -#define _FILE_OFFSET_BITS 64#include <endian.h> #include <byteswap.h> #include <stdio.h> --1.8.3.2
Quoted 5 lines
Quoted 5 lines
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec