|
From: | Ralf Corsepius |
Subject: | Re: [PATCH] Internationalization tests: prefer `test ! -r' over `test ! -f' |
Date: | Tue, 07 Sep 2010 03:30:58 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Thunderbird/3.1.2 |
On 09/06/2010 07:51 PM, Ralf Wildenhues wrote:
Hello Ralf, * Ralf Corsepius wrote on Mon, Sep 06, 2010 at 07:49:04PM CEST:On 09/06/2010 05:18 PM, Stefano Lattarini wrote:This is mostly a cosmetic/consistency patch. I hope you'll find it worth applying nonetheless. Internationalization tests: prefer `test ! -r' over `test ! -f'test -r is non-portable. Very old shells do not support it.Do you have an example system?
SunOS4. I still have access to its man-pages, which don't mention "test -e".
The Autoconf manual doesn't bother to document this, which makes me think that only museum systems would be affected.
Quite likely.
I vaguely recall somebody having wanted to use "test -e" in autoconf in the 2.13->2.49-era and him having triggered issues related to it. May be times have changed enough to furtheron ignore the number of such remaining fossil systems?We've been using it for a long time inside both Autoconf and Automake.
Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |