diff options
Diffstat (limited to 'gas/listing.c')
-rw-r--r-- | gas/listing.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/listing.c b/gas/listing.c index bc6af71..6d28f31 100644 --- a/gas/listing.c +++ b/gas/listing.c @@ -90,6 +90,7 @@ on a line. */ #include "as.h" +#include "filenames.h" #include "obstack.h" #include "safe-ctype.h" #include "input-file.h" @@ -257,7 +258,7 @@ file_info (const char *file_name) while (p != (file_info_type *) NULL) { - if (strcmp (p->filename, file_name) == 0) + if (filename_cmp (p->filename, file_name) == 0) return p; p = p->next; } @@ -318,7 +319,7 @@ listing_newline (char *ps) if (ps == NULL) { if (line == last_line - && !(last_file && file && strcmp (file, last_file))) + && !(last_file && file && filename_cmp (file, last_file))) return; new_i = (list_info_type *) xmalloc (sizeof (list_info_type)); |