Skip to content

C-BUILDER: Avoid GNUism in example #273

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

Merged
merged 1 commit into from
Sep 3, 2023

Conversation

phy1729
Copy link
Contributor

@phy1729 phy1729 commented Sep 3, 2023

Accepting options after a non-option argument is a glibc extension1. Move the option before the non-option to be POSIX compliant.

Accepting options after a non-option argument is a glibc extension[1].
Move the option before the non-option to be POSIX compliant.

[1]: https://www.gnu.org/software/libc/manual/html_node/Using-Getopt.html#index-getopt
Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thanks!

@dtolnay dtolnay merged commit e0e515b into rust-lang:master Sep 3, 2023
@phy1729 phy1729 deleted the builder-example branch September 3, 2023 15:14
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