patches dir with small fixes
This commit is contained in:
parent
2c293491d8
commit
289b8aa7c0
20
editors/emacs/patches/patch-aa
Normal file
20
editors/emacs/patches/patch-aa
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/callproc.c.orig Mon Dec 29 15:22:23 1997
|
||||
+++ src/callproc.c Mon Dec 29 15:22:34 1997
|
||||
@@ -456,7 +456,7 @@
|
||||
if (*tempfile == '\0' || tempfile[strlen (tempfile) - 1] != '/')
|
||||
strcat (tempfile, "/");
|
||||
strcat (tempfile, "detmp.XXX");
|
||||
- mktemp (tempfile);
|
||||
+ mkstemp (tempfile);
|
||||
|
||||
outfilefd = creat (tempfile, S_IREAD | S_IWRITE);
|
||||
if (outfilefd < 0)
|
||||
@@ -811,7 +811,7 @@
|
||||
XSTRING (Vtemp_file_name_pattern)->size + 1);
|
||||
#endif /* not DOS_NT */
|
||||
|
||||
- mktemp (tempfile);
|
||||
+ mkstemp (tempfile);
|
||||
|
||||
filename_string = build_string (tempfile);
|
||||
GCPRO1 (filename_string);
|
11
editors/emacs/patches/patch-ab
Normal file
11
editors/emacs/patches/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/fileio.c.orig Mon Dec 29 15:25:06 1997
|
||||
+++ src/fileio.c Mon Dec 29 15:25:17 1997
|
||||
@@ -786,7 +786,7 @@
|
||||
#else
|
||||
val = concat2 (prefix, build_string ("XXXXXX"));
|
||||
#endif
|
||||
- mktemp (XSTRING (val)->data);
|
||||
+ mkstemp (XSTRING (val)->data);
|
||||
#ifdef DOS_NT
|
||||
CORRECT_DIR_SEPS (XSTRING (val)->data);
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user