]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: reflect changinging SCOLS_FL_TREE after adding to table
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>
Sat, 16 Jan 2016 21:51:52 +0000 (22:51 +0100)
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>
Sun, 17 Jan 2016 08:44:09 +0000 (09:44 +0100)
commitd10fa7e6dd2b936edcfc5e6ab78687e60e57b46a
treeedcff3a9bca0f529f89cf53b0d3632cde3af9226
parent7ebbb9918edcd0a6ac059e70290c8cc0cd7c747e
libsmartcols: reflect changinging SCOLS_FL_TREE after adding to table

When scols_column_set_flags() is called we will compare before & after
status of SCOLS_FL_TREE flag and appropriately handle tb->ntreecols.

Reference: https://github.com/karelzak/util-linux/issues/254
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
libsmartcols/src/column.c
libsmartcols/src/smartcolsP.h
libsmartcols/src/table.c