Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee76667

Browse files
committed
Upgrading to Filesystem V3 interface.
1 parent73935a6 commitee76667

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎libs/network/test/server/http_test_server.hpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ struct http_test_server
8282
script_handle_tlaunch_python_script(const boost::filesystem::path& python_script_path) {
8383
usingnamespaceboost::filesystem;
8484

85-
path::string_type script_name = python_script_path.filename();
85+
path::string_type script_name = python_script_path.filename().string();
8686
path::string_type script_dir = python_script_path.parent_path().string();
8787

8888
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
@@ -139,7 +139,7 @@ struct http_test_server
139139
// set the CGI script execute permission
140140
for (directory_iteratori(cgibin_path); i !=directory_iterator(); ++i) {
141141
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();
143143
if (chmod(file_path.c_str(), S_IWUSR|S_IXUSR|S_IXGRP|S_IXOTH|S_IRUSR|S_IRGRP|S_IROTH) !=0)
144144
returnfalse;
145145
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp