[Chapel Merge] Fix an infinite hang in multi-locale python interop tests

Branch: refs/heads/main
Revision: 99facc65f6979aaa7715173e9e68bc33690884e3
Author: dlongnecke-cray
Link: Fix an infinite hang in multi-locale python interop tests by dlongnecke-cray · Pull Request #28910 · chapel-lang/chapel · GitHub
Log Message:
Fix an infinite hang in multi-locale python interop tests (#28910)

This PR fixes a bug that causes a timeout when running multi-locale
python interop tests in nightly testing.

Much to my eternal frustration and chagrin, char* foo and char foo[]
are not the same type even if the latter often decays to the former.
While moving launcher_mli_real_name from a header to a source file, I
accidentally changed its type from char* to char []. The mismatch
caused interpretation of the const char* to break.

Reviewed (and debugged!) by @benharsh. Thanks!

Compare: Comparing c2e3d3797ea8cfbe90a5d65e0103ebcaab589635...bd21d62d344fed8e437c2a989753863f1fb629aa · chapel-lang/chapel · GitHub

Diff:
M runtime/src/chpl-launcher-common.c
https://github.com/chapel-lang/chapel/pull/28910.diff