summaryrefslogtreecommitdiffstats
path: root/src/cc4group.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc4group.c')
-rw-r--r--src/cc4group.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cc4group.c b/src/cc4group.c
index e0ba55e..e126984 100644
--- a/src/cc4group.c
+++ b/src/cc4group.c
@@ -1057,6 +1057,7 @@ static bool cc4group_openExisting(CC4Group* const this, const char* const path)
if(strcmp(path, "-") == 0)
{
+ SET_BINARY(STDIN_FILENO);
return cc4group_openFd(this, STDIN_FILENO);
}