aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fileio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index ec7d710cd36..f138e6e458e 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -714,7 +714,13 @@ so there is no danger of generating a name being used by another process.")
714 Lisp_Object prefix; 714 Lisp_Object prefix;
715{ 715{
716 Lisp_Object val; 716 Lisp_Object val;
717#ifdef MSDOS
718 /* Don't use too much characters of the restricted 8+3 DOS
719 filename space. */
720 val = concat2 (prefix, build_string (".XXX"));
721#else
717 val = concat2 (prefix, build_string ("XXXXXX")); 722 val = concat2 (prefix, build_string ("XXXXXX"));
723#endif
718 mktemp (XSTRING (val)->data); 724 mktemp (XSTRING (val)->data);
719 return val; 725 return val;
720} 726}