This fixes a regression introduced in r53559.
Reviewed by Alexey Proskuryakov.
https://bugs.webkit.org/show_bug.cgi?id=34336
* Scripts/webkitperl/httpd.pm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@54084
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2010-01-29 Andras Becsi <abecsi@webkit.org>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Correct openHTTPD() to print requests to stdout if run-webkit-httpd is used.
+ This fixes a regression introduced in r53559.
+
+ https://bugs.webkit.org/show_bug.cgi?id=34336
+
+ * Scripts/webkitperl/httpd.pm:
+
2010-01-28 Jon Honeycutt <jhoneycutt@apple.com>
MSAA: Crash when posting a notification for a detached object
$httpdPath = "/usr/sbin/httpd" unless ($httpdPath);
- open2(\*HTTPDIN, \*HTTPDOUT, $httpdPath, @args);
+ open2(">&1", \*HTTPDIN, $httpdPath, @args);
my $retryCount = 20;
while (!-f $httpdPidFile && $retryCount) {
sub closeHTTPD
{
close HTTPDIN;
- close HTTPDOUT;
-
if ($httpdPid) {
kill 15, $httpdPid;
my $retryCount = 20;