search for: b08c7c8

Displaying 2 results from an estimated 2 matches for "b08c7c8".

Did you mean: 388c7c8
2019 Jan 18
0
[klibc:master] fcntl: Fix file locking numbers for 64-bit architectures
...the non-64 fcntl numbers and are not implemented at all. Only use them in 32-bit configurations. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/fcntl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/include/fcntl.h b/usr/include/fcntl.h index 16128f8..b08c7c8 100644 --- a/usr/include/fcntl.h +++ b/usr/include/fcntl.h @@ -13,6 +13,9 @@ # include <klibc/archfcntl.h> #endif #include <linux/fcntl.h> +#include <bitsize.h> + +#if _BITSIZE == 32 /* This is ugly, but "struct flock" has actually been defined with a long off_...
2019 Jan 21
0
[klibc:master] fcntl: Fix struct flock for 32-bit architectures
...definition of struct flock and define it ourselves with 64-bit offsets. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/fcntl.h | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/usr/include/fcntl.h b/usr/include/fcntl.h index b08c7c8..ed703a6 100644 --- a/usr/include/fcntl.h +++ b/usr/include/fcntl.h @@ -11,17 +11,30 @@ #include <sys/types.h> #if defined(__mips__) && ! defined(__mips64) # include <klibc/archfcntl.h> +#elif _BITSIZE == 32 +/* We want a struct flock with 64-bit offsets, which we define belo...