diff mbox

scripts/config: fix double-quotes un-escaping

Message ID 1342384655-7769-1-git-send-email-yann.morin.1998@free.fr (mailing list archive)
State New, archived
Headers show

Commit Message

Yann E. MORIN July 15, 2012, 8:37 p.m. UTC
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(-)

Comments

Yann E. MORIN July 24, 2012, 9:13 p.m. UTC | #1
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.
Michal Marek July 26, 2012, 10:20 a.m. UTC | #2
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Yann E. MORIN July 26, 2012, 4:54 p.m. UTC | #3
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.
diff mbox

Patch

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