2
0
Fork 0

[lua]: provide filename to chunkfile for add_temp_file (needed to unlink it)

This commit is contained in:
Stefan Bühler 2010-03-03 11:16:16 +01:00
parent 405c6b26f4
commit a31b3ee403
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ static int _lua_chunkqueue_add_file(lua_State *L, gboolean tempfile) {
if (tempfile) {
li_chunkqueue_append_file_fd(cq, NULL, start, length, fd);
} else {
li_chunkqueue_append_tempfile_fd(cq, NULL, start, length, fd);
li_chunkqueue_append_tempfile_fd(cq, g_string_new_len(filename, len), start, length, fd);
}
return 0;