This is the mail archive of the cygwin@sources.redhat.com 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]

autoheader (mv/exec) problem


When running autoheader, I kept getting error messages like the
following:

    mv: cannot move `autoh16138' to `config.h.in': Permission denied

But after autoheader exited, I could successfully execute:

    mv autoh16138 config.h.in

without any problems.

By reading the (shell script) source to autoheader, I determined that
the problem has to do with trying to move a file when it is still open
-- which is no surprise since Cygwin is sitting on top of Windows...

The attached shell script exhibits the above problem on Cygwin but works
on Linux.  I'm not sure if this one is fixable...

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

j.sh

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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