From 289b8aa7c0b75b8b748471a00401aa1fc205f655 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 30 Dec 1997 02:08:07 +0000 Subject: [PATCH] patches dir with small fixes --- editors/emacs/patches/patch-aa | 20 ++++++++++++++++++++ editors/emacs/patches/patch-ab | 11 +++++++++++ 2 files changed, 31 insertions(+) create mode 100644 editors/emacs/patches/patch-aa create mode 100644 editors/emacs/patches/patch-ab diff --git a/editors/emacs/patches/patch-aa b/editors/emacs/patches/patch-aa new file mode 100644 index 00000000000..5bcaee9a8e0 --- /dev/null +++ b/editors/emacs/patches/patch-aa @@ -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); diff --git a/editors/emacs/patches/patch-ab b/editors/emacs/patches/patch-ab new file mode 100644 index 00000000000..e6f8bb42764 --- /dev/null +++ b/editors/emacs/patches/patch-ab @@ -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