>Description:
The "strings" program chokes if you try using "-n". >How-To-Repeat: Try "strings -n SOMENUMBER SOMEFILE". >Fix: Here's a "diff -u" patch that corrects the problem. Submitted by: Lon Willett <lon%softt.uucp@math.utah.edu> via NetBSD
This commit is contained in:
parent
794fd6ebe4
commit
6a684f71bc
@ -123,7 +123,7 @@ main(argc, argv)
|
||||
|
||||
if (minlen == -1)
|
||||
minlen = DEF_LEN;
|
||||
else {
|
||||
else if (minlen < 1) {
|
||||
(void)fprintf(stderr, "strings: length less than 1\n");
|
||||
exit (1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user