Skip to content

Commit

Permalink
Fix [1da19a69f8]: Backspace crashes 9.0 interpreter on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Jan 25, 2025
2 parents 7f5b66f + 72c796d commit 070f068
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions generic/tkIcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,11 @@ Icu_Init(
icu_fns.name = (fn_icu_ ## name) \
Tcl_FindSymbol(NULL, icu_fns.lib, symbol)
ICU_SYM(open);
if (!icu_fns.open && *icuversion) {
/* FreeBSD doesn't append the ICU version to the symbol name, see [1da19a69f8] */
*icuversion = 0;
ICU_SYM(open); /* try again without version suffix */
}
ICU_SYM(close);
ICU_SYM(preceding);
ICU_SYM(following);
Expand Down
2 changes: 1 addition & 1 deletion macosx/tkMacOSXTest.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ TkplatformtestInit(
*/

testsAreRunning = 1;

/*
* Add commands for platform specific tests on MacOS here.
*/
Expand Down

0 comments on commit 070f068

Please sign in to comment.