Re: add non-option reordering to in-tree getopt_long
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@postgresql.org, Noah Misch <noah@leadboat.com>
Date: 2023-06-14T00:03:22Z
Lists: pgsql-hackers
On Wed, Jun 14, 2023 at 08:52:27AM +0900, Michael Paquier wrote: > On Tue, Jun 13, 2023 at 03:36:57PM -0700, Nathan Bossart wrote: >> Windows seems to allow rearranging argv, based upon cfbot's results. I do >> not know about AIX. In any case, C99 explicitly mentions that argv should >> be modifiable. > > Few people have AIX machines around these days, but looking around it > seems like the answer to this question would be no: > https://github.com/nodejs/node/pull/10633 > > Noah, do you have an idea? Forgot to add Noah in CC about this part. -- Michael
Commits
-
Simplify option handling in pg_ctl.
- 03d1080d8a95 17.0 landed
-
Teach in-tree getopt_long() to move non-options to the end of argv.
- 411b72034300 17.0 landed