From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28023: fix make-temp-file race on local host Date: Sat, 12 Aug 2017 19:52:46 +0300 Message-ID: <83mv74iv8h.fsf@gnu.org> References: <8c2c16ff-94ec-a691-57b1-bab8f5b39dfb@cs.ucla.edu> <87shh18c9e.fsf@detlef> <877ey9dqfl.fsf@detlef> <83poc0ix8a.fsf@gnu.org> <269e192f-15d8-4625-bbf0-ca11fb66edcc@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1502556857 15540 195.159.176.226 (12 Aug 2017 16:54:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2017 16:54:17 +0000 (UTC) Cc: 28023@debbugs.gnu.org, michael.albinus@gmx.de To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 18:54:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dgZfu-0003Um-MC for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 18:54:10 +0200 Original-Received: from localhost ([::1]:40234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgZfz-0000wD-7v for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Aug 2017 12:54:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgZfq-0000vD-Bx for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:54:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgZfm-00034t-BD for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:54:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48481) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgZfm-00034p-7a for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dgZfm-0003Qm-0H for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2017 12:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Aug 2017 16:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28023 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 28023-submit@debbugs.gnu.org id=B28023.150255678513178 (code B ref 28023); Sat, 12 Aug 2017 16:54:01 +0000 Original-Received: (at 28023) by debbugs.gnu.org; 12 Aug 2017 16:53:05 +0000 Original-Received: from localhost ([127.0.0.1]:57158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgZer-0003QU-Kn for submit@debbugs.gnu.org; Sat, 12 Aug 2017 12:53:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgZep-0003Q5-Sq for 28023@debbugs.gnu.org; Sat, 12 Aug 2017 12:53:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgZeh-0002gC-Db for 28023@debbugs.gnu.org; Sat, 12 Aug 2017 12:52:58 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgZeh-0002g8-AP; Sat, 12 Aug 2017 12:52:55 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2438 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dgZeg-0006qp-P9; Sat, 12 Aug 2017 12:52:55 -0400 In-reply-to: <269e192f-15d8-4625-bbf0-ca11fb66edcc@cs.ucla.edu> (message from Paul Eggert on Sat, 12 Aug 2017 09:25:37 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135693 Archived-At: > Cc: michael.albinus@gmx.de, 28023@debbugs.gnu.org > From: Paul Eggert > Date: Sat, 12 Aug 2017 09:25:37 -0700 > > I was following the lead of names like lread--substitute-command-keys, > print--preprocess, and thread--blocker, all low-level C functions whose first > part identifies which C module they're in. Although I see that the "-internal" > suffix is more popular for this sort of thing, isn't that a revenant of the old > days, before we instituted the convention of using PREFIX--NAME for private > names? Or is the "-internal" suffix a separate naming convention, used by both > Lisp and C code, that has a different semantics from PREFIX--NAME? If so, it > would be nice to have advice somewhere as to when to use the -internal suffix vs > when to use PREFIX--NAME. I think the prefix that comes from the file where the function is defined is more of a Lisp convention, and the -internal convention is more for C implementations.