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)

Submitted by:  Tatsuro MATSUOKA <tmacchant>
Submitted on:  Mon 17 Jan 2011 09:28:41 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 18 Jan 2011 08:38:45 AM UTC, comment #2:

See https://savannah.gnu.org/bugs/?32158 instead.

John W. Eaton <jwe>
Project 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 File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Jan 2011 08:38:45 AM UTCjweStatusNone=>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)
    Mon 17 Jan 2011 09:28:41 PM UTCtmacchantAttached File-=>Added delete.m.diff, #22431

    Back to the top


    Powered by Savane 3.1-cleanup1