On October 3, 2016 at 10:36:27 AM, Conrad Meyer (c...@freebsd.org) wrote:
On Sun, Oct 2, 2016 at 6:46 PM, Marcel Moolenaar <mar...@freebsd.org> wrote: 
> Author: marcel 
> Date: Mon Oct 3 01:46:47 2016 
> New Revision: 306620 
> URL: https://svnweb.freebsd.org/changeset/base/306620 
> 
> Log: 
> Replace STAILQ with TAILQ. TAILQs are portable enough that they can 
> be used on both macOS and Linux. STAILQs are not. In particular, 
> STAILQ_LAST does not next on Linux. Since neither STAILQ_FOREACH_SAFE 
> nor TAILQ_FOREACH_SAFE exist on Linux, replace its use with a regular 
> TAILQ_FOREACH. The _SAFE variant was only used for having the next 
> pointer in a local variable. 

All of these routines are available in the "libbsd" sys/queue.h. You 
might find other helpful portability/compatibility routines there, 
requiring fewer changes to the FreeBSD mkimg. 
Oh, nice. I’ll take a look.


Attachment: signature.asc
Description: Message signed with OpenPGP using AMPGpg

Reply via email to