HADOOP-10925 Compilation fails in native link0 function on Windows.
This commit is contained in:
parent
e736018601
commit
b601e69d9d
|
@ -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
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue