mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-06 02:30:31 +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;
|
||||
}
|
||||
|
||||
if(is_standard_io(INPUT)) fclose(fp);
|
||||
if(is_standard_io(OUTPUT)) fclose(fpo);
|
||||
if(!is_standard_io(INPUT)) fclose(fp);
|
||||
if(!is_standard_io(OUTPUT)) fclose(fpo);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user