diff --git a/ChangeLog b/ChangeLog index d9306fd01..214082750 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-03-13 Sebastian Wilhelmi + + * gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We + want the next and prev pointer of the inserted link to be NULL. + 2000-03-06 Sebastian Wilhelmi * configure.in: Another small change to the pthread_.. search diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index d9306fd01..214082750 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2000-03-13 Sebastian Wilhelmi + + * gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We + want the next and prev pointer of the inserted link to be NULL. + 2000-03-06 Sebastian Wilhelmi * configure.in: Another small change to the pthread_.. search diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d9306fd01..214082750 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2000-03-13 Sebastian Wilhelmi + + * gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We + want the next and prev pointer of the inserted link to be NULL. + 2000-03-06 Sebastian Wilhelmi * configure.in: Another small change to the pthread_.. search diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index d9306fd01..214082750 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2000-03-13 Sebastian Wilhelmi + + * gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We + want the next and prev pointer of the inserted link to be NULL. + 2000-03-06 Sebastian Wilhelmi * configure.in: Another small change to the pthread_.. search diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index d9306fd01..214082750 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2000-03-13 Sebastian Wilhelmi + + * gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We + want the next and prev pointer of the inserted link to be NULL. + 2000-03-06 Sebastian Wilhelmi * configure.in: Another small change to the pthread_.. search diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index d9306fd01..214082750 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2000-03-13 Sebastian Wilhelmi + + * gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We + want the next and prev pointer of the inserted link to be NULL. + 2000-03-06 Sebastian Wilhelmi * configure.in: Another small change to the pthread_.. search diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index d9306fd01..214082750 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2000-03-13 Sebastian Wilhelmi + + * gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We + want the next and prev pointer of the inserted link to be NULL. + 2000-03-06 Sebastian Wilhelmi * configure.in: Another small change to the pthread_.. search diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d9306fd01..214082750 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2000-03-13 Sebastian Wilhelmi + + * gqueue.c (g_queue_push_tail_link, g_queue_push_head_link): We + want the next and prev pointer of the inserted link to be NULL. + 2000-03-06 Sebastian Wilhelmi * configure.in: Another small change to the pthread_.. search diff --git a/glib/gqueue.c b/glib/gqueue.c index e2a5b7e68..46730a51a 100644 --- a/glib/gqueue.c +++ b/glib/gqueue.c @@ -87,8 +87,8 @@ g_queue_push_head_link (GQueue *queue, { g_return_if_fail (queue != NULL); g_return_if_fail (link != NULL); - g_return_if_fail (link->prev != NULL); - g_return_if_fail (link->next != NULL); + g_return_if_fail (link->prev == NULL); + g_return_if_fail (link->next == NULL); link->next = queue->head; if (queue->head) @@ -119,8 +119,8 @@ g_queue_push_tail_link (GQueue *queue, { g_return_if_fail (queue != NULL); g_return_if_fail (link != NULL); - g_return_if_fail (link->prev != NULL); - g_return_if_fail (link->next != NULL); + g_return_if_fail (link->prev == NULL); + g_return_if_fail (link->next == NULL); link->prev = queue->tail; if (queue->tail) diff --git a/gqueue.c b/gqueue.c index e2a5b7e68..46730a51a 100644 --- a/gqueue.c +++ b/gqueue.c @@ -87,8 +87,8 @@ g_queue_push_head_link (GQueue *queue, { g_return_if_fail (queue != NULL); g_return_if_fail (link != NULL); - g_return_if_fail (link->prev != NULL); - g_return_if_fail (link->next != NULL); + g_return_if_fail (link->prev == NULL); + g_return_if_fail (link->next == NULL); link->next = queue->head; if (queue->head) @@ -119,8 +119,8 @@ g_queue_push_tail_link (GQueue *queue, { g_return_if_fail (queue != NULL); g_return_if_fail (link != NULL); - g_return_if_fail (link->prev != NULL); - g_return_if_fail (link->next != NULL); + g_return_if_fail (link->prev == NULL); + g_return_if_fail (link->next == NULL); link->prev = queue->tail; if (queue->tail)