[Webkit-unassigned] [Bug 53558] Make WebProcess pass explicit homedir parameter to the sandbox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 2 04:58:41 PST 2011


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





--- Comment #6 from Adam Roben (aroben) <aroben at apple.com>  2011-02-02 04:58:41 PST ---
(From update of attachment 80866)
View in context: https://bugs.webkit.org/attachment.cgi?id=80866&action=review

> Source/WebKit2/WebProcess/mac/WebProcessMac.mm:130
> +    if (!realpath([NSHomeDirectory() UTF8String], homeRealPath)) {

Isn't -fileSystemRepresentation more appropriate?

> Source/WebKit2/WebProcess/mac/WebProcessMac.mm:142
> +        "HOME_DIR", (const char*)homeRealPath,

I'm surprised this cast is necessary.

-- 
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