From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
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: Wed, 19 Mar 2014 14:29:12 +0100 [thread overview]
Message-ID: <53299BA8.1070206@gmail.com> (raw)
In-Reply-To: <10506751.CXtlUKOUPc@vapier>
On 03/19/2014 04:12 AM, Mike Frysinger wrote:
> 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 ?
Okay, already ;-). I removed the words "on 32-bit systems".
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2014-03-19 13:29 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
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) [this message]
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=53299BA8.1070206@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=vapier-aBrp7R+bbdUdnm+yROfE0A@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.