mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
2001-05-08 Michael Snyder <msnyder@redhat.com>
* language.c (longest_local_hex_string_custom): Strlen test is inverted -- reverse the sense of the test.
This commit is contained in:
parent
8390138c6b
commit
7aedc9f8b2
@ -1,3 +1,8 @@
|
||||
2001-05-08 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* language.c (longest_local_hex_string_custom): Strlen test is
|
||||
inverted -- reverse the sense of the test.
|
||||
|
||||
2001-05-08 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* config/i386/tm-i386v.h (struct frame_info, struct
|
||||
|
@ -720,7 +720,7 @@ longest_local_hex_string_custom (LONGEST num, char *width)
|
||||
num_pad_chars = field_width - strlen (temp_nbr_buf); /* possibly negative */
|
||||
|
||||
if (strlen (local_hex_format_prefix ()) + num_len + num_pad_chars
|
||||
< RESULT_BUF_LEN) /* paranoia */
|
||||
>= RESULT_BUF_LEN) /* paranoia */
|
||||
internal_error (__FILE__, __LINE__,
|
||||
"longest_local_hex_string_custom: insufficient space to store result");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user