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

Re: [mpop-users] Suggestions about work of mpop with UIDLs files



Martin Lambers wrote:
> On Tue, 23 Sep 2014 21:10:56 +0200, Ángel González wrote:
> > > On SIGTERM, SIGHUP, or SIGINT (CTRL+C), mpop already updates the
> > > UIDLs file. See mpop.c lines 1358ff. So that should definitely
> > > work, and it does for me.
> > > 
> > > Are you maybe working on Windows? That system does not have signal
> > > handling, and so this does not work.
> > 
> > Windows supports catching SIGINT signal.
> 
> There's no sigaction() function, so I assumed there is no signal
> handling. A patch would be appreciated :-)
> 
> Regards,
> Martin

Yes, it only supports the older signal() interface (and just a few
signals). I will cook a patch for that.

Regards
Ángel