bugGNU Octave - Bugs: bug #32157, Fix error of deleting a file file...

 
 

bug #32157: Fix error of deleting a file file path which begins with '\' on MinGW (dev source)

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Mon 17 Jan 2011 09:28:41 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 18 Jan 2011 08:38:45 AM UTC, comment #2: 
John W. Eaton <jwe>
Group administrator
Mon 17 Jan 2011 09:37:23 PM UTC, comment #1: 

Sorry I have made duplicated posts. Please ignore this item.

Tatsuro MATSUOKA <tmacchant>
Mon 17 Jan 2011 09:28:41 PM UTC, original submission:  

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?

Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-18 jwe StatusNone Duplicate
        Open/ClosedOpen Closed
        SummaryFix error of deleting a file file path which begins with \'\\\' on MinGW (dev source) Fix error of deleting a file file path which begins with '\' on MinGW (dev source)
    2011-01-17 tmacchant Attached File- Added delete.m.diff, #22431

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code