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 incompatibilities between the Korn shell and the musl C library #156

Merged
merged 1 commit into from
Jan 20, 2021
Merged

Fix incompatibilities between the Korn shell and the musl C library #156

merged 1 commit into from
Jan 20, 2021

Conversation

lkujaw
Copy link

@lkujaw lkujaw commented Jan 20, 2021

Define __DEFINED_FILE to hide FILE internals from the Korn shell's SFIO;
Include wchar.h before redefining iswalpha() to avoid mangling the C library's declaration; and
Test whether off64_t and off_t are actually distinct types before using the former.

define __DEFINED_FILE to hide FILE internals from the Korn shell's SFIO;
include wchar.h before redefining iswalpha() to avoid mangling the C library's declaration; and
test whether off64_t and off_t are actually distinct types before using the former.
@McDutchie
Copy link

Beautiful! Works like a charm, and nicely executed. Thanks very much, and welcome! Hope to see more of you...

@McDutchie McDutchie merged commit e245856 into ksh93:master Jan 20, 2021
@lkujaw lkujaw deleted the musl-fixes1 branch January 20, 2021 23:47
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