From: Karl Heuer Date: Fri, 16 Feb 1996 00:17:03 +0000 (+0000) Subject: (Fmake_temp_name) [MSDOS]: Make sure there is at least X-Git-Tag: emacs-19.34~1289 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ce6212a50d099704f987da4f50989c60967c472e;p=emacs.git (Fmake_temp_name) [MSDOS]: Make sure there is at least one character before the dot, in case `prefix' is only a directory name. --- diff --git a/src/fileio.c b/src/fileio.c index f138e6e458e..6207cb86f78 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -715,9 +715,9 @@ so there is no danger of generating a name being used by another process.") { Lisp_Object val; #ifdef MSDOS - /* Don't use too much characters of the restricted 8+3 DOS + /* Don't use too many characters of the restricted 8+3 DOS filename space. */ - val = concat2 (prefix, build_string (".XXX")); + val = concat2 (prefix, build_string ("a.XXX")); #else val = concat2 (prefix, build_string ("XXXXXX")); #endif