Update of /cvsroot/boost/boost/libs/system/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14311

Modified Files:
      Tag: c++0x
        error_code_user_test.cpp 
Log Message:
Fix POSIX mkdir missing 2nd argument

Index: error_code_user_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/system/test/error_code_user_test.cpp,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -d -r1.1.2.5 -r1.1.2.6
--- error_code_user_test.cpp    30 Jul 2007 13:42:55 -0000      1.1.2.5
+++ error_code_user_test.cpp    31 Jul 2007 01:16:12 -0000      1.1.2.6
@@ -36,7 +36,7 @@
 {
   return boost::system::error_code(
 #   ifdef BOOST_POSIX_API
-      ::mkdir( path.c_str() ) == 0 ? 0 : errno,
+      ::mkdir( path.c_str(), S_IRWXU|S_IRWXG|S_IROTH|S_IXOTH ) == 0 ? 0 : 
errno,
 #   else
       ::CreateDirectoryA( path.c_str(), 0 ) != 0 ? 0 : ::GetLastError(),
 #   endif


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to