This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shell scripts on FAT volumes


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]