From: Stefan Monnier Date: Fri, 8 Oct 1999 21:42:32 +0000 (+0000) Subject: (Fmake_temp_name): add a ref to `make-temp-file' in the docstring. X-Git-Tag: emacs-pretest-21.0.90~6513 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1f973fb9a703a62ca6d6e8ac1a9d89a2cf80a3c;p=emacs.git (Fmake_temp_name): add a ref to `make-temp-file' in the docstring. --- diff --git a/src/fileio.c b/src/fileio.c index 8d5e32eb426..dfa144a6607 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -846,7 +846,11 @@ so there is no danger of generating a name being used by another process.\n\ \n\ In addition, this function makes an attempt to choose a name\n\ which has no existing file. To make this work,\n\ -PREFIX should be an absolute file name.") +PREFIX should be an absolute file name.\n\ +\n\ +There is a race condition between calling `make-temp-name' and creating the +file which opens all kinds of security holes. For that reason, you should +probably use `make-temp-file' instead.") (prefix) Lisp_Object prefix; {