Mercurial > emacs
changeset 14519:7efdb933356e
(Fmake_temp_name) [MS-DOS]: Allow upto 8 characters in
the prefix of the temporary file name.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 08 Feb 1996 17:46:58 +0000 |
parents | 5b2bc060c90d |
children | e46b1e676418 |
files | src/fileio.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fileio.c Thu Feb 08 17:27:23 1996 +0000 +++ b/src/fileio.c Thu Feb 08 17:46:58 1996 +0000 @@ -714,7 +714,13 @@ 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; }