2009-04-15 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Wed, 15 Apr 2009 11:19:20 +0000 (11:19 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Wed, 15 Apr 2009 11:19:20 +0000 (11:19 -0000)
        * uni2tab.c : don't use obsoleted shiftjis.txt.

svn path=/trunk/mcs/; revision=131755

mcs/class/I18N/tools/ChangeLog
mcs/class/I18N/tools/uni2tab.c

index 8efbc6f5030bc31c3ef8000f753b87f9c92e29aa..b36814e671807d2b0a196e8da3beccbbdfd05d52 100644 (file)
@@ -1,3 +1,7 @@
+2009-04-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * uni2tab.c : don't use obsoleted shiftjis.txt.
+
 2009-04-15  Atsushi Enomoto  <atsushi@ximian.com>
 
        * table_from.cs, table_to.cs : fix misuse of indexers (invalid code).
index 99caf23673a0740845b5fd35523df7947761497a..a740131974edb8c8c3e9ca34a200c544c67261d2 100644 (file)
@@ -26,7 +26,7 @@
 
 Usage: uni2tab
 
-Required files from ftp.unicode.org: Unihan.txt, shiftjis.txt
+Required files from ftp.unicode.org: Unihan.txt, CP932.TXT
 
 */
 
@@ -62,11 +62,11 @@ int main(int argc, char *argv[])
        }
        fclose(file);
 
-       /* Load the relevant contents from the shiftjis.txt file,
+       /* Load the relevant contents from the CP932.TXT file,
           to get mappings for non-CJK characters */
-       if((file = fopen("shiftjis.txt", "r")) == NULL)
+       if((file = fopen("CP932.TXT", "r")) == NULL)
        {
-               perror("shiftjis.txt");
+               perror("CP932.TXT");
                return 1;
        }
        while(fgets(buffer, sizeof(buffer), file))
@@ -242,7 +242,7 @@ static void convertLine(char *buf)
 }
 
 /*
- * Convert a line from the "shiftjis.txt" file.
+ * Convert a line from the "CP932.TXT" file.
  */
 static void convertSJISLine(char *buf)
 {