You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/03/25 11:03:39 UTC

[GitHub] [mynewt-newt] utzig commented on issue #276: Truncate sub-seconds from file modification times

utzig commented on issue #276: Truncate sub-seconds from file modification times
URL: https://github.com/apache/mynewt-newt/pull/276#issuecomment-476148757
 
 
   `ar` seems to always creates the output file with `mkstemp` and copy it after it's finished archiving. When copying to the final file, it sometimes uses a simple read -> write to buffer loop and sets the time manually, and this routine might zero `tv_usecs` as can be seen here:
   
   https://github.com/bminor/binutils-gdb/blob/master/binutils/rename.c#L113
   
   Not sure this is what's happening though...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services