Title: [120950] trunk/Source/WebCore
- Revision
- 120950
- Author
- [email protected]
- Date
- 2012-06-21 11:21:45 -0700 (Thu, 21 Jun 2012)
Log Message
[GTK] Replace the use of "struct stat" with GStatBuf
https://bugs.webkit.org/show_bug.cgi?id=89488
Patch by Kalev Lember <[email protected]> on 2012-06-21
Reviewed by Martin Robinson.
Make sure we pass GStatBuf to g_stat(); depending on the platform, it
isn't always the same as "struct stat", e.g. on Windows.
* platform/gtk/FileSystemGtk.cpp:
(WebCore::getFileSize):
(WebCore::getFileModificationTime):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (120949 => 120950)
--- trunk/Source/WebCore/ChangeLog 2012-06-21 18:17:21 UTC (rev 120949)
+++ trunk/Source/WebCore/ChangeLog 2012-06-21 18:21:45 UTC (rev 120950)
@@ -1,3 +1,17 @@
+2012-06-21 Kalev Lember <[email protected]>
+
+ [GTK] Replace the use of "struct stat" with GStatBuf
+ https://bugs.webkit.org/show_bug.cgi?id=89488
+
+ Reviewed by Martin Robinson.
+
+ Make sure we pass GStatBuf to g_stat(); depending on the platform, it
+ isn't always the same as "struct stat", e.g. on Windows.
+
+ * platform/gtk/FileSystemGtk.cpp:
+ (WebCore::getFileSize):
+ (WebCore::getFileModificationTime):
+
2012-06-21 Min Qin <[email protected]>
remove ENABLE_FULLSCREEN_MEDIA_CONTROL flag
Modified: trunk/Source/WebCore/platform/gtk/FileSystemGtk.cpp (120949 => 120950)
--- trunk/Source/WebCore/platform/gtk/FileSystemGtk.cpp 2012-06-21 18:17:21 UTC (rev 120949)
+++ trunk/Source/WebCore/platform/gtk/FileSystemGtk.cpp 2012-06-21 18:21:45 UTC (rev 120950)
@@ -117,7 +117,7 @@
if (filename.isNull())
return false;
- struct stat statResult;
+ GStatBuf statResult;
gint result = g_stat(filename.data(), &statResult);
if (result != 0)
return false;
@@ -132,7 +132,7 @@
if (filename.isNull())
return false;
- struct stat statResult;
+ GStatBuf statResult;
gint result = g_stat(filename.data(), &statResult);
if (result != 0)
return false;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes