[PATCH 2 of 9] build/internals.sh: Replace nonportable call to stat

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Tue May 18 23:08:00 GMT 2010


Titus, Arnaud, All,

On Wednesday 19 May 2010 00:57:32 Titus von Boxberg wrote:
> However, man test says to -h:
> True if file exists and is a symbolic link.  This operator is retained
> for compatibility with previous versions of this program. Do not rely
> on its existence; use -L instead.
> I'd opt for -L

POSIX.1-2008 does not say anything aboiut -h being obsoleted.
See 'FUTURE DIRECTIONS' and 'CHANGE HISTORY'.
  http://www.opengroup.org/onlinepubs/9699919799/utilities/test.html

But, OK, let's go to use -L if it's more widely supported than -h.

Thank you!

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list