This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]