Re: sim/arm/armos.c: IsTTY [PATCH]

Eli Zaretskii
2005-09-08T19:28:21Z

> From: Richard Earnshaw <rearnsha@gcc.gnu.org>
> Cc: gdb-patches@sources.redhat.com
> Date: Thu, 08 Sep 2005 10:06:28 +0100
>
> 1) PATH_MAX isn't ANSI (it's POSIX, or something like that). So you
> can't rely on it being defined. I think for this case you can probably
> just define it to 1024 anyway if it's missing, but see
> libiberty/lrealpath.c if you want the gory details.

Or perhaps just use FILENAME_MAX, which _is_ ANSI.