This is an automated email from the ASF dual-hosted git repository. jimjag pushed a commit to branch odf-devel in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 996ba130d7dd861539fab7ddb63bec94d442c478 Author: Jim Jagielski <[email protected]> AuthorDate: Wed Oct 28 12:59:57 2026 -0400 test/odf-validate: refuse to refresh the App while office is running --- test/odf-validate/refresh-app.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/odf-validate/refresh-app.sh b/test/odf-validate/refresh-app.sh index 91062c769f..b7492c1949 100755 --- a/test/odf-validate/refresh-app.sh +++ b/test/odf-validate/refresh-app.sh @@ -22,6 +22,8 @@ # usage: refresh-app.sh <lib.dylib>... -- copy rebuilt libs from the solver into the app copy source ${0:A:h}/env.sh : ${SOLVER:?} ${APP:?} +# overwriting a library an office has mapped makes macOS SIGKILL everything that later touches the file +pgrep -f "$APP/MacOS/soffice" > /dev/null && { echo "refresh-app.sh: an office from $APP is still running; stop it first" >&2; exit 3; } rc=0 for l in "$@"; do [[ -n $l && $l != */* ]] || { echo "bad lib name: $l"; exit 2; }; done for l in "$@"; do
