diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-03-11 22:44:36 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-03-11 22:45:01 -0700 |
commit | ff38f097a41ddf908e3036524319de5a3aa6188e (patch) | |
tree | 9920d6d963165bdb9c0f991bccac45823d534903 /m4 | |
parent | 18af0c4ad225785439af21ff0d5c8e6dc78dddf3 (diff) | |
download | grep-ff38f097a41ddf908e3036524319de5a3aa6188e.tar.gz |
grep: output "." file name in diagnostic
This is bug C as reported by David Grayson in:
http://bugs.gnu.org/16444#18
This bug occurs only in obscure circumstances, and I didn't see
how to write a reasonable test case for it.
* src/grep.c (filename_prefix_len): Remove, replacing with ...
(omit_dot_slash): New static var. All uses of the former replaced
with uses of the latter.
(grepdirent): Don't add 2 if the filename is just ".".
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions