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

add /usr/include/sysexits.h to Glibc module #11926

Merged
merged 1 commit into from Sep 17, 2017

Conversation

glessard
Copy link
Contributor

This adds the sysexits.h header to the Glibc system module.
sysexits.h is part of the Darwin module, but is not imported by Linux's Glibc. Since the file also exists on Linux and FreeBSD, including it removes a small, seemingly unnecessary inconsistency.

Resolves SR-3436.

@CodaFi
Copy link
Member

CodaFi commented Sep 17, 2017

Thanks!

@swift-ci please test

@swift-ci
Copy link
Collaborator

Build failed
Swift Test Linux Platform
Git Sha - 73a5846b230d6308d2f5b84a8b305fc868c66edb

header "${GLIBC_INCLUDE_PATH}/sysexits.h"
export *
}
% end
Copy link
Member

Choose a reason for hiding this comment

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

I have no idea why gyb is complaining here, but you should check that you haven't introduced any unnecessary invisibles or metachars.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was exactly it. Sorry about that!

It is part of the Darwin module; this makes things more consistent.
@CodaFi
Copy link
Member

CodaFi commented Sep 17, 2017

@swift-ci please smoke test

@CodaFi
Copy link
Member

CodaFi commented Sep 17, 2017

While you're in the area, would you mind taking a look at #11117?

@CodaFi
Copy link
Member

CodaFi commented Sep 17, 2017

⛵️

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

3 participants