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
2c30cb64
Commit
2c30cb64
authored
Dec 30, 2005
by
Andy Cedilnik
Browse files
COMP: Another borland bug
parent
6a9d13a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Utilities/cmtar/extract.c
View file @
2c30cb64
...
...
@@ -564,6 +564,16 @@ tar_extract_dir(TAR *t, char *realname)
if
(
mkdir
(
filename
,
mode
)
==
-
1
)
#endif
{
#ifdef __BORLANDC__
/* There is a bug in the Borland Run time library which makes MKDIR
return EACCES when it should return EEXIST
if it is some other error besides directory exists
then return false */
if
(
errno
==
EACCES
)
{
errno
=
EEXIST
;
}
#endif
if
(
errno
==
EEXIST
)
{
if
(
chmod
(
filename
,
mode
)
==
-
1
)
...
...
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