X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10202251505.AA14564@clio.rice.edu> Subject: Re: cp complains about timestamps of directories To: djgpp-workers AT delorie DOT com Date: Mon, 25 Feb 2002 09:05:23 -0600 (CST) Cc: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) In-Reply-To: from "Eli Zaretskii" at Feb 25, 2002 07:55:28 AM X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > If you are asking where does `cp' check if setting the time stamp of a > directory failed, then it's in the application code. Okay, just wondering if there was something magic in libc or if it was in fileutils code. > What does "cp --version" say, and what is the dat of your binary? Both are 4.0; dates are 12/26/01 for the v2.03 refresh, 9/29/01 for old CVS build. > It's possible that my binary is not the latest one, so perhaps this > problem was fixed larter. Since I saw the problem also, I don't think it's fixed. > > I also observed random failures when setting the file dates. Using both > > the cvs version and 2.03 refresh I got some EACCES errors (1 or 2 for each > > tree also in the bin directory). File copied fine, but the date was not > > set. This testing was under Win95 (don't have access to other boxes now). > > This should be investigated, IMHO. Setting file dates should work. Is > it truly random, i.e. each time a different file, or are some specific > files involved? It appears truely random, and it's on Windows 95, so I expect it to be flakey. (My wife had all the good boxes taken when I was reading email). If I get a chance I'll check some more.