[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
kocienda
kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:11:47 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 90750623ddbc73f556091b78f70b2282cdd172b8
Author: kocienda <kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu May 9 16:43:22 2002 +0000
2002-05-09 Kenneth Kocienda <kocienda at apple.com>
Tiny little string copying cleanup suggested by Darin.
* Database.subproj/IFURLFileDatabase.m:
(-[IFURLFileDatabase open]): small string copying cleanup.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/Misc.subproj/WebFileDatabase.m b/WebKit/Misc.subproj/WebFileDatabase.m
index 5bafb24..4829850 100644
--- a/WebKit/Misc.subproj/WebFileDatabase.m
+++ b/WebKit/Misc.subproj/WebFileDatabase.m
@@ -659,8 +659,7 @@ static void URLFileReaderInit(void)
sizeFilePathString = [NSString stringWithFormat:@"%@/%@", path, SIZE_FILE_NAME];
tmp = [[NSFileManager defaultManager] fileSystemRepresentationWithPath:sizeFilePathString];
- sizeFilePath = malloc(strlen(tmp) + 1);
- strcpy(sizeFilePath, tmp);
+ sizeFilePath = strdup(tmp);
usage = [self readSizeFile];
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list