commit bash-20120322 snapshot

This commit is contained in:
Chet Ramey
2012-04-09 10:01:06 -04:00
parent 8a44b411b7
commit ec860d767b
18 changed files with 16908 additions and 1764 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ substring (string, start, end)
len = end - start;
result = (char *)xmalloc (len + 1);
strncpy (result, string + start, len);
memcpy (result, string + start, len);
result[len] = '\0';
return (result);
}