aboutsummaryrefslogtreecommitdiff
path: root/binutils/strings.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-02-08 20:58:18 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-02-08 20:58:18 +0000
commitd51c30157c2ec626c7eb7a21f3b8199698e38e16 (patch)
treea2318d8606947c0873d7d1b70092132fa7a557b9 /binutils/strings.c
parentb0d8593d63e73ec1e1afa041abea93b26bba3597 (diff)
downloadgdb-d51c30157c2ec626c7eb7a21f3b8199698e38e16.zip
gdb-d51c30157c2ec626c7eb7a21f3b8199698e38e16.tar.gz
gdb-d51c30157c2ec626c7eb7a21f3b8199698e38e16.tar.bz2
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.
Diffstat (limited to 'binutils/strings.c')
-rw-r--r--binutils/strings.c2
1 files changed, 1 insertions, 1 deletions
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)