[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] simulavr-0.0.10 bug
From: |
Theodore A. Roth |
Subject: |
[avr-gcc-list] simulavr-0.0.10 bug |
Date: |
Thu, 6 Dec 2001 19:59:33 -0700 (MST) |
Hi All,
I just found out that my simulavr-0.0.10 has a nice bug in the new linked
list code.
Ted Roth
Here's a patch with the fix:
Index: simulavr/src/utils.c
diff -u simulavr/src/utils.c:1.4 simulavr/src/utils.c:1.5
--- simulavr/src/utils.c:1.4 Wed Dec 5 12:26:35 2001
+++ simulavr/src/utils.c Thu Dec 6 19:17:20 2001
@@ -1,5 +1,5 @@
/*
- * $Id: utils.c,v 1.4 2001/12/05 19:26:35 troth Exp $
+ * $Id: utils.c,v 1.5 2001/12/07 02:17:20 troth Exp $
*
****************************************************************************
*
@@ -161,6 +161,7 @@
/* at the tail */
node->next = dlist_new_node( data );
node->next->prev = node;
+ break;
}
/* move on to next node */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-gcc-list] simulavr-0.0.10 bug,
Theodore A. Roth <=