From 673a447f292c07ad5399211f823ec45771bea07b Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sat, 16 Mar 2019 15:15:56 +0100 Subject: Fix c4ls_buffer and reading from stdin file "-" on windows --- src/cc4group.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cc4group.h') diff --git a/src/cc4group.h b/src/cc4group.h index 5031e95..cc04a4f 100644 --- a/src/cc4group.h +++ b/src/cc4group.h @@ -53,11 +53,11 @@ typedef struct { bool (*openMemory)(CC4Group* const this, const void* const groupData, size_t const size, int const memoryManagement); // opens a group through a file descriptor - // the file descriptor must have been opened with read access + // the file descriptor must have been opened with read access; also be aware that the file must be opened with binary mode on windows bool (*openFd)(CC4Group* const this, int fd); // opens a group through a FILE* - // the file must have been opened with read access + // the file must have been opened with read access; also be aware that the file must be opened with binary mode on windows bool (*openFilePointer)(CC4Group* const this, FILE* fd); // opens a group and calls the callback to get the group data -- cgit v1.2.3-54-g00ecf