diff options
Diffstat (limited to 'Utilities/cmtar/append.c')
-rw-r--r-- | Utilities/cmtar/append.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmtar/append.c b/Utilities/cmtar/append.c index 4350745..5ad3593 100644 --- a/Utilities/cmtar/append.c +++ b/Utilities/cmtar/append.c @@ -231,7 +231,7 @@ tar_append_regfile(TAR *t, char *realname) int i, j; size_t size; - filefd = open(realname, O_RDONLY); + filefd = open(realname, O_RDONLY | O_BINARY); if (filefd == -1) { #ifdef DEBUG |