Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/runtime/gc/import-heap.c
ViewVC logotype

Diff of /sml/trunk/src/runtime/gc/import-heap.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1765, Fri Feb 25 22:54:44 2005 UTC revision 1766, Fri Feb 25 23:28:42 2005 UTC
# Line 23  Line 23 
23  #include "heap-input.h"  #include "heap-input.h"
24  #include "heap-io.h"  #include "heap-io.h"
25    
26  #ifdef DLOPEN  #if defined(DLOPEN) && !defined(OPSYS_WIN32)
27  #include <dlfcn.h>  #include <dlfcn.h>
28  #endif  #endif
29    
# Line 104  Line 104 
104        inBuf.nbytes    = 0;        inBuf.nbytes    = 0;
105      } else {      } else {
106        /* fname == NULL, so try to find an in-core heap image */        /* fname == NULL, so try to find an in-core heap image */
107  #ifdef DLOPEN  #if defined(DLOPEN) && !defined(OPSYS_WIN32)
108        void *lib = dlopen (NULL, RTLD_LAZY);        void *lib = dlopen (NULL, RTLD_LAZY);
109        void *vimg, *vimglenptr;        void *vimg, *vimglenptr;
110        if ((vimg = dlsym(lib,HEAP_IMAGE_SYMBOL)) == NULL)        if ((vimg = dlsym(lib,HEAP_IMAGE_SYMBOL)) == NULL)

Legend:
Removed from v.1765  
changed lines
  Added in v.1766

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0