Make the strings utility reject directories.
authorNick Clifton <nickc@redhat.com>
Fri, 23 Jun 2017 09:22:36 +0000 (10:22 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 23 Jun 2017 09:24:39 +0000 (10:24 +0100)
commit0e158763b0c5671cd40cdd2faee48d6659489ddd
treedf881f9e6ae267f58247c5aec5fe2820993ccb95
parent0dd5cbc56307afaf6a366a8e78ef25cf9cefe514
Make the strings utility reject directories.

PR binutils/21659
* strings.c (strings_file): Warn about attempts to run strings on
a directory.
binutils/ChangeLog
binutils/strings.c