public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* possible typo in `man 3 getopt`
@ 2020-09-08 10:03 michael.saunders
  2020-09-08 10:12 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: michael.saunders @ 2020-09-08 10:03 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man

Think this is just a one char bug.

In the first example provided, the if statement checks for `optind >= argc`,
which I believe should be `<` or maybe `<=`.
Thanks for the truly indespensable work.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-08 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-08 10:03 possible typo in `man 3 getopt` michael.saunders
2020-09-08 10:12 ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox