I made the libobsd copy of OpenBSD's getopt() include an optreset variable, but not the OpenBSD getopt() implementation if it detects the system has a getopt(). This might make some programs work just fine, but it's best to include the whole implementation in this case to make all programs work as they should.
I made the libobsd copy of OpenBSD's
getopt()include anoptresetvariable, but not the OpenBSDgetopt()implementation if it detects the system has agetopt(). This might make some programs work just fine, but it's best to include the whole implementation in this case to make all programs work as they should.