mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
"expr --bignum 1" now fails when expr is built without libgmp
* src/expr.c (main): When --bignum is requested, yet expr was built without libgmp, exit nonzero (3) in addition to giving a diagnostic.
This commit is contained in:
1 parent
22999697b8
commit
081ebb2822
1 file changed
+2
-1
+2
-1
@@ -292,7 +292,8 @@ main (int argc, char **argv)
|
||||
#if HAVE_GMP
|
||||
mode = MP_ALWAYS;
|
||||
#else
|
||||
error (0, 0, _("arbitrary-precision support is not available"));
|
||||
error (EXPR_FAILURE, 0,
|
||||
_("arbitrary-precision support is not available"));
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user