0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.0-159

This commit is contained in:
Bram Moolenaar
2006-11-07 17:02:30 +00:00
parent 6ae133b915
commit 3f2d9814e5
2 changed files with 5 additions and 3 deletions

View File

@@ -1028,12 +1028,12 @@ mf_read(mfp, hp)
size = page_size * hp->bh_page_count;
if (lseek(mfp->mf_fd, offset, SEEK_SET) != offset)
{
EMSG(_("E294: Seek error in swap file read"));
PERROR(_("E294: Seek error in swap file read"));
return FAIL;
}
if ((unsigned)vim_read(mfp->mf_fd, hp->bh_data, size) != size)
{
EMSG(_("E295: Read error in swap file"));
PERROR(_("E295: Read error in swap file"));
return FAIL;
}
return OK;
@@ -1085,7 +1085,7 @@ mf_write(mfp, hp)
offset = (off_t)page_size * nr;
if (lseek(mfp->mf_fd, offset, SEEK_SET) != offset)
{
EMSG(_("E296: Seek error in swap file write"));
PERROR(_("E296: Seek error in swap file write"));
return FAIL;
}
if (hp2 == NULL) /* freed block, fill with dummy data */

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
159,
/**/
158,
/**/