src/hotspot/os/aix/os_aix.cpp
changeset 52892 442d322bb6d8
parent 52734 d537553ed639
child 53077 33b8f6f4cdf5
equal deleted inserted replaced
52891:e1fcdc7ead4d 52892:442d322bb6d8
  4357 }
  4357 }
  4358 
  4358 
  4359 static inline time_t get_mtime(const char* filename) {
  4359 static inline time_t get_mtime(const char* filename) {
  4360   struct stat st;
  4360   struct stat st;
  4361   int ret = os::stat(filename, &st);
  4361   int ret = os::stat(filename, &st);
  4362   assert(ret == 0, "failed to stat() file '%s': %s", filename, strerror(errno));
  4362   assert(ret == 0, "failed to stat() file '%s': %s", filename, os::strerror(errno));
  4363   return st.st_mtime;
  4363   return st.st_mtime;
  4364 }
  4364 }
  4365 
  4365 
  4366 int os::compare_file_modified_times(const char* file1, const char* file2) {
  4366 int os::compare_file_modified_times(const char* file1, const char* file2) {
  4367   time_t t1 = get_mtime(file1);
  4367   time_t t1 = get_mtime(file1);