bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1081: marked as done (make-temp-file)


From: Emacs bug Tracking System
Subject: bug#1081: marked as done (make-temp-file)
Date: Sat, 4 Oct 2008 13:40:05 -0700

Your message dated Sat, 04 Oct 2008 16:29:52 -0400
with message-id <wxbpy0f6in.fsf@fencepost.gnu.org>
and subject line Re: bug#1081: make-temp-file
has caused the Emacs bug report #1081,
regarding make-temp-file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
1081: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1081
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
--- Begin Message --- Subject: make-temp-file Date: Sun, 5 Oct 2008 02:42:06 +0900
Hello.

I don't know the following is a bug or not (on Emacs 22.3).
But I will report it.


    temporary-file-directory
    => "/tmp/"

example 1:

    (make-temp-file "test")
    => "/tmp/test13247c2"

example 2:

    (make-temp-file "")
    => "/tmp1324tmF"


Of course, example 1 is OK.

On the other hand, example 2 is OK?
In example 2, the function don't make temporary file under "/tmp"
directory. Even if PREFIX is empty string, the function should make
under "/tmp" directory, I think.

example of revision in (defun make-temp-file):

    (setq file
      (make-temp-name
       (expand-file-name prefix temporary-file-directory)))

    =>

    (setq file
      (make-temp-name
       (if (string-equal prefix "")
           temporary-file-directory
         (expand-file-name prefix temporary-file-directory))))




--- End Message ---
--- Begin Message --- Subject: Re: bug#1081: make-temp-file Date: Sat, 04 Oct 2008 16:29:52 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
"Toru TSUNEYOSHI" wrote:

>     (make-temp-file "")
>     => "/tmp1324tmF"

2008-10-04  Glenn Morris  <rgm@gnu.org>

    * files.el (make-temp-file): Handle empty `prefix'. (Bug#1081)


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]