jdk/src/windows/native/java/io/WinNTFileSystem_md.c
changeset 22962 309eaab8c853
parent 22631 ac85b05a53f4
child 23565 b28f771b8cbe
equal deleted inserted replaced
22961:37d77143ce29 22962:309eaab8c853
   358 JNIEXPORT jint JNICALL
   358 JNIEXPORT jint JNICALL
   359 Java_java_io_WinNTFileSystem_getBooleanAttributes(JNIEnv *env, jobject this,
   359 Java_java_io_WinNTFileSystem_getBooleanAttributes(JNIEnv *env, jobject this,
   360                                                   jobject file)
   360                                                   jobject file)
   361 {
   361 {
   362     jint rv = 0;
   362     jint rv = 0;
   363     jint pathlen;
       
   364 
   363 
   365     WCHAR *pathbuf = fileToNTPath(env, file, ids.path);
   364     WCHAR *pathbuf = fileToNTPath(env, file, ids.path);
   366     if (pathbuf == NULL)
   365     if (pathbuf == NULL)
   367         return rv;
   366         return rv;
   368     if (!isReservedDeviceNameW(pathbuf)) {
   367     if (!isReservedDeviceNameW(pathbuf)) {