From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NHnAD-0004No-MJ for mharc-grub-devel@gnu.org; Mon, 07 Dec 2009 18:38:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHnAB-0004Kt-82 for grub-devel@gnu.org; Mon, 07 Dec 2009 18:38:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHnA6-0004DS-FJ for grub-devel@gnu.org; Mon, 07 Dec 2009 18:38:42 -0500 Received: from [199.232.76.173] (port=36463 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHnA5-0004D8-Vk for grub-devel@gnu.org; Mon, 07 Dec 2009 18:38:38 -0500 Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]:45729) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHnA5-0004kH-S7 for grub-devel@gnu.org; Mon, 07 Dec 2009 18:38:38 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1NHnA4-0008Ct-SU for grub-devel@gnu.org; Mon, 07 Dec 2009 23:38:37 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1NHnA4-0002ws-00; Mon, 07 Dec 2009 23:38:36 +0000 Date: Mon, 7 Dec 2009 23:38:36 +0000 From: Colin Watson To: The development of GNU GRUB Message-ID: <20091207233836.GA10791@riva.ucam.org> References: <20091207140923.GA6439@riva.ucam.org> <4B1D7C04.1000503@gmail.com> <20091207231203.GK6439@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091207231203.GK6439@riva.ucam.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost01-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Build failures on Ubuntu due to gettext X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 23:38:43 -0000 Furthermore, the style I suggested is used in many other GNU projects. Here are just a few examples: coreutils/src/du.c:994: error (0, 0, "%s", _("invalid zero-length file name")); diffutils/src/sdiff.c:853: fprintf (stderr, "%s", _("\ diffutils/src/sdiff.c-854-ed:\tEdit then use both versions, each decorated with a header.\n\ glibc/inet/rcmd.c:178: __fxprintf(NULL, "%s", _("\ glibc/inet/rcmd.c-179-rcmd: socket: All ports in use\n")); gnulib/lib/xalloc-die.c:34: error (exit_failure, 0, "%s", _("memory exhausted")); Indeed, here's a commit from the gettext author using this style: http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=d5d1ae3b3c3ae2f837740e5f5d65326197ccdb98 (Look for close_stdout_status in lib/closeout.c.) -- Colin Watson [cjwatson@ubuntu.com]