aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-05-12 13:20:57 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2012-05-12 13:20:57 -0700
commitc6a649166658c38d6b4ae6a2e039994566f3e5d9 (patch)
tree388b6b4274b09cd61798e3485c4aa44a04062147
parent1a2cf5ff1da1fa7b24e0567afc2defb7f48a5db7 (diff)
downloadklibc-c6a649166658c38d6b4ae6a2e039994566f3e5d9.tar.gz
[klibc] fgets: remove obsolete comment
Remove obsolete comment about fgets() being super slow. We have buffered I/O now. Note that fgets() certainly could be made faster by getting data directly from the buffer rather than calling getc(). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--usr/klibc/fgets.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr/klibc/fgets.c b/usr/klibc/fgets.c
index cb4711afb6d161..dbf742c68779b6 100644
--- a/usr/klibc/fgets.c
+++ b/usr/klibc/fgets.c
@@ -1,9 +1,5 @@
/*
* fgets.c
- *
- * This will be very slow due to the implementation of getc(),
- * but we don't have anywhere to put characters we don't need from
- * the input.
*/
#include <stdio.h>