mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-29 00:32:35 +08:00
f38af628c9
Fuchsia errors out in rename() when source == dest. I believe this is incorrect according to http://pubs.opengroup.org/onlinepubs/9699919799/functions/rename.html, but it's also relatively easy to work around in our code, and this fixes CrashReportDatabaseTest.RequestUpload. This is ZX-1729 upstream. Bug: crashpad:196 Change-Id: I27473183b04484e146a7bd9e87e60be3aeff1932 Reviewed-on: https://chromium-review.googlesource.com/923708 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org>