Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Rotten root

 [1/2] from: patrick::philipot::laposte::net at: 2-Jul 20:19


Hi List, What's wrong with view-root? I had in mind that view-root was always returning the Rebol/View folder. For me, the Rebol/View folder is %/D/REBOL/VIEW/ Using View version 1.2.10, I see now that view-root gives me whatever folder my script is. I have tested it with the following script: Rebol[] help view-root This program displays "VIEW-ROOT is a file of value: %/D/REBOL/VIEW/PUBLIC/PROG/" when my scrip is in /D/REBOL/VIEW/PUBLIC/PROG/. It displays "VIEW-ROOT is a file of value: %/D/REBOL/VIEW/PUBLIC/" when my scrip is in /D/REBOL/VIEW/PUBLIC/. Has it always been like that? Is it just my imagination ? That's a problem for me, because I need a fixed repair to find some script and I was used to write stuff like that: do rejoin [view-root %public/include/new-skin.r] Regards Patrick

 [2/2] from: ingo:2b1 at: 2-Jul-2003 22:24


Hi Patrick, I guess this is caused by the missing installation "feature". Somehow Rebol/View checks its installation info for view-root, and not the path where it is really located. IIRC Carl once explained this to be a security feature, because it's not possible to put a compromised rebol version into your path before the official version. That said, I guess you'll have to wait for the next release, or revert to the last. Regards, Ingo patrick wrote:
> Hi List, > What's wrong with view-root? I had in mind that view-root was always returning the Rebol/View folder.
<<quoted lines omitted: 9>>
> Regards > Patrick
-- -- YES! That's just me, just being! http://www.2b1.de/ We ARE all ONE --- [ingo--2b1--de] --- We ARE all FREE

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted