Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Mar 2003 17:37:09 +0000
From:      Mark Murray <mark@grondar.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/fs/procfs procfs_ctl.c 
Message-ID:  <200303021737.h22Hb9Ig054078@grimreaper.grondar.org>
In-Reply-To: Your message of "Sun, 02 Mar 2003 17:13:54 %2B0100." <xzp1y1pd9vh.fsf@flood.ping.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav writes:
> Mark Murray <mark@grondar.org> writes:
> > Can't we redefine caddr_t as void* instead? That seems to make a bunch
> > more sense for what caddr_t is actually used for.
> 
> No, you'll get a lot of warnings and errors due to caddr_t being used
> in pointer arithmetic.  I'd rather we got rid of it altogether (as
> discussed many times on -arch).  I started doing this a year ago but
> gave up because I was trying to do too much (mechanically remove it
> from the entire tree) and lots of stuff broke.

As I discovered in discussing this online, the void* arithmetic is
evil can of worms. I'm doing a 180deg turn on this. :-)

Damn. This means cleaning out some local diffs :-(.

M
--
Mark Murray
iumop ap!sdn w,I idlaH

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




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