Menu

#9 Pixie1.2.6(Win32)/sdrGet()/searchpath separation bug

open-wont-fix
nobody
None
3
2005-06-29
2003-12-05
No

On the Win32 platform sdr/sdr.cpp/sdrGet() fails to
correctly parse the shader search path into elements
because it uses a hardcoded element separator (':'),
which is on Win32 part of the elements themselves
(c:/dir1/dir2).
sdrGet() should simply use a OS_SPE_SEPARATOR
(SPE for SearchPathElement, to be added to
common/os.cpp) set to ':' on UNIX and to ';' on Win32
instead of the hardcoded ':'.

Discussion

  • Okan Arikan

    Okan Arikan - 2004-01-25

    Logged In: YES
    user_id=555300

    Hi Randolf,

    This decision is made to be more compatible with PrMan.
    Notice that it uses : as the dir separator too. In order to pass
    c:\dir1 , you should use /c//dir1 which is the convention used
    in PrMan.

    PS: I know this is a terrible solution. I don't know why
    they chose this.

    PS2: Sorry about the late response. I just realised that my
    forum monitor did not work on the bugs section.

    Okan

     
  • Okan Arikan

    Okan Arikan - 2004-01-25
    • status: open --> open-wont-fix
     
  • George Harker

    George Harker - 2005-06-29
    • priority: 5 --> 3
     

Log in to post a comment.