From fb77429540863b4036292115a14c52f6beaf9ac1 Mon Sep 17 00:00:00 2001 From: C4Phone Date: Mon, 7 Dec 2015 11:00:36 -0600 Subject: [PATCH] stardard write fops for terminal --- mp3/student-distrib/drivers/terminal.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/mp3/student-distrib/drivers/terminal.cpp b/mp3/student-distrib/drivers/terminal.cpp index 092f5b44..64002c7b 100644 --- a/mp3/student-distrib/drivers/terminal.cpp +++ b/mp3/student-distrib/drivers/terminal.cpp @@ -233,8 +233,6 @@ namespace Term const char* cbuf = (const char*) buf; for(i = 0; i < nbytes; i++) { - if(cbuf[i] == 0) // end of string - return i; nolock_putc(cbuf[i]); } return nbytes;