RESOLVED FIXED 128597
need to #include <libgen.h> for basename
https://bugs.webkit.org/show_bug.cgi?id=128597
Summary need to #include <libgen.h> for basename
Allison Lortie (desrt)
Reported 2014-02-11 05:57:26 PST
Created attachment 223845 [details] Be sure to #include <libgen.h> for basename Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.cpp uses basename() but does not #include <libgen.h> according to POSIX, this is the correct header to use (and even the Linux manpages agree): http://pubs.opengroup.org/onlinepubs/007908775/xsh/libgen.h.html
Attachments
Be sure to #include <libgen.h> for basename (827 bytes, patch)
2014-02-11 05:57 PST, Allison Lortie (desrt)
no flags
Patch (1.14 KB, patch)
2014-02-24 13:20 PST, Allison Lortie (desrt)
no flags
Patch (1.21 KB, patch)
2014-02-27 05:18 PST, Allison Lortie (desrt)
no flags
Landry Breuil
Comment 1 2014-02-17 11:39:55 PST
Allison Lortie (desrt)
Comment 2 2014-02-17 11:46:01 PST
The header is POSIX-specified, so it should definitely not be made OS-specific.
Alexey Proskuryakov
Comment 3 2014-02-24 11:06:57 PST
Comment on attachment 223845 [details] Be sure to #include <libgen.h> for basename Please add a ChangeLog, as described at <http://www.webkit.org/coding/contributing.html>. Either you or someone else has to make a ChangeLog entry for landing.
Allison Lortie (desrt)
Comment 4 2014-02-24 13:20:26 PST
Alberto Garcia
Comment 5 2014-02-27 05:05:57 PST
(In reply to comment #4) > Created an attachment (id=225088) [details] > Patch Yeah, thinks looks good, thanks a lot!
Allison Lortie (desrt)
Comment 6 2014-02-27 05:18:45 PST
WebKit Commit Bot
Comment 7 2014-02-27 05:53:30 PST
Comment on attachment 225359 [details] Patch Clearing flags on attachment: 225359 Committed r164797: <http://trac.webkit.org/changeset/164797>
WebKit Commit Bot
Comment 8 2014-02-27 05:53:32 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.