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().
This commit is contained in:
Fabian Homborg 2019-05-12 11:18:55 +02:00
parent 234c97e6d2
commit e22422c073

View file

@ -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);