commit | 3abc06f9d3a944fd69ff023b7e81e0b9bae3e8fa | [log] [tgz] |
---|---|---|
author | tonyg <tonyg@chromium.org> | Thu Nov 13 01:47:03 2014 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 17:56:11 2020 +0900 |
tree | 296df7932bdd311742810b663815f17a35e777eb | |
parent | 6086841c93a61f95416209d3da64484b28a253a3 [diff] |
Fix bug in forwarder pid file writing. If we write a shorter creation time than previously, we have to truncate the file, otherwise the pid will never match. This happens in the case of rounding. For example: 1415754511.099 1415754511.09 Found this with Dave Tu's help. BUG=421249,294878 Review URL: https://codereview.chromium.org/716943003 Cr-Commit-Position: refs/heads/master@{#303843} CrOS-Libchrome-Original-Commit: 9d145aaa93ef3142508635858904102784d0ba5f