aboutsummaryrefslogtreecommitdiffstats
path: root/package/lua/lua-bug7-string_format.patch
diff options
context:
space:
mode:
authorFrançois Perrad <francois.perrad@gadz.org>2012-07-14 15:11:59 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-14 19:13:26 +0200
commit55bdb7d01a563bb64ec057b0cf2e759135efb2f2 (patch)
tree03618c0726a61aa4d3b9d382678ca9a879caa9c9 /package/lua/lua-bug7-string_format.patch
parent830c5868ed96a06007050f6b134e2a9954e88b10 (diff)
downloadbuildroot-novena-55bdb7d01a563bb64ec057b0cf2e759135efb2f2.tar.gz
buildroot-novena-55bdb7d01a563bb64ec057b0cf2e759135efb2f2.zip
lua: bump version to 5.1.5
[thomas.petazzoni@free-electrons.com: rewrote the patch, which was corrupted in the original submission. Used quilt to refresh the Lua patches, so that the version numbers are no longer present in the file names] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lua/lua-bug7-string_format.patch')
-rw-r--r--package/lua/lua-bug7-string_format.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/lua/lua-bug7-string_format.patch b/package/lua/lua-bug7-string_format.patch
deleted file mode 100644
index 68f31977f..000000000
--- a/package/lua/lua-bug7-string_format.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- lua-5.1.4.orig/src/lstrlib.c 2008/07/11 17:27:21 1.132.1.4
-+++ lua-5.1.4/src/lstrlib.c 2010/05/14 15:12:53
-@@ -754,6 +754,7 @@
-
-
- static int str_format (lua_State *L) {
-+ int top = lua_gettop(L);
- int arg = 1;
- size_t sfl;
- const char *strfrmt = luaL_checklstring(L, arg, &sfl);
-@@ -768,7 +769,8 @@
- else { /* format item */
- char form[MAX_FORMAT]; /* to store the format (`%...') */
- char buff[MAX_ITEM]; /* to store the formatted item */
-- arg++;
-+ if (++arg > top)
-+ luaL_argerror(L, arg, "no value");
- strfrmt = scanformat(L, strfrmt, form);
- switch (*strfrmt++) {
- case 'c': {