octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

filesep extension


From: Michael Goffioul
Subject: filesep extension
Date: Tue, 11 Nov 2008 14:51:42 +0000

Hi,

I noticed a problem in fileparts tests: some tests uses forward slash,
while fileparts uses filesep, which is the backward slash under Windows.
This makes most tests to fail.

To solve that, I thought about extending filesep behavior and make it
return all file separators when 'all' is given as argument. See the attached
changeset (OK to apply?). However, now I'd like to modify fileparts.m,
but I'm not sure about the most efficient way to implement find_last_of
functionality in ocave. Any idea?

Michael.

Attachment: filesep_extend
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]