aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1996-02-16 00:17:03 +0000
committerKarl Heuer1996-02-16 00:17:03 +0000
commitce6212a50d099704f987da4f50989c60967c472e (patch)
tree1b7e056e167dc7b3c948b3acb1aef046966d88f1 /src
parentf5bb8a9e1b4aecf69f6ad8cfdca51baa028eb957 (diff)
downloademacs-ce6212a50d099704f987da4f50989c60967c472e.tar.gz
emacs-ce6212a50d099704f987da4f50989c60967c472e.zip
(Fmake_temp_name) [MSDOS]: Make sure there is at least
one character before the dot, in case `prefix' is only a directory name.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
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.")
715{ 715{
716 Lisp_Object val; 716 Lisp_Object val;
717#ifdef MSDOS 717#ifdef MSDOS
718 /* Don't use too much characters of the restricted 8+3 DOS 718 /* Don't use too many characters of the restricted 8+3 DOS
719 filename space. */ 719 filename space. */
720 val = concat2 (prefix, build_string (".XXX")); 720 val = concat2 (prefix, build_string ("a.XXX"));
721#else 721#else
722 val = concat2 (prefix, build_string ("XXXXXX")); 722 val = concat2 (prefix, build_string ("XXXXXX"));
723#endif 723#endif