[Webkit-unassigned] [Bug 32682] [Qt] webkitdirs.pm function checkFrameworks always die()s with an error under Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 23 12:14:12 PST 2009


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





--- Comment #4 from Daniel Bates <dbates at webkit.org>  2009-12-23 12:14:11 PST ---
(In reply to comment #3)
> I'm confused.  How are scripts which use this function working today?  Or is it
> only when using WindowsPerl instead of CygWinPerl that this fails?

This issue arises when you are not using Cygwin, say you are using the Qt
Command Prompt.

(*)Testing with -x in Perl under Windows always returns false because Windows
does not share the same concept of the executable bit as Unix/Linux. Moreover,
we never reach line 573 of webkitdirs.pm
<http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitdirs.pm?rev=52522#L573>
(whose unless condition would always fail and cause us to die() by (*)) when we
are using Cygwin because of line 568
<http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/webkitdirs.pm?rev=52522#L568>,
which causes us to return immediately. However, when you are not using Cygwin
(say you're using the Qt Command Prompt), then we will reach line 573 and die()
because of (*).

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