<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Egry Gabor &lt;gaboregry@t-online.hu&gt;

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

Signed-off-by: Egry Gabor &lt;gaboregry@t-online.hu&gt;
Cc: Arnaldo Carvalho de Melo &lt;acme@conectiva.com.br&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
---

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

diff -puN scripts/kconfig/kxgettext.c~kconfig-kxgettext-message-fix scripts/kconfig/kxgettext.c
--- 25/scripts/kconfig/kxgettext.c~kconfig-kxgettext-message-fix	Mon Jul 11 15:25:37 2005
+++ 25-akpm/scripts/kconfig/kxgettext.c	Mon Jul 11 15:25:37 2005
@@ -179,7 +179,11 @@ static void message__print_file_lineno(s
 {
 	struct file_line *fl = self-&gt;files;
 
-	printf("\n#: %s:%d", fl-&gt;file, fl-&gt;lineno);
+	putchar('\n');
+	if (self-&gt;option != NULL)
+		printf("# %s:00000\n", self-&gt;option);
+
+	printf("#: %s:%d", fl-&gt;file, fl-&gt;lineno);
 	fl = fl-&gt;next;
 
 	while (fl != NULL) {
@@ -187,9 +191,6 @@ static void message__print_file_lineno(s
 		fl = fl-&gt;next;
 	}
 
-	if (self-&gt;option != NULL)
-		printf(", %s:00000", self-&gt;option);
-
 	putchar('\n');
 }
 
_
</pre></body></html>