Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 1997 19:48:08 +0100 (MET)
From:      Søren Schmidt <sos@FreeBSD.dk>
To:        luigi@labinfo.iet.unipi.it (Luigi Rizzo)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: multiple instances of the same files...
Message-ID:  <199711181848.TAA02345@sos.freebsd.dk>
In-Reply-To: <199711181605.RAA20871@labinfo.iet.unipi.it> from Luigi Rizzo at "Nov 18, 97 05:05:44 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Luigi Rizzo who wrote:
> Well I have the following problem (derived from the sound driver)
> 
> the file "soundcard.h" is replicated three times:
> 
> 	1. /usr/include/machine/soundcard.h
> 	2. /sys/i386/include/soundcard.h

Erhm 1 should be an installed copy of 2, so they are actually the same
file.

> 	3. /sys/i386/isa/snd/soundcard.h

This one is new, but you know that :)

> BTW i also notice (at least in my copy of 2.2.1) some inconsistent use
> of include directories. At times the file is included as
> <machine/foo.h> at other times it is included as <i386/include/foo.h>

Well, gives the same file (given the sources are the same as the installed
system), but userlevel progs should use <machine/foo.h>.

> Is there any rule about this ?

Se above :)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Søren Schmidt               (sos@FreeBSD.org)               FreeBSD Core Team
                Even more code to hack -- will it ever end
..



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711181848.TAA02345>