henry@utzoo.UUCP (Henry Spencer) (08/07/84)
Fixed a subtle bug in getopt(3): it did not check for the case of an argument-wanting option appearing at the very end of the argument list. This is definitely an error, and now produces a message. The old code actually gave back a NULL optarg. Getopt(1) has been compiled to pick up the fix. This probably isn't a sufficiently serious problem to warrant global recompilations. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry
henry@utzoo.UUCP (Henry Spencer) (10/23/84)
The getopt(3) routine has been modified to use warning(3) to print its messages, to centralize decisions on message format. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry