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

Re: cygwin-developers Digest 26 Jul 2001 14:40:32 -0000 Issue 522



> The autoconf testsuite creates a lot of temporary directories and
> files in them below /tmp. The directories are named using two
> characters (e.g. "ac") and the PID of the current process.So a
> typical name is `ac1322' on NT/W2K. Let's work out that example.
> 
> After performing the related test, the testsuite removes the
> testdirectory ("/tmp/ac1322") and moves forward to the next
> test.
> 
> Now the problem suddenly shows up:
> 
> The testsuite fails to remove the temporary directory when running
> under 1.3.3.


Well, I just noticed that after running the autoconf test suite under 
1.3.2 -- which passes -- I have a bunch of ac* directories left in my 
/tmp dir, as well.  (I didn't *specifically* notice before, because I 
thought those dirs were leftovers from failed automake or libtool tests, 
not autoconf).

Perhaps 1.3.2 is just "lucky" -- did the mechanism for assining PIDs (as 
seen by cygwin processes) change between 1.3.2 and 1.3.3; that is, are 
PIDs more likely to collide now?

Or, did the return val of mkdir() change when dir-already-exists?

Of course, even if I'm right about the PID issue (and I doubt it) the 
inability to remove dirs under 1.3.3 would still be a problem...


--Chuck




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