Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-07-03 19:12:32 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2020-07-03 19:12:32 +0300
commitb97c7eb5a36a7c96f10c0dc7d3ee81629b5f9876 (patch)
tree649861929f2dec727327597113297f954f9a554e
parentb998f279e2856357357c773bb9a0a05f1c774af7 (diff)
Add more appveyor debug printing
-rw-r--r--include/llfio/v2.0/detail/impl/windows/process_handle.ipp1
-rw-r--r--test/tests/process_handle.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/llfio/v2.0/detail/impl/windows/process_handle.ipp b/include/llfio/v2.0/detail/impl/windows/process_handle.ipp
index c2f9f8b7..90308b75 100644
--- a/include/llfio/v2.0/detail/impl/windows/process_handle.ipp
+++ b/include/llfio/v2.0/detail/impl/windows/process_handle.ipp
@@ -128,6 +128,7 @@ LLFIO_HEADERS_ONLY_MEMFUNC_SPEC std::unique_ptr<span<path_view_component>, proce
out = {array, arraye};
}
}
+ fprintf(stderr, "appveyor debug environment(): just before returning unique_ptr\n");
return std::unique_ptr<span<path_view_component>, process_handle::_byte_array_deleter>((span<path_view_component> *) ret.release());
}
diff --git a/test/tests/process_handle.cpp b/test/tests/process_handle.cpp
index 3fb8284b..238eda5f 100644
--- a/test/tests/process_handle.cpp
+++ b/test/tests/process_handle.cpp
@@ -35,6 +35,7 @@ static inline void TestProcessHandle(bool with_redirection) {
auto myexepath = self.current_path().value();
std::cout << "My process executable's path is " << myexepath << std::endl;
auto myenv = self.environment();
+ fprintf(stderr, "appveyor debug environment(): just after environment, it returned %p\n", myenv.get());
std::cout << "My process environment contains:";
if(myenv)
{