Imported from ../bash-2.05.tar.gz.

This commit is contained in:
Jari Aalto 2001-04-06 19:14:31 +00:00
commit 28ef6c316f
251 changed files with 22319 additions and 12413 deletions

View file

@ -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);
}