> --- a/git-send-email.perl > +++ b/git-send-email.perl > @@ -387,7 +387,9 @@ X-Mailer: git-send-email $gitversion > my $pid = open my $sm, '|-'; > defined $pid or die $!; > if (!$pid) { > - exec($smtp_server,'-i',@recipients) or die $!; This construction (perl pipe+fork) will not work on ActiveState Perl (it does not even parse the construct). Last time the problem arised it was suggested to replace readers with "qx{command}". Regretfully there were no writer case back then. I'd suggest using IPC::Open2 for portability. Like this: use IPC::Open2; my $fw; my $pid = open2(">&1", $fw, "perl", "-w"); print $fw "exit 0\n"; close($fw);' But I wont. It was never portable in windows, no matter how hard I tried. The best result was getting output from "cat -v", but "cat" froze afterwards anyway, as "wc" or "perl" did. Besides, it the command often freezes that poor imitation of xterm windows has. There is also 2-argument "open" with damn careful quoting, if anyone cares (dont think anyone does, for windows). How about disabling the test on cygwin? (patch attached). - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2.1.8 : 2006-05-30 23:24:43 EST