comparison src/memline.c @ 630:52c87a746f4a v7.0181

updated for version 7.0181
author vimboss
date Sat, 14 Jan 2006 21:23:38 +0000
parents 81fe2ccc1207
children 5b101ff9d4c4
comparison
equal deleted inserted replaced
629:f3694b073509 630:52c87a746f4a
561 #endif 561 #endif
562 ml_upd_block0(buf, FALSE); 562 ml_upd_block0(buf, FALSE);
563 563
564 /* Flush block zero, so others can read it */ 564 /* Flush block zero, so others can read it */
565 if (mf_sync(mfp, MFS_ZERO) == OK) 565 if (mf_sync(mfp, MFS_ZERO) == OK)
566 {
567 /* Mark all blocks that should be in the swapfile as dirty.
568 * Needed for when the 'swapfile' option was reset, so that
569 * the swap file was deleted, and then on again. */
570 mf_set_dirty(mfp);
566 break; 571 break;
572 }
567 /* Writing block 0 failed: close the file and try another dir */ 573 /* Writing block 0 failed: close the file and try another dir */
568 mf_close_file(buf, FALSE); 574 mf_close_file(buf, FALSE);
569 } 575 }
570 } 576 }
571 577