HADOOP-10925. Compilation fails in native link0 function on Windows. Contributed by Chris Nauroth.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1615320 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a41c314373
commit
c614ceed84
|
@ -413,6 +413,9 @@ Trunk (Unreleased)
|
||||||
HADOOP-10920. site plugin couldn't parse hadoop-kms index.apt.vm.
|
HADOOP-10920. site plugin couldn't parse hadoop-kms index.apt.vm.
|
||||||
(Akira Ajisaka via wang)
|
(Akira Ajisaka via wang)
|
||||||
|
|
||||||
|
HADOOP-10925. Compilation fails in native link0 function on Windows.
|
||||||
|
(cnauroth)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-7761. Improve the performance of raw comparisons. (todd)
|
HADOOP-7761. Improve the performance of raw comparisons. (todd)
|
||||||
|
|
|
@ -1081,7 +1081,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