JVM_SocketAvailable uses long*. Should be 32bit pointer

XMLWordPrintable

    Error rendering 'com.atlassian.jira.jira-view-issue-plugin:details-module'. Please contact your Jira administrators.

      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.

            Assignee:
            Paul Hohensee
            Reporter:
            Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: