From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99776 invoked by alias); 20 Apr 2015 15:14:04 -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 99743 invoked by uid 89); 20 Apr 2015 15:14:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Apr 2015 15:14:02 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 0D6D3A805A0; Mon, 20 Apr 2015 17:14:00 +0200 (CEST) Date: Mon, 20 Apr 2015 15:14:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: 1.7.35: .sh script in dos format does not work. Message-ID: <20150420151400.GT3657@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <235472002.6091440.1429465717870.JavaMail.yahoo@mail.yahoo.com> <55351612.1040803@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OE5XN2KVoD5QaTkR" Content-Disposition: inline In-Reply-To: <55351612.1040803@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-04/txt/msg00469.txt.bz2 --OE5XN2KVoD5QaTkR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 962 On Apr 20 09:06, Eric Blake wrote: > On 04/19/2015 11:48 AM, sean nakasone wrote: > > Hi Folks, I think the .sh scripts that are in dos format are not being = interpreted properly. >=20 > You're not the first to report it: > https://cygwin.com/ml/cygwin/2015-03/msg00466.html >=20 > >=20 > > mod is chmod with the first 2 characters erroneously chopped off. > > The more newlines you put at the end of the file, the more characters g= et chopped off. >=20 > It looks like something is going wrong with lseek() mixed with text-mode > mounts. >=20 > >=20 > > I downgraded to cygwin 1.7.33 and I don't get the error. >=20 > But that's new information. I hope we haven't broken text mode mounts > in recent cygwin changes. Nothing has changed in Cygwin in terms of text mode files or lseek for a long time. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --OE5XN2KVoD5QaTkR Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVNRe3AAoJEPU2Bp2uRE+gBMAP/1tCy4Tklays5xHarJJygm4Z YCSIzzrp7EP2zeoDoSrt4pvHaWIgowsDOFPdujWdOg8kCzL5f/4Z3HIYXSgCV6/5 gFgsrNbhB4Cfs/r/YnB+0sG9bekGgarp64hVO02dkdZ/+P7MxFgOQK/eK8BNJMvj CwEGOWfvY5P82lTL8FWlRRHvhSuuLtZsUBjwFU8AGyyH/lIGwiWUOWZc/9g4KvQL zrAoH82EAxsyMqAt4a0iDYBnjWRUjZZFpUpnqiQKLtkQNXD+iswHLGfZw5u2Si3N L9IqEvf9x2P+nZzszx6GIU31HIbbgcob53IAja5H7IG751K51avO6jzJ8ECL1bnE k65Od/6LxOrkBHLjehi0ELYO/acOqybQennqTTxaD9YY1SKgDcYpg603nFWOvaGL /KiOPwrQ8AtiutJYyswG1y7byFgED7ssL/7xOpZbR52h+tYHCIzEuAU/QKXnwi+Z 1Zjke6nOPvLOzrp7Vdmo95m8IAYnIwr3hQnbsLjEr7uFh2nAEyWlTk+Y8fTI7qze LtKZ3JvHfgTTku96SNiV0NJcqVxqMs6H4ubTMdrtb+Y8i/wCWziBaIyAPms6l5ld cljrQMz3MuW8wauU3KthZuSKI3x+DgS2y/Wj8aI+Ox1YY9ytv51eM3fqnP3gmVYo 8WwlOpC/4dgbcB9TSCmX =YoLl -----END PGP SIGNATURE----- --OE5XN2KVoD5QaTkR--