Re: [1.7] deleting in-use directories

2009-04-10 Thread Corinna Vinschen
On Apr 10 04:41, Dave Korn wrote: > Corinna Vinschen wrote: > > On Apr 9 16:13, Eric Blake wrote: > >> The Autoconf testsuite is failing several tests on cygwin 1.7 that used to > >> pass > >> on cygwin 1.5. I've traced it to the fact that 1.7 is trying to be > >> smarter > >> about deleting

Re: [1.7] deleting in-use directories

2009-04-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 4/9/2009 11:30 AM: >> Please test the latest from CVS. It should fix your problem. > > I'll let you know how it goes. Meanwhile, I've patched the autoconf > testsuite > to avoid triggering the problem in the first place.

Re: [1.7] deleting in-use directories

2009-04-09 Thread Dave Korn
Corinna Vinschen wrote: > On Apr 9 16:13, Eric Blake wrote: >> The Autoconf testsuite is failing several tests on cygwin 1.7 that used to >> pass >> on cygwin 1.5. I've traced it to the fact that 1.7 is trying to be smarter >> about deleting in-use files and directories, but doesn't quite get

Re: [1.7] deleting in-use directories

2009-04-09 Thread Corinna Vinschen
On Apr 9 17:30, Eric Blake wrote: > Corinna Vinschen cygwin.com> writes: > > > Incredible but true. It was an alignment problem with a local buffer > > in the function which moves the directory to the bin when a sharing > > violation occurs. > > > BYTE infobuf[sizeof (FILE_NAME_INFORMATION) +

Re: [1.7] deleting in-use directories

2009-04-09 Thread Eric Blake
Corinna Vinschen cygwin.com> writes: > Incredible but true. It was an alignment problem with a local buffer > in the function which moves the directory to the bin when a sharing > violation occurs. > BYTE infobuf[sizeof (FILE_NAME_INFORMATION) + 32767 * sizeof (WCHAR)] That's an awfully big bu

Re: [1.7] deleting in-use directories

2009-04-09 Thread Corinna Vinschen
On Apr 9 16:13, Eric Blake wrote: > The Autoconf testsuite is failing several tests on cygwin 1.7 that used to > pass > on cygwin 1.5. I've traced it to the fact that 1.7 is trying to be smarter > about deleting in-use files and directories, but doesn't quite get things > right. Incredible b

[1.7] deleting in-use directories

2009-04-09 Thread Eric Blake
The Autoconf testsuite is failing several tests on cygwin 1.7 that used to pass on cygwin 1.5. I've traced it to the fact that 1.7 is trying to be smarter about deleting in-use files and directories, but doesn't quite get things right. First, a test case run on Solaris (I haven't run it on Linu