1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Date: Wed, 20 Apr 2016 06:43:11 +0100
Subject: Channel's _lastmodified is an int and not a string #52
Makes the build reproducible (dh_strip_nondeterminism works).
Bug: https://github.com/pear/pear-core/pull/52
diff --git a/PEAR/Registry.php b/PEAR/Registry.php
index 6103907..759b53f 100644
--- a/PEAR/Registry.php
+++ b/PEAR/Registry.php
@@ -1008,7 +1008,7 @@ class PEAR_Registry extends PEAR
if ($lastmodified) {
$info['_lastmodified'] = $lastmodified;
} else {
- $info['_lastmodified'] = date('r');
+ $info['_lastmodified'] = time();
}
fwrite($fp, serialize($info));
|