mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-20 06:15:09 +08:00
PR 9766
* dlltool.c (xlate): When strip text after the @ sign, look for the last one not the first one.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2009-01-26 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR 9766
|
||||||
|
* dlltool.c (xlate): When strip text after the @ sign, look for
|
||||||
|
the last one not the first one.
|
||||||
|
|
||||||
2009-01-16 Alan Modra <amodra@bigpond.net.au>
|
2009-01-16 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* configure.in (commonbfdlib): Delete.
|
* configure.in (commonbfdlib): Delete.
|
||||||
|
@ -2131,8 +2131,9 @@ xlate (const char *name)
|
|||||||
char *p;
|
char *p;
|
||||||
|
|
||||||
name += lead_at;
|
name += lead_at;
|
||||||
p = strchr (name, '@');
|
/* PR 9766: Look for the last @ sign in the name. */
|
||||||
if (p)
|
p = strrchr (name, '@');
|
||||||
|
if (p && ISDIGIT (p[1]))
|
||||||
*p = 0;
|
*p = 0;
|
||||||
}
|
}
|
||||||
return name;
|
return name;
|
||||||
|
Reference in New Issue
Block a user