Line
Link Here
|
0 |
-- a/siod/siod.cc |
0 |
++ b/siod/siod.cc |
Lines 459-465
char **siod_variable_generator(char *text,int length)
Link Here
|
459 |
matches = walloc(char *,siod_llength(lmatches)+1); |
459 |
matches = walloc(char *,siod_llength(lmatches)+1); |
460 |
for (l=lmatches,i=0; l; l=cdr(l),i++) |
460 |
for (l=lmatches,i=0; l; l=cdr(l),i++) |
461 |
matches[i] = wstrdup(PNAME(car(l))); |
461 |
matches[i] = wstrdup(PNAME(car(l))); |
462 |
matches[i] = '\0'; |
462 |
matches[i] = 0; |
463 |
|
463 |
|
464 |
return matches; |
464 |
return matches; |
465 |
} |
465 |
} |
Lines 498-504
char **siod_command_generator (char *text,int length)
Link Here
|
498 |
matches = walloc(char *,siod_llength(lmatches)+1); |
498 |
matches = walloc(char *,siod_llength(lmatches)+1); |
499 |
for (l=lmatches,i=0; l; l=cdr(l),i++) |
499 |
for (l=lmatches,i=0; l; l=cdr(l),i++) |
500 |
matches[i] = wstrdup(PNAME(car(l))); |
500 |
matches[i] = wstrdup(PNAME(car(l))); |
501 |
matches[i] = '\0'; |
501 |
matches[i] = 0; |
502 |
|
502 |
|
503 |
return matches; |
503 |
return matches; |
504 |
} |
504 |
} |