> > (3) Get DBD::Oracle to call the win32 SetEnvironmentVariable directly
> 
> I'd be willing to add a cygwin-specific function to DBD::Oracle
> (Oracle.xs and dbdimp.c) that calls SetEnvironmentVariable().
> 
> Patches welcome :)  [An estimate of the time required would help since
> I'm readying an RC5 that I hope to announce on dbi-users soonish.]

 I've made some initial changes, unconditionally adding the new code
regardless of platform to test if it works. It certainly appears to - the
previously failing nchar tests are now passing.

 I'll work on tidying it up, adding conditional compliation so it only
applies to Cygwin and doing further testing on more combinations - I'll try
and get a patch out in the next day or two (unless I hit any unexpected
snags).

 I've named the new function "ora_cygwin_set_env" - is that suitable?
 
-- 
Andy Hassall :: [EMAIL PROTECTED] :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool 

Reply via email to