updated build system
This commit is contained in:
		| @@ -1409,7 +1409,7 @@ private: | ||||
|     const auto lookup_method_name = | ||||
|         ((idx == std::string::npos) ? "::" + method : method.substr(idx - 1)); | ||||
|     if (handler_lookup_.find(lookup_method_name) == handler_lookup_.end()) { | ||||
|       message_complete(STATUS_NOT_IMPLEMENTED); | ||||
|       message_complete(static_cast<packet::error_type>(STATUS_NOT_IMPLEMENTED)); | ||||
|     } else { | ||||
|       client_pool_.execute( | ||||
|           client_id, thread_id, | ||||
|   | ||||
| @@ -1068,15 +1068,15 @@ auto remote_server::winfsp_can_delete(PVOID file_desc, | ||||
|                         reinterpret_cast<remote::file_handle>(file_desc)), | ||||
|                     STATUS_INVALID_HANDLE)); | ||||
|   if (ret == STATUS_SUCCESS) { | ||||
|     ret = | ||||
|     ret = static_cast<packet::error_type>( | ||||
|         utils::file::is_directory(file_path) | ||||
|             ? (drive_.get_directory_item_count( | ||||
|                    utils::path::create_api_path(relative_path)) | ||||
|                    ? static_cast<packet::error_type>(STATUS_DIRECTORY_NOT_EMPTY) | ||||
|                    : STATUS_SUCCESS) | ||||
|             : (drive_.is_processing(utils::path::create_api_path(relative_path)) | ||||
|                    ? static_cast<packet::error_type>(STATUS_DEVICE_BUSY) | ||||
|                    : STATUS_SUCCESS); | ||||
|             ? drive_.get_directory_item_count( | ||||
|                   utils::path::create_api_path(relative_path)) | ||||
|                   ? STATUS_DIRECTORY_NOT_EMPTY | ||||
|                   : STATUS_SUCCESS | ||||
|         : drive_.is_processing(utils::path::create_api_path(relative_path)) | ||||
|             ? STATUS_DEVICE_BUSY | ||||
|             : STATUS_SUCCESS); | ||||
|   } | ||||
|  | ||||
|   RAISE_REMOTE_FUSE_SERVER_EVENT(function_name, file_path, ret); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user