delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/11/30/04:16:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=J0EI0/H0FPHkbmA2
mbE5ntdXQxR+Q254oNlx2eFyyr45KPq5mj8UyFSA3U72KUNoBT6B9+huZ1qILe8n
MX6ER6hkMWfgY4C7j7q9OyDdfOnj+SrAQWAv9+4qkzR37ZigICGY7yZ/uFD/1Cjc
/3f5O9D6FF1mfj/FhioK2DNN3os=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=O9BuyPtaMKNWWcfa55G1pG
M3Px4=; b=vhN1h822Y6qitTr4kku0QX2i1XfH4YKHHFbrHN6eUOQUPdzyGxtGKY
+EIKKr+wbI9y6MMBI4719SPaso49fgtFjbgAfhYuw8IoYrOkhcRnVsUQgijVxgYs
vwX6hgRQSTq9ZANt+V8inzxR+FjE/bK5xVStByxTP5d/dy390U0Xk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*se, H*i:sk:111bc96, H*f:sk:111bc96, H*MI:sk:111bc96
X-HELO: mail.lysator.liu.se
Subject: Re: Retrieving per-process environment block?
To: cygwin AT cygwin DOT com
References: <CAOTD34ZFH5E3r3AuDOXctss46e1hoU2f9pwE1mt4L674J2Ak_A AT mail DOT gmail DOT com> <20161117140012 DOT GA23664 AT calimero DOT vinschen DOT de> <CAOTD34Y9TRq2Qq8Mn2awTf9SCgz0qnbBa-a117pkSEvz9gaHKQ AT mail DOT gmail DOT com> <98eb08bf-5012-fe14-b10c-241b427c4366 AT cs DOT umass DOT edu> <CAOTD34bPTUkKiHSmqvczz6juePBD=6PyzabDFfHpYL_cFzyf9A AT mail DOT gmail DOT com> <2925977 DOT 20161129192741 AT yandex DOT ru> <583E1D4A DOT 4020703 AT gmx DOT de> <111bc961-5f69-8e27-f78a-2b82f351d811 AT cs DOT umass DOT edu>
From: Peter Rosin <peda AT lysator DOT liu DOT se>
Message-ID: <237e4e33-4b51-a124-4108-d67e715dcbf0@lysator.liu.se>
Date: Wed, 30 Nov 2016 10:15:57 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0
MIME-Version: 1.0
In-Reply-To: <111bc961-5f69-8e27-f78a-2b82f351d811@cs.umass.edu>

On 2016-11-30 04:00, Eliot Moss wrote:
> On 11/29/2016 7:28 PM, Herbert Stocker wrote:
> 
>> Or we simply copy the variables unconverted to the Windows environment
>> block, as the Windows env block is not used for anything else - up to
>> now it is not updated at all.
> 
> Maybe we could stash them inside one large variable?  Would that help
> at all?  (It does demand a quoting convention, but since this is all
> internal stuff, that may not be too hard.)

I believe this is a dead end. The Windows environment block has an
unacceptable size limit which is circumvented by the internal Cygwin
handling. Since this is about exposing said Cygwin environment, it
would simply not work for big environments.

Cheers,
Peter

--
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