mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-05 02:00:31 +08:00
backport: commandline support on stdin/stdout
This commit is contained in:
@@ -106,7 +106,7 @@ int main(int argc, char **argv){
|
||||
if(is_standard_io(OUTPUT)) {
|
||||
fpo = stdout;
|
||||
} else {
|
||||
fpo = fopen(OUTPUT, "wb");
|
||||
fpo = fopen(OUTPUT, "wb");
|
||||
if(!fpo){
|
||||
perror("fopen");
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
Reference in New Issue
Block a user