Commit Graph

11 Commits

Author SHA1 Message Date
Elliott Hughes 5877c21436 Remove HAVE_SYMLINKS.
Change-Id: I685357292af45a048439f0df0ae45f513479841a
2015-01-12 17:21:01 -08:00
Yabin Cui 4120e835fb kill HAVE_STAT_ST_MTIM
Bug: 18300671
Change-Id: I92b5691924b995d9c883fc0f777c566ac4c35d1d
2014-11-10 15:27:49 -08:00
Andrew Hsieh 276053b291 Use %zd instead of %d for variables of type ssize_t
To generate correct 64-bit code (with -m64)

Change-Id: I7cd5e0c7e8bdcb9ea3bf73df0dcda55f1cb56eec
2012-02-27 16:06:00 -08:00
Raphael Moll a63e3cc186 Cygwin fix: Use new #if HAVE_STAT_ST_MTIM
stat.st_mtim doesn't exist under MinGW or Cygwin.

Change-Id: I0d9c81a0529d8d289d84600ed9d1a451e7f1f258
2010-11-01 15:53:45 -07:00
Jean-Baptiste Queru 8884bf02d8 Fix build - USE_MINGW seems to be the preferred define
Change-Id: I57dd7f5029ed1fe3a74be7573a28fa894187b3a7
2010-07-09 13:25:41 -07:00
Kan-Ru Chen 24d22be31c acp: Ensure dst mtime always greater or equal to src mtime
When copying files from file systems that support high resolution
mtime, we should not truncating the nsec part. Instead we should
increase the dst mtime by one sec to prevent dst mtime to become less
than src mtime.

Change-Id: I2b4200c72c4e6ee8aae875b5e64701324799afc7
2010-07-09 11:03:14 +08:00
Jean-Baptiste Queru e3bc7aca02 Revert "acp: Ensure dst mtime always greater or equal to src mtime"
This reverts commit a67bc11058.

Change-Id: Iba646152e62d61f0e4e64541748e7821a7dd3a9c
2010-07-08 10:15:15 -07:00
Kan-Ru Chen a67bc11058 acp: Ensure dst mtime always greater or equal to src mtime
When copying files from file systems that support high resolution
mtime, we should not truncating the nsec part. Instead we should
increase the dst mtime by one sec to prevent dst mtime to become less
than src mtime.

Change-Id: I5cab1edd4b9783ec0e3ceb04ed833d8bbba00b19
2010-07-05 17:43:51 +08:00
The Android Open Source Project 88b607994a auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
The Android Open Source Project 05806d7af6 auto import from //depot/cupcake/@135843 2009-03-03 18:28:14 -08:00
The Android Open Source Project b6c1cf6de7 Initial Contribution 2008-10-21 07:00:00 -07:00