|
From: | Paul Eggert |
Subject: | bug#28023: fix make-temp-file race on local host |
Date: | Thu, 10 Aug 2017 15:24:13 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Eli Zaretskii wrote:
And finally, tempname.c calls mkdir with 2 arguments, whereas mkdir on Windows accepts only one. (This means Gnulib lacks a dependency, since the tempname module should then depend on mkdir, which isn't in lib/.) Since we don't want the Gnulib replacement for mkdir, we will have to change w32.c:sys_mkdir to accept 2 arguments to fix this, unless you have a better idea.
No, your ideas all sound good. It's simpler for the generic code, if the mkdir replacement acts like POSIX mkdir.
[Prev in Thread] | Current Thread | [Next in Thread] |