bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib largefile support


From: Eric Blake
Subject: Re: gnulib largefile support
Date: Mon, 07 Nov 2011 15:02:53 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.15

On 11/07/2011 03:02 PM, Nikos Mavrogiannopoulos wrote:
On 11/07/2011 10:52 PM, Bruno Haible wrote:
[CCing Ludovic. The thread starts at
<https://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00079.html>]
Nikos Mavrogiannopoulos wrote:
Wouldn't it be better to add an option to enable
it only in systems where it is desirable?
Like Eric said, large file support *is* desirable on all platforms.
The only reason that large file support is off by default is backward
compatibility.
[...]
Why adding getpass or fseek gnulib modules would enable
largefile by default?
Never use fseek(). Use fseeko() instead. This is documented in the gnulib
manual [5].

I can understand that it is desirable, but it is not relevant for
gnutls, thus it shouldn't have to depend or enable it. We only use file
support to open configuration files, or files containing certificates,
files that if they exceed 2GB then something is wrong.

Whether it is wrong for a configuration file to exceed 2GB is a subjective call; but what is wrong according to GNU Coding Standards is to arbitrarily limit someone into mandating that their config file must not exceed 2GB even when the rest of their system can handle files that large. You are doing your users a favor by always using large file support.

--
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]