Commit 3a3bfb18 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fmake_temp_name) [MS-DOS]: Allow upto 8 characters in

the prefix of the temporary file name.
parent be047262
......@@ -714,7 +714,13 @@ so there is no danger of generating a name being used by another process.")
Lisp_Object prefix;
{
Lisp_Object val;
#ifdef MSDOS
/* Don't use too much characters of the restricted 8+3 DOS
filename space. */
val = concat2 (prefix, build_string (".XXX"));
#else
val = concat2 (prefix, build_string ("XXXXXX"));
#endif
mktemp (XSTRING (val)->data);
return val;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment