1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-06 07:31:13 -08:00

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

the prefix of the temporary file name.
This commit is contained in:
Richard M. Stallman 1996-02-08 17:46:58 +00:00
parent be047262ea
commit 3a3bfb181b

View file

@ -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;
}