Title: [155335] releases/WebKitGTK/webkit-2.2/Source/WTF
Revision
155335
Author
[email protected]
Date
2013-09-09 02:19:36 -0700 (Mon, 09 Sep 2013)

Log Message

Merge r155193 - [GTK] GlibUtilities: getCurrentExecutablePath() does not compile on GNU/Hurd
https://bugs.webkit.org/show_bug.cgi?id=120793

Reviewed by Gustavo Noronha Silva.

Original patch by Svante Signell <[email protected]>.

PATH_MAX is not defined in GNU/Hurd, this patch adds a dummy
implementation to make it compile.

* wtf/gobject/GlibUtilities.cpp:
(getCurrentExecutablePath):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.2/Source/WTF/ChangeLog (155334 => 155335)


--- releases/WebKitGTK/webkit-2.2/Source/WTF/ChangeLog	2013-09-09 09:07:41 UTC (rev 155334)
+++ releases/WebKitGTK/webkit-2.2/Source/WTF/ChangeLog	2013-09-09 09:19:36 UTC (rev 155335)
@@ -1,3 +1,18 @@
+2013-09-06  Alberto Garcia  <[email protected]>
+
+        [GTK] GlibUtilities: getCurrentExecutablePath() does not compile on GNU/Hurd
+        https://bugs.webkit.org/show_bug.cgi?id=120793
+
+        Reviewed by Gustavo Noronha Silva.
+
+        Original patch by Svante Signell <[email protected]>.
+
+        PATH_MAX is not defined in GNU/Hurd, this patch adds a dummy
+        implementation to make it compile.
+
+        * wtf/gobject/GlibUtilities.cpp:
+        (getCurrentExecutablePath):
+
 2013-08-27  Andre Moreira Magalhaes   <[email protected]>
 
         [gstreamer] Make sure gstreamer source element is thread-safe

Modified: releases/WebKitGTK/webkit-2.2/Source/WTF/wtf/gobject/GlibUtilities.cpp (155334 => 155335)


--- releases/WebKitGTK/webkit-2.2/Source/WTF/wtf/gobject/GlibUtilities.cpp	2013-09-09 09:07:41 UTC (rev 155334)
+++ releases/WebKitGTK/webkit-2.2/Source/WTF/wtf/gobject/GlibUtilities.cpp	2013-09-09 09:19:36 UTC (rev 155335)
@@ -37,6 +37,11 @@
         return CString();
     return CString(readLinkBuffer, result);
 }
+#elif OS(HURD)
+CString getCurrentExecutablePath()
+{
+    return CString();
+}
 #elif OS(UNIX)
 CString getCurrentExecutablePath()
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to