mauke / Function-Parameters

Function::Parameters - define functions and methods with parameter lists ("subroutine signatures")
https://metacpan.org/pod/Function::Parameters
18 stars 19 forks source link

build check libasan $? #31

Closed mohawk2 closed 7 years ago

mohawk2 commented 7 years ago

On my system, for whatever reason, setting $ENV{LD_PRELOAD} causes a segfault, probably in the shell. This happens before the redirection happens, so the captured text is empty. This is a false positive. The check here avoids that false positive.

mauke commented 7 years ago

This is a good change. I don't like using and in non-void context so I did it slightly differently.