This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Fix build failure with GCC-4.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]