comparison src/fileio.c @ 43680:d12db931f164

(Fmake_temp_name): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sun, 03 Mar 2002 21:55:33 +0000
parents 1874239cb5be
children 8bb81d691271
comparison
equal deleted inserted replaced
43679:6493c49c2946 43680:d12db931f164
978 which has no existing file. To make this work, 978 which has no existing file. To make this work,
979 PREFIX should be an absolute file name. 979 PREFIX should be an absolute file name.
980 980
981 There is a race condition between calling `make-temp-name' and creating the 981 There is a race condition between calling `make-temp-name' and creating the
982 file which opens all kinds of security holes. For that reason, you should 982 file which opens all kinds of security holes. For that reason, you should
983 probably use `make-temp-file' instead. */) 983 probably use `make-temp-file' instead, except in three circumstances:
984
985 * If you are creating the file in the user's home directory.
986 * If you are creating a directory rather than an ordinary file.
987 * If you are taking special precautions as `make-temp-file' does. */)
984 (prefix) 988 (prefix)
985 Lisp_Object prefix; 989 Lisp_Object prefix;
986 { 990 {
987 return make_temp_name (prefix, 0); 991 return make_temp_name (prefix, 0);
988 } 992 }