From e22422c073636ac70e0b8b2c938f4da3e5e3b024 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 12 May 2019 11:18:55 +0200 Subject: [PATCH] Don't do fish_setlocale that early This just sets some special characters that we use in the reader, so it only needs to be done before the reader is set up. Which, as it stands, is in env_init(). --- src/fish.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fish.cpp b/src/fish.cpp index 6788009f7..2ce6f0828 100644 --- a/src/fish.cpp +++ b/src/fish.cpp @@ -377,7 +377,6 @@ int main(int argc, char **argv) { setup_fork_guards(); signal_unblock_all(); setlocale(LC_ALL, ""); - fish_setlocale(); // struct stat tmp; // stat("----------FISH_HIT_MAIN----------", &tmp);