/[gxemul]/trunk/src/disk/diskimage.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/disk/diskimage.c

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

revision 39 by dpavlin, Mon Oct 8 16:21:53 2007 UTC revision 40 by dpavlin, Mon Oct 8 16:22:11 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: diskimage.c,v 1.5 2007/03/26 03:01:09 debug Exp $   *  $Id: diskimage.c,v 1.6 2007/04/28 09:19:52 debug Exp $
29   *   *
30   *  Disk image support.   *  Disk image support.
31   *   *
# Line 419  static size_t fwrite_helper(off_t offset Line 419  static size_t fwrite_helper(off_t offset
419          }          }
420    
421          /*  Split the write into OVERLAY_BLOCK_SIZE writes:  */          /*  Split the write into OVERLAY_BLOCK_SIZE writes:  */
422          for (curofs=offset; curofs<offset+len; curofs+=OVERLAY_BLOCK_SIZE) {          for (curofs = offset; curofs < (off_t) (offset+len);
423                 curofs += OVERLAY_BLOCK_SIZE) {
424                  /*  Always write to the last overlay:  */                  /*  Always write to the last overlay:  */
425                  int overlay_nr = d->nr_of_overlays-1;                  int overlay_nr = d->nr_of_overlays-1;
426                  off_t lenwritten;                  off_t lenwritten;

Legend:
Removed from v.39  
changed lines
  Added in v.40

  ViewVC Help
Powered by ViewVC 1.1.26