From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 217CA385840F for ; Fri, 12 Nov 2021 22:49:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 217CA385840F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id lZzNmXm8mczbLlfMnmI3H9; Fri, 12 Nov 2021 22:49:53 +0000 Received: from [192.168.1.105] ([68.147.0.90]) by cmsmtp with ESMTP id lfMmmuFfsFXD3lfMnmh3oT; Fri, 12 Nov 2021 22:49:53 +0000 X-Authority-Analysis: v=2.4 cv=P+4pOwMu c=1 sm=1 tr=0 ts=618eef91 a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=JoBV-ZVoAAAA:8 a=2JJfow6uIDk7MI6BRtcA:9 a=QEXdDO2ut3YA:10 a=wt4-05gOKZFyvnUQzhES:22 Message-ID: Date: Fri, 12 Nov 2021 15:49:52 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Reply-To: cygwin@cygwin.com Subject: Re: 3.3.1: Missing VersionInfo resource fields for cygwin1.dll Content-Language: en-CA To: cygwin@cygwin.com References: <92c1474c-9773-8a71-3234-e1169348d103@gmail.com> From: Brian Inglis Organization: Systematic Software In-Reply-To: <92c1474c-9773-8a71-3234-e1169348d103@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfGBtp9Lb7tsTF74jeTSTj/FQND3h+uYoBqLjPK+3wy87SFFFreKpxWwmBMXXEOi2icIY89T8FxU0xcyMkxUo9OturxJ6eiTFS4VfB9IGn8EZmnMTdeS3 cciYqjsaBh5ClpdpF9bYqrLDw3T9wKa4F0Uz7T7GPTudASkuSZrtppAfUbTUT66zTxfR384CwGzSlc14eyyIy291FMY/moB3djY= X-Spam-Status: No, score=-1165.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2021 22:49:55 -0000 On 2021-11-11 12:26, Marco Atzeri via Cygwin wrote: > On 11.11.2021 19:47, Hiya Z via Cygwin wrote: >> Upgraded to 3.3.x and noticed that the VersionInfo resource fields >> for all binaries under bin are blank (Properties->Details from >> Explorer). Is this by intent or a miss? >> It is breaking my application installer that relied on version check for >> cygwin1.dll. > Binaries should not have VersionInfo, only cygwin1.dll had it. > Not checked on 3.3.x Confirmed missing from cygwin.dll 3.3.0 64 and 32 bit and present up to at least 3.2.1. Also present in some other DLLs: cyg{asprintf,crypto,freetype,icons,iconv,lzma,ruby,ssl,unistring,usb,z}*.dll Using SysInternals sigcheck and if you don't have that, base WMIC: $ head /proc/version CYGWIN_NT-10.0-19042 version 3.3.0-341.x86_64 (kbrown@moufang2) (gcc version 11.2.0 (GCC) ) 2021-09-24 22:07 UTC $ sigcheck -a `cygpath -m /bin/cygwin1-old.dll` Sigcheck v2.73 - File version and signature viewer Copyright (C) 2004-2019 Mark Russinovich Sysinternals - www.sysinternals.com c:\...\bin\cygwin1-old.dll: Verified: Unsigned Link date: 17:00 1969-12-31 Publisher: n/a Company: Red Hat Description: Cygwin POSIX Emulation DLL Product: Cygwin Prod version: 3.1.7 File version: 3.1.7 MachineType: 64-bit Binary Version: 3001.7.0.0 Original Name: cygwin1.dll Internal Name: cygwin1.dll Copyright: Copyright ? Cygwin Authors 1996-2020 Comments: n/a Entropy: 6.011 $ sigcheck -a `cygpath -m /bin/cygwin1.dll` Sigcheck v2.73 - File version and signature viewer Copyright (C) 2004-2019 Mark Russinovich Sysinternals - www.sysinternals.com c:\...\bin\cygwin1.dll: Verified: Unsigned Link date: 17:00 1969-12-31 Publisher: n/a Company: n/a Description: n/a Product: n/a Prod version: n/a File version: n/a MachineType: 64-bit Binary Version: n/a Original Name: n/a Internal Name: n/a Copyright: n/a Comments: n/a Entropy: 5.934 $ wmic datafile where name='"'`cygpath -w /bin/cygwin1-old.dll|sed -e 's@\\\\@&&@g'`'"' get /format:list AccessMask=2032127 Archive=TRUE Caption=C:\...\bin\cygwin1-old.dll Compressed=FALSE CompressionMethod= CreationClassName=CIM_LogicalFile CreationDate=20200723000343.010135-360 CSCreationClassName=Win32_ComputerSystem CSName=... Description=C:\...\bin\cygwin1-old.dll Drive=c: EightDotThreeFileName=c:\...\bin\cy473f~2.dll Encrypted=FALSE EncryptionMethod= Extension=dll FileName=cygwin1-old FileSize=3551958 FileType=Application Extension FSCreationClassName=Win32_FileSystem FSName=NTFS Hidden=FALSE InstallDate=20200723000343.010135-360 InUseCount= LastAccessed=20211112142818.465322-420 LastModified=20200803094909.988243-360 Manufacturer=Red Hat Name=C:\...\bin\cygwin1-old.dll Path=\...\bin\ Readable=TRUE Status=OK System=FALSE Version=3001.7.0.0 Writeable=TRUE $ wmic datafile where name='"'`cygpath -w /bin/cygwin1.dll|sed -e 's@\\\\@&&@g'`'"' get /format:list AccessMask= Archive=TRUE Caption=C:\...\bin\cygwin1.dll Compressed=FALSE CompressionMethod= CreationClassName=CIM_LogicalFile CreationDate=20210926060704.341363-420 CSCreationClassName=Win32_ComputerSystem CSName=... Description=C:\...\bin\cygwin1.dll Drive=c: EightDotThreeFileName=c:\...\bin\cygwin1.dll Encrypted=FALSE EncryptionMethod= Extension=dll FileName=cygwin1 FileSize=3553176 FileType=Application Extension FSCreationClassName=Win32_FileSystem FSName=NTFS Hidden=FALSE InstallDate=20210926060704.341363-420 InUseCount= LastAccessed=20211112144808.053049-420 LastModified=20210924151439.000000-420 Manufacturer= Name=C:\...\bin\cygwin1.dll Path=\...\bin\ Readable=TRUE Status=OK System=FALSE Version= Writeable=TRUE -- 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. [Data in binary units and prefixes, physical quantities in SI.]