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

Unified Diff: third_party/libxslt/chromium/get-file-attributes-a.patch

Issue 2865973002: Check in the libxslt roll script. (Closed)
Patch Set: Consistent quotes. Created 3 years, 7 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 | « third_party/libxslt/aclocal.m4 ('k') | third_party/libxslt/chromium/roll.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libxslt/chromium/get-file-attributes-a.patch
diff --git a/third_party/libxslt/chromium/get-file-attributes-a.patch b/third_party/libxslt/chromium/get-file-attributes-a.patch
new file mode 100644
index 0000000000000000000000000000000000000000..5c51464d46ee811885501031aef76d8bdae9d8c1
--- /dev/null
+++ b/third_party/libxslt/chromium/get-file-attributes-a.patch
@@ -0,0 +1,13 @@
+diff --git a/src/libxslt/security.c b/src/libxslt/security.c
+index 89de90bd3f1e..965175f79ca4 100644
+--- src/libxslt/security.c
++++ src/libxslt/security.c
+@@ -282,7 +282,7 @@ xsltCheckFilename (const char *path)
+ #if defined(WIN32) && !defined(__CYGWIN__)
+ DWORD dwAttrs;
+
+- dwAttrs = GetFileAttributes(path);
++ dwAttrs = GetFileAttributesA(path);
+ if (dwAttrs != INVALID_FILE_ATTRIBUTES) {
+ if (dwAttrs & FILE_ATTRIBUTE_DIRECTORY) {
+ return 2;
« no previous file with comments | « third_party/libxslt/aclocal.m4 ('k') | third_party/libxslt/chromium/roll.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698