Fix a regression in 0.26.0 that caused kitty to no longer set the LANG environment variable on macOS

Happened because reading the locale uses cocoa APIs and they are not fork
safe, so it was moved to after prewarm forking, but at that point the
default child env had already been set.

Fixes #5439
This commit is contained in:
Kovid Goyal
2022-08-29 20:58:48 +05:30
parent 6253ee2a74
commit 22fbdbca40
3 changed files with 9 additions and 1 deletions

View File

@@ -40,6 +40,8 @@ Detailed list of changes
- ssh kitten: Fix executable permission missing from kitty bootstrap script (:iss:`5438`)
- Fix a regression in 0.26.0 that caused kitty to no longer set the ``LANG`` environment variable on macOS (:iss:`5439`)
0.26.0 [2022-08-29]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~