Module Name: src Committed By: uwe Date: Tue Apr 23 14:40:12 UTC 2019
Modified Files: src/usr.bin/uniq: uniq.c Log Message: Don't pass '-' to getopt(3). My guess is that *very* old getopt didn't handle "--" terminator, so this code was working around it and not quite correctly at that. Fixes weird output from $ uniq --long-option uniq: uniq: No such file or directory (for more fun, run that command from /usr/bin as root). Pointed out by Andreas Krey. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/uniq/uniq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.