mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8190737: use unicode version of the canonicalize() function to handle long path on windows
Also calling CreateFileW in zip_util.c to handle long path Reviewed-by: sherman, iklam
This commit is contained in:
parent
d4612426ce
commit
fcc414655b
5 changed files with 111 additions and 33 deletions
|
@ -38,7 +38,7 @@
|
|||
*/
|
||||
WCHAR* pathToNTPath(JNIEnv *env, jstring path, jboolean throwFNFE);
|
||||
WCHAR* fileToNTPath(JNIEnv *env, jobject file, jfieldID id);
|
||||
WCHAR* getPrefixed(const WCHAR* path, int pathlen);
|
||||
__declspec(dllexport) WCHAR* getPrefixed(const WCHAR* path, int pathlen);
|
||||
WCHAR* currentDir(int di);
|
||||
int currentDirLength(const WCHAR* path, int pathlen);
|
||||
int handleAvailable(FD fd, jlong *pbytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue