From owner-freebsd-hackers Tue Nov 18 10:51:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA12697 for hackers-outgoing; Tue, 18 Nov 1997 10:51:24 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA12684 for ; Tue, 18 Nov 1997 10:51:17 -0800 (PST) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.7.3) id TAA02345; Tue, 18 Nov 1997 19:48:14 +0100 (MET) Message-Id: <199711181848.TAA02345@sos.freebsd.dk> Subject: Re: multiple instances of the same files... In-Reply-To: <199711181605.RAA20871@labinfo.iet.unipi.it> from Luigi Rizzo at "Nov 18, 97 05:05:44 pm" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Tue, 18 Nov 1997 19:48:08 +0100 (MET) Cc: hackers@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.dk X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 > at other times it is included as Well, gives the same file (given the sources are the same as the installed system), but userlevel progs should use . > 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 ..