diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/strings.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 07e6e41..3cc8f7f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2008-02-08 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/5713 + * strings.c (main): Set string_min to 4 if it is <= 0. + 2008-02-07 Alan Modra <amodra@bigpond.net.au> * objdump.c (main): Don't pass unadorned NULL to concat. diff --git a/binutils/strings.c b/binutils/strings.c index 650b8cb..cf4b336 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -270,7 +270,7 @@ main (int argc, char **argv) } } - if (string_min < 0) + if (string_min <= 0) string_min = 4; switch (encoding) |