From 0fd1c9f1145d0f9eeb839976eb4f82bdc34b8b14 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 2 Jul 2007 23:11:40 +0000 Subject: [PATCH] * emultempl/spuelf.em (base_name): Correct backslash quoting. --- ld/ChangeLog | 4 ++++ ld/emultempl/spuelf.em | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 479634b206a..25bfcd45680 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2007-07-03 Matthias Klose + + * emultempl/spuelf.em (base_name): Correct backslash quoting. + 2007-07-02 Alan Modra * Makefile.in: Regenerate. diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em index 252b90f1046..05adeb8582c 100644 --- a/ld/emultempl/spuelf.em +++ b/ld/emultempl/spuelf.em @@ -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; -- 2.30.2