about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/params.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e866eee98..a3e666ba0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-01  Peter Stephenson  <pws@csr.com>
+
+	* 14181: Src/params.c: follow-up to 14151: use BDIGBUFSIZE in
+	two other places.
+
 2001-04-30  Bart Schaefer  <schaefer@zsh.org>
 
 	* 14169: configure.in: Improve some AC_TRY_LINK tests so that they
diff --git a/Src/params.c b/Src/params.c
index d655c3411..acbe448a2 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -1393,7 +1393,7 @@ mod_export char *
 getstrvalue(Value v)
 {
     char *s, **ss;
-    char buf[(sizeof(zlong) * 8) + 4];
+    char buf[BDIGBUFSIZE];
 
     if (!v)
 	return hcalloc(1);
@@ -1535,7 +1535,7 @@ getnumvalue(Value v)
 void
 export_param(Param pm)
 {
-    char buf[(sizeof(zlong) * 8) + 4], *val;
+    char buf[BDIGBUFSIZE], *val;
 
     if (PM_TYPE(pm->flags) & (PM_ARRAY|PM_HASHED)) {
 #if 0	/* Requires changes elsewhere in params.c and builtin.c */