[Bug 220714] devel/boost-all: Update to 1.65 (currently beta)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 17 15:53:23 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220714
--- Comment #21 from Jan Beich <jbeich at FreeBSD.org> ---
std::system() can fail for a number of reasons: broken C++ toolchain, command
not found, command is NULL, waitpid() or fork() failure, non-zero status from
waitpid(). Looking at the code in our libc and musl, empty argument or non-zero
exit status of the last command run by shell aren't those. For one, POSIX
states "The termination status shall be as defined for the sh utility;
otherwise, the termination status is unspecified." which is kind of confusing
given sh -c "foo" does inherit exit status of foo.
Did you really try to compile and run the code snippet?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list