Mercurial > hg > truffle
comparison src/os/bsd/vm/jvm_bsd.h @ 4717:11c26bfcf8c7
7091417: recvfrom's 6th input should be of type socklen_t
Summary: Revamp class os's socket method formal args to match socket.h, insert casts in appropriate places, and copyin-copyout int*'s that s/b socklen_t*'s in jvm.cpp.
Reviewed-by: coleenp, dholmes
Contributed-by: erik.gahlin@oracle.com, rickard.backman@oracle.com, nils.loodin@oracle.com, markus.gronlund@oracle.com
author | phh |
---|---|
date | Wed, 21 Dec 2011 15:48:16 -0500 |
parents | 436b4a3231bf |
children |
comparison
equal
deleted
inserted
replaced
4716:4502fd5c7698 | 4717:11c26bfcf8c7 |
---|---|
31 // This is derived from the JDK classic file: | 31 // This is derived from the JDK classic file: |
32 // "$JDK/src/solaris/javavm/export/jvm_md.h":15 (ver. 1.10 98/04/22) | 32 // "$JDK/src/solaris/javavm/export/jvm_md.h":15 (ver. 1.10 98/04/22) |
33 // All local includes have been commented out. | 33 // All local includes have been commented out. |
34 */ | 34 */ |
35 | 35 |
36 | |
37 #ifndef JVM_MD_H | 36 #ifndef JVM_MD_H |
38 #define JVM_MD_H | 37 #define JVM_MD_H |
39 | 38 |
40 /* | 39 /* |
41 * This file is currently collecting system-specific dregs for the | 40 * This file is currently collecting system-specific dregs for the |
57 # endif | 56 # endif |
58 #endif | 57 #endif |
59 | 58 |
60 #include <dirent.h> /* For DIR */ | 59 #include <dirent.h> /* For DIR */ |
61 #include <sys/param.h> /* For MAXPATHLEN */ | 60 #include <sys/param.h> /* For MAXPATHLEN */ |
61 #include <sys/socket.h> /* For socklen_t */ | |
62 #include <unistd.h> /* For F_OK, R_OK, W_OK */ | 62 #include <unistd.h> /* For F_OK, R_OK, W_OK */ |
63 | 63 |
64 #define JNI_ONLOAD_SYMBOLS {"JNI_OnLoad"} | 64 #define JNI_ONLOAD_SYMBOLS {"JNI_OnLoad"} |
65 #define JNI_ONUNLOAD_SYMBOLS {"JNI_OnUnload"} | 65 #define JNI_ONUNLOAD_SYMBOLS {"JNI_OnUnload"} |
66 #define JVM_ONLOAD_SYMBOLS {"JVM_OnLoad"} | 66 #define JVM_ONLOAD_SYMBOLS {"JVM_OnLoad"} |
126 #define SIGRTMAX 63 | 126 #define SIGRTMAX 63 |
127 #endif | 127 #endif |
128 #endif | 128 #endif |
129 #endif /* JVM_MD_H */ | 129 #endif /* JVM_MD_H */ |
130 | 130 |
131 // Reconciliation History | |
132 // jvm_solaris.h 1.6 99/06/22 16:38:47 | |
133 // End | |
134 | |
135 #endif // OS_BSD_VM_JVM_BSD_H | 131 #endif // OS_BSD_VM_JVM_BSD_H |