octave-maintainers
[Top][All Lists]
Advanced

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

Re: Proposal patch for copyfile.m for octave for windows


From: Michael Goffioul
Subject: Re: Proposal patch for copyfile.m for octave for windows
Date: Sat, 16 May 2009 09:15:36 +0100

2009/5/16 Tatsuro MATSUOKA <address@hidden>:
> Hello
>
>  subject:Proposal patch for copyfile.m for octave for windows
>
> I am trying to install Octave-forge Packages by pkg install command.
> The codes concerning pkg.m seems to be revised comprehevely.
> However I found a problem pkg install on octave for windows.
>
> See the following
>
> ***********
> octave:9> glob('C:\Programs\OctaveBuild\bin\octave*.*')
> ans = {}(0x0)
> octave:10> glob('C:/Programs/OctaveBuild/bin\octave*.*')
> ans = {}(0x0)
> octave:11> glob('C:/Programs/OctaveBuild/bin/octave*.*')
> ans =
>
> {
>  [1,1] = C:/Programs/OctaveBuild/bin/octave-3.0.5.exe
>  [2,1] = C:/Programs/OctaveBuild/bin/octave-bug-3.0.5
>  [3,1] = C:/Programs/OctaveBuild/bin/octave-config-3.0.5
>  [4,1] = C:/Programs/OctaveBuild/bin/octave.bat
>  [5,1] = C:/Programs/OctaveBuild/bin/octave.exe
>  [6,1] = C:/Programs/OctaveBuild/bin/octave.ico
> }
>
> octave:12> glob(strrep ('C:\Programs\OctaveBuild\bin\octave*.*', "\\", "/"))
> ans =
>
> {
>  [1,1] = C:/Programs/OctaveBuild/bin/octave-3.0.5.exe
>  [2,1] = C:/Programs/OctaveBuild/bin/octave-bug-3.0.5
>  [3,1] = C:/Programs/OctaveBuild/bin/octave-config-3.0.5
>  [4,1] = C:/Programs/OctaveBuild/bin/octave.bat
>  [5,1] = C:/Programs/OctaveBuild/bin/octave.exe
>  [6,1] = C:/Programs/OctaveBuild/bin/octave.ico
> **************
>
> The funtion glob() requires filesep() == '/' like the above.

I don't have that problem with octave compiled with MSVC. I think
the problem is in the glob library you're using.

Michael.



reply via email to

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