diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-01-16 07:10:09 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-01-16 07:10:09 +0800 |
commit | 1c1b910085c21e0eb5eabd8e2244e94cf90435c8 (patch) | |
tree | a182eb72e0cd8df639c62bfd484c51d4251b9c75 | |
parent | ba207258a05d510139dae5e323d59eef7634a087 (diff) | |
download | gsoc2013-evolution-1c1b910085c21e0eb5eabd8e2244e94cf90435c8.tar gsoc2013-evolution-1c1b910085c21e0eb5eabd8e2244e94cf90435c8.tar.gz gsoc2013-evolution-1c1b910085c21e0eb5eabd8e2244e94cf90435c8.tar.bz2 gsoc2013-evolution-1c1b910085c21e0eb5eabd8e2244e94cf90435c8.tar.lz gsoc2013-evolution-1c1b910085c21e0eb5eabd8e2244e94cf90435c8.tar.xz gsoc2013-evolution-1c1b910085c21e0eb5eabd8e2244e94cf90435c8.tar.zst gsoc2013-evolution-1c1b910085c21e0eb5eabd8e2244e94cf90435c8.zip |
oops
svn path=/trunk/; revision=24259
-rw-r--r-- | mail/em-migrate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-migrate.c b/mail/em-migrate.c index 2f437a5ff2..8ea8d08248 100644 --- a/mail/em-migrate.c +++ b/mail/em-migrate.c @@ -1251,7 +1251,7 @@ cp (const char *src, const char *dest, gboolean show_progress) if ((fd[0] = open (src, O_RDONLY)) == -1) return -1; - if ((fd[1] = open (dest, O_WRONLY | O_CREAT | O_EXCL, 0666)) == -1) { + if ((fd[1] = open (dest, O_WRONLY | O_CREAT | O_TRUNC, 0666)) == -1) { errnosav = errno; close (fd[0]); errno = errnosav; |