Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2003 09:56:17 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Cc:        des@ofug.org
Subject:   Re: PATCH: type errors in src-tree
Message-ID:  <200303021756.h22HuHJR005595@vashon.polstra.com>
In-Reply-To: <xzpel5qc6nj.fsf@flood.ping.uio.no>
References:  <3E5EA13E.9020208@liwing.de> <20030301155546.A39174@FreeBSD.org> <3E612F7F.1090002@liwing.de> <xzpel5qc6nj.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <xzpel5qc6nj.fsf@flood.ping.uio.no>,
Dag-Erling Smorgrav  <des@ofug.org> wrote:
> 
> This is wrong.  caddr_t should be uniersally replaced with void *.

Not quite.  There is (or at least used to be) a lot of code that
assumed you could do address arithmetic on a caddr_t.  You can't do
that on a void *, at least not in ANSI C.  I think gcc lets you do
it, but it's an extension.

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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