[PATCH 0/4] Add VACATION :seconds support

Bron Gondwana brong at fastmail.fm
Tue May 8 07:52:53 EDT 2012



On Tue, May 8, 2012, at 01:50 PM, Philipp Hahn wrote:
> Hello,
> 
> Am Dienstag 08 Mai 2012 13:07:04 schrieb Bron Gondwana:
> > On Tue, May 8, 2012, at 11:54 AM, Philipp Hahn wrote:
> > > For converting days to seconds and the inverse I always explicitly wrote
> > > 24 * 60 * 60. Is there a good location for defining this as a macro?
> >
> > lib/util.h ?
> 
> Will take a look. Would the following be fine:
> #define DAY2SEC(x) ((x) * 24 * 60 * 60)
> Or is there a more preferrable name?

That's clear.  I'm fine with it.

> > > Philipp Hahn (4):
> > >   autobuild: Fix directory handling
> > >   Change vacation day to seconds
> > >   Add VACATION :seconds support
> > >   Support VACACTION :seconds 0
> >
> > Looks like the output of git.  I don't suppose you have a repository online
> > somewhere that you could point to?  Cherry-picking from an upstream is even
> > easier than applying patches from emails :)
> 
> git://github.com/pmhahn/cyrus-imapd.git seconds

Shiny.  Thanks.
-- 
  Bron Gondwana
  brong at fastmail.fm



More information about the Cyrus-devel mailing list