Use getline instead of readline

This commit is contained in:
Bert
2011-05-29 11:45:58 +02:00
parent 2252a0148d
commit ea23115af4
6 changed files with 19 additions and 52 deletions

View File

@ -124,7 +124,7 @@ void parse_options(int argc, char **argv) {
}
}
_options.filenames = (const char**) argv + optind;
_options.filenames = argv + optind;
_options.filecnt = argc - optind;
_options.from_stdin = _options.filecnt == 1 &&
strcmp(_options.filenames[0], "-") == 0;