/*
- * Copyright (C) 2006-2011 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2012 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/** \file stdin.c Functions that deal with reading from stdin. */
-#include <dirent.h> /* readdir() */
#include <assert.h>
-#include <stdbool.h>
#include <regex.h>
#include "para.h"
if (ret >= 0)
return;
err:
- btr_remove_node(sit->btrn);
+ btr_remove_node(&sit->btrn);
//btr_pool_free(sit->btrp);
t->error = ret;
}
sit->task.pre_select = stdin_pre_select;
sit->task.post_select = stdin_post_select;
- sit->btrp = btr_pool_new("stdin", 64 * 1024);
+ sit->btrp = btr_pool_new("stdin", 128 * 1024);
sprintf(sit->task.status, "stdin reader");
ret = mark_fd_nonblocking(STDIN_FILENO);
if (ret >= 0)