Fix getopt_long() argument handling and add tests

Edit
ID 7263
Title Fix getopt_long() argument handling and add tests
CI (CFBot) Summary
Stats (from CFBot) Patch version: v2, Patch count: 2, First patch: +6−8, All patches: +16−14
Tags Bugfix
Created 2026-09-04 21:58:52
Last modified 2026-09-04 21:58:56 (1 hour ago)
Latest email 2026-09-04 21:58:11 (1 hour ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Ready for Committer
Target version stable
Authors Sehrope Sarkuni (sehrope)
Reviewers Nathan Bossart (bossartn) Become reviewer
Committer Nathan Bossart (bossartn)
Links
Emails
[PATCH] Fix getopt_long() argument handling and add tests
First at 2026-08-29 16:57:00 by Sehrope Sarkuni <sehrope at jackdb.com>
Latest at 2026-09-04 21:58:11 by Nathan Bossart <nathandbossart at gmail.com>
Latest attachment (v2-0001-Fix-optional-argument-handling-in-in-tree-getopt_.patch) at 2026-09-04 21:58:11 from Nathan Bossart <nathandbossart at gmail.com>
    Attachment (v2-0001-Fix-optional-argument-handling-in-in-tree-getopt_.patch) at 2026-09-04 21:58:11 from Nathan Bossart <nathandbossart at gmail.com> (Patch: No)
    Attachment (0001-Fix-optional-argument-handling-in-port-getopt_long.patch) at 2026-08-29 16:57:00 from Sehrope Sarkuni <sehrope at jackdb.com> (Patch: No)
History
When Who What
2026-09-04 21:58:56 Nathan Bossart (bossartn) New status: Ready for Committer
2026-09-04 21:58:55 Nathan Bossart (bossartn) Added bossartn as reviewer
2026-09-04 21:58:54 Nathan Bossart (bossartn) Added bossartn as committer
2026-09-04 21:58:52 Nathan Bossart (bossartn) Attached mail thread CAH7T-arxDuVCSkorO=k7+M-_JV0JFzMpN_EtKMyD2K0RDqZ2OA@mail.gmail.com
2026-09-04 21:58:52 Nathan Bossart (bossartn) Created patch record
Edit