aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-01-10 22:14:27 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-01-10 22:14:27 +0200
commitcc8c981c9eaed42e1afd278afac787cd2aeab55f (patch)
tree66daeb2dc1049a6112445705f6b92cea55958bd7 /interpret.h
parentdd2516767fa58d56684e003f646ef6d611051a64 (diff)
parent7d463f19f1fc98a7d4f99e3575c545ca7009d9db (diff)
downloadegawk-cc8c981c9eaed42e1afd278afac787cd2aeab55f.tar.gz
egawk-cc8c981c9eaed42e1afd278afac787cd2aeab55f.tar.bz2
egawk-cc8c981c9eaed42e1afd278afac787cd2aeab55f.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/interpret.h b/interpret.h
index 4b140c28..2ee68112 100644
--- a/interpret.h
+++ b/interpret.h
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 1986, 1988, 1989, 1991-2017 the Free Software Foundation, Inc.
+ * Copyright (C) 1986, 1988, 1989, 1991-2018 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -735,6 +735,9 @@ mod:
/* configure as a string as in make_str_node */
t1->flags |= (MALLOC|STRING|STRCUR);
t1->stfmt = STFMT_UNUSED;
+#ifdef HAVE_MPFR
+ t1->strndmode = MPFR_round_mode;
+#endif
if ((t1->flags & WSTRCUR) != 0 && (t2->flags & WSTRCUR) != 0) {
size_t wlen = t1->wstlen + t2->wstlen;