On Tue, Jan 17, 2006 at 08:04:42PM -0000, Andy Hassall wrote:
> > > (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?

Perfect. Thanks Andy.

Tim.

Reply via email to