From 2310f1f84ff14ed4b75faf889c4587c36da3bcab Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Mon, 30 Oct 2006 03:18:57 +0000 Subject: [PATCH] dwarf2out.c (file_name_acquire): Correct typo. * dwarf2out.c (file_name_acquire): Correct typo. Formatting tweak to earlier ChangeLog entry. From-SVN: r118171 --- gcc/ChangeLog | 6 +++++- gcc/dwarf2out.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 91dc9e81aab..def4fca1deb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-10-30 Danny Smith + + * dwarf2out.c (file_name_acquire): Correct typo. + 2006-10-29 Daniel Berlin * tree.h (tree_value_handle): Remove struct value_set declaration. @@ -1426,7 +1430,7 @@ 2006-10-06 Danny Smith - config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp. + * config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp. 2006-10-06 Jakub Jelinek diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 2b0de938f50..0ba0220d958 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -7669,7 +7669,7 @@ file_name_acquire (void ** slot, void *data) f = strrchr (f, DIR_SEPARATOR); #if defined (DIR_SEPARATOR_2) { - char *g = strrchr (files[i].path, DIR_SEPARATOR_2); + char *g = strrchr (fi->path, DIR_SEPARATOR_2); if (g != NULL) { -- 2.30.2