From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24537 invoked by alias); 16 Jun 2018 09:47:00 -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 24393 invoked by uid 89); 16 Jun 2018 09:46:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=resident, HX-Received:c687, dear, Dear X-HELO: mail-wm0-f52.google.com Received: from mail-wm0-f52.google.com (HELO mail-wm0-f52.google.com) (74.125.82.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 16 Jun 2018 09:46:45 +0000 Received: by mail-wm0-f52.google.com with SMTP id v131-v6so7637289wma.1 for ; Sat, 16 Jun 2018 02:46:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Y3vH1UgXEx3JHJjgAZfn/RN+6pylXISlLVTsz5qfRKA=; b=hsYrPMAt6Ak91LcdIhd9ogQ8Hj4lqG1yfihLAI52aSO9uJ12Z1f8ECj/iRA9jh5Enl P/GqaSbSJS3VmpBAq9BJSnM3AbY7OHs2XXND1oFrn41lbdgnOnGyeGPVw1QE4Jgy9N90 roRAySpJoKURGOhjlzXxF0SQ7Y0AofUmXUnPxKM08acZDaxtB3tkH/1SPVlpSfT+1oqg BvDZf2HujvYPNYmyGgOfRhc4aZEpb4VHBkAGgD/wuNHIJAOsXh0F9NGAXWBKrgFjtdkn 8EsR+OT2h9hUz8lOWM2FwQJKqPbvnM5oFi6Llr25k6/qT1ODOVIUNYwqZFI4bXTdFSfg DQbQ== X-Gm-Message-State: APt69E0eYrMjcL3ejyNIykXQS7i9cTTeZ+6JuKuGSuf5YOZ52CkayqSU Kapwcn52ipZwQxlFnVhgbJXzBXBC X-Google-Smtp-Source: ADUXVKKq0oALL/YeWanvQeUxPFKfv/IvHaTRRxbyIEJ0O3WgMrpP3pmcCislEU3dxvkzS46bhn4NEg== X-Received: by 2002:a1c:c687:: with SMTP id w129-v6mr3629658wmf.66.1529142403417; Sat, 16 Jun 2018 02:46:43 -0700 (PDT) Received: from ?IPv6:2003:ee:63e7:a101:1813:b632:eb33:a8f6? (p200300EE63E7A1011813B632EB33A8F6.dip0.t-ipconnect.de. [2003:ee:63e7:a101:1813:b632:eb33:a8f6]) by smtp.gmail.com with ESMTPSA id v138-v6sm4307580wmd.47.2018.06.16.02.46.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jun 2018 02:46:42 -0700 (PDT) Subject: Re: Unexpected behavior of ~ when calling bash from a different cygwin installation To: cygwin@cygwin.com References: <0F7D3B1B3C4B894D824F5B822E3E5A1778800706@IRSMSX102.ger.corp.intel.com> <0F7D3B1B3C4B894D824F5B822E3E5A177880079D@IRSMSX102.ger.corp.intel.com> From: Marco Atzeri Message-ID: <3a183948-c9f5-bf7a-355e-9d194c5a5974@gmail.com> Date: Sat, 16 Jun 2018 13:06:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <0F7D3B1B3C4B894D824F5B822E3E5A177880079D@IRSMSX102.ger.corp.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00190.txt.bz2 On 6/15/2018 3:32 PM, Soegtrop, Michael wrote: > Dear Cygwin Users, > > I got it, I just have to clear the HOME variable before. > > But I have a few more observations on this: > > the FAQ (section 4.20) state that the root path for the mount table depends on the path of the cygwin1.dll, to which an executable is linked. This doesn't seem to be the case. E.g. when I do > > * start a bash via C:\bin\cygwinA\cygwin.bat > * cd to /cygdrive/c/bin/cygwinB/bin > * ./bash > > The first and the second bash have both /=C:\bin\cygwinA although SysInternals ProcExplorer clearly shows that the second bash loads the cygwin1.dll from C:\bin\cygwinB and not from C:\bin\cygwinA. Is there some description on how the path mapping really works? > this is due to the preference given by Windows to load dll's from the same directory where the program is resident instead of using the ones in the PATH I have the same issue when testing a new version of GraphicsMagick perl interface The perl program located in /usr/bin will alway use the installed GM dll's in the same directory instead of the new one I am trying to test. Regards Marco -- 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