2006-05-16 bradeeoh <beidson@apple.com>
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 May 2006 23:13:19 +0000 (23:13 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 May 2006 23:13:19 +0000 (23:13 +0000)
        Reviewed by Maciej Stachowiak

        - Fixed an old deprecated method in Misc/WebFileDatabase.m

        * Misc/WebFileDatabase.m:
        (UniqueFilePathForKey):  changed `lossyCString` to `UTF8String`

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14422 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/Misc/WebFileDatabase.m

index 4d939f5028d43966acf7102d7f036cbc1e14bce0..a6906737def21cdc6a0badd4235e2871377544f5 100644 (file)
@@ -1,3 +1,12 @@
+2006-05-16  bradeeoh  <beidson@apple.com>
+
+        Reviewed by Maciej Stachowiak
+
+        - Fixed an old deprecated method in Misc/WebFileDatabase.m
+
+        * Misc/WebFileDatabase.m:
+        (UniqueFilePathForKey):  changed `lossyCString` to `UTF8String`
+
 2006-05-16  Darin Adler  <darin@apple.com>
 
         Reviewed by Anders.
index 38c3f49fab0486a5b00f9990a08af2d54c325d9a..6c905acd9ecf7058eaa6f0ce9d641af0c1fe2104 100644 (file)
@@ -194,8 +194,8 @@ static void UniqueFilePathForKey(id key, char *buffer)
     UInt32 hash2;
     CFIndex len;
     CFIndex cnt;
-
-    s = [[[[key description] lowercaseString] stringByStandardizingPath] lossyCString];
+    
+    s = [[[[key description] lowercaseString] stringByStandardizingPath] UTF8String];
     len = strlen(s);
 
     // compute first hash