From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42632 invoked by alias); 30 Nov 2016 09:16:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 42611 invoked by uid 89); 30 Nov 2016 09:16:07 -0000 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 Received: from mail.lysator.liu.se (HELO mail.lysator.liu.se) (130.236.254.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 30 Nov 2016 09:16:04 +0000 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 9310F4002D for ; Wed, 30 Nov 2016 10:16:01 +0100 (CET) Received: from [192.168.0.125] (217-210-101-82-no95.business.telia.com [217.210.101.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 5079A4002A for ; Wed, 30 Nov 2016 10:16:01 +0100 (CET) Subject: Re: Retrieving per-process environment block? To: cygwin@cygwin.com References: <20161117140012.GA23664@calimero.vinschen.de> <98eb08bf-5012-fe14-b10c-241b427c4366@cs.umass.edu> <2925977.20161129192741@yandex.ru> <583E1D4A.4020703@gmx.de> <111bc961-5f69-8e27-f78a-2b82f351d811@cs.umass.edu> From: Peter Rosin Message-ID: <237e4e33-4b51-a124-4108-d67e715dcbf0@lysator.liu.se> Date: Wed, 30 Nov 2016 10:47:00 -0000 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> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00347.txt.bz2 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