Re: To fix 'could not move library'

Jens-Uwe Mager <[email protected]> Sun, 9 Oct 2005 16:11:39 +0200
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>
On Sun, Oct 09, 2005 at 22:34 +0900, heavy_baby wrote:

> Many users reports the bug 'could not move library'.
> I guess this is limitation of NTFS file system.
> NTFS only accepts "255" characters in full path name.
> LimeWire sets "180" characters as max length of file name, but this can be
> variable.
> Because when the path length is too long, it's out of length.
> 
> To fix 
> 
> CommUtils.java:
> public static String convertFileName(String name) {
>         name = I18NConvert.instance().compose(name);
> 		if(name.length() > 180) {
> 
> 
> public static String convertFileName(String name, String parentPathName) {
>         name = I18NConvert.instance().compose(name);
> 		if(name.length() > 255 - parentPathName.length()) {
>

Isn' that supposed to be fixed in Java 1.5? Or did I misunderstand the
comments here:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4403166
_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev