search for: output_errno

Displaying 4 results from an estimated 4 matches for "output_errno".

2006 Feb 16
1
ugly hack to make maildir quotas work
...06 04:32:49 -0000 @@ -9,6 +9,7 @@ #include "str.h" #include "maildir-storage.h" #include "maildir-uidlist.h" +#include "index-mail.h" #include <stdio.h> #include <stdlib.h> @@ -233,6 +234,7 @@ struct utimbuf buf; const char *path; int output_errno; + struct stat st; if (ctx->failed && ctx->fd == -1) { /* tmp file creation failed */ @@ -264,6 +266,9 @@ "fsync(%s) failed: %m", path); ctx->failed = TRUE; } + if (fstat(ctx->fd, &st) < 0) { + ctx->failed = TRUE; + } if (close(ctx->...
2006 Apr 19
0
[patch] Re: Test migration (IMAP copy) and INTERNALDATE?]
..._date; - - if (utime(path, &buf) < 0) { - ctx->failed = TRUE; - mail_storage_set_critical(STORAGE(ctx->mbox->storage), - "utime(%s) failed: %m", path); - } - } - output_errno = ctx->output->stream_errno; o_stream_destroy(&ctx->output); > Ok, this is looking less like a feature request and more like a bug > report. > > The function maildir_save_finish() in > lib-storage/index/maildir/maildir-save.c is being passed the correct > ti...
2008 Feb 20
1
(message_parser_parse_next_block): assertion, failed: (ctx->input->eof)
...= {tv_sec = 1203480167, tv_nsec = 749911000}, st_size = 28267, st_blocks = 56, st_blksize = 4096, st_flags = 0, st_gen = 0, st_lspare = 0, st_birthtimespec = {tv_sec = 0, tv_nsec = 0}} path = 0x601298 "/home/username/Maildir/.Drafts/tmp/1203480135.M361150P60831.hill" output_errno = 0 __PRETTY_FUNCTION__ = "maildir_save_finish_real" #8 0x000000000043a9bd in maildir_save_finish (ctx=0x62f048) at maildir-save.c:544 _data_stack_cur_id = 4 ret = 0 #9 0x000000000043a9f8 in maildir_save_cancel (_ctx=0x62f048) at maildir-save.c:554 ctx...
2018 Oct 09
3
index corruption weirdness
...l_cache_parse_deinit (_mail=<optimized out>, received_date=<optimized out>, success=<optimized out>) at index-mail.c:1624 mail = <optimized out> #7 0x00007fbee4e5dce3 in maildir_save_finish_real (_ctx=0x1e68560) at maildir-save.c:551 ctx = 0x1e68560 e = 0x1e574d0 output_errno = <optimized out> path = 0x1e37218 "/var/spool/mail/15/00/user1/.Drafts/tmp/1539107164.M157986P9449.debug.imapd.foo.com" real_size = <optimized out> size = 1539107194 #8 maildir_save_finish (ctx=0x1e68560) at maildir-save.c:630 _data_stack_cur_id = 3 #9 0x00007fbee4e90c...