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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ifp = open_file(ifn, "r");
|
ifp = open_file(ifn, "r");
|
||||||
ofp = open_file(ofn, "w");
|
ofp = open_file(ofn, "w");
|
||||||
|
|
||||||
|
|
||||||
rbuf = NULL;
|
rbuf = NULL;
|
||||||
while (len = getline(&rbuf, &buflen, ifp)) {
|
while (len = getline(&rbuf, &buflen, ifp)) {
|
||||||
int type;
|
int type;
|
||||||
|
|
Loading…
Reference in a new issue