Tim Schumacher
515f31339c
LibC: Correctly reset the getopt state on optind = 1
...
The Linux `getopt_long` manpage tells users to reset `optind` to 1 when
scanning the same argument vector or a new argument vector again. This
makes sense, since `optind` denotes the _next_ option to be processed.
The behavior of setting `optind` to 0 doesn't seem to be specified
anywhere, so let's also remove that comment from `unistd.h`.
2023-03-12 22:09:09 +01:00
..
2022-12-28 11:53:41 +01:00
2023-02-15 10:14:26 +01:00
2023-03-01 19:36:53 -07:00
2023-03-05 16:55:08 +01:00
2022-12-28 11:53:41 +01:00
2023-01-02 20:27:20 -05:00
2023-01-07 10:01:37 -07:00
2023-01-02 20:27:20 -05:00
2023-02-15 23:33:25 +01:00
2023-03-01 19:36:53 -07:00
2022-12-30 08:32:46 -07:00
2023-03-12 22:09:09 +01:00
2023-01-02 20:27:20 -05:00
2023-01-02 20:27:20 -05:00
2023-01-07 10:01:37 -07:00
2022-12-28 11:53:41 +01:00
2023-01-21 10:43:59 -07:00
2023-01-21 10:43:59 -07:00
2023-01-07 10:01:37 -07:00
2023-01-07 10:01:37 -07:00
2023-01-04 20:13:54 +01:00
2023-01-02 20:27:20 -05:00
2023-01-02 20:27:20 -05:00
2023-01-02 20:27:20 -05:00
2023-01-02 20:27:20 -05:00
2023-01-27 20:38:49 +00:00
2022-12-28 11:53:41 +01:00
2023-01-02 20:27:20 -05:00
2023-01-02 20:27:20 -05:00
2023-01-21 10:43:59 -07:00
2023-01-02 20:27:20 -05:00
2022-12-11 19:55:37 -07:00
2023-01-21 10:43:59 -07:00
2023-01-07 10:01:37 -07:00
2022-12-11 19:55:37 -07:00
2023-02-05 16:40:51 +01:00
2023-02-05 16:40:51 +01:00
2023-02-15 22:53:19 +01:00
2023-02-08 19:06:42 +00:00
2023-01-27 20:38:49 +00:00
2023-01-27 20:38:49 +00:00
2023-01-21 10:43:59 -07:00
2023-03-05 08:38:29 +00:00
2023-03-12 22:09:09 +01:00
2023-01-02 20:27:20 -05:00