equal
deleted
inserted
replaced
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)) { |