Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD master CVS tree commits



>Justin T. Gibbs (gibbs%freefall.freebsd.org@localhost) wrote, commenting a 
>commit
>by Charles Hannum:
>
>
>: >Add a SIMPLEQ type, cloned from TAILQ, but with only a single pointer in ea
>ch 
>: >element.
>: 
>: Was there a reason for choosing different terminology then FreeBSD
>: for this?  Did you use the FreeBSD implementation?
>
>Even if this wasn't the original reason: I'd have proposed it (or
>something similar) to 
>
>"protect from simple typing errors"
>
>as we have a legal TAILQ.

So does FreeBSD.  If you mix queue macros, the code won't compile because
all of the queue macros use different types.  This guards against "simple
typing errors".

>Regards,
>       Ignatios Souvatzis

--
Justin T. Gibbs
===========================================
  FreeBSD: Turning PCs into workstations
===========================================



Home | Main Index | Thread Index | Old Index