delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/13/00:13:33

X-Spam-Check-By: sourceware.org
From: ericblake AT comcast DOT net (Eric Blake)
To: Kazuyuki Hagiwara <hagiwara AT zuken DOT co DOT jp>, cygwin AT cygwin DOT com
Subject: Re: bash-3.1-7$B!!(BBUG
Date: Wed, 13 Sep 2006 04:13:18 +0000
Message-Id: <091320060413.14920.4507855E000A4C4200003A4822007610640A050E040D0C079D0A@comcast.net>
X-Mailer: AT&T Message Center Version 1 (Apr 11 2006)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> I have extracted very short script which fails by bash-3.1-7,
> while runs successfully 3.1-6 ofcorse.
> 
> While the attached script zzz.sh has \r\n style end of line format,
> it shoud run normally since accessed through "text mount" point.

Does it work if you convert it to \n line endings, using d2u?

> [~/work] mount | grep tmp
> D:\users\hagiwara\tmp on /tmp type user (binmode)
> D:\users\hagiwara\tmp on /tmp2 type system (textmode)

Why are you mounting the same physical directory to two
different posix paths with different options?  I'm not sure
that will always work the way you expect, although I doubt
it explains the problems you are seeing.

At any rate, thanks for narrowing down your application
to a smaller test case; I'll see what I can find with it.  Any
chance you can convince your mailer to send text files
with a text mime type?  In the meantime, since 3.1-7 is
marked experimental and was not working for you, you
are under no obligation to use it.

-- 
Eric Blake
volunteer cygwin bash maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019