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

merge-grammar: fixing utf8 detection for python3 #1868

Merged
merged 1 commit into from
Feb 14, 2018

Conversation

furiel
Copy link
Collaborator

@furiel furiel commented Feb 1, 2018

In case missing/misconfigured locale settings, python3's open() and
fileinput() method fails to detect encoding: see
#1831 (comment)
for details. As a result, syslog-ng cannot be compiled on some systems.

This patch specifies the encoding type to avoid misdetection.

Fixes: #1831

@kira-syslogng
Copy link
Contributor

Build FAILURE, the tests were executed on test branch: master and test suite: functions

In case missing/misconfigured locale settings, python3's open() and
fileinput() method fails to detect encoding: see
syslog-ng#1831 (comment)
for details.

This patch specifies the encoding type to avoid misdetection.
Signed-off-by: Antal Nemes <antal.nemes@balabit.com>
@furiel furiel force-pushed the python3-and-grammar branch from eff39fb to a010e03 Compare February 1, 2018 07:21
@kira-syslogng
Copy link
Contributor

Build SUCCESS, the tests were executed on test branch: master and test suite: functions

@furiel
Copy link
Collaborator Author

furiel commented Feb 1, 2018

@mochrul could you please check if this patch fixes the build problem for you?

@lbudai
Copy link
Collaborator

lbudai commented Feb 5, 2018

@mochrul : lgtm, but a feedback would be great from you. thanks!

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.

3 participants