diff options
m--------- | lib/libevent | 0 | ||||
m--------- | lib/polarssl | 0 | ||||
-rw-r--r-- | src/CheckBasicStyle.lua | 1 |
3 files changed, 1 insertions, 0 deletions
diff --git a/lib/libevent b/lib/libevent -Subproject 0b49ae34594533daa82c06a506078de9e336a01 +Subproject 62eaa889cc1996a7c58a389bf2dfa5d8ce784bd diff --git a/lib/polarssl b/lib/polarssl -Subproject d6a15321ae51762098e49a976d26efa2493c94f +Subproject 38f47a8546b55e2b593bba27f03070e1e82d3c8 diff --git a/src/CheckBasicStyle.lua b/src/CheckBasicStyle.lua index 0c7b05d6d..648a5711b 100644 --- a/src/CheckBasicStyle.lua +++ b/src/CheckBasicStyle.lua @@ -167,6 +167,7 @@ local function ProcessFile(a_FileName) os.exit(1) end local all = f:read("*all") + f:close() -- Check that the last line is empty - otherwise processing won't work properly: local lastChar = string.byte(all, string.len(all)) |