public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Nathan Scott <nscott@aconex.com>
To: chatz@melbourne.sgi.com
Cc: bnaujok@sgi.com, xfs@oss.sgi.com
Subject: Re: Recent changes in xfsprogs
Date: Wed, 06 Dec 2006 13:08:22 +1100	[thread overview]
Message-ID: <1165370902.1281.72.camel@edge> (raw)
In-Reply-To: <457621A2.7000605@melbourne.sgi.com>

On Wed, 2006-12-06 at 12:49 +1100, David Chatterton wrote:
> ...
> A classic problem with cpp is that it is possible for someone else to
> introduce a header that breaks your build.

Heh, its a poor tradesman who blames his tools. :)

>  By introducing a header
> called list.h, a very common name, we have exposed products whose build
> may not have strictly doing the right thing (adding /usr/include/xfs to
> their include path) to pulling in this file rather than the one they
> intended.

Well, clearly they're doing the wrong thing.  We've now introduced
a half-baked scheme where one random header is inconsistent with
the rest, because of some other broken application.  That's dopey.

The convention there now is such that its easy to tell what include/
files have kernel counterparts (the xfs_* prefixed ones), and the
rest are generically named (list.h, cache.h, parent.h, paths.h,
linux.h, etc).  This change now makes list.h sit in no-mans-land...
please revert it back, since the app is fixed anyway (you are also,
of course, ignoring the flip side of your own argument, which is that
other equally broken apps could be using <xfs/list.h>, which moved
and hence broke their builds).  You can't win by pandering to broken
3rd party applications... best you can do is keep the XFS stuff sane
and internally consistent.

> > Oh, noone is updating oss.sgi.com/projects/xfs/{news,index}.html
> > with recent changes either - seems like progress has come to a
> > halt to those of us no longer in the secret cabal, anyway ;) ...
> > just FYI.
> > 
> 
> Its now on my list of things to do.
> 

Great - thanks!

cheers.

-- 
Nathan

  reply	other threads:[~2006-12-06  2:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05 23:06 Recent changes in xfsprogs Nathan Scott
2006-12-06  1:49 ` David Chatterton
2006-12-06  2:08   ` Nathan Scott [this message]
2006-12-06 22:08 ` Eric Sandeen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1165370902.1281.72.camel@edge \
    --to=nscott@aconex.com \
    --cc=bnaujok@sgi.com \
    --cc=chatz@melbourne.sgi.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox