File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ struct http_test_server
82
82
script_handle_t launch_python_script (const boost::filesystem::path& python_script_path) {
83
83
using namespace boost ::filesystem;
84
84
85
- path::string_type script_name = python_script_path.filename ();
85
+ path::string_type script_name = python_script_path.filename (). string () ;
86
86
path::string_type script_dir = python_script_path.parent_path ().string ();
87
87
88
88
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
@@ -139,7 +139,7 @@ struct http_test_server
139
139
// set the CGI script execute permission
140
140
for (directory_iterator i (cgibin_path); i != directory_iterator (); ++i) {
141
141
if (is_regular_file (i->status ())) {
142
- path::string_type file_path = i->path ().file_string ();
142
+ path::string_type file_path = i->path ().string ();
143
143
if (chmod (file_path.c_str (), S_IWUSR|S_IXUSR|S_IXGRP|S_IXOTH|S_IRUSR|S_IRGRP|S_IROTH) != 0 )
144
144
return false ;
145
145
}
You can’t perform that action at this time.
0 commit comments