< prev index next >

src/hotspot/os/posix/os_posix.cpp

Print this page
*** 751,15 ***
    }
    LINUX_ONLY(os::free(l_pathdup));
  }
  
  jlong os::lseek(int fd, jlong offset, int whence) {
!   return (jlong) AIX_ONLY(::lseek64) NOT_AIX(::lseek)(fd, offset, whence);
  }
  
  int os::ftruncate(int fd, jlong length) {
!    return AIX_ONLY(::ftruncate64) NOT_AIX(::ftruncate)(fd, length);
  }
  
  const char* os::get_current_directory(char *buf, size_t buflen) {
    return getcwd(buf, buflen);
  }
--- 751,15 ---
    }
    LINUX_ONLY(os::free(l_pathdup));
  }
  
  jlong os::lseek(int fd, jlong offset, int whence) {
!   return (jlong) ::lseek(fd, offset, whence);
  }
  
  int os::ftruncate(int fd, jlong length) {
!    return ::ftruncate(fd, length);
  }
  
  const char* os::get_current_directory(char *buf, size_t buflen) {
    return getcwd(buf, buflen);
  }
< prev index next >