Author: toad
Date: 2007-09-14 14:38:51 +0000 (Fri, 14 Sep 2007)
New Revision: 15160

Modified:
   trunk/freenet/src/freenet/config/FilePersistentConfig.java
Log:
Increase arbitrary max line length.
In this case to allow reading freenet.ini in the presence of a 
duplication-of-bookmarks bug.

Modified: trunk/freenet/src/freenet/config/FilePersistentConfig.java
===================================================================
--- trunk/freenet/src/freenet/config/FilePersistentConfig.java  2007-09-14 
14:36:49 UTC (rev 15159)
+++ trunk/freenet/src/freenet/config/FilePersistentConfig.java  2007-09-14 
14:38:51 UTC (rev 15160)
@@ -96,7 +96,7 @@
                try {
                        LineReadingInputStream lis = new 
LineReadingInputStream(bis);
                        // Config file is UTF-8 too!
-                       return new SimpleFieldSet(lis, 32768, 128, true, true, 
true, true); // FIXME? advanced users may edit the config file, hence true?
+                       return new SimpleFieldSet(lis, 65536, 128, true, true, 
true, true); // FIXME? advanced users may edit the config file, hence true?
                } finally {
                        try {
                                fis.close();


Reply via email to