This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: gcc-2.95.2/libchill/basicio.c does not reliably set PATH_MAX



  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


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