]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - array.c
Imported from ../bash-2.05.tar.gz.
[thirdparty/bash.git] / array.c
diff --git a/array.c b/array.c
index 6e2d39cc4de6409b06c256947d41df11b7e6bfc1..a34fcf0c9414f23981061cb0f793d81219b055df 100644 (file)
--- a/array.c
+++ b/array.c
@@ -364,7 +364,7 @@ ARRAY       *a;
 
        for (ae = element_forw(a->head); ae != a->head; ae = element_forw(ae)) {
                indstr = itos (element_index(ae));
-               valstr = element_value (ae) ? double_quote (element_value(ae))
+               valstr = element_value (ae) ? sh_double_quote (element_value(ae))
                                            : (char *)NULL;
                elen = STRLEN (indstr) + 8 + STRLEN (valstr);
                RESIZE_MALLOCED_BUFFER (result, rlen, (elen + 1), rsize, rsize);
@@ -401,7 +401,7 @@ ARRAY       *a;
        if (sv == 0)
                return ((char *)NULL);
 
-       vstr = single_quote (sv);
+       vstr = sh_single_quote (sv);
        free (sv);
        return (vstr);
 }