Branch: Tag:

2009-06-03

2009-06-03 09:28:20 by 郭雪松 (Xuesong Guo) <peterpan@kongzhong.com>

Process.search_path() is now Win32 and AmigaOS aware.
Thanks to 郭雪松 <peterpan@wukong.com>.

Rev: lib/modules/Process.pmod:1.61

291:       if (!search_path_entries)    { + #ifdef __NT__ +  array(string) e=replace(getenv("PATH")||"", "\\", "/")/";"-({""}); + #elif defined(__amigaos__) +  array(string) e=(getenv("PATH")||"")/";"-({""}); + #else    array(string) e=(getenv("PATH")||"")/":"-({""}); -  + #endif       multiset(string) filter=(<>);    search_path_entries=({});