[dovecot/core] d97f08: iostream-temp: If write() to temp file fails at an...

GitHub noreply at github.com
Thu Sep 15 06:30:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d97f081a3de44852197ced772e21560c108895a6
      https://github.com/dovecot/core/commit/d97f081a3de44852197ced772e21560c108895a6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-09-15 (Thu, 15 Sep 2016)

  Changed paths:
    M src/lib/iostream-temp.c
    M src/lib/iostream-temp.h
    M src/lib/test-iostream-temp.c

  Log Message:
  -----------
  iostream-temp: If write() to temp file fails at any time, move it back to memory.

Similarly to if the write() to temp fails during the initial move attempt.
This way even if write() fails due to out of disk space, it's not visible
to caller. An error message is logged in any case.




More information about the dovecot-cvs mailing list