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

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

[Octave-bug-tracker] [bug #32157] Fix error of deleting a file file path


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #32157] Fix error of deleting a file file path which begins with '\' on MinGW (dev source)
Date: Mon, 17 Jan 2011 21:28:42 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10

URL:
  <http://savannah.gnu.org/bugs/?32157>

                 Summary: Fix error of deleting a file file path which begins
with '\' on MinGW (dev source)
                 Project: GNU Octave
            Submitted by: tmacchant
            Submitted on: 2011年01月17日 21時28分41秒
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

This topic moved the post from the patch tracker from John's suggestion.

https://savannah.gnu.org/patch/index.php?7438

My original submission
****************************
I submit a change set to fix error of deleting a file file path which begins
with '\' on MinGW (dev source). 
Without the patch, octave often fail to delete temporary files with path like
'\octave-help-xxxxx' 

John's reply
*******************************
I wonder if you are maybe fixing the wrong thing. Why are temporary file
names like '\octave-help-xxxxxx' being generated? Are those valid filenames on
Windows systems? If so, then why is it possible to use them for some purposes
(opening and writing to them, apparently) but not others (deleting)? What is
the value of P_tmpdir in your version of Octave? How does the help function
generate temporary file names? 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: 2011年01月17日 21時28分41秒  Name: delete.m.diff  Size: 733B  
By: tmacchant

<http://savannah.gnu.org/bugs/download.php?file_id=22431>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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