* emultempl/spuelf.em (base_name): Correct backslash quoting.

This commit is contained in:
Alan Modra 2007-07-02 23:11:40 +00:00
parent cfa9d6d991
commit 0fd1c9f114
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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;