From 6d886b8ec9bafbbedb266748c86d8a1d68f733ec Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Wed, 24 Jul 2013 14:28:22 -0700 Subject: The new file API requires to explicitely open files now. --- Balau | 2 +- src/Dalos-cli.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Balau b/Balau index 712b4be..d8294ff 160000 --- a/Balau +++ b/Balau @@ -1 +1 @@ -Subproject commit 712b4bed9973c60b5c139f98e51ed804ce8a628d +Subproject commit d8294ff945902faf1ac26c3ad5cabef26e01ed8f diff --git a/src/Dalos-cli.cc b/src/Dalos-cli.cc index dd0a4a8..ae4806c 100644 --- a/src/Dalos-cli.cc +++ b/src/Dalos-cli.cc @@ -72,6 +72,7 @@ void MainTask::Do() { while (optind < argc) { todo = true; IO file(new Input(argv[optind++])); + file->open(); LuaExecFile luaExecFile(file); luaExecFile.exec(luaMainTask); luaExecFile.throwError(); -- cgit v1.2.3