Changeset 155193 in webkit


Ignore:
Timestamp:
Sep 6, 2013 9:48:44 AM (11 years ago)
Author:
berto@igalia.com
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 <svante.signell@telia.com>.

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

  • wtf/gobject/GlibUtilities.cpp:

(getCurrentExecutablePath):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r155171 r155193  
     12013-09-06  Alberto Garcia  <berto@igalia.com>
     2
     3        [GTK] GlibUtilities: getCurrentExecutablePath() does not compile on GNU/Hurd
     4        https://bugs.webkit.org/show_bug.cgi?id=120793
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Original patch by Svante Signell <svante.signell@telia.com>.
     9
     10        PATH_MAX is not defined in GNU/Hurd, this patch adds a dummy
     11        implementation to make it compile.
     12
     13        * wtf/gobject/GlibUtilities.cpp:
     14        (getCurrentExecutablePath):
     15
    1162013-09-05  Dan Bernstein  <mitz@apple.com>
    217
  • trunk/Source/WTF/wtf/gobject/GlibUtilities.cpp

    r111778 r155193  
    3838    return CString(readLinkBuffer, result);
    3939}
     40#elif OS(HURD)
     41CString getCurrentExecutablePath()
     42{
     43    return CString();
     44}
    4045#elif OS(UNIX)
    4146CString getCurrentExecutablePath()
Note: See TracChangeset for help on using the changeset viewer.