Skip to content

file handle not close in win32 #203

@xwxbug

Description

@xwxbug

zipFile z = zipOpen("./wtf.zip", APPEND_STATUS_CREATE); if (z) { bool result = false; zipClose(z, NULL); if (_unlink("./wtf.zip") == 0) result = true; if (result) printf("file delete ok\n"); else printf("file delete failed\n"); } else { printf("zipOpen failed\n"); }

will output "file delete failed"

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityBackwards compatibilityfixedIssue or bug has been fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions