mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-12 15:51:11 +08:00
backport: commandline support on stdin/stdout
This commit is contained in:
@@ -119,8 +119,8 @@ int main(int argc, char **argv){
|
|||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(is_standard_io(INPUT)) fclose(fp);
|
if(!is_standard_io(INPUT)) fclose(fp);
|
||||||
if(is_standard_io(OUTPUT)) fclose(fpo);
|
if(!is_standard_io(OUTPUT)) fclose(fpo);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user