projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git]
/
bracecomp.c
diff --git
a/bracecomp.c
b/bracecomp.c
index
cb218a2
..
4fbca85
100644
(file)
--- a/
bracecomp.c
+++ b/
bracecomp.c
@@
-75,8
+75,8
@@
really_munge_braces (array, real_start, real_end, gcd_zero)
if (real_start == real_end)
{
if (real_start == real_end)
{
- x = array[real_start] ? sh_backslash_quote (array[real_start] + gcd_zero)
- : sh_backslash_quote (array[0]);
+ x = array[real_start] ? sh_backslash_quote (array[real_start] + gcd_zero
, 0, 0
)
+ : sh_backslash_quote (array[0]
, 0, 0
);
return x;
}
return x;
}
@@
-115,7
+115,7
@@
really_munge_braces (array, real_start, real_end, gcd_zero)
if (start == end)
{
x = savestring (array[start] + gcd_zero);
if (start == end)
{
x = savestring (array[start] + gcd_zero);
- subterm = sh_backslash_quote (x);
+ subterm = sh_backslash_quote (x
, 0, 0
);
free (x);
}
else
free (x);
}
else
@@
-126,7
+126,7
@@
really_munge_braces (array, real_start, real_end, gcd_zero)
x = (char *)xmalloc (tlen + 1);
strncpy (x, array[start] + gcd_zero, tlen);
x[tlen] = '\0';
x = (char *)xmalloc (tlen + 1);
strncpy (x, array[start] + gcd_zero, tlen);
x[tlen] = '\0';
- subterm = sh_backslash_quote (x);
+ subterm = sh_backslash_quote (x
, 0, 0
);
free (x);
result_size += strlen (subterm) + 1;
result = (char *)xrealloc (result, result_size);
free (x);
result_size += strlen (subterm) + 1;
result = (char *)xrealloc (result, result_size);