[Mono] Fix for EventPipe ep_rt_temp_path_get off by 1 issue. (#89438)
authorJohan Lorensson <lateralusx.github@gmail.com>
Thu, 27 Jul 2023 14:04:42 +0000 (16:04 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2023 14:04:42 +0000 (16:04 +0200)
commite40303b8a6549f3b4ddc0d2db913e73814d5103e
tree4055d4d1ce2b0c4ab399f98c8bf556dc0bf0b4ff
parent84873e6c4e38b87185ad64beb95c6b76ec7f8d60
[Mono] Fix for EventPipe ep_rt_temp_path_get off by 1 issue. (#89438)

* Fix Mono ep_rt_temp_path_get off by 1 issue.

* Add native EventPipe test for ep_rt_temp_path_get.

* Fix build error.
src/mono/mono/eventpipe/ep-rt-mono.c
src/mono/mono/eventpipe/ep-rt-mono.h
src/mono/mono/eventpipe/test/CMakeLists.txt
src/mono/mono/eventpipe/test/ep-rt-tests.c