Juan Carrano 2810637306
sys/shell: correctly detect and handle long lines
The numeric value for EOF is -1. This caused the shell to return
the same code when EOF was encountered and when the line lenght was
exceeded. Additionally, if the line length is exceeded, the correct
behaviour is to consume the remaining characters until the end of
the line, to prevent the following line from containing (potentially
dangerous) garbage.

Co-authored-by: Hendrik van Essen <hendrik.ve@fu-berlin.de>
2020-03-30 12:26:20 +02:00
..
2019-11-23 22:39:07 +01:00
2020-02-07 13:35:25 +01:00
2019-11-23 22:39:40 +01:00
2019-11-23 22:39:37 +01:00
2020-03-06 19:49:58 +01:00
2020-02-20 13:24:14 +01:00
2019-11-23 22:39:37 +01:00
2019-12-05 15:39:24 +01:00
2019-11-23 22:39:37 +01:00
2019-11-23 22:39:38 +01:00
2019-09-09 20:27:16 +02:00
2020-03-09 17:56:34 +01:00
2020-03-12 08:42:59 +01:00
2019-11-23 22:39:38 +01:00
2019-11-23 22:39:07 +01:00
2019-06-05 17:10:26 +02:00
2020-02-11 13:59:59 +01:00
2019-04-12 15:51:15 +02:00
2020-03-04 12:44:02 +01:00