[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnulib-tool: do not use $(top_srcdir) unquoted; may be taint
From: |
Ralf Wildenhues |
Subject: |
Re: [PATCH] gnulib-tool: do not use $(top_srcdir) unquoted; may be tainted |
Date: |
Tue, 25 Nov 2008 07:13:58 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi Jim,
* Jim Meyering wrote on Mon, Nov 24, 2008 at 09:02:51PM CET:
> [ along the way I noticed that my gnulib-tool patch is wrong,
> since single quotes in the context of a Makefile dependency
> list are interpreted literally ]
Indeed.
> But I did find a bug to fix... in automake.
> While $(top_srcdir) values usually look like ../src,
> but sometimes they are full, absolute names. It's the latter
> case I was trying to protect against with the gnulib-tool patch.
>
> For the record, you can cause trouble by building with a
> source directory name containing e.g., a space, and invoking
> configure via an absolute name.
Been there before, tried to push the exact patch you propose.
It doesn't help but cover up. If the corresponding code complains,
the user used a path he shouldn't have used. "Don't do that when
it hurts."
It would be an improvement if the sanity.m4 code produced a more
helpful error, though.
Cheers,
Ralf
- [PATCH] gnulib-tool: do not use $(top_srcdir) unquoted; may be tainted, Jim Meyering, 2008/11/24
- Re: [PATCH] gnulib-tool: do not use $(top_srcdir) unquoted; may be tainted, Ralf Wildenhues, 2008/11/24
- Re: [PATCH] gnulib-tool: do not use $(top_srcdir) unquoted; may be tainted, Jim Meyering, 2008/11/24
- Re: [PATCH] gnulib-tool: do not use $(top_srcdir) unquoted; may be tainted,
Ralf Wildenhues <=
- Re: [PATCH] gnulib-tool: do not use $(top_srcdir) unquoted; may be tainted, Jim Meyering, 2008/11/25
- Automake and whitespace in pwd (was: [PATCH] gnulib-tool: do not use $(top_srcdir) unquoted; may be tainted), Ralf Wildenhues, 2008/11/26
- Re: Automake and whitespace in pwd, Jim Meyering, 2008/11/27
- Re: Automake and whitespace in pwd, Ralf Corsepius, 2008/11/27
- Re: Automake and whitespace in pwd, Ralf Wildenhues, 2008/11/27