1.1 --- a/src/share/vm/runtime/os.hpp Thu May 02 16:41:09 2013 -0700 1.2 +++ b/src/share/vm/runtime/os.hpp Thu May 02 18:50:05 2013 -0700 1.3 @@ -454,6 +454,7 @@ 1.4 // File i/o operations 1.5 static const int default_file_open_flags(); 1.6 static int open(const char *path, int oflag, int mode); 1.7 + static FILE* open(int fd, const char* mode); 1.8 static int close(int fd); 1.9 static jlong lseek(int fd, jlong offset, int whence); 1.10 static char* native_path(char *path); 1.11 @@ -477,7 +478,7 @@ 1.12 static const char* dll_file_extension(); 1.13 1.14 static const char* get_temp_directory(); 1.15 - static const char* get_current_directory(char *buf, int buflen); 1.16 + static const char* get_current_directory(char *buf, size_t buflen); 1.17 1.18 // Builds a platform-specific full library path given a ld path and lib name 1.19 // Returns true if buffer contains full path to existing file, false otherwise