diff src/fileio.c @ 14519:7efdb933356e

(Fmake_temp_name) [MS-DOS]: Allow upto 8 characters in the prefix of the temporary file name.
author Richard M. Stallman <rms@gnu.org>
date Thu, 08 Feb 1996 17:46:58 +0000
parents ee40177f6c68
children 1f051824c020
line wrap: on
line diff
--- a/src/fileio.c	Thu Feb 08 17:27:23 1996 +0000
+++ b/src/fileio.c	Thu Feb 08 17:46:58 1996 +0000
@@ -714,7 +714,13 @@
      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;
 }