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/heap-in-util.c
ViewVC logotype

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

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

revision 1746, Fri Jan 7 17:44:23 2005 UTC revision 1747, Fri Jan 14 23:53:21 2005 UTC
# Line 12  Line 12 
12  #include "c-globals-tbl.h"  #include "c-globals-tbl.h"
13  #include "heap-input.h"  #include "heap-input.h"
14    
15    #ifndef SEEK_SET
16    #  define SEEK_SET      0
17    #  define SEEK_END      2
18    #endif
19    
20  /* local routines */  /* local routines */
21  PVT status_t ReadBlock (FILE *file, void *blk, long len);  PVT status_t ReadBlock (FILE *file, void *blk, long len);
22    
# Line 66  Line 71 
71          }          }
72      }      }
73      else {      else {
74          Die ("HeapIO_Seek");        if (fseek (bp->file, offset, SEEK_SET) != 0)
75            Die ("unable to seek on heap image\n");
76          bp->nbytes = 0;           /* just in case? */
77      }      }
78    
79  } /* end of HeapIO_Seek */  } /* end of HeapIO_Seek */

Legend:
Removed from v.1746  
changed lines
  Added in v.1747

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