stk: Constraint the appearance of empty item
authorYang Gu <yang.gu@intel.com>
Mon, 31 May 2010 11:13:21 +0000 (19:13 +0800)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 1 Jun 2010 19:02:32 +0000 (14:02 -0500)
commit52ddd8c28374a75384f9f95a12b280ab37de139a
treed5cb4e87179b25e9667b66292b12986d3dc95f39
parente8dec14a7c4e6dc3b203e1dbc91a603216b5e037
stk: Constraint the appearance of empty item

If empty item turns out, it must be the only item in the list.
So the following situations are deemed as invalid:
1. Two empty items
2. Valid item + empty item
3. empty + valid item
src/stkutil.c