lkml.org 
[lkml]   [2005]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 1/3] kconfig: kxgettext: message fix
From
Date
Hi,

The gettext doesn't handle the {CONFIG}:00000 markers as sources.
I added a simple comment prefix for them.

Signed-off-by: Egry Gabor <gaboregry@t-online.hu>

---

kxgettext.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)

diff -Nru linux-2.6.13-rc2/scripts/kconfig/kxgettext.c
linux-2.6.13-rc2-i18n-kconfig/scripts/kconfig/kxgettext.c
--- linux-2.6.13-rc2/scripts/kconfig/kxgettext.c 2005-07-09
12:16:04.000000000 +0200
+++ linux-2.6.13-rc2-i18n-kconfig/scripts/kconfig/kxgettext.c 2005-07-09
13:43:01.000000000 +0200
@@ -179,7 +179,11 @@
{
struct file_line *fl = self->files;

- printf("\n#: %s:%d", fl->file, fl->lineno);
+ putchar('\n');
+ if (self->option != NULL)
+ printf("# %s:00000\n", self->option);
+
+ printf("#: %s:%d", fl->file, fl->lineno);
fl = fl->next;

while (fl != NULL) {
@@ -187,9 +191,6 @@
fl = fl->next;
}

- if (self->option != NULL)
- printf(", %s:00000", self->option);
-
putchar('\n');
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-10 22:03    [W:3.423 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site