commit bash-20050519 snapshot

This commit is contained in:
Chet Ramey committed 2011-12-03 13:47:06 -05:00
1 parent 798a67db11
commit 19e1dd936d
22 files changed
+1155 -110

No files matched your search

+2 -2
View File
@@ -257,14 +257,14 @@ char *s;
return 1;
}
a->max_index += n;
/*
* Renumber all elements in the array except the one we just added.
*/
for ( ; ae != a->head; ae = element_forw(ae))
element_index(ae) += n;
a->max_index = element_index(a->head->prev);
return (a->num_elements);
}