|
From: | John Marter |
Subject: | GNU Parallel Bug Reports Work-around for stackdump on cygwin |
Date: | Wed, 14 Aug 2013 13:03:10 -0500 |
I don’t imagine that this is a very useful general patch that will ever get applied, but it did fix the problem I have with /bin/true version 8.15-1 on Cygwin. Since I upgraded yesterday, every time I run parallel, I get a true.exe.stackdump left in the directory. As I type this up, I remember now that unlink is the perl command I was looking for instead of system “rm…”, but in any case this is just a temporary work-around that I thought you might want to be aware of. --- parallel~ 2013-08-14 12:39:47.809306900 -0500 +++ parallel 2013-08-14 12:43:04.503974400 -0500 @@ -5275,10 +5275,12 @@ local *STDERR; open (STDERR, ">", "/dev/null"); system "true "."x"x$len; close STDERR; ::debug("$len=$? "); - return not $?; + my $rv = $?; + system "rm --force true.exe.stackdump"; + return not $rv; } John Marter Senior WMS Developer Fastenal Company 507-313-7043 |
[Prev in Thread] | Current Thread | [Next in Thread] |