aboutsummaryrefslogtreecommitdiff
path: root/vc6
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2015-06-14 22:44:46 +0200
committerPhilipp Janda <siffiejoe@gmx.net>2015-06-14 22:44:46 +0200
commitc315150aff4496eb50f4b9a4d9da9f7869710d36 (patch)
treea0cc295bb8db8c62973fff3f6113c6e8c7c469dc /vc6
parent5f8b6461a2deedd0eacd62fc20ea46f944307f7b (diff)
downloadluafilesystem-c315150aff4496eb50f4b9a4d9da9f7869710d36.tar.gz
luafilesystem-c315150aff4496eb50f4b9a4d9da9f7869710d36.tar.bz2
luafilesystem-c315150aff4496eb50f4b9a4d9da9f7869710d36.zip
Fix detection of closed files on Lua 5.2/5.3.
Lua 5.2 changed the protocol on how to represent closed files: Lua 5.1 sets the file pointer to NULL, Lua 5.2 sets the close function pointer to NULL (a NULL file pointer now signals an incompletely constructed object). Also `luaL_checkudata` never returns NULL, it raises an error instead if you have an invalid value (no userdata/not correct userdata type).
Diffstat (limited to 'vc6')
0 files changed, 0 insertions, 0 deletions