Denys Vlasenko
7ce209b9d4
shell_builtin_read: set cc[VMIN] to 1; lineedit: don't clear c_cc[VINTR]
...
First change fixes "read -n NUM". Apparently poll() won't report
data availability if cc[VMIN] > 1 until there are at least cc[VMIN] bytes.
function old new delta
read_line_input 3885 3877 -8
shell_builtin_read 1097 1087 -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-18) Total: -18 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2012-01-15 22:58:06 +01:00
..
2011-09-22 12:45:14 +02:00
2010-08-16 20:14:46 +02:00
2011-10-22 06:27:41 +02:00
2010-10-18 11:40:26 +02:00
2010-08-16 20:14:46 +02:00
2011-03-01 16:27:13 +01:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2011-12-22 13:00:32 +01:00
2008-06-27 02:52:20 +00:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2011-09-13 14:59:06 +02:00
2011-01-28 19:14:17 +01:00
2010-08-16 20:14:46 +02:00
2008-12-03 18:48:39 +00:00
2011-02-03 00:05:48 +01:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-09-01 16:04:24 +02:00
2010-08-16 20:14:46 +02:00
2011-08-09 04:05:13 +02:00
2011-11-18 02:47:35 +01:00
2011-02-02 03:28:56 +01:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2011-01-31 06:27:35 +01:00
2010-08-16 20:14:46 +02:00
2010-12-28 10:25:03 +01:00
2010-10-28 18:57:19 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2011-05-23 00:40:54 +02:00
2011-06-17 03:37:43 +02:00
2011-03-08 21:02:42 +01:00
2010-08-16 20:14:46 +02:00
2011-08-10 00:51:29 +02:00
2011-08-28 05:31:49 +02:00
2011-09-10 13:25:57 +02:00
2011-09-10 13:25:57 +02:00
2010-08-16 20:14:46 +02:00
2010-10-28 18:57:19 +02:00
2011-09-08 10:59:26 +02:00
2011-07-08 08:34:28 +02:00
2010-08-16 20:14:46 +02:00
2010-10-28 18:57:19 +02:00
2011-12-18 03:27:46 +01:00
2011-09-07 17:55:40 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2012-01-15 22:58:06 +01:00
2011-05-16 12:21:31 +02:00
2010-10-28 18:57:19 +02:00
2011-09-12 08:30:16 +02:00
2010-10-28 18:57:19 +02:00
2011-01-24 23:53:12 +01:00
2011-09-07 22:19:46 +02:00
2011-02-10 10:01:49 +01:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2011-07-08 08:34:28 +02:00
2012-01-11 00:37:17 +01:00
2010-10-28 18:57:19 +02:00
2011-09-11 21:04:02 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2011-06-29 02:19:58 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-10-25 12:14:21 +02:00
2011-08-28 11:57:36 +02:00
2011-03-12 02:19:50 +01:00
2010-08-16 20:14:46 +02:00
2009-05-01 03:41:25 +02:00
2010-10-16 20:45:27 +02:00
2010-12-01 13:57:25 +01:00
2011-05-13 03:19:01 +02:00
2011-11-03 13:28:22 +01:00
2011-09-22 12:45:14 +02:00
2010-08-16 20:14:46 +02:00
2010-07-26 01:49:12 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-06-27 03:23:31 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-10-19 23:07:49 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2011-03-06 18:49:40 +01:00
2010-08-16 20:14:46 +02:00
2010-10-29 11:46:52 +02:00
2011-04-11 03:58:30 +02:00
2010-08-16 20:14:46 +02:00
2010-10-28 18:57:19 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2011-02-12 01:56:25 +01:00
2011-01-17 14:23:42 +01:00
2010-08-16 20:14:46 +02:00
2011-01-03 13:08:58 +01:00
2011-08-28 05:31:49 +02:00
2011-03-27 01:18:07 +01:00
2010-11-03 02:48:43 +01:00
2011-01-25 23:21:46 +01:00
2011-10-28 16:15:00 +02:00
2011-10-24 04:06:18 +02:00
2010-08-16 20:14:46 +02:00
2011-11-09 19:44:37 +01:00
2010-08-16 20:14:46 +02:00
2010-10-28 18:57:19 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-10-28 18:57:19 +02:00
2010-08-16 20:14:46 +02:00
2011-04-07 17:52:20 +02:00
2010-08-16 20:14:46 +02:00
2010-10-22 13:27:16 +02:00
2011-01-24 00:29:55 +01:00
2010-10-28 18:57:19 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00