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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=K/trG4O8C+tJXGthoaNFc3G8XrOhjQi7j4X6G3JLKJG/oxCIkrhir B98Q3WhDfybA/36DI7kjwEA4jBVt4ldHBr1kt8S44ZIgP8QLZ4niNdfPyAe1A5fK FpJWWljilaHGB17M13SYcFkgVDZ7mVFrBSAbOXXbuDYiJAX7qp0FZo= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=wXPw5fsyiyqGQ4qKZl4lDZ79fqE=; b=D+guvgsZKG/IlysRJXM6PhJJiDDB WxydnWVNI0qXlBUWsV9AqH+7ElIu7Ewm3uhU9baVqyNBKjbyJUCV3JYDKIbK2/XZ Pfwut3hKacqucmz7x6pDJGqCia9Z0HOZxPRkmr5gpp5TYKmYH3Dp9dkGUM2L94LW x3omdXfLdUjktAE= 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=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 20 Apr 2015 17:14:00 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.7.35: .sh script in dos format does not work. Message-ID: <20150420151400.GT3657@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <235472002 DOT 6091440 DOT 1429465717870 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <55351612 DOT 1040803 AT redhat DOT 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) --OE5XN2KVoD5QaTkR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--