Comment 2 for bug 466090

Revision history for this message
Michael Widenius (monty) wrote : [Bug 466090] Re: Missing define for internal libevent on Debian 4 (Etch)

Hi!

>>>>> "Arjen" == Arjen Lentz <email address hidden> writes:

Arjen> Since this bug/fix involves a main source modification, the OurDelta
Arjen> builds of MariaDB 5.1 for Debian 4 have been deferred until this patch
Arjen> is reviewed for the release line.

#ifndef HAVE_TAILQFOREACH
/* These following macros are copied from BSD sys/queue.h
   Copyright (c) 1991, 1993, The Regents of the University of California.
   All rights reserved.
*/

#define TAILQ_EMPTY(head) ((head)->tqh_first == NULL)

I checked the BSD code and the macros has similar names, but
implementation is different.

As the names as such are not copyrightable and we don't strictly need the
above comment but I agree that it's good to give credits where credits
is due, so lets keep them.

I also checked that the README file contains the Copyright text
required by the BSD code, so we are in the clear regarding this.

Arjen, ok to push your fix to the 5.1-release tree.

Regards,
Monty