| Index: bfd/corefile.c
|
| diff --git a/bfd/corefile.c b/bfd/corefile.c
|
| index bba0d1ca4f48c13d5e158f0a1ec61197394ad904..8d6293849f7eac77a91ba49e451b14d4d5745cbd 100644
|
| --- a/bfd/corefile.c
|
| +++ b/bfd/corefile.c
|
| @@ -169,7 +169,7 @@ generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
|
| of the const char * returned by bfd_core_file_failing_command to a
|
| non-const char *. In this case, the assignement does not lead to
|
| breaking the const, as we're only reading the string. */
|
| -
|
| +
|
| core = (char *) bfd_core_file_failing_command (core_bfd);
|
| if (core == NULL)
|
| return TRUE;
|
| @@ -185,7 +185,7 @@ generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
|
| last_slash = strrchr (exec, '/');
|
| if (last_slash != NULL)
|
| exec = last_slash + 1;
|
| -
|
| +
|
| return filename_cmp (exec, core) == 0;
|
| }
|
|
|
|
|