Branch: Tag:

2002-08-28

2002-08-28 09:45:13 by Mikael Brandström <mikael@brandstrom.org>

Bugfix: Preserve search order in path

Rev: lib/modules/Local.pmod:1.5

1:   #pike __REAL_VERSION__    - // $Id: Local.pmod,v 1.4 2002/08/28 09:36:58 mikael Exp $ + // $Id: Local.pmod,v 1.5 2002/08/28 09:45:13 mikael Exp $      //! @[Local] gives a local module namespace used for locally   //! installed pike modules. Modules are searched for in
74:    }       if(tmp = getenv("PIKE_LOCAL_PATH") ) { -  array to_add=tmp/":"; +  array to_add=reverse(tmp/":"); // preserve order    add_path( to_add[*] );    }   }