X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=stdin.c;h=b9b2e8bfa6355684e3ea703de2e0ba6eee813153;hb=3b45609699cebbc20178b435f30adbab14d9e42a;hp=438883a76f5925d32a2e04810049902386019fce;hpb=335730538150250f32c0df0b184fb494e2bb0df3;p=paraslash.git diff --git a/stdin.c b/stdin.c index 438883a7..b9b2e8bf 100644 --- a/stdin.c +++ b/stdin.c @@ -47,7 +47,7 @@ static void stdin_pre_select(struct sched *s, struct task *t) * * This function checks if \p STDIN_FILENO was included by in the read fd set * of \a s during the previous pre_select call. If yes, and \p STDIN_FILENO - * appeears to be readable, data is read from stdin into the buffer of the + * appears to be readable, data is read from stdin into the buffer of the * stdin task. */ static void stdin_post_select(struct sched *s, struct task *t) @@ -74,7 +74,7 @@ static void stdin_post_select(struct sched *s, struct task *t) * * \param sit The stdin task structure. * - * This fills in the pre/post select function poinzters of the task structure + * This fills in the pre/post select function pointers of the task structure * given by \a sit. It also sets up a default error handler which unregisters * the task. Moreover, \a loaded and \a eof are set to zero and \a bufsize is * initialized to 16 KB (but no buffer is allocated). @@ -84,7 +84,6 @@ void stdin_set_defaults(struct stdin_task *sit) int ret; sit->bufsize = 16 * 1024, - sit->loaded = 0, sit->task.pre_select = stdin_pre_select; sit->task.post_select = stdin_post_select; sprintf(sit->task.status, "stdin reader");