Hiltjo Posthuma 9f97430143 libutil/getlines: fix crash with no lines
because b->lines and b->nlines would be 0 with no lines read.

reproduce: printf '' | sort or cols

bug was introduced by commit: 66a5ea722d18fc76ce7c5c4323e8cfebe58e7517
2015-03-29 21:48:49 +02:00
..
2015-03-18 22:58:42 +01:00
2015-03-19 17:57:12 +01:00
2015-02-11 01:17:21 +00:00
2014-11-17 16:48:34 +00:00
2014-11-17 16:48:34 +00:00
2014-11-17 16:48:34 +00:00
2014-11-17 16:48:34 +00:00
2014-11-17 16:48:34 +00:00
2014-11-17 16:48:34 +00:00
2014-11-17 16:48:34 +00:00
2015-03-10 22:19:19 +01:00
2015-03-19 01:08:19 +01:00
2014-11-17 16:48:34 +00:00
2014-11-17 16:48:34 +00:00
2014-11-17 16:48:34 +00:00
2014-11-21 00:03:30 +00:00
2015-03-17 11:24:49 +01:00
2015-03-17 11:24:49 +01:00
2015-01-25 17:48:11 +00:00