[Webkit-unassigned] [Bug 128597] New: need to #include <libgen.h> for basename

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 11 06:00:10 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=128597

           Summary: need to #include <libgen.h> for basename
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: desrt at desrt.ca


Created an attachment (id=223845)
 --> (https://bugs.webkit.org/attachment.cgi?id=223845&action=review)
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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list