Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(810)

Unified Diff: bfd/cache.c

Issue 23903052: fix Base URL: http://git.chromium.org/native_client/nacl-binutils.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | bfd/elf-bfd.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bfd/cache.c
diff --git a/bfd/cache.c b/bfd/cache.c
index cf1869d0ed5c1139a67f78d9195b1034b58e80eb..f8c2c432d3ab99d2185cf53ac1b4a5ae8f9b9597 100644
--- a/bfd/cache.c
+++ b/bfd/cache.c
@@ -565,7 +565,7 @@ bfd_open_file (bfd *abfd)
So we unlink the output file if and only if it has
non-zero size. */
-#ifndef __MSDOS__
+#if !defined __MSDOS__ && !defined __native_client__
/* Don't do this for MSDOS: it doesn't care about overwriting
a running binary, but if this file is already open by
another BFD, we will be in deep trouble if we delete an
« no previous file with comments | « no previous file | bfd/elf-bfd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698