changeset 15267:27804f629145

(c-macro-expansion): Correct bug in creating tempname.
author Karl Heuer <kwzh@gnu.org>
date Tue, 21 May 1996 14:51:17 +0000
parents 8f94c7ce22db
children 18af2c80d4a1
files lisp/progmodes/cmacexp.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cmacexp.el	Tue May 21 14:43:54 1996 +0000
+++ b/lisp/progmodes/cmacexp.el	Tue May 21 14:51:17 1996 +0000
@@ -3,7 +3,7 @@
 ;; Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
 
 ;; Author: Francesco Potorti` <pot@cnuce.cnr.it>
-;; Version: $Id: cmacexp.el,v 1.22 1996/01/29 05:26:21 rms Exp rms $
+;; Version: $Id: cmacexp.el,v 1.23 1996/03/02 06:11:56 rms Exp kwzh $
 ;; Adapted-By: ESR
 ;; Keywords: c
 
@@ -246,8 +246,10 @@
 	(startstat ())
 	(startmarker "")
 	(exit-status 0)
-	(tempname (make-temp-name (or (getenv "TMPDIR") (getenv "TEMP")
-				      (getenv "TMP") "/tmp/"))))
+	(tempname (make-temp-name (concat
+				   (or (getenv "TMPDIR") (getenv "TEMP")
+				       (getenv "TMP") "/tmp")
+				   "/"))))
     (unwind-protect
 	(save-excursion
 	  (save-restriction