From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: simplify GNU Emacs builds by replacing malloc Date: Thu, 22 Jun 2017 11:48:03 -0700 Message-ID: References: <4bed4d24-9a87-f0c2-fc38-d32e38c07684@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498157302 28993 195.159.176.226 (22 Jun 2017 18:48:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Jun 2017 18:48:22 +0000 (UTC) User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.2.50 (darwin) Cc: Emacs Development To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 22 20:48:15 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dO79L-0007Bb-NS for ged-emacs-devel@m.gmane.org; Thu, 22 Jun 2017 20:48:15 +0200 Original-Received: from localhost ([::1]:60496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dO79Q-0005pC-Rp for ged-emacs-devel@m.gmane.org; Thu, 22 Jun 2017 14:48:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dO79K-0005p4-Ve for Emacs-devel@gnu.org; Thu, 22 Jun 2017 14:48:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dO79H-00064t-05 for Emacs-devel@gnu.org; Thu, 22 Jun 2017 14:48:15 -0400 Original-Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:35697) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dO79G-000646-Pq for Emacs-devel@gnu.org; Thu, 22 Jun 2017 14:48:10 -0400 Original-Received: by mail-pf0-x232.google.com with SMTP id c73so12603683pfk.2 for ; Thu, 22 Jun 2017 11:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=I2M0oxc77UQIbydZ4Vcxa+UC6j/guxtSQ2NtnLjrgC8=; b=USNdHF3Hqc/Q+GFn1ttvzOwiIXHvys03n50CjYCRj3v6iNwp9d5u/d7SbXcbUJt9PW 3Jw1TdTCdH8e0pJlKxFLjUmL+rt4+tjChDbQVBMQdJNyn9KqLWrZI0MvW35xyaDXdufl YBwg6dPfgkdxhjz3XxluSl+9Ph31Fo+1Amq4PRppDo5tsllcekB/Jkefuf1YEALtFapP SApd2AA+FNd8GHiYqRklxOlm9fz6ig4mvdbxLcChp1GwGM6f6U3VaXY8LV+rdwTwINdM h4+pUmFv9miTdBArZj4iuzJgk2+XDn0J43YD46PcA0hnznGp6O3iV4Yz4nggfwksrliW QHtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=I2M0oxc77UQIbydZ4Vcxa+UC6j/guxtSQ2NtnLjrgC8=; b=e10Gky5BMRJuA8p/DnPVxs5/7/kPZmNvuxJuHAPDpSnPBpGj4PNMfXUhOnslaYJgFd QdifAuyuerHCkZIcNC1y7oXw/XNGknHPixpjR+YycsZY+l+JxSg+RcS0z2oOeNX6R9td YXJwLw7YZ/9EnT+eeMuG6AkgtM188axvTBksVUIe6nyKuN6x+X9TLq+8+XAsw6bAXvrk vSVpGm6KKXAAhJJAjbBhUMKqKsVcKT+bslb2r3s84RyAD7Z7cFQ0XRnQxvVtDrB6hSa4 r891cTQrGOS1WNEMn5QsR9le/4agjYXg9Dwb9oHiF5OT7zwZqGxE70YFn9TPTzMivFGU JWWg== X-Gm-Message-State: AKS2vOyRS1WFnXo5cfbKBR/uaNOPthgg/HS3ZVcilrbrJ5wa0Q7zBKbG lio9+hfWd0q7VA== X-Received: by 10.84.177.195 with SMTP id x61mr4410201plb.44.1498157289657; Thu, 22 Jun 2017 11:48:09 -0700 (PDT) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id x11sm5234193pfa.98.2017.06.22.11.48.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jun 2017 11:48:09 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 388BA602E032; Thu, 22 Jun 2017 11:48:06 -0700 (PDT) In-Reply-To: <4bed4d24-9a87-f0c2-fc38-d32e38c07684@cs.ucla.edu> (Paul Eggert's message of "Thu, 22 Jun 2017 11:45:03 -0700") Mail-Followup-To: Paul Eggert , Emacs Development X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215891 Archived-At: >>>>> "PE" == Paul Eggert writes: PE> On 06/21/2017 11:29 PM, John Wiegley wrote: >> Was there any particular reason for the macro approach? PE> Which macro approach, the approach currently in Emacs, or the approach PE> proposed in Bug#27416? If the former, we have to be careful about PE> redefining the malloc function, as this has undefined behavior in C; this PE> is why Emacs #defines malloc instead. If the latter, it's a longer story PE> but that approach didn't work and the proposal has been withdrawn, so I'm PE> not sure it's worth taking the time to explain. I meant the former, thanks for the clarification. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2