octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #43872] tempname does not provide unique tempo


From: Rik
Subject: [Octave-bug-tracker] [bug #43872] tempname does not provide unique temporary name in Windows.
Date: Fri, 02 Jan 2015 05:59:51 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0

Follow-up Comment #10, bug #43872 (project octave):

I took a look at the patch and cleaned up a few things.  If no prefix is
specified the old tempnam would use the prefix "file" so I added that.  I also
simplified the loading of tempname.h to just a single extern since we are not
LIBC and never will be.  In do_get_temp_directory I segregated the cases in to
Windows vs. UNIX so that the UNIX branch never needs to check the TEMP
environment variable.  I've uploaded the cset.  It passes all tests for me.

(file #32746)
    _______________________________________________________

Additional Item Attachment:

File name: tempname.cset                  Size:5 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43872>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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