[PATCH 38/39] win32: getopt32: set optind = 0 on Windows

Nguyễn Thái Ngọc Duy pclouds at gmail.com
Thu Apr 15 20:02:23 UTC 2010


I haven't dug deep into this, but experiments show that optind = 1
does not work. Maybe MinGW guys took getopt from glibc?

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds at gmail.com>
---
 libbb/getopt32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0038-win32-getopt32-set-optind-0-on-Windows.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100415/51ff515b/attachment.bin>


More information about the busybox mailing list