@@ -31,10 +31,15 @@ #ifndef HAVE_ASPRINTF #import "asprintf.h" #endif @implementation OFMutableString +- (id)copy +{ + return [OFString stringWithCString: string]; +} + - setToCString: (const char*)str { size_t len; if (string != NULL)