From: Richard M. Stallman Date: Thu, 8 Feb 1996 17:46:58 +0000 (+0000) Subject: (Fmake_temp_name) [MS-DOS]: Allow upto 8 characters in X-Git-Tag: emacs-19.34~1341 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a3bfb181b1fca649129c8751db2adfa1a67fa8e;p=emacs.git (Fmake_temp_name) [MS-DOS]: Allow upto 8 characters in the prefix of the temporary file name. --- 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.") 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; }