Author: alink
Date: Fri May 25 00:09:14 2007
New Revision: 17838
URL: http://svn.gna.org/viewcvs/wesnoth?rev=17838&view=rev
Log:
someone forget to use the anonymous namespace for the "stat()" working on
main.cfg
I don't know the importance of this, but best to be clean since stat() have
probably some compiler/OS specialities
Modified:
trunk/src/filesystem.cpp
Modified: trunk/src/filesystem.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/filesystem.cpp?rev=17838&r1=17837&r2=17838&view=diff
==============================================================================
--- trunk/src/filesystem.cpp (original)
+++ trunk/src/filesystem.cpp Fri May 25 00:09:14 2007
@@ -417,7 +417,7 @@
else
maincfg = (directory + "/") + MAINCFG;
- if (stat(maincfg.c_str(), &st) == 0) {
+ if (::stat(maincfg.c_str(), &st) == 0) {
LOG_FS << "_main.cfg found : " << maincfg << '\n';
if (files != NULL) {
if (mode == ENTIRE_FILE_PATH)
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits