X-Recipient: archive-cygwin@delorie.com X-Spam-Check-By: sourceware.org Message-ID: Date: Mon, 7 Apr 2008 15:51:06 -0500 From: "Manuel Gonzalez Montoya" To: cygwin@cygwin.com Subject: mtime question MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Hi all, I'm writing a little program in C in order to detect when a file download is completed. The way i do that is checking when file's mtime stop changing. So far the code works ok on a real Linux installation, but I'm having problems on cygwin because mtime is changed only once at the end of the transfer. so before going forward with this, here is my question: Is the file's mtime supposed to change on every write to the file?. Thanks in advance. -- 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/