diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-migrate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/e-mail-migrate.c b/mail/e-mail-migrate.c index bb88d3caf8..9554c4e5fe 100644 --- a/mail/e-mail-migrate.c +++ b/mail/e-mail-migrate.c @@ -138,8 +138,10 @@ cp (const gchar *src, em_migrate_set_progress (((gdouble) total) / ((gdouble) st.st_size)); } while (total < st.st_size); + #ifndef G_OS_WIN32 if (fsync (writefd) == -1) goto exception; + #endif close (readfd); if (close (writefd) == -1) |