This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2.95.2/libchill/basicio.c does not reliably set PATH_MAX
- To: George France <france at crl dot dec dot com>
- Subject: Re: gcc-2.95.2/libchill/basicio.c does not reliably set PATH_MAX
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 03 Apr 2000 01:22:15 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <D1674834F25BD3118B3208002BB90CD424AA3F@yen.crl.dec.com>you write:
> I am cross compiling gcc to a arm-linux target.
>
> gcc-2.95.2/libchill/basicio.c does not reliably set PATH_MAX
>
[ ... ]
>
> This code works fine for me with a native (i86) target. Any ideas???
>
> I have fixed the problem for myself, but there should be a permanent
> solution.
Your solution is as good as any I found in other packages. The only
significant difference is that some used 256 as a max length. From
looking at the basicio code, using a larger value (1024) can't ever
make things worse.
I went ahead and installed your patch into the development tree.
jeffk