|
From: | Paul Eggert |
Subject: | bug#28023: fix make-temp-file race on local host |
Date: | Sat, 12 Aug 2017 09:25:37 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Eli Zaretskii wrote:
I think the function you are adding should be named make-temp-file-internal, as we do with other functions whose low-level parts are implemented in C.
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.
[Prev in Thread] | Current Thread | [Next in Thread] |