Bug 73473 - [GTK] Add a helper function to find the current executable's path
Summary: [GTK] Add a helper function to find the current executable's path
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Martin Robinson
URL:
Keywords:
Depends on:
Blocks: 73487
  Show dependency treegraph
 
Reported: 2011-11-30 11:02 PST by Martin Robinson
Modified: 2011-12-01 14:31 PST (History)
2 users (show)

See Also:


Attachments
Patch (10.59 KB, patch)
2011-11-30 11:15 PST, Martin Robinson
no flags Details | Formatted Diff | Diff
Patch sans debug fprintf (10.52 KB, patch)
2011-11-30 11:22 PST, Martin Robinson
no flags Details | Formatted Diff | Diff
Patch (12.94 KB, patch)
2011-12-01 04:26 PST, Martin Robinson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Robinson 2011-11-30 11:02:14 PST
This will be useful to find the fonts during testing and we can also reduce our use of magic environment variables in some places.
Comment 1 Martin Robinson 2011-11-30 11:15:00 PST
Created attachment 117232 [details]
Patch
Comment 2 Martin Robinson 2011-11-30 11:22:29 PST
Created attachment 117234 [details]
Patch sans debug fprintf
Comment 3 Martin Robinson 2011-11-30 11:33:34 PST
Carlos Garcia pointed out that something like this is necessary in WebCore as well. I'll change WebCore to call this version of the function and add fallbacks for BSDs.
Comment 4 Martin Robinson 2011-12-01 04:26:44 PST
Created attachment 117398 [details]
Patch
Comment 5 Gustavo Noronha (kov) 2011-12-01 13:29:21 PST
Comment on attachment 117398 [details]
Patch

OK!
Comment 6 Martin Robinson 2011-12-01 14:31:40 PST
Committed r101710: <http://trac.webkit.org/changeset/101710>