Displaying 12 results from an estimated 12 matches for "p_strconcat".
Did you mean:
t_strconcat
2015 Jan 04
0
[PATCH] LAYOUT=imapdir is broken in v2.2
...mapdir_list_alloc(void)
list = p_new(pool, struct maildir_mailbox_list, 1);
list->list = imapdir_mailbox_list;
list->list.pool = pool;
+ list->sep = '.';
list->global_temp_prefix = IMAPDIR_GLOBAL_TEMP_PREFIX;
list->temp_prefix = p_strconcat(pool, list->global_temp_prefix,
Analysis:
I noticed this while upgrading a dovecot install from 1.2.15 (squeeze) to
2.2.13 (jessie).
This upstream commit
author Timo Sirainen <tss at iki.fi>
Thu Jan 20 20:59:07 2011 +0200 (2011-01-20)
changeset 12586 a2780b694b2d
parent...
2018 Jun 13
1
2.3.1 Replication is throwing scary errors
...ool created;
int ret;
@@ -437,8 +438,21 @@ dsync_brain_lock(struct dsync_brain *brain, const char *remote_hostname)
if (brain->verbose_proctitle)
process_title_set(dsync_brain_get_proctitle_full(brain, DSYNC_BRAIN_TITLE_LOCKING));
- brain->lock_path = p_strconcat(brain->pool, home,
- "/"DSYNC_LOCK_FILENAME, NULL);
+
+ /* if homedir does not yet exist, create lock under tmpdir */
+ if (stat(home, &st) < 0) {
+ if (errno != ENOENT) {
+ i_error("stat(%...
2018 Jun 06
7
2.3.1 Replication is throwing scary errors
Should be fixed by https://github.com/dovecot/core/commit/a952e178943a5944255cb7c053d970f8e6d49336 <https://github.com/dovecot/core/commit/a952e178943a5944255cb7c053d970f8e6d49336>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180606/996cfe38/attachment.html>
2003 Jul 23
0
Re: Stripping of domain name
...:13 -0000
@@ -48,14 +48,8 @@
mech_auth_finish(auth_request, NULL, 0, FALSE);
} else {
/* split and save user/realm */
- if (strchr(authenid, '@') == NULL && default_realm != NULL) {
- auth_request->user = p_strconcat(auth_request->pool,
- authenid, "@",
- default_realm, NULL);
- } else {
- auth_request->user = p_strdup(auth_request->pool,
-...
2016 Dec 20
1
Latest Dovecot v2.2.devel (9bc8d9b) crashes on login and lmtp
...ligned.S: No such file or directory.
#0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:33
No locals.
#1 0x00007f9177db4779 in memcpy (__len=<optimized out>, __src=0x0, __dest=0x7f917a5c5bf8) at /usr/include/x86_64-linux-gnu/bits/string3.h:51
No locals.
#2 p_strconcat (pool=<optimized out>, str1=<optimized out>) at strfuncs.c:218
args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7ffdcadea060, reg_save_area = 0x7ffdcade9f90}}
temp = 0x0
ret = <optimized out>
len = 49
#3 0x00007f91780744fd in mdbox_st...
2019 Apr 10
2
[BUG?] Double quota calulation when special folder is present
...nferiors(ctx->info.ns)) {
ctx->info.flags &=
~(MAILBOX_CHILDREN|MAILBOX_NOCHILDREN);
ctx->info.flags |= MAILBOX_NOINFERIORS;
}
+ } else {
+ /* listing INBOX/INBOX */
+ ctx->info.vname = p_strconcat(ctx->info_pool,
+ ctx->ctx.list->ns->prefix, "INBOX", NULL);
+ ctx->info.flags |= MAILBOX_NONEXISTENT;
}
if ((node->flags & MAILBOX_LIST_INDEX_FLAG_NONEXISTENT) != 0)
ctx->info.flags |= MAILBOX_NO...
2019 Aug 06
1
[BUG?] Double quota calulation when special folder is present
...ctx->info.flags &=
> ~(MAILBOX_CHILDREN|MAILBOX_NOCHILDREN);
> ctx->info.flags |= MAILBOX_NOINFERIORS;
> }
> + } else {
> + /* listing INBOX/INBOX */
> + ctx->info.vname = p_strconcat(ctx->info_pool,
> + ctx->ctx.list->ns->prefix, "INBOX", NULL);
> + ctx->info.flags |= MAILBOX_NONEXISTENT;
> }
> if ((node->flags & MAILBOX_LIST_INDEX_FLAG_NONEXISTENT) != 0)
> ctx->...
2019 Apr 10
0
[BUG?] Double quota calulation when special folder is present
...</div>
<div>
}
</div>
<div>
+ } else {
</div>
<div>
+ /* listing INBOX/INBOX */
</div>
<div>
+ ctx->info.vname = p_strconcat(ctx->info_pool,
</div>
<div>
+ ctx->ctx.list->ns->prefix, "INBOX", NULL);
</div>
<div>
+ ctx->info.flags |= MAILBOX_NONEXISTENT;
</div>
<div>...
2019 Mar 20
2
[BUG?] Double quota calulation when special folder is present
Just hoping to get some dev eyes on this. I'm incredibly reluctant to throw
the word 'bug' around
(since 99 times out of 100, it's not -- it's almost always the config), but
I can't think of any way
that this could be a config issue, esp when the pre-2.2.34 version works as
expected.
I noticed during troubleshooting that dovecot errors out if I try to create
a subfolder
2018 Sep 10
1
make check (pigeonhole)
...ecord 72 of 77
==29930==??? at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
==29930==??? by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
==29930==??? by 0x527751D: pool_alloconly_malloc (mempool-alloconly.c:283)
==29930==??? by 0x528AA66: p_malloc (mempool.h:99)
==29930==??? by 0x528AA66: p_strconcat (strfuncs.c:223)
==29930==??? by 0x51F40ED: settings_parse_keyvalue (settings-parser.c:845)
==29930==??? by 0x51F50E0: settings_parse_environ (settings-parser.c:1103)
==29930==??? by 0x51ED247: master_service_settings_read
(master-service-settings.c:648)
==29930==??? by 0x51EE3A9: master_service_s...
2018 Sep 10
0
make check (pigeonhole)
...30==??? at 0x4C2B9B5: calloc (vg_replace_malloc.c:711)
> ==29930==??? by 0x5277456: block_alloc.isra.1 (mempool-alloconly.c:254)
> ==29930==??? by 0x527751D: pool_alloconly_malloc (mempool-alloconly.c:283)
> ==29930==??? by 0x528AA66: p_malloc (mempool.h:99)
> ==29930==??? by 0x528AA66: p_strconcat (strfuncs.c:223)
> ==29930==??? by 0x51F40ED: settings_parse_keyvalue (settings-parser.c:845)
> ==29930==??? by 0x51F50E0: settings_parse_environ (settings-parser.c:1103)
> ==29930==??? by 0x51ED247: master_service_settings_read
> (master-service-settings.c:648)
> ==29930==??? by 0x5...
2018 Sep 09
3
make check (pigeonhole)
Hello list,
During the 'make check' (pigeonhole) portion of a building (rpmbuild) a
dovecot.spec file I'm getting the following error:
testsuite(root): Fatal: Couldn't drop privileges: User is missing UID
(see mail_uid setting)
I'm not sure how to resolve this, and any help would be appreciated to
help me finish the creating the rpm
--
Eric Broch
White Horse Technical