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:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=cK+iCjM 42oZUYTk/lBCtr7OLv0aHjPegJvyBC/Wt70SEGWbL4ZBeXeinvFIJx7xZWgrksG5 t21mvM3kUQjkDOAXI7ia7DHHZ6nTVEzlPbQ/x2gaELElO1GaSe629CAiidkNGzAg 88LudqDFz0ENBfMCMcEHrwHumchY9RWXQ20E= 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:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=i9owD424Jb33e uG3p4jy554e3sQ=; b=JzRmcTAY2c+XAzUFJHGkKFGl4Dsl+vp4qtuSXKGyGeOP3 68ivdCSwToH9EPBOiDzB4S6KoBFv5lvfbDI/x/G2J8wiCojZ4jW92YlQ9zDGrejB mNfZ/WbEh2VSoJbt1Rl1Qs8Pb77DWnhN7Wths8zFA3WhDZ8XmgUUp5H9Mrl+Jo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qt0-f173.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=wS5zuHxg5V9NKVz5cwxgqTEojJHEi+wF2dZ3Elf/GA4=; b=CTEsmk8I0vWTDwbR3Pp1tB9sn9UfjCwK85EJikh3iYnYc9dcLK2wf3uy4rAVdrCm8f op0Qaw4PgjU/JMo0k304E15jNE5yVbwOQRM8xpm6Y16PMVvsZ8cGYlmUcRw6Nyqjl9W7 Qa8KSOtt9Rs2ltHw+qYMdngIpIBnywZLV/8/YHQbEZQbHGmBDEKXmpaAsBO16GbXO59N 8hhwY/Lb5Sx8FOlmojgI/SQ5gkDeJmIjjx+/CvOHdzGmbmluCbm5CHxYJ8xqu4Q2+6tl qC0CT2gUoY1OgyMJrd5UPlg3uFxKSeUx0BFHfGy++lwH39SbN/Ody6i95ISBehqXsSfU GZeQ== X-Gm-Message-State: AEkoout9I/m2TQN89DEn3KylVplpOWRT9V0WcaNws7m/weiMtKaWgjnRWXGg5lm2LQJiIOTQV1YO3NpsObMyew== X-Received: by 10.25.17.228 with SMTP id 97mr29506686lfr.154.1470664331554; Mon, 08 Aug 2016 06:52:11 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <57A6ED1C.1060402@gmx.de> References: <001001d1edf1$a4e1ae90$eea50bb0$@rogers.com> <1C0AE95E-0118-4353-AA77-4D41F1AE9AE1 AT solidrocksystems DOT com> <001a01d1eea9$f7949a90$e6bdcfb0$@rogers.com> <76ec05e9-140a-19cb-942b-698582c3d024 AT gmail DOT com> <001f01d1ef2c$f04af9e0$d0e0eda0$@rogers.com> <20160805152951 DOT GO25811 AT calimero DOT vinschen DOT de> <57A6ED1C DOT 1060402 AT gmx DOT de> From: Erik Soderquist Date: Mon, 8 Aug 2016 09:52:10 -0400 Message-ID: Subject: Re: PATHEXT is fundamental to Windows and Should be recognised by CYGWIN To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Sun, Aug 7, 2016 at 4:11 AM, Herbert Stocker wrote: >> >> code required to handle .exe and .lnk extensions you don't *want* >> PATHEXT support anymore. >> > > Moreso, this code has recently broken my C++ code in Cygwin. > It tried to see if a directory /dir/subdir/something existed, > and Cygwin said yes because it found a /dir/subdir/something.exe . > So my program failed. Were you testing for the existence of a *directory* ( /dir/subdir/something/. ) or for anything named *something* in /dir/subdir/ ? And what call were you using? It was my understanding that the foo == foo.exe == foo.lnk == foo.exe.lnk was only applied when attempting to execute something... (is my understanding wrong?) -- Erik -- 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