comparison src/os/bsd/vm/os_bsd.cpp @ 14368:b6ab2c9abfc5

8030350: Enable additional compiler warnings for GCC Reviewed-by: dholmes, coleenp, erikj, tbell, ihse
author mduigou
date Wed, 12 Feb 2014 09:37:18 -0800
parents b59507f713e0
children 28f281e8de1d 6c9332549827
comparison
equal deleted inserted replaced
14366:7907932bdd99 14368:b6ab2c9abfc5
1832 // Add the appropriate client or server subdir 1832 // Add the appropriate client or server subdir
1833 len = strlen(buf); 1833 len = strlen(buf);
1834 jrelib_p = buf + len; 1834 jrelib_p = buf + len;
1835 snprintf(jrelib_p, buflen-len, "/%s", COMPILER_VARIANT); 1835 snprintf(jrelib_p, buflen-len, "/%s", COMPILER_VARIANT);
1836 if (0 != access(buf, F_OK)) { 1836 if (0 != access(buf, F_OK)) {
1837 snprintf(jrelib_p, buflen-len, ""); 1837 snprintf(jrelib_p, buflen-len, "%s", "");
1838 } 1838 }
1839 1839
1840 // If the path exists within JAVA_HOME, add the JVM library name 1840 // If the path exists within JAVA_HOME, add the JVM library name
1841 // to complete the path to JVM being overridden. Otherwise fallback 1841 // to complete the path to JVM being overridden. Otherwise fallback
1842 // to the path to the current library. 1842 // to the path to the current library.