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

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

[Octave-bug-tracker] [bug #32158] Error of deleting a file file path whi


From: Benjamin Lindner
Subject: [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW
Date: Mon, 31 Jan 2011 07:49:14 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12

Follow-up Comment #13, bug #32158 (project octave):

P_tmpdir returns an empty string, and I have both TEMP and TMP set in the
environment (i.e. getenv("TEMP") and getenv("TMP") both return non-empty
strings.
Which I don't quite understand looking at your patch...

Ah, I see the flaw in the patch:
the return value in get_P_tmpdir "retval" is not properly assigned. It's
assigned in the else clause whereby if the else clause is not executed (which
it isn't, as P_tmpdir is "\", so the code which checks for TEMP and TMP is
executed) the still empty retval is returned.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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