octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44682] Fullfile does not support network shar


From: anonymous
Subject: [Octave-bug-tracker] [bug #44682] Fullfile does not support network share addresses on windows platofrm
Date: Tue, 31 Mar 2015 21:40:45 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?44682>

                 Summary: Fullfile does not support network share addresses on
windows platofrm
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 31 Mar 2015 09:40:43 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: bmgf
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0-rc2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Function fullfile should allow double backslash to apear at the begining of
the path to support network drive paths on Windows platform.

e.g.

fullfile('\nas.lanshare1', 'folder', file.ext')

shoud return:


\nas.lanshare1file.ext

not

nas.lanshare1file.ext


Simplest way to achive that functionality would be by changing fullfile.m:62
from:

filename(strfind (filename, [filesep filesep])) = "";

to

filename(ispc() + strfind (filename(1 + ispc():end), [filesep filesep])) =
"";





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44682>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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