Hi,
On Wed, 2005-05-25 at 12:48 +0200, Christoph Fuenfzig wrote:
> Hi Andreas, hi Dirk,
>
> Andreas Zieringer wrote:
>
> > Hi Christoph,
> >
> > this patch works for windows but that's a bad idea for unix. Splitting
> > something like "/usr/lib/...:/usr/bin/..." wouldn't work anymore. The
> > problem is that the analysePath() method thinks this a unix path and
> > tries to split it with ":" and not ";".
> > I try to fix the analysePath() method.
> >
> > Andreas
>
> Of course, you are right. That was a bad try.
> A special case for absolute WIN32 paths with UNIX directory separators,
> like "d:/Model/gotsman/horse.wrl"
the small problem might be, that this is undecidable without external
knowledge inside the path handler.
I would put the fix inside findFile, where you know what you get is
one element and work from there. AnalysePath is most likely the wrong
place without and might break existing setups.
This still has the problem with adding a path list but it should not
break anything.
regards,
gerrit
PS: just curios, is the D:/xxx/xx path the result from a file open
dialog ??
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users