New Win98 problem, similar to _unlink problem

John Fortin fortinj@attglobal.net
Sat Mar 18 19:56:00 GMT 2000


Well, got a new problem under Win98.

Attached is a very stripped autoheader script.  When I run it I get the
following:

/e/degas/lib/libgii/: autohead2.jef
mv: cannot move `autoh1015' to `config.h.in': Permission denied
/e/degas/lib/libgii/:

config.h.in does not exist...

I also attached the strace and the bash -x output.

Chris:
	Looks to me like a similar problem as the unlink problem. 

1004 _rename: try win95 hack
1004 _rename: config.h.in already_exists
1004 /e/src/winsup/cygwin/syscalls.cc:1199 seterrno: 5 (ACCESS_DENIED)
-> 13
1004 _rename: -1 = rename (autoh1002, config.h.in)


John
#! /bin/sh

if test $# -eq 0; then
  tmpout=autoh$$
  trap "rm -f $tmpout; exit 1" 1 2 15
  exec > $tmpout
fi

cat <<EOF
/* config.h.in.  Generated automatically from xxxxxxxx by autoheader.  */
EOF

mv -f $tmpout config.h.in


More information about the Cygwin-developers mailing list