diff options
author | Pixel <pixel@nobis-crew.org> | 2011-10-17 21:02:52 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-10-17 21:02:52 -0700 |
commit | 10d0f503fb68946c265bad18dd755fdc816075c1 (patch) | |
tree | 3c6b02f2f7e27abd42adf580c1b3ecc97386613a /src/Input.cc | |
parent | 6bd1e79d98f95115c356a9e3e7fdb02dcf221a4e (diff) |
Adding an early version of the 'engine debug' facility.
Diffstat (limited to 'src/Input.cc')
-rw-r--r-- | src/Input.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Input.cc b/src/Input.cc index 94cfe8f..8f16321 100644 --- a/src/Input.cc +++ b/src/Input.cc @@ -6,6 +6,7 @@ #include "eio.h" #include "Input.h" #include "Task.h" +#include "Printer.h" #ifdef _WIN32 const char * strerror_r(int errorno, char * buf, size_t bufsize) { @@ -49,6 +50,8 @@ static int eioStatsDone(eio_req * req) { Balau::Input::Input(const char * fname) throw (GeneralException) : m_fd(-1), m_size(-1), m_mtime(-1) { m_name.set("Input(%s)", fname); + Printer::elog(E_INPUT, "Opening file %s", fname); + cbResults_t cbResults; eio_req * r = eio_open(fname, O_RDONLY, 0, 0, eioDone, &cbResults); Assert(r != 0); |