linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scripts/config: fix double-quotes un-escaping
@ 2012-07-15 20:37 Yann E. MORIN
  2012-07-24 21:13 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2012-07-15 20:37 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Andi Kleen, Michal Marek, Yann E. MORIN

When reporting a string value, only the first double-quote was un-escaped.
We need to un-escape all escaped double-quotes.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 scripts/config |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/config b/scripts/config
index f65a44a..ee35539 100755
--- a/scripts/config
+++ b/scripts/config
@@ -156,7 +156,7 @@ while [ "$1" != "" ] ; do
 				V="${V/#${CONFIG_}$ARG=/}"
 				V="${V/#\"/}"
 				V="${V/%\"/}"
-				V="${V/\\\"/\"}"
+				V="${V//\\\"/\"}"
 				echo "${V}"
 			fi
 		fi
-- 
1.7.2.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] scripts/config: fix double-quotes un-escaping
  2012-07-15 20:37 [PATCH] scripts/config: fix double-quotes un-escaping Yann E. MORIN
@ 2012-07-24 21:13 ` Yann E. MORIN
  2012-07-26 10:20   ` Michal Marek
  0 siblings, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2012-07-24 21:13 UTC (permalink / raw)
  To: linux-kbuild, Michal Marek

Michal, All,

On Sunday 15 July 2012 22:37:35 Yann E. MORIN wrote:
> When reporting a string value, only the first double-quote was un-escaped.
> We need to un-escape all escaped double-quotes.

Ping? ;-)
Do you plan to add this one to your tree before you ask Linus to pull?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] scripts/config: fix double-quotes un-escaping
  2012-07-24 21:13 ` Yann E. MORIN
@ 2012-07-26 10:20   ` Michal Marek
  2012-07-26 16:54     ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Marek @ 2012-07-26 10:20 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: linux-kbuild

On Tue, Jul 24, 2012 at 11:13:04PM +0200, Yann E. MORIN wrote:
> Michal, All,
> 
> On Sunday 15 July 2012 22:37:35 Yann E. MORIN wrote:
> > When reporting a string value, only the first double-quote was un-escaped.
> > We need to un-escape all escaped double-quotes.
> 
> Ping? ;-)
> Do you plan to add this one to your tree before you ask Linus to pull?

Yes, I just did so.

Thanks,
Michal

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] scripts/config: fix double-quotes un-escaping
  2012-07-26 10:20   ` Michal Marek
@ 2012-07-26 16:54     ` Yann E. MORIN
  0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2012-07-26 16:54 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek

Michal, All,

On Thursday 26 July 2012 12:20:35 Michal Marek wrote:
> On Tue, Jul 24, 2012 at 11:13:04PM +0200, Yann E. MORIN wrote:
> > On Sunday 15 July 2012 22:37:35 Yann E. MORIN wrote:
> > > When reporting a string value, only the first double-quote was un-escaped.
> > > We need to un-escape all escaped double-quotes.
> > 
> > Ping? ;-)
> > Do you plan to add this one to your tree before you ask Linus to pull?
> 
> Yes, I just did so.

Thank you! :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-26 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-15 20:37 [PATCH] scripts/config: fix double-quotes un-escaping Yann E. MORIN
2012-07-24 21:13 ` Yann E. MORIN
2012-07-26 10:20   ` Michal Marek
2012-07-26 16:54     ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).