[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Bruno Haible
Subject: Re: gl_WITNESS_C_DOMAIN?
Date: Mon, 13 Aug 2012 12:51:03 +0200
User-agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )

Hi Dmitriy,

> I think I've recently found a small bug inside old gnulib-tool.
> As you know we parse m4/gnulib-cache.m4 file to get cached variables
> which we want to use in import modes. There is gl_WITNESS_C_MACRO field,
> which we parse to get witness_c_macro variable. But at line 5143, where
> we generate a new gnulib-cache.m4 file, I see the following:
> echo "gl_WITNESS_C_DOMAIN([$witness_c_macro])"
> Have I misunderstood something or there is a small bug? May be the
> cause of the bug is just copy-pasting of the previous line, where we do
> the same thing with gl_PO_DOMAIN.

Of course, yes, you're 100% right. Fixed:

2012-08-13  Bruno Haible  <address@hidden>

        gnulib-tool: Fix persistence of --witness-c-macro option.
        * gnulib-tool (func_import): Fix typo in emit of gl_WITNESS_C_MACRO.
        Reported by Dmitriy Selyutin <address@hidden>.

--- gnulib-tool.orig    Mon Aug 13 12:48:12 2012
+++ gnulib-tool Mon Aug 13 12:46:45 2012
@@ -5140,7 +5140,7 @@
     echo "gl_MACRO_PREFIX([$macro_prefix])"
     echo "gl_PO_DOMAIN([$po_domain])"
-    echo "gl_WITNESS_C_DOMAIN([$witness_c_macro])"
+    echo "gl_WITNESS_C_MACRO([$witness_c_macro])"
     if test -n "$vc_files"; then
       echo "gl_VC_FILES([$vc_files])"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]