mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
ce44d21673
Change MAINTAINER to Stephen Kiernam <sk-ports@vegamuse.org>. PR: ports/11880 Submitted by: Stephen Kiernam <sk-ports@vegamuse.org> No response from: old maintainer
35 lines
689 B
Plaintext
35 lines
689 B
Plaintext
*** ../../wmmon.app/wmgeneral/list.c.orig Tue May 19 17:13:23 1998
|
|
--- ../../wmmon.app/wmgeneral/list.c Mon May 24 21:26:26 1999
|
|
***************
|
|
*** 44,51 ****
|
|
LinkedList* cell;
|
|
|
|
cell = (LinkedList*)malloc(sizeof(LinkedList));
|
|
! cell->head = head;
|
|
! cell->tail = tail;
|
|
return cell;
|
|
}
|
|
|
|
--- 44,54 ----
|
|
LinkedList* cell;
|
|
|
|
cell = (LinkedList*)malloc(sizeof(LinkedList));
|
|
! if (cell)
|
|
! {
|
|
! cell->head = head;
|
|
! cell->tail = tail;
|
|
! }
|
|
return cell;
|
|
}
|
|
|
|
***************
|
|
*** 84,89 ****
|
|
--- 87,93 ----
|
|
INLINE void
|
|
list_remove_head(LinkedList** list)
|
|
{
|
|
+ if (!list) return;
|
|
if (!*list) return;
|
|
if ((*list)->tail)
|
|
{
|