Changes between Initial Version and Version 1 of Ticket #1830, comment 9
- Timestamp:
- May 8, 2024, 1:45:21 PM (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1830, comment 9
initial v1 3 3 I 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. 4 4 5 This is IMO a bug as `optind` should never point behind the `argv[argc ]` array.5 This is IMO a bug as `optind` should never point behind the `argv[argc+1]` array.