Re: 1.7.35: .sh script in dos format does not work.

2015-04-22 Thread Eric Blake
On 04/22/2015 03:24 PM, cyg Simple wrote: >> From: Eric Blake >> >> It looks like something is going wrong with lseek() mixed with text-mode >> mounts. >> > > I thought lseek was reserved for binary only channels due to the loss of > character count because of the CRLF to LF translation. [you ma

RE: 1.7.35: .sh script in dos format does not work.

2015-04-22 Thread cyg Simple
> From: Eric Blake > > It looks like something is going wrong with lseek() mixed with text-mode > mounts. > I thought lseek was reserved for binary only channels due to the loss of character count because of the CRLF to LF translation. -- cyg Simple -- Problem reports: http://cygwin.c

Re: 1.7.35: .sh script in dos format does not work.

2015-04-20 Thread Corinna Vinschen
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. > > You're not the first to report it: > https://cygwin.com/ml/cygwin/2015-03/msg00466.html > > > > > mod is chm

Re: 1.7.35: .sh script in dos format does not work.

2015-04-20 Thread Eric Blake
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 of

Re: 1.7.35: .sh script in dos format does not work.

2015-04-19 Thread Sean Nakasone
oh, i didnt know about the igncr option. thankyou. Sent from my iPhone > On Apr 19, 2015, at 9:22 AM, Andrey Repin wrote: > > Greetings, sean nakasone! > >> Here's my fstab entry: >> none /cygdrive cygdrive text,posix=0,user 0 0 > > This is a VERY, VERY, VERY bad idea. > >> I downgraded to

Re: 1.7.35: .sh script in dos format does not work.

2015-04-19 Thread Andrey Repin
Greetings, sean nakasone! > Here's my fstab entry: > none /cygdrive cygdrive text,posix=0,user 0 0 This is a VERY, VERY, VERY bad idea. > I downgraded to cygwin 1.7.33 and I don't get the error. > I read the fstab documentation, can't figure out what "none" is used for. > I tried other fstab

1.7.35: .sh script in dos format does not work.

2015-04-19 Thread sean nakasone
Hi Folks, I think the .sh scripts that are in dos format are not being interpreted properly. --- Workflow to reproduce error --- Downloaded cygwin 1.7.35, changed binary to text in the etc/fstab file. Created a sh script with contents below: touch a.txt chmod 777 a.txt Put 2 newlines at the e