Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix optind in getopt on musl libc. On exit optind
points to the last non-opt argument of argv, but in the case where there are only options optind does not go beyond argc, except on musl libc, where it becomes argc + 1.
- Loading branch information