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

(porting) We should use <stdlib.h> instead of <malloc.h>.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 1.2.0
    • hotspot
    • sparc
    • solaris_2.5.1


      Malloc.h versus stdlib.h
      ---------------------
      E.g.
      #include <malloc.h>
      Use
      #include <stdlib.h>
      which more ANSI portable to get prototypes for
      malloc(), calloc(), free()


            apalanissunw Anand Palaniswamy (Inactive)
            miflemi Mick Fleming
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: