[Top][All Lists]

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

Re: MAIL_USE_FLOCK and Debian.

From: Rob Browning
Subject: Re: MAIL_USE_FLOCK and Debian.
Date: Thu, 20 Feb 2003 13:22:26 -0600
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

Richard Stallman <address@hidden> writes:

> This seems to mean that we have to decide at build time.  If it has to
> be decided at build time, the best thing to do is let configure choose
> which library to use.

Given the discussion so far, it seems like we could:

  - provide a run-time choice between the flock/lockf and maillock
    approaches on systems that support both, along with a
    configure-time choice between the liblockfile and libmail
    implementations of maillock when relevant.

  - provide a run-time choice between flock/lockf, maillock via
    libmail, and the liblockfile algorithm.  With this approach, we
    wouldn't use liblockfile itself (because its maillock would
    conflict with libmail's), just the code.  Though direct use of the
    code definitely has potential maintenance issues, at least as far
    as Debian policy is concerned, I believe that just implementing
    the algorithm is acceptable.  Of course, if we did use the code
    directly, we'd need copyright assignments.

  - build-time choice only -- similar to what we have now, but perhaps
    with an added --with-mail-locking=FOO which would require a
    specific approach.

Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4

reply via email to

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