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
1 file changed
tree: 296df7932bdd311742810b663815f17a35e777eb
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/