> On Aug 25, 2017, at 11:27 PM, Scott Cheloha wrote:
>
> compile_mode() currently just reports the value returned by
> pclose(3). This is incorrect because pclose gives you
> whatever wait4(2) returned, which needs to be examined
> with the various W* macros in to derive a proper
> exit status.
~2 week bump.
Any thoughts or feedback?
--
Scott Cheloha
> On Aug 25, 2017, at 11:27 PM, Scott Cheloha wrote:
>
> Hi,
>
> compile_mode() currently just reports the value returned by
> pclose(3). This is incorrect because pclose gives you
> whatever wait4(2) returned, which needs to be examin
Hi,
compile_mode() currently just reports the value returned by
pclose(3). This is incorrect because pclose gives you
whatever wait4(2) returned, which needs to be examined
with the various W* macros in to derive a proper
exit status.
This patch checks how the popen'd process exited and chooses