(
Jump to the original submission)
Thu 13 May 2010 07:25:55 PM UTC, comment #6:
Thanks for the patch. It has been applied in the following changeset:
http://hg.savannah.gnu.org/hgweb/octave/rev/10df75a24242
|
Wed 12 May 2010 05:56:04 PM UTC, comment #5:
sorry about that.
For octave, this seems to be implemented, but incorrectly. Attached is a fix.
(file #20523)
|
Wed 12 May 2010 05:08:03 PM UTC, comment #4:
Please, you MUST NOT look at Matlab sources to determine how Octave should be implemented.
|
Wed 12 May 2010 03:13:32 PM UTC, comment #3:
from tempdir.m for matlab 7.4, I can see
if (tmp_dir(length(tmp_dir)) ~= filesep)
tmp_dir = [tmp_dir filesep];
end
in the code, so this behavior should be deterministic.
|
Wed 12 May 2010 03:11:15 PM UTC, comment #2:
I ran matlab from 6.0.0.88 (R12) all the way to 7.8.0.347 (R2009a) from our center resources, tempdir always returns with a trailing filesep. The computers used are CentOS 5.3 and Ubuntu 9.10.
|
Wed 12 May 2010 02:31:59 PM UTC, comment #1:
Matlab, apparently, also isn't clear whether a file seperator should be added or not. According to this documentation (http://www.mathworks.com/access/helpdesk/help/techdoc/import_export/f5-5983.html) tempdir returns just '/tmp' on UNIX systems.
What version of Matlab are you running and what platform is it running on?
|
Wed 12 May 2010 04:33:45 AM UTC, original submission:
In matlab, tempdir has a trailing filesep, while it doesn't in octave. If either way is ok, it would be really nice to match matlab's format.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 4 latest changes.