forked from troydhanson/uthash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utlist: Fix a segfault in DL_INSERT_INORDER2.
This was a cut-and-paste error in 47145f5. Thanks to @MattiasErikssonAxentia for the patch and test-case!
- Loading branch information
1 parent
9556e3b
commit 8488951
Showing
3 changed files
with
57 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
n g m f l e k d j c i b o h a | ||
LL_INSERT_INORDER | ||
list1: n g m f l e k d j c i b o h a | ||
list2: o h a i b j c k d l e m f n g | ||
DL_INSERT_INORDER | ||
n g m f l e k d j c i b o h a | ||
list1: n g m f l e k d j c i b o h a | ||
list2: o h a i b j c k d l e m f n g | ||
CDL_INSERT_INORDER | ||
list1: | ||
n g m f l e k d j c i b o h a | ||
n a h o b i c j d k e l f m g | ||
list2: | ||
o h a i b j c k d l e m f n g | ||
o g n f m e l d k c j b i a h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters