[glibc PATCH] fcntl: put F_OFD_* constants under #ifdef __USE_FILE_OFFSET64
Cyril Hrubis
chrubis@suse.cz
Mon Nov 14 13:45:00 GMT 2016
Hi!
> >> To be clear, that approach was NAK'ed by Christoph (and I think that's
> >> a good thing, actually -- one more nail in the non-LFS coffin). I think
> >> what we want merged into glibc is this patch that I sent late on
> >> Thursday:
> >>
> >> [glibc PATCHv2] fcntl: don't define OFD lock constants for 32-bit builds with small file offsets
> >>
> >> We'll also need your patch to the fcntl(2) manpage as well, but that's
> >> a separate problem.
> >
> > Hmm, the patch for man-pages should be updated as well. We need
> > somethign as:
> >
> > ...
> > This lock type is Linux-specific, and available since Linux 3.15.
> > On 32bit platform _FILE_OFFSET_BITS must defined to 64 (before including
> > any header files) to make these locks available.
> > ...
> >
> > Michael should I send updated patch or will you take care of this?
>
> I can do it, or you can. At the moment, I'm just holding off until I
> see what is accepted into glibc.
Ping.
Is there any resolve for this?
--
Cyril Hrubis
chrubis@suse.cz
More information about the Libc-alpha
mailing list