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

Side by Side Diff: third_party/libxml/patches/win32-clobber-makefile

Issue 2951008: Update libxml to 2.7.7. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 Index: libxml/win32/configure.js
2 ===================================================================
3 --- libxml.orig/win32/configure.js 2010-07-09 14:56:07.769093841 -0700
4 +++ libxml/win32/configure.js 2010-07-09 15:36:48.590268611 -0700
5 @@ -611,7 +611,13 @@
6 makefile = ".\\Makefile.mingw";
7 else if (compiler == "bcb")
8 makefile = ".\\Makefile.bcb";
9 -fso.CopyFile(makefile, ".\\Makefile", true);
10 +var new_makefile = ".\\Makefile";
11 +var f = fso.FileExists(new_makefile);
12 +if (f) {
13 + var t = fso.GetFile(new_makefile);
14 + t.Attributes = 0;
15 +}
16 +fso.CopyFile(makefile, new_makefile, true);
17 WScript.Echo("Created Makefile.");
18 // Create the config.h.
19 var confighsrc = "..\\include\\win32config.h";
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698