HADOOP-10925 Compilation fails in native link0 function on Windows.

This commit is contained in:
Chris Nauroth 2014-08-02 15:02:23 +00:00 committed by Steve Loughran
parent e736018601
commit b601e69d9d
2 changed files with 4 additions and 1 deletions

View File

@ -337,6 +337,9 @@ Release 2.6.0 - UNRELEASED
HADOOP-10937. Need to set version name correctly before decrypting EEK. HADOOP-10937. Need to set version name correctly before decrypting EEK.
(Arun Suresh via wang) (Arun Suresh via wang)
HADOOP-10925. Compilation fails in native link0 function on Windows.
(cnauroth)
HADOOP-10918. JMXJsonServlet fails when used within Tomcat. (tucu) HADOOP-10918. JMXJsonServlet fails when used within Tomcat. (tucu)
HADOOP-10939. Fix TestKeyProviderFactory testcases to use default 128 bit HADOOP-10939. Fix TestKeyProviderFactory testcases to use default 128 bit

View File

@ -1114,7 +1114,7 @@ done:
if (!src) goto done; // exception was thrown if (!src) goto done; // exception was thrown
dst = (LPCTSTR) (*env)->GetStringChars(env, jdst, NULL); dst = (LPCTSTR) (*env)->GetStringChars(env, jdst, NULL);
if (!dst) goto done; // exception was thrown if (!dst) goto done; // exception was thrown
if (!CreateHardLink(dst, src)) { if (!CreateHardLink(dst, src, NULL)) {
throw_ioe(env, GetLastError()); throw_ioe(env, GetLastError());
} }