From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: Re: Let's tell we are using GTK+ Date: Sun, 24 Aug 2003 12:28:04 +0200 Organization: CWI, Amsterdam Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20030820182418.GA10777@milla.autsens.localnet> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061721583 17057 80.91.224.253 (24 Aug 2003 10:39:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Aug 2003 10:39:43 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Aug 24 12:39:40 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19qsHc-0004HB-00 for ; Sun, 24 Aug 2003 12:39:40 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19qsMe-0001Td-00 for ; Sun, 24 Aug 2003 12:44:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19qsE5-0000an-By for emacs-devel@quimby.gnus.org; Sun, 24 Aug 2003 06:36:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19qsAQ-0000KC-U9 for emacs-devel@gnu.org; Sun, 24 Aug 2003 06:32:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19qs9d-0008E8-KD for emacs-devel@gnu.org; Sun, 24 Aug 2003 06:31:56 -0400 Original-Received: from [192.16.191.8] (helo=hera.cwi.nl) by monty-python.gnu.org with esmtp (Exim 4.20) id 19qs6S-0006qH-3H; Sun, 24 Aug 2003 06:28:08 -0400 Original-Received: from occarina.pna.cwi.nl (occarina.pna.cwi.nl [192.16.184.200]) by hera.cwi.nl with ESMTP id MAA29450 for ; Sun, 24 Aug 2003 12:28:05 +0200 (MEST) Original-Received: (from lute@localhost) by occarina.pna.cwi.nl (8.12.8/8.12.5) id h7OAS4WO021399; Sun, 24 Aug 2003 12:28:04 +0200 X-Authentication-Warning: occarina.pna.cwi.nl: lute set sender to Lute.Kamstra@cwi.nl using -f Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat, 23 Aug 2003 20:10:25 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Original-Lines: 14 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16119 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16119 Richard Stallman writes: > |> I believe, asprintf would be better, but I don't know about portability... > > It's a GNU extension, but a portable implementation is part of libiberty. > > It would be ok to use this if we copy that code into Emacs, > but if it is easy to avoid, let's avoid it. It's easy to avoid it by using g_snprintf from glib, a library required for the GTK+ build of Emacs (as suggested by Terje Rosten). I'll commit the patch tomorrow. Lute.