delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/21/07:17:12

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <199903211216.NAA04642@father.ludd.luth.se>
Subject: Re: More TMPDIR strangeness
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Sun, 21 Mar 1999 13:16:21 +0100 (MET)
Cc: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
X-Mailer: ELM [version 2.4ME+ PL15 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

He! Trivially simple. Cut-and-pasted patch, might not apply automatically:

--- gnu/emacs/src/callproc.c~   Mon Aug  5 01:15:02 1996
+++ gnu/emacs/src/callproc.c    Sun Mar 21 13:05:10 1999
@@ -333,7 +333,7 @@
   }

 #ifdef MSDOS /* MW, July 1993 */
-  if ((outf = egetenv ("TMP")) || (outf = egetenv ("TEMP")))
+  if ((outf = egetenv ("TMPDIR")) || (outf = egetenv ("TMP")) || (outf = egetenv ("TEMP")))
     strcpy (tempfile = alloca (strlen (outf) + 20), outf);
   else
     {


Lush, Split,

							MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019