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

Nathan,

Nathan Scott wrote:
> Yo Barry,
> 
> xfsprogs/doc/CHANGES
> 
>         - Rename include/list.h to xfs_list.h so that other applications
>           do not accidentally use it.
> 
> What was the problem here?  This doesnt sound like the right fix -
> there should be no applications outside of the XFS userspace that
> use libxfs.h - thats what <xfs/xfs.h> is for (exactly this reason,
> preventing namespace collision, by reducing all the XFS internals
> being exposed).
> 

A classic problem with cpp is that it is possible for someone else to
introduce a header that breaks your build. 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.

So strictly speaking XFS was doing nothing wrong, but its a simple
change for us to make to be more friendly. The application that had this
problem has also been fixed to use <xfs/foo.h>.

> Also, there seems to be lots of checkin mail not making it out to
> oss.sgi.com (let alone review mail), making it difficult for people
> to keep up to date with changes (and keep distros, like Debian,
> uptodate) ... could y'all make some effort to keep us "on the
> outside" in the loop?
> 

True, not everything has been escaping of late.

> 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.

David

-- 
David Chatterton
XFS Engineering Manager
SGI Australia

  reply	other threads:[~2006-12-06  1:50 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 [this message]
2006-12-06  2:08   ` Nathan Scott
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=457621A2.7000605@melbourne.sgi.com \
    --to=chatz@melbourne.sgi.com \
    --cc=bnaujok@sgi.com \
    --cc=nscott@aconex.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