tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss] [PATCH] Lots of 'Index exists, but has some stale o


From: Martin Blapp
Subject: Re: [tpop3d-discuss] [PATCH] Lots of 'Index exists, but has some stale or corrupt data' messages
Date: Thu, 10 Feb 2005 17:14:18 +0100 (CET)

Hi,

There is still a bug, truncate(indexfile,sizeof(index_signature)) should
be truncate(indexfile,sizeof(index_signature)-1)

> +
> +    /* Check for empty mail boxes and kill a stale indexfile */
> +    if ((stat(m->name, &sb) == 0) && (sb.st_size == 0))
> +       truncate(indexfile,sizeof(index_signature)-1);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]