projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82952b
)
Fix bug in posix file/directory removal wrapper, as pointed out by kahrl
author
Perttu Ahola
<celeron55@gmail.com>
Tue, 6 Sep 2011 14:52:03 +0000
(17:52 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 6 Sep 2011 14:52:03 +0000
(17:52 +0300)
src/filesys.cpp
patch
|
blob
|
history
diff --git
a/src/filesys.cpp
b/src/filesys.cpp
index 037d21fdbbe34f71d2b0f4a6987be4c14e96c6d0..8aa10ba585408730bacc72e53e7cae96dd1dad88 100644
(file)
--- a/
src/filesys.cpp
+++ b/
src/filesys.cpp
@@
-254,7
+254,7
@@
bool RecursiveDelete(std::string path)
execv(argv[0], argv);
// Execv shouldn't return. Failed.
-
return false
;
+
_exit(1)
;
}
else
{