Recursive Directory Link - libxml-devel
Paul Howarth
paul at city-fan.org
Thu Nov 25 08:41:28 UTC 2004
On Thu, 2004-11-25 at 01:11 -0500, Gene Heskett wrote:
> On Thursday 25 November 2004 00:56, Mike Klinke wrote:
> >Ran into this link this evening
> >
> ># ll /usr/include/gnome-xml/libxml
> >....Nov 17 23:31 /usr/include/gnome-xml/libxml -> .
>
> >Is this an oversight that should be posted in bugzilla or is there a
> >valid use for this self-referencing construction? It seems a bug
> >to me but .....
It's a compatibility thing.
The headers in that directory can be accessed in two ways:
#include <gnome-xml/example.h>
#include <gnome-xml/libxml/example.h>
One of them is probably deprecated but the symlink allows both to work
without having to duplicate the files.
Paul.
--
Paul Howarth <paul at city-fan.org>
More information about the users
mailing list