append support added to cfopen

This commit is contained in:
Chris Ison 2004-04-12 11:25:53 +00:00
parent 8bbd7bc13a
commit fc40da217e

View file

@ -219,7 +219,7 @@ CF_Open (const char *path, const char *mode)
return -1;
}
if (!(strequal(mode, "w") || strequal(mode, "r"))) {
if (!(strequal(mode, "w") || strequal(mode, "r") || strequal(mode, "a"))) {
return -1;
}