Droplet
Droplet copied to clipboard
some versions of getopt on MacOS/X has specific behavior
On Lion 10.7.1, getline() is already present in the libc and getopt() strictly requires optind to be set to 1 instead of 0 on linux. Moreover the previous patch we did for MacOSX does not work because this getopt() version does not need the optind to be incremented.