Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2000 16:26:36 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        FreeBSD-current <current@FreeBSD.ORG>
Subject:   Re: HEADS UP Re: cvs commit: src/crypto/openssh/pam_ssh pam_ssh.c src/gnu/usr.bin/binutils/gdb freebsd-uthread.c src/include mpool.h src/lib/libc/net name6.c src/lib/libc_r/uthread pthread_private.h uthread_file.c src/lib/libncp ncpl_rcfile.c src/lib/libstand if_ether.h ... 
Message-ID:  <200005252326.QAA02413@mass.cdrom.com>
In-Reply-To: Your message of "Thu, 25 May 2000 23:33:31 %2B0200." <6979.959290411@critter.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >I objected to a recent commit hiding the fact that this is
> >"(elm)->field.sle_next".  Anyway, curelm must be a pointer to a struct.
> >Not just any struct; the struct must contain a "field" declared using
> >SLIST_ENTRY().
> 
> It could be an union or class as well...

It would not be very useful if it were a union; the class issue is valid 
(although you could trivially use a struct contained within a class and a 
parent reference) but definitely not a good enough argument to support 
the massive breakage this otherwise entails.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




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?200005252326.QAA02413>