[Scummvm-cvs-logs] SF.net SVN: scummvm: [22797] scummvm/trunk/base/commandLine.cpp
anotherguest at users.sourceforge.net
anotherguest at users.sourceforge.net
Wed May 31 04:37:03 CEST 2006
Revision: 22797
Author: anotherguest
Date: 2006-05-31 04:36:20 -0700 (Wed, 31 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22797&view=rev
Log Message:
-----------
Only do warning for path create failure and not error as it can be set within scummvm.
Modified Paths:
--------------
scummvm/trunk/base/commandLine.cpp
Modified: scummvm/trunk/base/commandLine.cpp
===================================================================
--- scummvm/trunk/base/commandLine.cpp 2006-05-31 10:55:57 UTC (rev 22796)
+++ scummvm/trunk/base/commandLine.cpp 2006-05-31 11:36:20 UTC (rev 22797)
@@ -247,7 +247,7 @@
if (stat(savePath, &sb) == -1)
if (errno == ENOENT)// create the dir if it does not exist
if (mkdir(savePath, 0755) != 0)
- error("mkdir for '%s' failed!", savePath);
+ warning("mkdir for '%s' failed!", savePath);
ConfMan.registerDefault("savepath", savePath); // this should be enough...
#endif
#endif // #ifdef DEFAULT_SAVE_PATH
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list