Qmail
[Top] [All Lists]

Re: Let's start working! (Re: qmail Patch Repository)

To: Qmail mailing list <qmail@list.cr.yp.to>
Subject: Re: Let's start working! (Re: qmail Patch Repository)
From: Charles Cazabon <qmail@discworld.dyndns.org>
Date: Thu, 8 Mar 2007 07:51:19 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <20070308093225.GA26671@nachos.phaseit.com>
Mail-followup-to: Qmail mailing list <qmail@list.cr.yp.to>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <45E59056.50008@cmcflex.com> <20070228151607.GB24361@nachos.phaseit.com> <20070228155340.GA10453@discworld.dyndns.org> <20070228161610.GC16799@c-76-18-79-168.hsd1.nm.comcast.net> <20070228181409.GE24498@nachos.phaseit.com> <17903.12345.67317.524508@desk.crynwr.com> <20070308093225.GA26671@nachos.phaseit.com>
User-agent: Mutt/1.5.11
Fabio Busatto <fabio.busatto@sikurezza.org> wrote:
> On Wed, Mar 07, 2007 at 04:35:53PM -0500, Russ Nelson wrote:
> >  > The preprocessor directives are useful if used in a wise way,
> >
> > Not possible.
> 
> Simply, why not?

Because the original form of the source code is not important for the
compiler; it is only important for the programmer.  Anything that makes the
source code harder to understand (and littering it with code that is
conditionally included/excluded does that) makes it less useful.

> They let you make your choices, and then cc -E will give you the
> right code without anything else.

Not helpful.  When you go to change the source code, that's not the version
you're going to be working on.

> What do you think is the right approach to the problem?

Look at the way djb packages the original, unmodified qmail-1.03.  *That* is
the right approach to the problem.

Charles
-- 
--------------------------------------------------------------------------
Charles Cazabon                               <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting.  See http://pyropus.ca/ for details.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>