mtime question

Manuel Gonzalez Montoya manuel.gonzalez.montoya@gmail.com
Mon Apr 7 20:51:00 GMT 2008


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/



More information about the Cygwin mailing list