Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
cbc6fee1
Commit
cbc6fee1
authored
Dec 28, 2005
by
Andy Cedilnik
Browse files
COMP: Only do O_BINARY on windows
parent
3d7939b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Utilities/cmtar/append.c
View file @
cbc6fee1
...
...
@@ -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
);
#else
filefd
=
open
(
realname
,
O_RDONLY
);
#endif
if
(
filefd
==
-
1
)
{
#ifdef DEBUG
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment