This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Fix build failure with GCC-4.2
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 3 Jul 2007 08:41:51 +0930
- Subject: Re: PATCH: Fix build failure with GCC-4.2
- References: <4689220A.5020900@ubuntu.com>
On Mon, Jul 02, 2007 at 06:04:26PM +0200, Matthias Klose wrote:
> --- ./ld/emultempl/spuelf.em~ 2007-07-02 17:56:40.000000000 +0200
> +++ ./ld/emultempl/spuelf.em 2007-07-02 17:57:41.000000000 +0200
> @@ -270,7 +270,7 @@
> 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;
Thanks! Applied.
--
Alan Modra
IBM OzLabs - Linux Technology Centre