mbox-file.c revision 3d4c24127f4f83259c0f81851184abc34793dbe0
c25356d5978632df6203437e1953bcb29e0c736fTimo Sirainen/* Copyright (c) 2002-2010 Dovecot authors, see the included COPYING file */
c8296ac1ed68ed5c5168de545b76f9b27fc76d35Timo Sirainen /* read-only mbox stream */
5b6470e0e2ef4012430cdeca7d9b89c1278a0ed4Timo Sirainen mbox->box.backend_readonly ? O_RDONLY : O_RDWR);
5666a3d6a7ea89362b8d9e8b39b15424cd9d6388Timo Sirainen if (fd == -1 && errno == EACCES && !mbox->box.backend_readonly) {
FALSE);
const void *data;
bool deleted;
if (deleted)
int ret;
if (ret <= 0) {
return ret;
if (offset == 0) {