On Mon, Apr 09, 2012 at 02:49:10PM +0200, Yann E. MORIN wrote: > Currently, scripts/config removes the leading double-quote from > string options, but leaves the trailing double-quote. > > Also, double-quotes in a string are escaped, but scripts/config > does not unescape those when printing > > Finally, scripts/config does not escape double-quotes when setting > string options. > > Eg. the current behavior: > $ grep -E '^CONFIG_FOO=' .config > CONFIG_FOO="Bar \"Buz\" Meh" > $ ./scripts/config -s FOO > Bar \"Buz\" Meh" > $ ./scripts/config --set-str FOO 'Alpha "Bravo" Charlie' > $ grep -E '^CONFIG_FOO=' .config > CONFIG_FOO="Alpha "Bravo" Charlie" > > Fix those three, giving this new behavior: > $ grep -E '^CONFIG_FOO=' .config > CONFIG_FOO="Bar \"Buz\" Meh" > $ ./scripts/config -s FOO > Bar "Buz" Meh > $ ./scripts/config --set-str FOO 'Alpha "Bravo" Charlie' > $ grep -E '^CONFIG_FOO=' .config > CONFIG_FOO="Alpha \"Bravo\" Charlie" > > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@xxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx How does this fit the Documentation/stable_kernel_rules.txt qualification for a patch to be added to the stable releases? greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html