mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
* emultempl/spuelf.em (base_name): Correct backslash quoting.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2007-07-03 Matthias Klose <doko@ubuntu.com>
|
||||
|
||||
* emultempl/spuelf.em (base_name): Correct backslash quoting.
|
||||
|
||||
2007-07-02 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* Makefile.in: Regenerate.
|
||||
|
@ -270,7 +270,7 @@ base_name (const char *path)
|
||||
const char *file = strrchr (path, '/');
|
||||
#ifdef HAVE_DOS_BASED_FILE_SYSTEM
|
||||
{
|
||||
char *bslash = strrchr (path, '\\');
|
||||
char *bslash = strrchr (path, '\\\\');
|
||||
|
||||
if (file == NULL || (bslash != NULL && bslash > file))
|
||||
file = bslash;
|
||||
|
Reference in New Issue
Block a user