1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

zsh-workers/9676

This commit is contained in:
Tanaka Akira 2000-02-11 11:12:26 +00:00
parent e4c5421229
commit 55b8857726

View file

@ -1235,12 +1235,12 @@ ca_parse_line(Cadef d)
else {
LinkList l = state.oargs[state.curopt->num];
if (cur < compcurrent)
memcpy(&ca_laststate, &state, sizeof(state));
PERMALLOC {
for (; line; line = compwords[cur++])
addlinknode(l, ztrdup(line));
} LASTALLOC;
if (cur < compcurrent)
memcpy(&ca_laststate, &state, sizeof(state));
ca_laststate.ddef = NULL;
ca_laststate.doff = 0;
break;