summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>1999-10-08 21:42:32 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>1999-10-08 21:42:32 +0000
commita1f973fb9a703a62ca6d6e8ac1a9d89a2cf80a3c (patch)
tree33502ebdc235e8e09f4d04751efb4b093b286219 /src/fileio.c
parent37e2d8f4b2723b33e7d0bece665de20e1893d92b (diff)
downloademacs-a1f973fb9a703a62ca6d6e8ac1a9d89a2cf80a3c.tar.gz
(Fmake_temp_name): add a ref to `make-temp-file' in the docstring.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c6
1 files changed, 5 insertions, 1 deletions
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;
{