Imported from ../bash-2.01.1.tar.gz.
This commit is contained in:
@@ -189,7 +189,7 @@ tilde_expand (string)
|
||||
if (result = strchr (string, '~'))
|
||||
result = xmalloc (result_size = (strlen (string) + 16));
|
||||
else
|
||||
result = xmalloc (result_size = strlen (string));
|
||||
result = xmalloc (result_size = (strlen (string) + 1));
|
||||
|
||||
/* Scan through STRING expanding tildes as we come to them. */
|
||||
while (1)
|
||||
|
||||
Reference in New Issue
Block a user