Date: Tue, 28 Mar 2000 15:52:44 -0500 From: "Christian E. Hopps" <chopps@merit.edu> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: freebsd-net@FreeBSD.ORG Subject: Re: namespace pollution (if_list) Message-ID: <20000328155244.A20019@merit.edu> In-Reply-To: <200003282031.PAA83082@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Tue, Mar 28, 2000 at 03:31:56PM -0500 References: <20000328151907.K8280@merit.edu> <200003282031.PAA83082@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 28, 2000 at 03:31:56PM -0500, Garrett Wollman wrote: > <<On Tue, 28 Mar 2000 15:19:07 -0500, "Christian E. Hopps" <chopps@merit.edu> said: > > > Are people failing to realize that this now prohibits use of > > `if_list' and `if_addrlist' in user programs?? > > If you include <net/if_var.h>, and expect to use if_ANYTHING in your > programs, you have made a serious error -- just as you cannot include > <ctype.h> and then expect to define a macro called isfoo(). Is this the position of FreeBSD? You do realize that this is horrible OS design right? To be honest I expected an "Oops we'll fix it" not some justification for a stupid action. But let me get this straight FreeBSD is now reserving the prefix "if_" and user programs are not allowed to use it? How many other of these are there? Should I go through every OS header file in FreeBSD and consider any prefix it uses as reserverd?? Chris. P.S. the program is GateD, which has been around and using if_list since before FreeBSD was even some dream in a 386bsd patchkit maintainer's head. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000328155244.A20019>