src/windows/native/java/io/canonicalize_md.c
int
lastErrorReportable()
{
    DWORD errval = GetLastError();
    if ((errval == ERROR_FILE_NOT_FOUND)
        || (errval == ERROR_DIRECTORY)
        || (errval == ERROR_PATH_NOT_FOUND)
        || (errval == ERROR_BAD_NETPATH)
        || (errval == ERROR_BAD_NET_NAME)
        || (errval == ERROR_ACCESS_DENIED)
        || (errval == ERROR_NETWORK_UNREACHABLE)
        || (errval == ERROR_NETWORK_ACCESS_DENIED)) {
        return 0;
    }

#ifdef DEBUG_PATH
    jio_fprintf(stderr, "canonicalize: errval %d\n", errval);
#endif
    return 1;
}
/* If the lookup of a particular prefix fails because the file does not exist,
   because it is of the wrong type, because access is denied, or because the
   network is unreachable then canonicalization does not fail, it terminates
   successfully after copying the rest of the original path to the result path.
   Other I/O errors cause an error return.
*/
If the lookup of a particular prefix fails because the file does not exist,
because it is of the wrong type, because access is denied, or because the
network is unreachable then canonicalization does not fail, it terminates
successfully after copying the rest of the original path to the result path.
Other I/O errors cause an error return.
If the lookup of a particular prefix fails because the file does not exist because it is of the wrong type because access is denied or because the network is unreachable then canonicalization does not fail it terminates successfully after copying the rest of the original path to the result path . Other I / O errors cause an error return .
int
lastErrorReportable()
{
    DWORD errval = GetLastError();
    if ((errval == ERROR_FILE_NOT_FOUND)
        || (errval == ERROR_DIRECTORY)
        || (errval == ERROR_PATH_NOT_FOUND)
        || (errval == ERROR_BAD_NETPATH)
        || (errval == ERROR_BAD_NET_NAME)
        || (errval == ERROR_ACCESS_DENIED)
        || (errval == ERROR_NETWORK_UNREACHABLE)
        || (errval == ERROR_NETWORK_ACCESS_DENIED)) {
        return 0;
    }
#ifdef DEBUG_PATH
    jio_fprintf(stderr, "canonicalize: errval %d\n", errval);
#endif
    return 1;
}
int lastErrorReportable ( ) { DWORD errval = GetLastError ( ) ; if ( ( errval == ERROR_FILE_NOT_FOUND ) || ( errval == ERROR_DIRECTORY ) || ( errval == ERROR_PATH_NOT_FOUND ) || ( errval == ERROR_BAD_NETPATH ) || ( errval == ERROR_BAD_NET_NAME ) || ( errval == ERROR_ACCESS_DENIED ) || ( errval == ERROR_NETWORK_UNREACHABLE ) || ( errval == ERROR_NETWORK_ACCESS_DENIED ) ) { return 0 ; } #ifdef DEBUG_PATH jio_fprintf ( stderr , " \n " , errval ) ; #endif return 1 ; }
If the lookup of a particular prefix fails because the file does not exist,
because it is of the wrong type, because access is denied, or because the
network is unreachable then canonicalization does not fail, it terminates
successfully after copying the rest of the original path to the result path.
If the lookup of a particular prefix fails because the file does not exist because it is of the wrong type because access is denied or because the network is unreachable then canonicalization does not fail it terminates successfully after copying the rest of the original path to the result path .