hotspot/src/os/solaris/vm/os_solaris.cpp
changeset 7901 ea3d83447861
parent 7726 6a3d9023179a
child 8106 19106a0203fb
child 8329 96eacc5e391f
equal deleted inserted replaced
7900:4c7fc6332f7e 7901:ea3d83447861
  1882 
  1882 
  1883 // DLL functions
  1883 // DLL functions
  1884 
  1884 
  1885 const char* os::dll_file_extension() { return ".so"; }
  1885 const char* os::dll_file_extension() { return ".so"; }
  1886 
  1886 
  1887 const char* os::get_temp_directory() {
  1887 // This must be hard coded because it's the system's temporary
  1888   const char *prop = Arguments::get_property("java.io.tmpdir");
  1888 // directory not the java application's temp directory, ala java.io.tmpdir.
  1889   return prop == NULL ? "/tmp" : prop;
  1889 const char* os::get_temp_directory() { return "/tmp"; }
  1890 }
       
  1891 
  1890 
  1892 static bool file_exists(const char* filename) {
  1891 static bool file_exists(const char* filename) {
  1893   struct stat statbuf;
  1892   struct stat statbuf;
  1894   if (filename == NULL || strlen(filename) == 0) {
  1893   if (filename == NULL || strlen(filename) == 0) {
  1895     return false;
  1894     return false;