src/hotspot/os/windows/os_windows.cpp
changeset 52892 442d322bb6d8
parent 52581 d402a406bbc3
child 53077 33b8f6f4cdf5
equal deleted inserted replaced
52891:e1fcdc7ead4d 52892:442d322bb6d8
  1561 }
  1561 }
  1562 
  1562 
  1563 static inline time_t get_mtime(const char* filename) {
  1563 static inline time_t get_mtime(const char* filename) {
  1564   struct stat st;
  1564   struct stat st;
  1565   int ret = os::stat(filename, &st);
  1565   int ret = os::stat(filename, &st);
  1566   assert(ret == 0, "failed to stat() file '%s': %s", filename, strerror(errno));
  1566   assert(ret == 0, "failed to stat() file '%s': %s", filename, os::strerror(errno));
  1567   return st.st_mtime;
  1567   return st.st_mtime;
  1568 }
  1568 }
  1569 
  1569 
  1570 int os::compare_file_modified_times(const char* file1, const char* file2) {
  1570 int os::compare_file_modified_times(const char* file1, const char* file2) {
  1571   time_t t1 = get_mtime(file1);
  1571   time_t t1 = get_mtime(file1);