mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-18 05:25:33 +01:00
commit bash-20050519 snapshot
This commit is contained in:
1 parent
798a67db11
commit
19e1dd936d
22 files changed
+1155
-110
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user