From 3d7c92eff7c724d6cdd431d60cc8921e7117ddf4 Mon Sep 17 00:00:00 2001 From: mav Date: Sat, 3 Oct 2015 11:37:00 +0000 Subject: MFV r287703, r287705 (by delphij): 6091 avl_add doesn't assert on non-debug builds Use assfail() from libuutil instead of ASSERT() in userland AVL avl_add. illumos/illumos-gate@faa2b6be2fc102adf9ed584fc1a667b4ddf50d78 Illumos issues: 6091 avl_add doesn't assert on non-debug builds https://www.illumos.org/issues/6091 --- cddl/contrib/opensolaris/cmd/sgs/tools/common/sgsmsg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cddl/contrib/opensolaris/cmd') diff --git a/cddl/contrib/opensolaris/cmd/sgs/tools/common/sgsmsg.c b/cddl/contrib/opensolaris/cmd/sgs/tools/common/sgsmsg.c index 9b2e37b..9432161 100644 --- a/cddl/contrib/opensolaris/cmd/sgs/tools/common/sgsmsg.c +++ b/cddl/contrib/opensolaris/cmd/sgs/tools/common/sgsmsg.c @@ -132,6 +132,8 @@ typedef struct msg_string { static msg_string *msg_head; static msg_string *msg_tail; +int aok; + /* * message_append() is responsible for both inserting strings into * the master Str_tbl as well as maintaining a list of the -- cgit v1.1