From: Alan Cox Date: Thu, 4 Jun 2015 10:36:37 +0000 (+0100) Subject: readi: read EOF handling fix X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d39c1632e9685bffd5d94699a0ff953f716ab8fc;p=FUZIX.git readi: read EOF handling fix Sign problems... We can read from beyond end of file but must EOF (unlike write) --- diff --git a/Kernel/process.c b/Kernel/process.c index b9a46709..30576d43 100644 --- a/Kernel/process.c +++ b/Kernel/process.c @@ -1,7 +1,7 @@ #undef DEBUG /* turn this on to enable syscall tracing */ #undef DEBUGHARDER /* report calls to wakeup() that lead nowhere */ #undef DEBUGREALLYHARD /* turn on getproc dumping */ -#undef DEBUG_PREEMPT /* debug pre-emption */ +#define DEBUG_PREEMPT /* debug pre-emption */ #include #include