Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2017 15:53:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-powerpc@FreeBSD.org
Subject:   [Bug 220714] devel/boost-all: Update to 1.65 (currently beta)
Message-ID:  <bug-220714-25139-g0mQPGcm7E@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220714-25139@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220714-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220714

--- Comment #21 from Jan Beich <jbeich@FreeBSD.org> ---
std::system() can fail for a number of reasons: broken C++ toolchain, comma=
nd
not found, command is NULL, waitpid() or fork() failure, non-zero status fr=
om
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 confusi=
ng
given sh -c "foo" does inherit exit status of foo.

Did you really try to compile and run the code snippet?

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220714-25139-g0mQPGcm7E>