[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: clean-temp and large files
From: |
Paul Eggert |
Subject: |
Re: clean-temp and large files |
Date: |
Thu, 04 Jan 2007 11:09:51 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
"Bruno Haible" <address@hidden> writes:
> I was assuming that invoking AC_SYS_LARGEFILE is the programmer's
> responsibility, because AC_SYS_LARGEFILE is a global switch.
Yes, that was my assumption too. However, as you mentioned, any
portable program that accesses files should use AC_SYS_LARGEFILE these
days.
> The affected modules are not only clean-temp, but at least:
> mkstemp
> tempname
> copy-file
> clean-temp
mkstemp and tempname already invoke AC_SYS_LARGEFILE, so there's
precedent for having copy-file and clean-temp do it as well.
> Paul, what do you think? Is it gnulib's or the configure.ac's responsibility
> to use AC_SYS_LARGEFILE?
I'd say that ultimately it's configure.ac's responsibility, but gnulib
modules can require AC_SYS_LARGEFILE as a matter of convenience and/or
documentation. Admittedly this is wishy-washy, but it does describe
common practice.