summaryrefslogtreecommitdiff
path: root/src/fileio.c
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
commitdea398f24191dffd7e4b960a6eb28acefd936937 (patch)
tree598442a9407699e41a868f65785cb4aa2742169c /src/fileio.c
parent5e9d863b93947a8db0588e38b5f35c11aabd8eeb (diff)
downloademacs-dea398f24191dffd7e4b960a6eb28acefd936937.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.
Diffstat (limited to 'src/fileio.c')
-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