Re: [Dovecot] AIX: mntctl implementation for NFS quota support

2008-07-20 Thread Ralf Becker
Timo Sirainen schrieb am 20.07.2008 18:01: Committed with a few changes, could you try if it still works? :) http://hg.dovecot.org/dovecot-1.1/rev/ecc57955b99d There is a small compiling issue: --- dovecot-1.1.2-orig/src/lib/mountpoint.c 2008-07-20 17:56:16.0 +0200 +++ dovecot

Re: [Dovecot] AIX: mntctl implementation for NFS quota support

2008-07-20 Thread Timo Sirainen
On Sun, 2008-07-06 at 18:41 +0200, Ralf Becker wrote: > Hi Timo, > > I've added support for a static mtab buffer. > > Unfortunately 256 Bytes are too small by far. In my case the required > space is about 3 KByte. To avoid unnecessary memory allocation the > static size is determined at configu

Re: [Dovecot] AIX: mntctl implementation for NFS quota support

2008-07-06 Thread Ralf Becker
Hi Timo, I've added support for a static mtab buffer. Unfortunately 256 Bytes are too small by far. In my case the required space is about 3 KByte. To avoid unnecessary memory allocation the static size is determined at configuration time by getting the current buffer size and adding space fo

Re: [Dovecot] AIX: mntctl implementation for NFS quota support

2008-07-05 Thread Timo Sirainen
On Jul 5, 2008, at 10:39 PM, Ralf Becker wrote: I've added mntctl support to 'lib/mountpoint.c' today. My tests are looking good and so I'd like to share the patch. While I'm still not really familiar with dovecots memory management, I need someone who is familiar with it to have a look on my