[Top][All Lists]

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

Re: [Nmh-workers] dot locking broken?

From: David Levine
Subject: Re: [Nmh-workers] dot locking broken?
Date: Thu, 12 Feb 2015 22:29:37 -0500

Marcin wrote:

> >> David Levine <address@hidden> wrote:
> Using setegid() is ok according to POSIX.1-2004, it was previously
> just a BSD extension.

Thanks.  Committed.  I also added a check for success of setegid(),
and adios() on failure.

> >> I was also wondering if we should give the user to abort waiting
> >> for a lock with ^C.
> >
> > I tried, and ^C works for me (on Linux).
> That's interesting, from what I see in the inc code SIGINT is
> trapped in inc.c, lines 513++ ?

And that code is conditional on trnflag.  I was testing with -file,
which didn't use it.  It looks like the signal handlers are there
to avoid corruption when the mailbox would be modified.  I think
they should be retained.


reply via email to

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