commit 7a1be6ff747764ec93b54ac51b172170c590f3e6
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Sun Dec 29 14:37:53 2019 +0100

    fix excessive OPEN_SETFLAGS after journal replay
    
    when all flag sets completed successfully, there is no point in passing
    that flag to the driver.

 src/sync.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/sync.c b/src/sync.c
index d2273be..a5d7665 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -992,6 +992,7 @@ load_state( sync_vars_t *svars )
                                        case '*':
                                                debug( "flags now %u\n", t3 );
                                                srec->flags = (uchar)t3;
+                                               srec->wstate &= ~W_DELETE;
                                                break;
                                        case '~':
                                                debug( "status now %#x\n", t3 );


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to