WSL2-Linux-Kernel/scripts/kconfig
Sam Ravnborg 612c280ef2 kconfig: fix update-po-config to accect backslash in input
Massimo Maiurana reported (slightly edited):

=====
In latest 2.6.29 "make update-po-config" fails at msguniq invocation
with an "invalid control sequence" error.
The offending string is the following, and it's located in
drivers/staging/panel/Kconfig:72:

    "'\e[L' which are specific to the LCD, and a few ANSI codes. The"

looks to me like gettext expects strings in printf format, so in
this case it thinks "\e" is a control sequence but doesn't recognise
it as a valid one.

A valid solution would be to tell kxgettext to automatically
escape this kind of strings in the */config.pot he produces, so that
msguniq would not complain.
=====

This patch implements the suggested escaping.

Reported-by: Massimo Maiurana <maiurana@gmail.com>
Tested-by: Massimo Maiurana <maiurana@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2009-04-11 08:18:07 +02:00
..
lxdialog
.gitignore
Makefile
POTFILES.in
check.sh
conf.c kconfig: improve seed in randconfig 2009-03-15 23:02:07 +01:00
confdata.c kconfig: fix randconfig for choice blocks 2009-03-15 22:54:57 +01:00
expr.c
expr.h kconfig: struct property commented 2009-01-02 20:43:21 +01:00
gconf.c
gconf.glade
images.c
kconfig_load.c
kxgettext.c kconfig: fix update-po-config to accect backslash in input 2009-04-11 08:18:07 +02:00
lex.zconf.c_shipped kconfig: improve error messages for bad source statements 2009-01-02 20:43:22 +01:00
lkc.h
lkc_proto.h
mconf.c
menu.c
qconf.cc
qconf.h
symbol.c
util.c
zconf.gperf
zconf.hash.c_shipped
zconf.l kconfig: improve error messages for bad source statements 2009-01-02 20:43:22 +01:00
zconf.tab.c_shipped
zconf.y