summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/spellfile.c6
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/spellfile.c b/src/spellfile.c
index 869db7f3f..20181695a 100644
--- a/src/spellfile.c
+++ b/src/spellfile.c
@@ -6277,7 +6277,11 @@ spell_add_word(
len, word, NameBuff);
}
}
- fseek(fd, fpos_next, SEEK_SET);
+ if (fseek(fd, fpos_next, SEEK_SET) != 0)
+ {
+ PERROR(_("Seek error in spellfile"));
+ break;
+ }
}
}
if (fd != NULL)
diff --git a/src/version.c b/src/version.c
index 522eaa80d..a7288f385 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2462,
+/**/
2461,
/**/
2460,