This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [LTO] Avoid path name with // when installing lto-dump
- From: Richard Biener <rguenther at suse dot de>
- To: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Cary Coutant <ccoutant at gmail dot com>, Martin Liška <mliska at suse dot cz>, Hrishikesh Kulkarni <hrishikeshparag at gmail dot com>
- Date: Thu, 1 Aug 2019 10:21:42 +0200 (CEST)
- Subject: Re: [PATCH] [LTO] Avoid path name with // when installing lto-dump
- References: <VI1PR10MB2573AB66BFEC7B9FFD3E0E53E4DE0@VI1PR10MB2573.EURPRD10.PROD.OUTLOOK.COM>
On Thu, 1 Aug 2019, Bernd Edlinger wrote:
> Hi!
>
>
> I've noticed the following when looking at the output from make install:
>
> /usr/bin/install -c lto-dump \
> //home/ed/gnu/install/bin/lto-dump
>
> Note the "//" before the $(bindir) path, which
> is itself already an absolute path name starting with a /.
>
> While it is harmless on linux, it might be confused with
> a network path in another well known O/S.
>
> So I'd like to remove the duplicated slash here.
>
> Boot-strapped and reg-tested on x86_64-pc-linux-gnu.
>
> Is it OK for trunk?
OK.
Richard.