Index: src/os_unix.c ================================================================== --- src/os_unix.c +++ src/os_unix.c @@ -5792,11 +5792,11 @@ p->pUnused->fd = fd; p->pUnused->flags = flags; } if( isDelete ){ - p->szFile = 0; + assert( p->szFile==0 ); #if OS_VXWORKS zPath = zName; #else osUnlink(zName); #endif