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

Fix compilation on Linux and ignore generated files #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

unix-junkie
Copy link

No description provided.

@@ -501,7 +501,7 @@ LogFatal(x0,x1)
char *x0, *x1;
{
#ifndef WIN32
extern char *sys_errlist[];
extern const char *const sys_errlist[];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

per perror(3) direct access to sys_errlist is deprecated in favor of strerror(). It looks like there's only one site to change, if you had interest in doing that. If not, that's okay, too.

Thanks for submitting these fixes.

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.

2 participants