Show reason when cannot open a file, and some stuffs #3
1 changed files with 0 additions and 2 deletions
|
@ -91,11 +91,9 @@ int main(int argc, char *argv[])
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
ifp = open_file(ifn, "r");
|
||||
ofp = open_file(ofn, "w");
|
||||
|
||||
|
||||
rbuf = NULL;
|
||||
while (len = getline(&rbuf, &buflen, ifp)) {
|
||||
int type;
|
||||
|
|
Loading…
Reference in a new issue