[FarGroup/FarManager] master: LuaFAR: fix crash during Polygon test on Far 3.0.6543 (c7c75e370)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Sep 6, 2025, 2:15:50 AM (2 days ago) Sep 6
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/c7c75e37070c6f2e80c01d5ae7e09c82cdd4cd46

>---------------------------------------------------------------

commit c7c75e37070c6f2e80c01d5ae7e09c82cdd4cd46
Author: Shmuel Zeigerman <solo...@gmail.com>
Date: Sat Sep 6 09:08:52 2025 +0300

LuaFAR: fix crash during Polygon test on Far 3.0.6543


>---------------------------------------------------------------

c7c75e37070c6f2e80c01d5ae7e09c82cdd4cd46
plugins/luamacro/_globalinfo.lua | 2 +-
plugins/luamacro/changelog | 6 ++++++
plugins/luamacro/luafar/lf_exported.c | 2 +-
plugins/luamacro/luafar/lf_version.h | 2 +-
4 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/plugins/luamacro/_globalinfo.lua b/plugins/luamacro/_globalinfo.lua
index 9207a647e..92478787c 100644
--- a/plugins/luamacro/_globalinfo.lua
+++ b/plugins/luamacro/_globalinfo.lua
@@ -1,6 +1,6 @@
function export.GetGlobalInfo()
return {
- Version = { 3, 0, 0, 889 },
+ Version = { 3, 0, 0, 890 },
MinFarVersion = { 3, 0, 0, 6462 },
Guid = win.Uuid("4EBBEFC8-2084-4B7F-94C0-692CE136894D"),
Title = "LuaMacro",
diff --git a/plugins/luamacro/changelog b/plugins/luamacro/changelog
index ee6644d64..a5c14b311 100644
--- a/plugins/luamacro/changelog
+++ b/plugins/luamacro/changelog
@@ -1,3 +1,9 @@
+shmuel 2025-09-06 09:05:47+03:00 - build 890
+
+1. LuaFAR: minor reformat in 3 files.
+
+2. LuaFAR: fix crash during Polygon test on Far 3.0.6543.
+
shmuel 2025-08-22 18:26:47+03:00 - build 889

1. LuaFAR: correct build 888.
diff --git a/plugins/luamacro/luafar/lf_exported.c b/plugins/luamacro/luafar/lf_exported.c
index c35a267af..7ab4c9a96 100644
--- a/plugins/luamacro/luafar/lf_exported.c
+++ b/plugins/luamacro/luafar/lf_exported.c
@@ -166,7 +166,7 @@ const wchar_t* _AddStringToCollector(lua_State *L, int pos)
}

lua_pop(L,1);
- return NULL;
+ return L"";
}

// input table is on stack top (-1)
diff --git a/plugins/luamacro/luafar/lf_version.h b/plugins/luamacro/luafar/lf_version.h
index 117189fc5..b65c330c0 100644
--- a/plugins/luamacro/luafar/lf_version.h
+++ b/plugins/luamacro/luafar/lf_version.h
@@ -1,3 +1,3 @@
#include <farversion.hpp>

-#define PLUGIN_BUILD 889
+#define PLUGIN_BUILD 890


Reply all
Reply to author
Forward
0 new messages