diff options
Diffstat (limited to 'posix')
-rw-r--r-- | posix/getopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/getopt.c b/posix/getopt.c index 01c1071..b778047 100644 --- a/posix/getopt.c +++ b/posix/getopt.c @@ -789,7 +789,7 @@ _getopt_internal_r (int argc, char *const *argv, const char *optstring, if (*d->__nextchar == '\0') ++d->optind; - if (temp == NULL || c == ':') + if (temp == NULL || c == ':' || c == ';') { if (print_errors) { |