# HG changeset patch # User Karl Heuer # Date 832690277 0 # Node ID 27804f6291457741f6cc1a2ef3dac8fb99559b9f # Parent 8f94c7ce22dbf5c2189f33a275a53413027cbc43 (c-macro-expansion): Correct bug in creating tempname. diff -r 8f94c7ce22db -r 27804f629145 lisp/progmodes/cmacexp.el --- 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` -;; 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