summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-02-16 00:17:03 +0000
committerKarl Heuer <kwzh@gnu.org>1996-02-16 00:17:03 +0000
commitce6212a50d099704f987da4f50989c60967c472e (patch)
tree1b7e056e167dc7b3c948b3acb1aef046966d88f1
parentf5bb8a9e1b4aecf69f6ad8cfdca51baa028eb957 (diff)
downloademacs-ce6212a50d099704f987da4f50989c60967c472e.tar.gz
(Fmake_temp_name) [MSDOS]: Make sure there is at least
one character before the dot, in case `prefix' is only a directory name.
-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.")
{
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