From: SourceForge.net <no...@so...> - 2007-01-22 02:42:49
|
Bugs item #1641048, was opened at 2007-01-21 16:36 Message generated for change (Comment added) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1641048&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: msys Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Cesar Strauss (cstrauss) >Assigned to: Nobody/Anonymous (nobody) Summary: Calling write before utime result in wrong modification time Initial Comment: The attached test-utime.c test case does a simple open->write->utime->close sequence. It should create a file with a modification time of 'Jul 1 1998'. The modification time is captured just after utime, and after the close. It fails on MSYS, but it passes on other platforms (Cygwin, Ubuntu 6.10). To make it pass on MSYS, I had to insert a fsync call before utime, or comment the write. System info: Windows XP Home SP 2 gcc version 2.95.3-1 ld version 2.11.90 (with BFD 2.11.90) MinGW installer: manual (tar -zxf) MSYS build environment $ uname -a MSYS_NT-5.1 CESAR 1.0.11(0.46/3/2) 2007-01-17 12:36 i686 Msys MinGW runtime version: 3.11 w32api version (MSYS DVLPR): 1.3 ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2007-01-21 21:42 Message: Logged In: YES user_id=15438 Originator: NO I'm unassigning it in case someone else can pick it up while I'm away. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1641048&group_id=2435 |