403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/databases/mdbtools/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/databases/mdbtools/files/patch-src_libmdb_options.c
--- src/libmdb/options.c.orig	2020-12-17 19:03:05 UTC
+++ src/libmdb/options.c
@@ -50,9 +50,12 @@ load_options()
 {
 	char *opt;
 	char *s;
-    char *ctx;
+	char *ctx;
 
-    if (!optset && (s=getenv("MDBOPTS"))) {
+	if (optset)
+		return;
+
+	if ((s=getenv("MDBOPTS"))) {
 		opt = strtok_r(s, ":", &ctx);
 		while (opt) {
         	if (!strcmp(opt, "use_index")) opts |= MDB_USE_INDEX;
@@ -74,6 +77,9 @@ load_options()
 			opt = strtok_r(NULL,":", &ctx);
 		}
     }
+#ifdef HAVE_LIBMSWSTR
+	opts |= MDB_USE_INDEX;
+#endif
 	optset = 1;
 }
 int

Youez - 2016 - github.com/yon3zu
LinuXploit