This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] avoid MAXPATHLEN dependency
- From: Andrew Haley <aph-gcc at littlepinkcloud dot COM>
- To: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Cc: java-patches at gcc dot gnu dot org, ams at gnu dot org
- Date: Wed, 25 Jul 2007 11:59:59 +0100
- Subject: Re: [PATCH] avoid MAXPATHLEN dependency
- References: <20070724205235.GF3700@interface.famille.thibault.fr>
Samuel Thibault writes:
> Hi,
>
> Some systems don't have such hard limit as MAXPATHLEN, here is a patch
> to take advantage of this.
>
> Samuel
> libjava/ChangeLog
> 2005-10-01 Alfred M. Szmidt <ams@gnu.org>
>
> * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0.
> * java/io/File.java (createTempFile): Don't truncate if the system
> doesn't have a limit on the length of a file name.
>
OK.
Andrew.