Hello!

The attached patch makes jCVS much happier.
The problem was that its configuration file uses DOS-style line ends and
backslashes for line continuation.
Kaffe could not handle "\\\r\n" properly. Now it can.

Pavel Roskin
Index: libraries/javalib/java/util/Properties.java
===================================================================
RCS file: /home/cvspublic/kaffe/libraries/javalib/java/util/Properties.java,v
retrieving revision 1.9
diff -u -r1.9 Properties.java
--- Properties.java     1999/03/25 07:20:32     1.9
+++ Properties.java     1999/04/07 14:48:52
@@ -159,8 +159,10 @@
                        case '\\':
                                buffer.append('\\');
                                break;
-                       case '\n':
                        case '\r': // Continuation
+                               if ((chr=in.read()) != '\n')
+                                       buffer.append( chr);
+                       case '\n':
                                break;
                        default:
                                buffer.append( '\\');

Reply via email to