getopt: reinstate erroneously removed getopt() reset code.

1 file changed