Control: tag -1 -patch moreinfo

Hello Cristian,

Cristian Ionescu-Idbohrn [2015-05-11 14:20 +0200]:
> Pick up O_LARGEFILE, if defined.
> 
> diff --git a/fatrace/fatrace.c b/fatrace/fatrace.c
> index ec925b7..cf99fa9 100644
> --- a/fatrace/fatrace.c
> +++ b/fatrace/fatrace.c
> @@ -42,7 +42,11 @@
>   * 
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1e2ee49f7
>   * O_LARGEFILE is usually 0, so hardcode it here

      ^^^^^^^^^

See this comment.

>   */
> +#ifdef O_LARGEFILE
> +#define KERNEL_O_LARGEFILE O_LARGEFILE
> +#else
>  #define KERNEL_O_LARGEFILE 00100000
> +#endif

This doesn't work, I'm afraid, see above. O_LARGEFILE is 0 on at least
x86_64, because it's the default there.

Can you please be more specific what the actual problem is, and why
this is severity "important"?

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

Reply via email to