1
0
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:
源文雨
2024-04-06 15:23:39 +09:00
parent 08ab318fa4
commit 8167b22181

View File

@@ -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);