• Peter Eisentraut's avatar
    Fix Perl coding error in msvc build system · d30292b8
    Peter Eisentraut authored
    Code like
    
        open(P, "cl /? 2>&1 |") || die "cl command not found";
    
    does not actually catch any errors, because the exit status of the
    command before the pipe is ignored.  The fix is to look at $?.
    
    This also gave the opportunity to clean up the logic of this code a bit.
    d30292b8
VSObjectFactory.pm 2.49 KB