projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c382114
)
Replaced call to "unlink" with one to "remove". This should be more portable...
author
Christoph Sommer
<mail@christoph-sommer.de>
Thu, 1 Feb 2007 20:43:57 +0000
(20:43 +0000)
committer
Christoph Sommer
<mail@christoph-sommer.de>
Thu, 1 Feb 2007 20:43:57 +0000
(20:43 +0000)
SVN-Revision: 4774
src/addon_manager.cpp
patch
|
blob
|
history
diff --git
a/src/addon_manager.cpp
b/src/addon_manager.cpp
index
dcbbdf1
..
ef82ab0
100644
(file)
--- a/
src/addon_manager.cpp
+++ b/
src/addon_manager.cpp
@@
-23,6
+23,7
@@
#include <list>
#include <physfs.h>
#include <sys/stat.h>
+#include <stdio.h>
#include "addon_manager.hpp"
#include "config.h"
#include "log.hpp"
@@
-233,5
+234,5
@@
void
AddonManager::remove(const Addon& addon)
{
PHYSFS_removeFromSearchPath(addon.fname.c_str());
-
unlink
(addon.fname.c_str());
+
::remove
(addon.fname.c_str());
}