Not sure if this is really a bug, but I just noticed it and it
seems not right.
According to the STREAMS programming guide the FIONREAD ioctl
should be given the address of a 32 bit quantity regardless
of the kernel mode.
The call in hpi::available() uses a long *
which would compile to a 64 bit pointer on
a 64 bit system.
seems not right.
According to the STREAMS programming guide the FIONREAD ioctl
should be given the address of a 32 bit quantity regardless
of the kernel mode.
The call in hpi::available() uses a long *
which would compile to a 64 bit pointer on
a 64 bit system.
- duplicates
-
JDK-4997433 JVM_SocketAvailable uses long*. Should be 32bit pointer
-
- Closed
-