diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-06 22:54:02 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-06 22:54:02 +0000 |
commit | 82aed0bcc2c5fc27ad678aaa9139cc8f9dc9c092 (patch) | |
tree | 25c63505391546da240b0afa5c0a6798bd3432fb /gdb/top.c | |
parent | b562167718094431f90232de8f9427c04adeb83d (diff) | |
download | gdb-82aed0bcc2c5fc27ad678aaa9139cc8f9dc9c092.tar.gz |
2003-11-06 Andrew Cagney <cagney@redhat.com>
* valops.c (destructor_name_p): Replace STREQN with strncmp.
* top.c (command_line_input): Ditto.
* objc-exp.y (yylex): Ditto.
* minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
* jv-exp.y (yylex): Ditto.
* f-exp.y (yylex): Ditto.
* event-top.c (command_line_handler): Ditto.
* environ.c (get_in_environ): Ditto.
(set_in_environ): Ditto.
* dwarfread.c (handle_producer): Ditto.
* dbxread.c (process_one_symbol): Ditto.
* c-typeprint.c (c_type_print_base): Ditto.
* c-exp.y (yylex): Ditto.
2003-11-06 Andrew Cagney <cagney@redhat.com>
* mi-cmd-var.c (mi_cmd_var_set_format): Replace STREQN with
strncmp.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c index baad701a7a3..50c00ea46c7 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1266,7 +1266,7 @@ command_line_input (char *prompt_arg, int repeat, char *annotation_suffix) #define SERVER_COMMAND_LENGTH 7 server_command = (p - linebuffer > SERVER_COMMAND_LENGTH) - && STREQN (linebuffer, "server ", SERVER_COMMAND_LENGTH); + && strncmp (linebuffer, "server ", SERVER_COMMAND_LENGTH) == 0; if (server_command) { /* Note that we don't set `line'. Between this and the check in |