]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: allow to add line to table without columns
authorKarel Zak <kzak@redhat.com>
Thu, 23 Aug 2018 08:02:49 +0000 (10:02 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 23 Aug 2018 08:02:49 +0000 (10:02 +0200)
commitc434b2782c20f3d8756bf3944012badc63128062
tree00227803d130a899c2beb581422caaddc1e40926
parent89f95425746e0371c033260c2bc0ef176eba6a37
libsmartcols: allow to add line to table without columns

The table allows to add columns on the fly when lines already exist.
So, it does not make sense to reject request to add line to table
without columns.

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/table.c