From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47473 invoked by alias); 20 Mar 2019 01:11:42 -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 47464 invoked by uid 89); 20 Mar 2019 01:11:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=apr, rwxr-xr-x, rwxrxrx, oct X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Mar 2019 01:11:40 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id 6PlXhXSy0ldkP6PlYhbbgM; Tue, 19 Mar 2019 19:11:36 -0600 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Corner-case bug in .exe handling? To: cygwin@cygwin.com References: <5400e6ecebaa25efa46f0011be3fc58b58c4a69c.camel@cygwin.com> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <57993eaa-5449-998d-31d8-49ebf6e83017@SystematicSw.ab.ca> Date: Wed, 20 Mar 2019 01:11:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <5400e6ecebaa25efa46f0011be3fc58b58c4a69c.camel@cygwin.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00500.txt.bz2 On 2019-03-19 16:02, Yaakov Selkowitz wrote: > Just came across this with 3.0.4 on both Win7 and Win10 1804: > > $ ls -1 /usr/bin/python2.7 > /usr/bin/python2.7 > $ ls -1 /usr/bin/python[2-9].[0-9] > /usr/bin/python3.5 > /usr/bin/python3.6 > /usr/bin/python3.7 > /usr/bin/python3.8 > > python2.7 is the actual .exe where python3.* are symlinks, but > shouldn't 2.7 still be included in the latter? Implicit .exe files have not been matched by coreutils or findutils for quite a while: $ find /bin/ -name '*sh' /bin/config-run2-example.sh /bin/csh /bin/fontname.sh /bin/fontprop.sh /bin/gettext.sh /bin/gvfs-trash /bin/instmodsh /bin/ksh /bin/listings-ext.sh /bin/lprsetup.sh /bin/mkzsh /bin/ptksh /bin/repo2solv.sh /bin/source-highlight-esc.sh /bin/src-hilite-lesspipe.sh /bin/tclsh /bin/tcsh /bin/texhash /bin/unix-lpr.sh $ ls -glo /bin/*sh -rwxr-xr-x 1 4290 Jul 17 2013 /bin/config-run2-example.sh lrwxrwxrwx 1 8 Nov 24 2016 /bin/csh -> tcsh.exe -rwxr-xr-x 1 1351 Mar 28 2006 /bin/fontname.sh -rwxr-xr-x 1 929 Mar 28 2006 /bin/fontprop.sh -rwxr-xr-x 1 4629 Oct 23 2016 /bin/gettext.sh -rwxr-xr-x 1 277 Feb 19 2018 /bin/gvfs-trash -rwxr-xr-x 1 4287 Dec 1 00:28 /bin/instmodsh lrwxrwxrwx 1 8 Mar 23 2018 /bin/ksh -> mksh.exe lrwxrwxrwx 1 58 May 7 2018 /bin/listings-ext.sh -> /usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh -rwxr-xr-x 1 5470 Mar 9 11:22 /bin/lprsetup.sh -rwxr-xr-x 1 1428 May 9 2018 /bin/mkzsh -rwxr-xr-x 1 18572 Sep 27 2017 /bin/ptksh -rwxr-xr-x 1 7859 Mar 23 2018 /bin/repo2solv.sh -rwxr-xr-x 1 1017 Apr 11 2018 /bin/source-highlight-esc.sh -rwxr-xr-x 1 490 Apr 11 2018 /bin/src-hilite-lesspipe.sh lrwxrwxrwx 1 12 Dec 29 2017 /bin/tclsh -> tclsh8.6.exe lrwxrwxrwx 1 8 Dec 7 2016 /bin/tcsh -> tcsh.exe lrwxrwxrwx 1 8 May 7 2018 /bin/texhash -> mktexlsr -rwxr-xr-x 1 4131 Mar 9 11:22 /bin/unix-lpr.sh $ ls -glo /bin/*sh.exe -rwxr-xr-x 3 100883 Feb 17 2017 /bin/ash.exe -rwxr-xr-x 1 739859 Jan 27 2017 /bin/bash.exe -rwxr-xr-x 3 100883 Feb 17 2017 /bin/dash.exe -rwxr-xr-x 1 265747 Feb 27 2018 /bin/mksh.exe -rwxr-xr-x 1 611490 Jun 11 2016 /bin/posh.exe -rwxr-xr-x 1 12280 Dec 7 2017 /bin/ppmflash.exe -rwxr-xr-x 3 100883 Feb 17 2017 /bin/sh.exe -rwxr-xr-x 1 638483 Oct 19 04:43 /bin/ssh.exe -rwxr-xr-x 1 372755 Nov 24 2016 /bin/tcsh.exe -rwxr-xr-x 2 10259 Dec 24 2017 /bin/wish.exe -rwxr-xr-x 1 10771 Jul 28 2013 /bin/xrefresh.exe -rwxr-xr-x 2 10752 May 9 2018 /bin/zsh.exe -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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