[Top][All Lists]
[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: |
Tatsuro MATSUOKA |
Subject: |
[Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW |
Date: |
Mon, 17 Jan 2011 21:58:22 +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 |
Follow-up Comment #1, bug #32158 (project octave):
>Why are temporary file names like 'octave-help-xxxxxx' being generated?
I do not find out the reason.
>Are those valid filenames on Windows systems?
Yes it is.
Below the pacth
***************
for i = 1:length (files)
file = files{i};
[err, msg] = unlink (file);
if (err)
warning ("delete: %s: %s", file, msg);
endif
***************
'unlink' cannot detele 'octave-help-xxxx' but can delete 'C:octave-help-xxxx'
so that I added current drive name like 'C:'.
>What is the value of P_tmpdir in your version of Octave
*************
debug> P_tmpdir
ans =
***************
My windows setting for environmental variable tmp is
*******************
octave:2> getenv('tmp')
ans = C:DOCUME~1TatsuLOCALS~1Temp
If unlink can delete a file patch name of which begins from '', this patch is
not required.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32158>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, Tatsuro MATSUOKA, 2011/01/17
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW,
Tatsuro MATSUOKA <=
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, John W. Eaton, 2011/01/18
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, Tatsuro MATSUOKA, 2011/01/19
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, Tatsuro MATSUOKA, 2011/01/19
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, Tatsuro MATSUOKA, 2011/01/19
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, Tatsuro MATSUOKA, 2011/01/26
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, Tatsuro MATSUOKA, 2011/01/27
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, Tatsuro MATSUOKA, 2011/01/27
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, Benjamin Lindner, 2011/01/31
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, Benjamin Lindner, 2011/01/31
- [Octave-bug-tracker] [bug #32158] Error of deleting a file file path which begins with '\' on MinGW, Benjamin Lindner, 2011/01/31