[Commit] nickle ChangeLog,1.94,1.95 string.5c,1.12,1.13

Bart Massey commit at keithp.com
Mon Nov 8 00:53:27 PST 2004


Committed by: bart

Update of /local/src/CVS/nickle
In directory home.keithp.com:/tmp/cvs-serv8060

Modified Files:
	ChangeLog string.5c 
Log Message:
* string.5c:
inchars() had the arguments to index() backward.



Index: ChangeLog
===================================================================
RCS file: /local/src/CVS/nickle/ChangeLog,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- ChangeLog	8 Nov 2004 06:28:38 -0000	1.94
+++ ChangeLog	8 Nov 2004 08:53:24 -0000	1.95
@@ -1,3 +1,8 @@
+2004-11-8  Bart Massey <bart at cs.pdx.edu>
+
+	* string.5c:
+	inchars() had the arguments to index() backward.
+	
 2004-11-7  Bart Massey <bart at cs.pdx.edu>
 
 	* string.5c:

Index: string.5c
===================================================================
RCS file: /local/src/CVS/nickle/string.5c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- string.5c	8 Nov 2004 06:32:10 -0000	1.12
+++ string.5c	8 Nov 2004 08:53:24 -0000	1.13
@@ -106,7 +106,7 @@
 	 * Return whether 'c' is in 's'
 	 */
     {
-	return index(String::new(c), s) >= 0;
+	return index(s, String::new(c)) >= 0;
     }
 
     public string[*] wordsplit(string s, string sep) 




More information about the Commit mailing list