Re: [PATCH] windows: make getopt functions have const properties

2024-03-17 Thread Dmitry Kozlyuk
Is "lib/eal/windows/getopt.c.orig" committed by mistake or the license mandates storing the original code? Acked-by: Dmitry Kozlyuk

Re: [PATCH] windows: make getopt functions have const properties

2024-03-15 Thread Tyler Retzlaff
On Fri, Mar 15, 2024 at 08:14:06AM -0700, Stephen Hemminger wrote: > Having different prototypes on different platforms can lead > to lots of unnecessary workarounds. Looks like the version of > getopt used from windows was based on an older out of date > version from FreeBSD. > > This patch chan

[PATCH] windows: make getopt functions have const properties

2024-03-15 Thread Stephen Hemminger
Having different prototypes on different platforms can lead to lots of unnecessary workarounds. Looks like the version of getopt used from windows was based on an older out of date version from FreeBSD. This patch changes getopt, getopt_long, etc to have the same const attributes as Linux and Fre