www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/07/29/18:49:45

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Message-ID: <3B649305.2090302@ece.gatech.edu>
Date: Sun, 29 Jul 2001 18:49:41 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
CC: cygwin-developers AT sources DOT redhat DOT com
Subject: Re: Problems with autoconf-2.52 testsuite using current CVS Cygwin
References: <996329431 DOT 27668 DOT ezmlm AT sources DOT redhat DOT com> <3B63432E DOT 6050309 AT ece DOT gatech DOT edu>

 > Chuck, I tested your version and well ......it did not
 > perform nowhere near as good....and yes it produced
 > errors with file collisions..

Hmmm...I like the the version at courtesan.com; it's much better than 
mine.  The main difference is in the implementation of mkdtemp() and 
portability.  Anyway, I rebuilt autoconf (with the courtesan-mktemp.exe 
installed), and re-ran the tests, under stock cygwin-1.3.2.

It worked fine.

Then, I re-ran the tests (without rebuilding autoconf) but after having 
replaced cgywin1.dll with cygwin1-20010728.dll.

Some of the tests failed.  Interestingly, even on tests that passed, I 
get a lot of errors like this:

rm: cannot change to directory `1/2': Permission denied
rm: cannot remove directory `1': Directory not empty

ls -lF <build-dir>/tests/1 shows:
d--------- 0 cwilson None     0 Jul 29 17:30 2/

Note that the directory <build-dir>/tests/1/2/ was NOT created by mktemp 
or any of its brethren.  .../1/2 was directly created by the testing 
script -- but then cannot be removed.

This looks like a cygwin1.dll problem with file (directory?) creation, 
not mktemp implementations.

Hmm...try this:

$ mkdir foo
$ ls -ldF foo
drwxrwxr-x    2 cwilson None     0 Jul 29 18:40 foo/
$ rmdir foo

$ mkdir -p foo/bar
$ ls -ldF foo
drwxrwxr-x 2 cwilson None 0 Jul 29 18:40 foo/
$ ls -ldF foo/bar
d--------- 0 cwilson None 0 Jul 29 18:40 foo/bar/

Then this:

$ mkdir -p a/b/c/d/e/f
mkdir: cannot chdir to directory, `a/b': Permission denied

It looks like there's a problem with 'mkdir -p' in cygwin-CVS.  I'll dig 
around and see what's changed in there recently...unless anybody already 
knows offhand?

--Chuck


mkdir -

--Chuck




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019