delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/14/04:09:11

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 14 Feb 2012 10:08:20 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: PROGRAMFILES variable is not set during openssh session
Message-ID: <20120214090820.GC20357@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1329064411 DOT 16602 DOT 15 DOT camel AT arcfi-laptop> <20120213140712 DOT GD32512 AT calimero DOT vinschen DOT de> <1253729885 DOT 20120214044940 AT mtu-net DOT ru> <20120214082759 DOT GA20357 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20120214082759.GA20357@calimero.vinschen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Feb 14 09:27, Corinna Vinschen wrote:
> On Feb 14 04:49, Andrey Repin wrote:
> > Greetings, Corinna Vinschen!
> > 
> > >> PROGRAMFILES variable is not set during openssh session.
> > >> This is very important for remote administrative tasks.
> > 
> > > OpenSSH 6.0p1 is due soon.  I asked to apply a patch upstream so that
> > > PROGRAMFILES is added back to the environment variables passed over
> > > to the child process.
> > 
> > Both of them? (on x86_64 systems, there's two relevant variables)
> 
> Argh.  Can of worms.  No, only the 32 bit variant for now.

Oh, btw., 32 bit processes only see the 32 bit PROGRAMFILES variable
by default.  Which makes sense since PROGRAMFILES for 32 bit processes
is the same as PROGRAMFILES for 64 bit processes...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019