[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/strigi/src/daemon
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2008-03-18 22:01:07
Message-ID: 1205877667.613337.20670.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 787264 by sengels:

no access rights on windows.

 M  +4 -0      daemon.cpp  


--- trunk/kdesupport/strigi/src/daemon/daemon.cpp #787263:787264
@@ -78,7 +78,11 @@
     if (r == -1) {
         if (errno == ENOENT) {
             // the directory does not exist
+#ifdef _WIN32
+            r = mkdir(dir.c_str());
+#else
             r = mkdir(dir.c_str(), 0700);
+#endif
             if (r == -1) {
                 perror(dir.c_str());
                 return false;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic