From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91043 invoked by alias); 19 Jun 2017 16:38:26 -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 91014 invoked by uid 89); 19 Jun 2017 16:38:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_50,EXECUTABLE_URI,KAM_EXEURI,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=kenneth, Saving, Kenneth, Nellis X-HELO: out4-smtp.messagingengine.com Received: from out4-smtp.messagingengine.com (HELO out4-smtp.messagingengine.com) (66.111.4.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Jun 2017 16:38:22 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 357362087B; Mon, 19 Jun 2017 12:38:26 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Mon, 19 Jun 2017 12:38:26 -0400 X-ME-Sender: Received: from [192.168.1.102] (host86-158-32-120.range86-158.btcentralplus.com [86.158.32.120]) by mail.messagingengine.com (Postfix) with ESMTPA id BA7F1248E7; Mon, 19 Jun 2017 12:38:25 -0400 (EDT) Subject: Re: Updated: setup (2.880) To: The Cygwin Mailing List References: <088b3d84-aad8-4984-1892-b66b9714f343@dronecode.org.uk> Cc: "Nellis, Kenneth" From: Jon Turney Message-ID: <64836b8b-3a53-4cf6-cea4-b8406d10c9b9@dronecode.org.uk> Date: Mon, 19 Jun 2017 16:38:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2017-06/txt/msg00224.txt.bz2 On 19/06/2017 16:29, Nellis, Kenneth wrote: > #!/bin/sh > # From http://cygwin.com/ml/cygwin/2012-04/msg00714.html > name=setup-x86_64.exe > wget -O $name --quiet http://cygwin.com/$name || exit > # ACL issues require some fixing up after wget > chmod +x $name > exit > > ...but Windows complained about the file format when I tried to launch > it. Then "file" told me... > > $ file *.exe > setup-x86_64.exe: gzip compressed data, from Unix > $ > > ...so I added suffix .gz and then used (actually) WinZip to unzip > it, and it created a working setup.exe. > > So, is this new behavior? Is it to be expected going forward? This behaviour is not expected or wanted. I can't reproduce it, either. > $ wget https://cygwin.com/setup-x86_64.exe > --2017-06-19 17:31:56-- https://cygwin.com/setup-x86_64.exe > Resolving cygwin.com... 209.132.180.131 > Connecting to cygwin.com|209.132.180.131|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: 906771 (886K) [application/octet-stream] > Saving to: ‘setup-x86_64.exe’ > > setup-x86_64.exe 100%[===================>] 885.52K 550KB/s in 1.6s > > 2017-06-19 17:31:58 (550 KB/s) - ‘setup-x86_64.exe’ saved [906771/906771] > > $ file setup-x86_64.exe > setup-x86_64.exe: PE32+ executable (GUI) x86-64, for MS Windows > > $ xxd setup-x86_64.exe | head -1 > 00000000: 4d5a 9000 0300 0000 0400 0000 ffff 0000 MZ.............. Do you have something in your ~/.wgetrc to add an "accept-encoding: gzip" header or something? -- 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