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

Segfault for Russian locale #99

Closed
glixx opened this issue Apr 18, 2019 · 2 comments
Closed

Segfault for Russian locale #99

glixx opened this issue Apr 18, 2019 · 2 comments
Labels

Comments

@glixx
Copy link
Contributor

glixx commented Apr 18, 2019

XaoS falls on strings:

#: ../ui/ui.c:558
#, c-format
msgid "Please wait while calculating %s"
msgstr "Пожалуйста, подождите пока идёт расчёт %s"

#: ../ui/ui.c:1359
#, c-format
msgid "Welcome to XaoS version %s"
msgstr "Добро пожаловать в XaoS версии %s"
@jblang
Copy link
Member

jblang commented Apr 19, 2019

My guess is the Russian strings are longer, and XaoS sprintfs the strings into a buffer that is not long enough to hold them. I would suggest grepping where the text is used and see what the code is doing with it. I can take a look later too.

@jblang
Copy link
Member

jblang commented Apr 19, 2019

Fixed.

@jblang jblang closed this as completed Apr 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants