From 286f819461ff93f6b56f8f7d1b5689a84b32896f Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Wed, 8 Feb 2012 17:58:21 -0600 Subject: add Cygwin::sync_winenv [perl #110190] Cygwin::sync_winenv should fix [CPAN #65052], ADODB missing %COMMONPROGRAMFILES%. sync_winenv code and solution by Chris Day. --- README.cygwin | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.cygwin') diff --git a/README.cygwin b/README.cygwin index 017c452277..4e3e6f57ff 100644 --- a/README.cygwin +++ b/README.cygwin @@ -513,6 +513,17 @@ User mounts override system mounts. Returns true if the given cygwin path is binary mounted, false if the path is mounted in textmode. +=item C + +Cygwin does not initialize all original Win32 environment variables. +See the bottom of this page L +for "Restricted Win32 environment". + +Certain Win32 programs called from cygwin programs might need some environment +variable, such as e.g. ADODB needs %COMMONPROGRAMFILES%. +Call Cygwin::sync_winenv() to copy all Win32 environment variables to your +process and note that cygwin will warn on every encounter of non-POSIX paths. + =back =head1 INSTALL PERL ON CYGWIN -- cgit v1.2.1