patchGNU Octave - Patches: patch #7438, Fix error of deleting a file file...

 
 

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

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Mon 17 Jan 2011 07:41:57 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Bug Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 17 Jan 2011 09:39:28 PM UTC, comment #2: 

I have repost this item to the bug tracker. Please close it.

Tatsuro MATSUOKA <tmacchant>
Mon 17 Jan 2011 08:05:19 PM UTC, comment #1: 

I'd like to keep the patch tracker for patches which add new features.  If you have a patch to submit that fixes a bug, it would be better to use the bug tracker.

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?

John W. Eaton <jwe>
Group administrator
Mon 17 Jan 2011 07:41:57 PM UTC, original submission:  

Hello

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'

Regards

Tatsuro

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 logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-17 jwe StatusNone Bug
        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 jwe 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, #22429

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code