# HG changeset patch # User Stefan Monnier # Date 939418952 0 # Node ID 3258c12243e2aca8f7460b5f948e0a7c80c34742 # Parent 603508917c3497b6c3be1a17d87fdce7a87c0262 (Fmake_temp_name): add a ref to `make-temp-file' in the docstring. diff -r 603508917c34 -r 3258c12243e2 src/fileio.c --- a/src/fileio.c Fri Oct 08 21:28:05 1999 +0000 +++ b/src/fileio.c Fri Oct 08 21:42:32 1999 +0000 @@ -846,7 +846,11 @@ \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; {