[as suggested by Arthur moving to the dev list in hope to get more feedback]

Arthur Bergman wrote:

On Wednesday, July 30, 2003, at 10:58 am, Stas Bekman wrote:

Do you have any updates on the status of safecwd?

I need to revive any safecwd code and make it work, there are essentially two options.

option a)

store the cwd per thread
munge parameters to correct all relative parts into absolute parts based on the cwd
(in open, system, -x, and soo on)


option b)
store the cwd per thread
reset the global cwd before any operation that needs it, this will change the cwd constantly for different threads


What is your take on these options?

Before I make my pick, what happens if the running code involves some C code that operates/relies on cwd?


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


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



Reply via email to