From: Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
linux-man <linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] fts.3 is not available in LFS builds
Date: Tue, 18 Mar 2014 23:12:45 -0400 [thread overview]
Message-ID: <10506751.CXtlUKOUPc@vapier> (raw)
In-Reply-To: <CAKgNAkinnsvoXT_FNxaS7L5Umo6va8OCVnTv-gZ5vvVSFi2--w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1479 bytes --]
On Mon 17 Mar 2014 15:11:18 Michael Kerrisk wrote:
> On Mon, Mar 17, 2014 at 3:06 PM, Christoph Hellwig wrote:
> > On Mon, Mar 17, 2014 at 03:02:53PM +0100, Michael Kerrisk wrote:
> >> Oh! I thought most distributors built their 32-bit distros with
> >> -D_FILE_OFFSET_BITS=64 these days? Am I wrong? (I don't have any
> >> 32-bit systems handy to sample from.)
> >
> > I think some build systems try to enforce it, but last time Eric Sandeen
> > checked we still had lots of packages not picking it up.
>
> Okay. I trimmed it back close to your original text:
>
> BUGS
> All of the APIs described in this man page are not safe when
> compiling a program using the LFS APIs on 32-bit systems (e.g.,
> when compiling with -D_FILE_OFFSET_BITS=64).
>
> (Okay?)
not to throw a wrench in there as a pedantic a$$hole, but i find the classic
concept of "32-bit and 64-bit systems" to not really fit into modern world
(well, it's been this way for much longer, so let's say "mainstream").
would you call all ILP32 ABIs 32-bit ? e.g. mips' n32 or x86's x32.
sizeof(long) == 4, but sizeof(off_t) == 8. POSIX describes these as "ILP32
OFF64" while the classic 32-bit systems are "ILP32 OFF".
you can (afaik) use -D_FILE_OFFSET_BITS=64 w/x32 and fts.h and have it work.
maybe we just ignore the issue since fts.h is dead anyways ? just add a
section to the fts(3) page recommending people use ftw(3) instead ?
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2014-03-19 3:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-15 13:54 [PATCH] fts.3 is not available in LFS builds Christoph Hellwig
[not found] ` <20140315135416.GA10430-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2014-03-15 14:47 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkgqXUf0yWaXyAD7yBJgivp9Jmwvz4EAnh_DpyActuoGwA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-16 17:22 ` Christoph Hellwig
[not found] ` <20140316172219.GA16900-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2014-03-17 13:56 ` Michael Kerrisk (man-pages)
[not found] ` <5326FF14.7010305-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-03-17 14:01 ` Christoph Hellwig
[not found] ` <20140317140118.GA11576-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2014-03-17 14:02 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkh7ES18jT2coD39ZXvjUxkrZavaG=SufNS_-16SgM3kUg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-17 14:06 ` Christoph Hellwig
[not found] ` <20140317140616.GA15958-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2014-03-17 14:11 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkinnsvoXT_FNxaS7L5Umo6va8OCVnTv-gZ5vvVSFi2--w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-19 3:12 ` Mike Frysinger [this message]
2014-03-19 5:56 ` Mike Frysinger
2014-03-19 13:29 ` Michael Kerrisk (man-pages)
2014-03-19 13:29 ` Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10506751.CXtlUKOUPc@vapier \
--to=vapier-abrp7r+bbdudnm+yrofe0a@public.gmane.org \
--cc=hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.