Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e8cd948b-10ea-9ff6-9707-68c1e0689759@cs.ucla.edu>
Date: Sun, 2 Jul 2023 12:21:00 -0700
From: Paul Eggert <eggert@...ucla.edu>
To: "A. Wilcox" <AWilcox@...cox-tech.com>
Cc: libc-coord@...ts.openwall.com, Jonathan Wakely <jwakely@...hat.com>,
 Rich Felker <dalias@...c.org>, linux-man@...r.kernel.org,
 libc-alpha@...rceware.org, musl@...ts.openwall.com
Subject: Re: Re: [libc-coord] Re: regression in man pages for
 interfaces using loff_t

On 2023-07-01 18:18, A. Wilcox via Libc-alpha wrote:
> _FILE_OFFSET_BITS=32 is legacy, but Linux on 32-bit systems is not.

Yes, the documentation could be more careful in its wording. As I 
understand it, the only active Linux ports that still support 32-bit 
off_t are x86 and ARM. So in the patch let's change this:

"if the code is intended to be portable to legacy 32-bit platforms."

to this:

"if the code is intended to be portable to traditional 32-bit x86 and 
ARM platforms where off_t's width defaults to 32 bits."

The idea is to let users know the scope of the problem without implying 
that all 32-bit Linux is going away. Revised patch attached.
View attachment "0001-off64_t-prefer-off_t-for-splice-etc.patch" of type "text/x-patch" (8707 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.