Changes between Initial Version and Version 1 of Ticket #1830, comment 9


Ignore:
Timestamp:
May 8, 2024, 1:45:21 PM (7 months ago)
Author:
Christian Franke

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1830, comment 9

    initial v1  
    33I take that back as I missed that `getopt_long()` calls `getopt()` for short options. This actually returns `optind = argc + 1` if the argument of the last option is missing.
    44
    5 This is IMO a bug as `optind` should never point behind the `argv[argc]` array.
     5This is IMO a bug as `optind` should never point behind the `argv[argc+1]` array.