* src/vm/suck.c (suck_start): Use new utf_ functions.
authoredwin <none@none>
Fri, 5 May 2006 18:58:00 +0000 (18:58 +0000)
committeredwin <none@none>
Fri, 5 May 2006 18:58:00 +0000 (18:58 +0000)
src/vm/suck.c

index 5e6b3db2985dbf32c89ce2e78529119eb9550bc6..b8e753c0a57e2f8a108717b0abf5972b50e1ea5b 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes:
 
-   $Id: suck.c 4879 2006-05-05 17:34:49Z edwin $
+   $Id: suck.c 4883 2006-05-05 18:58:00Z edwin $
 
 */
 
@@ -525,12 +525,12 @@ classbuffer *suck_start(classinfo *c)
        cb = NULL;
 
        /* get the classname as char string (do it here for the warning at
-       the and of the function) */
+       the end of the function) */
 
-       filenamelen = utf_get_number_of_u2s(c->name) + strlen(".class") + strlen("0");
+       filenamelen = utf_bytes(c->name) + strlen(".class") + strlen("0");
        filename = MNEW(char, filenamelen);
 
-       utf_sprint_convert_to_latin1(filename, c->name);
+       utf_copy(filename, c->name);
        strcat(filename, ".class");
 
        /* walk through all classpath entries */