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.
You're not the first to report it: https://cygwin.com/ml/cygwin/2015-03/msg00466.html > > 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 get > chopped off. It looks like something is going wrong with lseek() mixed with text-mode mounts. > > I downgraded to cygwin 1.7.33 and I don't get the error. But that's new information. I hope we haven't broken text mode mounts in recent cygwin changes. I still need to find time to investigate more to see whether it is bash's fault or cygwin's fault. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature