mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 15:11:30 -08:00
(Fmake_temp_name) [MS-DOS]: Allow upto 8 characters in
the prefix of the temporary file name.
This commit is contained in:
parent
be047262ea
commit
3a3bfb181b
1 changed files with 6 additions and 0 deletions
|
|
@ -714,7 +714,13 @@ so there is no danger of generating a name being used by another process.")
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue