aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-04-26 04:30:02 +1000
committerGravatar axel <axel@liljencrantz.se>2007-04-26 04:30:02 +1000
commitd0585befb341939ee1925d6dc253eb3888982f5c (patch)
treef86ded9c0d373b4a4f1e7dc8c4e45148223484de /reader.h
parent784c5d9fa32bfe322239a9dc7873ef27484f7c56 (diff)
Make sure that io redirections are respected by the '.' builtin. This was not the case earlier, which caused various bugs, especially after eval was made into a function that internally used '.'
darcs-hash:20070425183002-ac50b-d7d93e3b74e7274fe3e0aad98e95dd608bb903ae.gz
Diffstat (limited to 'reader.h')
-rw-r--r--reader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/reader.h b/reader.h
index 36f22726..2159deec 100644
--- a/reader.h
+++ b/reader.h
@@ -12,11 +12,12 @@
#include <wchar.h>
#include "util.h"
+#include "io.h"
/**
Read commands from \c fd until encountering EOF
*/
-int reader_read( int fd);
+int reader_read( int fd, io_data_t *io);
/**
Tell the shell that it should exit after the currently running command finishes.