aboutsummaryrefslogtreecommitdiff
path: root/security/bioapi/files/patch-apps-mod_install-install.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/bioapi/files/patch-apps-mod_install-install.c')
-rw-r--r--security/bioapi/files/patch-apps-mod_install-install.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/security/bioapi/files/patch-apps-mod_install-install.c b/security/bioapi/files/patch-apps-mod_install-install.c
new file mode 100644
index 000000000000..9059b4851b8a
--- /dev/null
+++ b/security/bioapi/files/patch-apps-mod_install-install.c
@@ -0,0 +1,18 @@
+--- apps/mod_install/install.c Wed Jun 8 02:51:04 2005
++++ apps/mod_install/install.c Fri Nov 25 18:08:54 2005
+@@ -370,8 +370,13 @@
+ #if defined (LINUX) || defined (SOLARIS)
+ if ( ( Action == INSTALL_ACTION_INSTALL ) || ( Action == INSTALL_ACTION_REFRESH ) )
+ {
+- strcat(szSrcPath, ModuleName);
+- Src = szSrcPath;
++ if (strchr(ModuleName, '/') == NULL) {
++ strcat(szSrcPath, ModuleName);
++ Src = szSrcPath;
++ }
++ else {
++ Src = ModuleName;
++ }
+ }
+ if ( Action == INSTALL_ACTION_UNINSTALL )
+ {