2011-04-18 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / bfd / corefile.c
index 605be8d33da1569edab9c2abc9b0bfa9cc7b58dc..bba0d1ca4f48c13d5e158f0a1ec61197394ad904 100644 (file)
@@ -186,6 +186,6 @@ generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
   if (last_slash != NULL)
     exec = last_slash + 1;
   
-  return strcmp (exec, core) == 0;
+  return filename_cmp (exec, core) == 0;
 }
 
This page took 0.023804 seconds and 4 git commands to generate.