• Jehan's avatar
    app: do no overwite XCF when an error occurred at saving time. · 076b5351
    Jehan authored
    We can cancel a file overwrite at the last second when closing the
    stream by setting a cancelled cancellable. Current code was simply not
    closing the stream, but this was not enough as overwriting was happening
    anyway (probably when finalizing).
    This will allow much safe saving process since we would not be
    overwriting a previously sane XCF file when an error occurred (either in
    our code or a memory error, or whatnot).
    See also discussion in #2565.
    076b5351
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
xcf-load.c Loading commit data...
xcf-load.h Loading commit data...
xcf-private.h Loading commit data...
xcf-read.c Loading commit data...
xcf-read.h Loading commit data...
xcf-save.c Loading commit data...
xcf-save.h Loading commit data...
xcf-seek.c Loading commit data...
xcf-seek.h Loading commit data...
xcf-utils.c Loading commit data...
xcf-utils.h Loading commit data...
xcf-write.c Loading commit data...
xcf-write.h Loading commit data...
xcf.c Loading commit data...
xcf.h Loading commit data...