代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/fprintd 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From eeaacececf6ebbc3437594ee883bfc459a735a4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?=
Date: Fri, 14 Oct 2022 13:12:11 +0200
Subject: [PATCH 14/14] Fix loading external modules
The module function pointer for discover_users() was not
detected and was left as NULL.
---
src/main.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index f2328da..44feb6f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -64,14 +64,17 @@ load_storage_module (const char *module_name)
if (module == NULL)
return FALSE;
+ g_debug ("About to load module '%s'", filename);
if (!g_module_symbol (module, "init", (gpointer *) &store.init) ||
!g_module_symbol (module, "deinit", (gpointer *) &store.deinit) ||
!g_module_symbol (module, "print_data_save", (gpointer *) &store.print_data_save) ||
!g_module_symbol (module, "print_data_load", (gpointer *) &store.print_data_load) ||
!g_module_symbol (module, "print_data_delete", (gpointer *) &store.print_data_delete) ||
- !g_module_symbol (module, "discover_prints", (gpointer *) &store.discover_prints))
+ !g_module_symbol (module, "discover_prints", (gpointer *) &store.discover_prints) ||
+ !g_module_symbol (module, "discover_users", (gpointer *) &store.discover_users))
{
g_module_close (module);
+ g_debug ("Failed to load module. Please update your code.");
return FALSE;
}
--
2.37.1.windows.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。