GNU bug report logs - #17478
"No such file or directoryn" due to incorrect escaping

Previous Next

Package: libtool;

Reported by: Egmont Koblinger <egmont <at> gmail.com>

Date: Mon, 12 May 2014 17:37:01 UTC

Severity: normal

Done: Peter Rosin <peda <at> lysator.liu.se>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 17478 <at> debbugs.gnu.org (full text, mbox):

From: Peter Rosin <peda <at> lysator.liu.se>
To: Egmont Koblinger <egmont <at> gmail.com>, 
 Bob Friesenhahn <bfriesen <at> simple.dallas.tx.us>
Cc: 17478 <at> debbugs.gnu.org
Subject: Re: bug#17478: "No such file or directoryn" due to incorrect escaping
Date: Tue, 13 May 2014 11:50:42 +0200
[Message part 1 (text/plain, inline)]
On 2014-05-13 11:36, Peter Rosin wrote:
> On 2014-05-13 10:57, Egmont Koblinger wrote:
>>> I believe this line is generated from these lines of libtool.m4 and
>>> ltmain.sh (attaching these too):
>>> libtool.m4:1183:   ECHO='printf %s\n'
>>> ltmain.sh:4069:      $ECHO \"\$relink_command_output\" >&2
> 
> Looks likely.
> 
> I think you should try to prepend \ to that $ECHO, I'll send a patch
> for libtool proper shortly. Not sure how you should test this though,
> when you are using the system libtool...
> 
> I.e. try to change that line to:
>       \$ECHO \"\$relink_command_output\" >&2

Patch attached, as promised.

I'll hold of pushing this until I get some feedback.

Cheers,
Peter

[0001-libtool-delay-expansion-of-ECHO-until-the-wrapper-sc.patch (text/x-patch, attachment)]

This bug report was last modified 11 years and 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.