| Index: third_party/libxslt/libxslt/security.c
|
| diff --git a/third_party/libxslt/libxslt/security.c b/third_party/libxslt/libxslt/security.c
|
| index 54a736e4848441dfb704f3e55a87a524230bbcf0..89de90bd3f1ebdb09310f562a35bcd599824b379 100644
|
| --- a/third_party/libxslt/libxslt/security.c
|
| +++ b/third_party/libxslt/libxslt/security.c
|
| @@ -181,7 +181,7 @@ xsltGetSecurityPrefs(xsltSecurityPrefsPtr sec, xsltSecurityOption option) {
|
| */
|
| void
|
| xsltSetDefaultSecurityPrefs(xsltSecurityPrefsPtr sec) {
|
| -
|
| +
|
| xsltDefaultSecurityPrefs = sec;
|
| }
|
|
|
| @@ -206,7 +206,7 @@ xsltGetDefaultSecurityPrefs(void) {
|
| *
|
| * Returns -1 in case of error, 0 otherwise
|
| */
|
| -int
|
| +int
|
| xsltSetCtxtSecurityPrefs(xsltSecurityPrefsPtr sec,
|
| xsltTransformContextPtr ctxt) {
|
| if (ctxt == NULL)
|
| @@ -265,7 +265,7 @@ xsltSecurityForbid(xsltSecurityPrefsPtr sec ATTRIBUTE_UNUSED,
|
| *
|
| * TODO: remove at some point !!!
|
| * Local copy of xmlCheckFilename to avoid a hard dependency on
|
| - * a new version of libxml2
|
| + * a new version of libxml2
|
| *
|
| * if stat is not available on the target machine,
|
| * returns 1. if stat fails, returns 0 (if calling
|
| @@ -282,7 +282,7 @@ xsltCheckFilename (const char *path)
|
| #if defined(WIN32) && !defined(__CYGWIN__)
|
| DWORD dwAttrs;
|
|
|
| - dwAttrs = GetFileAttributesA(path);
|
| + dwAttrs = GetFileAttributesA(path);
|
| if (dwAttrs != INVALID_FILE_ATTRIBUTES) {
|
| if (dwAttrs & FILE_ATTRIBUTE_DIRECTORY) {
|
| return 2;
|
|
|