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. --- src/Dalos-cli.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Dalos-cli.cc') 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