Displaying 5 results from an estimated 5 matches for "i_snprintf".
2002 Oct 23
2
vsnprintf()
I think I stumbled upon a bug in the i_snprintf() function. In the case of
vnsprintf() being available, it depends on vnsprintf() returning -1 when the
string was longer than the passed-in limit (or it won't terminate the
string.). But this isn't the C99-standardized behaviour, and newer glibc's
don't do that anymore either, so y...
2008 Nov 28
2
Autocreate plugin for 1.1 - trying to patch under FreeBSD
...ate-plugin.c:46: error: 'FALSE' undeclared (first use in this
function)
autocreate-plugin.c:46: error: (Each undeclared identifier is reported
only once
autocreate-plugin.c:46: error: for each function it appears in.)
autocreate-plugin.c:49: warning: implicit declaration of function
'i_snprintf'
autocreate-plugin.c: At top level:
autocreate-plugin.c:54: warning: 'struct mail_namespace' declared inside
parameter list
autocreate-plugin.c: In function 'autosubscribe_mailboxes':
autocreate-plugin.c:64: warning: assignment makes pointer from integer
without a cast
autocre...
2004 Jun 14
1
vpopmail and open smtp relay
I'm using vpopmail's POP-before-SMTP auth, but dovecot don't support it,
so I'm wrote this patch
==============================================================
diff -Naur dovecot-0.99.10.5/src/auth/auth-login-interface.h
dovecot-0.99.10.5-patched/src/auth/auth-login-interface.h
--- dovecot-0.99.10.5/src/auth/auth-login-interface.h Sun May 18
16:26:28 2003
+++
2008 Dec 02
2
my_vsnprintf crash on HP-UX
...ailures.c:430
#5 0x42abb50:0 in i_panic (
format=0x409f750 "my_vsnprintf(): Output string too big") at
failures.c:197
#6 0x4306fb0:0 in my_vsnprintf (str=0x7ffff4a0 "4935b742", size=9,
format=0x4094998 "%08x", ap=0x7ffff478) at compat.c:276
#7 0x42f9a20:0 in i_snprintf (dest=0x7ffff4a0 "4935b742", max_chars=9,
format=0x4094998 "%08x") at strfuncs.c:23
#8 0x41e6cd0:0 in mailbox_uidvalidity_write (
path=0x4001d400 "/maildir/example.com/arandomuser/dovecot-uidvalidity",
uid_validity=1228257090) at mailbox-uidvalidity.c:42
#...
2008 Nov 06
2
Compilation of 1.1.6 fails on HP-UX 11.31
Hi,
$ uname -srv
HP-UX B.11.31 U
$ cc --version
cc: HP C/aC++ B3910B A.06.20 [May 13 2008]
Compilation fails, output of configure and make are given below. The
cause of this is almost certainly that this version of HP-UX does define
the QCMD macro in sys/quota.h (checked in the ifdef line 26
dovecot-1.1.6/src/plugins/quota/quota-fs.h) as well as the dqblk struct,
but the latter with different