Ludovic Courtès
e475211869
database: Reset timestamps to one second after the Epoch.
...
Previously, store items registered in the database by this code (for
instance, store items retrieved by 'guix offload' and passed to
'restore-file-set') would have an mtime of 0 instead of 1.
This would cause problems for things like .go files: Guile would
consider them to be older than the corresponding .scm file, and
consequently it would ignore them and possibly use another (incorrect)
.go file.
Reported by Ricardo Wurmus.
* guix/store/database.scm (reset-timestamps): Pass 1, not 0, to
'utime'.
* tests/store-database.scm ("register-path"): Check the mtime of FILE
and REF.
2018-07-20 15:01:33 +02:00
..
2017-03-16 22:50:14 +01:00
2016-04-03 14:19:09 +02:00
2014-03-30 12:02:10 +02:00
2017-01-26 13:49:56 +01:00
2016-09-07 23:59:02 +02:00
2016-04-03 14:19:09 +02:00
2017-04-22 14:42:15 +02:00
2017-01-14 00:57:51 +01:00
2016-05-04 23:35:55 +02:00
2017-05-31 17:08:45 +02:00
2017-10-30 17:20:42 +01:00
2016-04-03 14:19:09 +02:00
2017-05-13 12:40:20 +02:00
2017-02-13 16:04:09 +01:00
2015-11-26 22:35:01 +01:00
2016-05-28 01:07:12 +02:00
2018-01-30 22:24:06 +01:00
2017-07-03 23:51:23 +02:00
2018-03-18 22:33:41 +01:00
2017-09-14 00:10:13 +02:00
2018-07-11 07:08:54 +03:00
2018-07-19 11:48:04 +02:00
2018-03-18 22:57:17 +01:00
2016-04-03 14:19:09 +02:00
2017-08-24 23:55:51 +02:00
2018-06-06 14:37:35 +02:00
2016-04-03 14:19:09 +02:00
2015-10-19 10:10:47 +02:00
2014-04-22 11:30:58 +02:00
2018-05-04 15:07:08 +02:00
2018-04-19 19:06:26 +02:00
2017-08-20 20:55:45 +08:00
2018-03-02 11:55:43 +01:00
2018-02-21 22:16:38 -05:00
2018-03-27 14:51:44 +02:00
2016-05-21 01:35:14 +02:00
2016-10-28 22:30:17 +02:00
2016-05-24 14:45:18 +02:00
2018-07-05 21:35:55 +02:00
2017-06-02 18:47:06 +02:00
2018-07-13 17:28:39 +02:00
2018-05-28 13:24:19 +02:00
2018-07-12 20:35:04 +02:00
2018-07-19 17:08:53 +02:00
2018-02-16 11:10:12 +01:00
2018-07-13 17:28:39 +02:00
2017-12-10 21:59:07 +02:00
2017-05-25 14:25:17 +02:00
2016-04-03 14:19:09 +02:00
2018-07-19 11:48:04 +02:00
2018-07-10 10:11:01 +02:00
2018-06-01 15:17:41 +02:00
2018-06-09 12:02:28 +02:00
2017-03-16 22:50:14 +01:00
2016-04-03 14:19:09 +02:00
2017-09-28 13:10:10 +02:00
2018-05-17 01:00:50 -04:00
2018-03-22 12:54:31 +01:00
2017-06-18 00:14:07 +02:00
2018-05-23 10:21:02 +02:00
2017-12-23 00:05:05 +01:00
2016-04-03 14:19:09 +02:00
2017-04-04 00:10:00 +02:00
2018-01-21 00:24:03 +01:00
2016-04-03 14:19:09 +02:00
2013-12-20 17:17:42 +01:00
2013-12-20 17:17:42 +01:00
2017-04-07 00:17:16 +02:00
2016-04-03 14:19:09 +02:00
2018-07-20 15:01:33 +02:00
2018-07-03 00:39:11 +02:00
2018-07-19 11:48:04 +02:00
2017-09-11 11:10:21 +02:00
2018-07-03 17:50:04 +02:00
2018-06-21 23:54:15 +02:00
2012-04-19 23:09:55 +02:00
2017-06-15 17:03:19 +02:00
2017-05-10 22:05:21 +02:00
2018-05-10 14:53:56 +02:00
2016-04-03 14:19:09 +02:00
2018-05-13 13:29:27 +02:00
2018-05-19 00:14:52 +02:00
2017-11-17 10:47:49 +01:00
2017-10-11 15:20:50 +02:00