Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove system("locale") calls. #651

Closed
wants to merge 1 commit into from

Conversation

paralin
Copy link

@paralin paralin commented Jul 23, 2015

The locale command is not available on many systems. As this variable
is unused and appears to have been written with the intent of
displaying the locale settings to the user, it's not really necessary.
As this breaks Mosh on a lot of systems, it's best to remove the calls.

The locale command is not available on many systems. As this variable
is unused and appears to have been written with the intent of
displaying the locale settings to the user, it's not really necessary.
As this breaks Mosh on a lot of systems, it's best to remove the calls.

Signed-off-by: Christian Stewart <christian@paral.in>
@keithw
Copy link
Member

keithw commented Jul 23, 2015

Please see comment at #650 (comment)

Hard for me to believe this "breaks Mosh on a lot of systems."

Mosh only attempts running the command as part of a fatal error message, a missing command would be a nonfatal error, and the "locale" command is required by POSIX (since 2001).

Where are you seeing a problem?

@paralin
Copy link
Author

paralin commented Jul 23, 2015

See #650

@paralin paralin closed this Jul 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants