To fix 'could not move library'

heavy_baby <[email protected]> Sun, 9 Oct 2005 22:34:25 +0900 (JST)
Newsgroups gmane.network.gnutella.limewire.core.devel
Message-ID <[email protected]>
Hello, lists.

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()) {


--------------------------------------
Know more about Breast Cancer
http://pr.mail.yahoo.co.jp/pinkribbon/

_______________________________________________
core-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/core-dev