On Tue, 9 Apr 2002, Stas Bekman wrote:
 
> I'm not sure that's a good idea. It may break someone's code, who didn't 
> expect the cwd to be in @INC. should the control to automatically 
> prepand to @INC be given to users here?

to be safer, could just replace any @INC value of '.' with cwd.
 
> what if their code is doing chdir? do we simply say, you have to get rid 
> of chdirs, no matter what?

yes, i suppose so.  we might even want to add CORE::GLOBAL::chdir that 
croaks if running in a threaded MPM.
 
> Oh, wait, users *cannot* use Apache::Registry from 1.x with threaded mpm 
> by definition since it does chdir to the scripts dir.

not an issue, 1.x calls $r->chdir_file
which is a noop in Apache::compat.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to