Call io_flush() with its new FULL_FLUSH option.
authorWayne Davison <wayned@samba.org>
Thu, 15 Jan 2004 07:42:12 +0000 (07:42 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 15 Jan 2004 07:42:12 +0000 (07:42 +0000)
cleanup.c

index ea97339..3e85d4e 100644 (file)
--- a/cleanup.c
+++ b/cleanup.c
@@ -118,7 +118,7 @@ void _exit_cleanup(int code, const char *file, int line)
                if (cleanup_fd2 != -1) close(cleanup_fd2);
                finish_transfer(cleanup_new_fname, fname, cleanup_file);
        }
-       io_flush();
+       io_flush(FULL_FLUSH);
        if (cleanup_fname)
                do_unlink(cleanup_fname);
        if (code) {