www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 24 Apr 2009 18:30:39 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: 2.9 cpio -pm file modification time not retained for new directories |
Message-ID: | <20090424163039.GI8722@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <49F19F8B DOT 7090601 AT pobox DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <49F19F8B.7090601@pobox.com> |
User-Agent: | Mutt/1.5.19 (2009-02-20) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Apr 24 12:16, Michael Ryan wrote: > Hello, > > When I run a command similar to this: > > find srcdir -depth | cpio -pdvm archive-dir > > cpio v2.9 does not retain the modification timestamp of non-empty > directories under srcdir that do not already exist in archive-dir, i.e. > when cpio creates a new non-empty directory under archive-dir its mtime > is set to the time of its creation, not the mtime of the directory it > copied from srcdir. If the directory under srcdir is empty (has no > files in it) the mtime is retained correctly. Thanks for the report. The Cygwin version of cpio has been built from the vanilla upstream sources of cpio-2.9 and it appears this is an upstream bug. I found that already quite a few bugfixes exist for cpio 2.9 and AFAICS this bug should be fixed by one of them as well. I'm somewhat time constraint in the next couple of days, but I will update cpio to all the bugfixes I have available, eventually. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |