public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
156edbd
)
readi: read EOF handling fix
author
Alan Cox
<alan@linux.intel.com>
Thu, 4 Jun 2015 10:36:37 +0000
(11:36 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 4 Jun 2015 10:36:37 +0000
(11:36 +0100)
Sign problems...
We can read from beyond end of file but must EOF (unlike write)
Kernel/process.c
patch
|
blob
|
history
diff --git
a/Kernel/process.c
b/Kernel/process.c
index
b9a4670
..
30576d4
100644
(file)
--- 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 <kernel.h>
#include <tty.h>