Commit cbc6fee1 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Only do O_BINARY on windows

parent 3d7939b1
......@@ -231,7 +231,11 @@ tar_append_regfile(TAR *t, char *realname)
int i, j;
size_t size;
#ifdef _WIN32
filefd = open(realname, O_RDONLY | O_BINARY);
filefd = open(realname, O_RDONLY);
if (filefd == -1)
#ifdef DEBUG
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment