Andrey A. Chernov 0b51c11a0e Fix n == 1 case. Here should be no physical read (fill buffer) attempt
(we read n - 1 chars with the room for NUL, see fgets()),
and no NULL return.

MFC after:      3 days
2016-09-05 06:10:51 +00:00
..
2013-04-23 14:36:44 +00:00
2016-07-30 01:16:06 +00:00
2015-07-04 16:42:14 +00:00
2015-07-04 16:42:14 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2015-04-22 01:54:25 +00:00
2015-11-23 12:47:08 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2014-07-22 23:29:54 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-07-12 17:37:05 +00:00
2016-07-30 01:13:54 +00:00
2014-07-20 20:29:28 +00:00
2013-04-23 14:36:44 +00:00
2013-08-09 17:24:23 +00:00
2013-08-09 17:24:23 +00:00
2016-03-28 16:48:28 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2014-07-22 16:39:11 +00:00
2014-07-22 23:29:54 +00:00
2013-04-23 14:36:44 +00:00
2014-07-22 16:10:56 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2014-07-20 21:24:29 +00:00
2013-04-23 14:36:44 +00:00