PERFORCE change 119527 for review

Fredrik Lindberg fli at shapeshifter.se
Wed May 9 19:25:48 UTC 2007


John Baldwin wrote:
> On Wednesday 09 May 2007 10:58:39 am Fredrik Lindberg wrote:
>> Ivan Voras wrote:
>>> On 09/05/07, Fredrik Lindberg <fli at shapeshifter.se> wrote:
>>>
>>>> Ok, I'll take a look at the various queue.h shipped with the major BSDs,
>>>> and see if I can find a common subset that suits my needs (without too
>>>> many compromises) and based on the findings I'll reconsider my choice.
>>> I use sys/queue.h in my userland applications all the time, there's no
>>> problem there.
>>>
>> And it works on {Net,Open}BSD?, I could swear that I've been bitten by
>> sys/queue.h in the past when moving stuff between FreeBSD and NetBSD.
>> Could have been those TAILQ-macros Robert Watson talked about though.
> 
> Just include your own copy of sys/queue.h for systems whose queue.h isn't up 
> to snuff.  You don't have to use the OS-native one, it's ok to carry one 
> around, but then you have one less copy of the wheel.
> 

Yes, that's true. We can drop this discussion/bikeshed now, I submitted
a change ~3 hours ago :)


http://perforce.freebsd.org/chv.cgi?CH=119564

Change 119564 by fli at fli_genesis on 2007/05/09 16:13:23

	Nuke my own-rolled list and replace with sys/queue.h


More information about the p4-projects mailing list