]> Cypherpunks repositories - gostls13.git/commitdiff
change replacement rune to its correct value, fffd
authorRob Pike <r@golang.org>
Sun, 12 Apr 2009 23:13:34 +0000 (16:13 -0700)
committerRob Pike <r@golang.org>
Sun, 12 Apr 2009 23:13:34 +0000 (16:13 -0700)
R=ken
OCL=27342
CL=27342

src/runtime/string.c

index 37f6ff0a1b8e8ad7b668ce8fd7f12202f4eeb15c..4d89e960012c0f0ba0d6991cb80f013c49d83557 100644 (file)
@@ -193,7 +193,7 @@ static      int32   chartorune(int32 *rune, byte *str);
 enum
 {
        Runeself        = 0x80,
-       Runeerror       = 0xfff8,       // fffd in plan9
+       Runeerror       = 0xfffd,
 };
 
 // func        stringiter(string, int) (retk int);