X-Spam-Check-By: sourceware.org
Date: Tue, 21 Aug 2007 17:38:27 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Shell scripts on FAT volumes
Message-ID: <20070821153827.GL23854@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <faetbb$q26$1@sea.gmane.org> <20070821150031.GK23854@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070821150031.GK23854@calimero.vinschen.de>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Aug 21 17:00, Corinna Vinschen wrote:
> On Aug 21 15:37, Thorsten Kampe wrote:
> > [Cygwin latest snapshot]
> > 
> > I just noticed (on two different Windows XP) Cygwin installation that 
> > Shebang shell scripts are not executable on FAT32 volumes
> > [...]
> > Is that expected behaviour?
> 
> Right now, yes.  I have disabled code which sets the x bit by reading
> the first bytes of a file to figure out if it starts with magic chars
> like '#!'.  The reason I disabled this code in the first place is the
> fact that it's not thread safe.

I just applied a patch which re-enables this code in a thread safe manner.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

