Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4171441

(1.1only) _open_osfhandle() not being called correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P4
    • None
    • 1.1.7
    • hotspot
    • x86
    • windows_nt

    Description



      Name: clC74495 Date: 09/04/98


      Just a heads up. We were looking at process_md.c (in the JDK sources)
      and found _open_osfhandle being called with one parameter, when it
      actually takes two. (See MSVC header io.h). But the file builds fine,
      which means it must not be picking up that header/prototype, and
      the prototype is implied (you can get away with this in C, but not C++).
      And so, that means that _open_osfhandle is getting passed junk (whatever
      happens to be on the stack) as a second parameter, which can't be a good
      thing. Someone should take a look at this.
      (Review ID: 38257)
      ======================================================================

      Attachments

        Activity

          People

            Unassigned Unassigned
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: