diff options
Diffstat (limited to 'unittests/EnchantDictionaryTestFixture.h')
-rw-r--r-- | unittests/EnchantDictionaryTestFixture.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unittests/EnchantDictionaryTestFixture.h b/unittests/EnchantDictionaryTestFixture.h index aa5109c..e94e222 100644 --- a/unittests/EnchantDictionaryTestFixture.h +++ b/unittests/EnchantDictionaryTestFixture.h @@ -265,7 +265,7 @@ struct EnchantDictionaryTestFixture : EnchantBrokerTestFixture sleep(1); // FAT systems have a 2 second resolution
// NTFS is appreciably faster but no specs on what it is exactly
// c runtime library's time_t has a 1 second resolution
- FILE * f = g_fopen(filename.c_str(), "at");
+ FILE * f = g_fopen(filename.c_str(), "a");
if(f)
{
fputc('\n', f);
@@ -279,7 +279,7 @@ struct EnchantDictionaryTestFixture : EnchantBrokerTestFixture sleep(1); // FAT systems have a 2 second resolution
// NTFS is appreciably faster but no specs on what it is exactly
// c runtime library's time_t has a 1 second resolution
- FILE * f = g_fopen(GetPersonalDictFileName().c_str(), "at");
+ FILE * f = g_fopen(GetPersonalDictFileName().c_str(), "a");
if(f)
{
fputc('\n', f);
@@ -292,7 +292,7 @@ struct EnchantDictionaryTestFixture : EnchantBrokerTestFixture sleep(1); // FAT systems have a 2 second resolution
// NTFS is appreciably faster but no specs on what it is exactly
// c runtime library's time_t has a 1 second resolution
- FILE * f = g_fopen(GetPersonalDictFileName().c_str(), "at");
+ FILE * f = g_fopen(GetPersonalDictFileName().c_str(), "a");
if(f)
{
for (std::vector<std::string>::const_iterator itWord = sWords.begin();
|