Title: [155193] trunk/Source/WTF
Revision
155193
Author
[email protected]
Date
2013-09-06 09:48:44 -0700 (Fri, 06 Sep 2013)

Log Message

[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: trunk/Source/WTF/ChangeLog (155192 => 155193)


--- trunk/Source/WTF/ChangeLog	2013-09-06 16:32:30 UTC (rev 155192)
+++ trunk/Source/WTF/ChangeLog	2013-09-06 16:48:44 UTC (rev 155193)
@@ -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-09-05  Dan Bernstein  <[email protected]>
 
         INSTALL_PATH_PREFIX is used even when not installing

Modified: trunk/Source/WTF/wtf/gobject/GlibUtilities.cpp (155192 => 155193)


--- trunk/Source/WTF/wtf/gobject/GlibUtilities.cpp	2013-09-06 16:32:30 UTC (rev 155192)
+++ trunk/Source/WTF/wtf/gobject/GlibUtilities.cpp	2013-09-06 16:48:44 UTC (rev 155193)
@@ -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