mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Fix error in suffixes area when importing affixes to DB
This commit is contained in:
parent
8155707f26
commit
3d8e06d635
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37883
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= mnogosearch
|
||||
PORTVERSION= 3.1.9
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= www databases
|
||||
MASTER_SITES= http://search.mnogo.ru/Download/
|
||||
|
||||
|
19
www/mnoGoSearch-current/files/patch-ae
Normal file
19
www/mnoGoSearch-current/files/patch-ae
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/spell.c.bak Fri Jan 12 16:28:30 2001
|
||||
+++ src/spell.c Thu Feb 1 01:19:29 2001
|
||||
@@ -137,7 +137,7 @@
|
||||
__INDLIB__ int UdmDBImportDictionary(UDM_AGENT * Indexer,const char *lang,const char *filename, int dump){
|
||||
unsigned char str[BUFSIZ];
|
||||
unsigned char *s;
|
||||
- const unsigned char *flag=NULL;
|
||||
+ const unsigned char *flag;
|
||||
int rej=0;
|
||||
int imp=0;
|
||||
FILE *dict;
|
||||
@@ -145,6 +145,7 @@
|
||||
if(!(dict=fopen(filename,"r")))return(1);
|
||||
while(fgets(str,sizeof(str),dict)){
|
||||
|
||||
+ flag=NULL;
|
||||
if((s=strchr(str,'/'))){
|
||||
*s=0;s++;flag=s;
|
||||
while(*s){
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= mnogosearch
|
||||
PORTVERSION= 3.1.9
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= www databases
|
||||
MASTER_SITES= http://search.mnogo.ru/Download/
|
||||
|
||||
|
19
www/mnogosearch/files/patch-ae
Normal file
19
www/mnogosearch/files/patch-ae
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/spell.c.bak Fri Jan 12 16:28:30 2001
|
||||
+++ src/spell.c Thu Feb 1 01:19:29 2001
|
||||
@@ -137,7 +137,7 @@
|
||||
__INDLIB__ int UdmDBImportDictionary(UDM_AGENT * Indexer,const char *lang,const char *filename, int dump){
|
||||
unsigned char str[BUFSIZ];
|
||||
unsigned char *s;
|
||||
- const unsigned char *flag=NULL;
|
||||
+ const unsigned char *flag;
|
||||
int rej=0;
|
||||
int imp=0;
|
||||
FILE *dict;
|
||||
@@ -145,6 +145,7 @@
|
||||
if(!(dict=fopen(filename,"r")))return(1);
|
||||
while(fgets(str,sizeof(str),dict)){
|
||||
|
||||
+ flag=NULL;
|
||||
if((s=strchr(str,'/'))){
|
||||
*s=0;s++;flag=s;
|
||||
while(*s){
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= mnogosearch
|
||||
PORTVERSION= 3.1.9
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= www databases
|
||||
MASTER_SITES= http://search.mnogo.ru/Download/
|
||||
|
||||
|
19
www/mnogosearch31/files/patch-ae
Normal file
19
www/mnogosearch31/files/patch-ae
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/spell.c.bak Fri Jan 12 16:28:30 2001
|
||||
+++ src/spell.c Thu Feb 1 01:19:29 2001
|
||||
@@ -137,7 +137,7 @@
|
||||
__INDLIB__ int UdmDBImportDictionary(UDM_AGENT * Indexer,const char *lang,const char *filename, int dump){
|
||||
unsigned char str[BUFSIZ];
|
||||
unsigned char *s;
|
||||
- const unsigned char *flag=NULL;
|
||||
+ const unsigned char *flag;
|
||||
int rej=0;
|
||||
int imp=0;
|
||||
FILE *dict;
|
||||
@@ -145,6 +145,7 @@
|
||||
if(!(dict=fopen(filename,"r")))return(1);
|
||||
while(fgets(str,sizeof(str),dict)){
|
||||
|
||||
+ flag=NULL;
|
||||
if((s=strchr(str,'/'))){
|
||||
*s=0;s++;flag=s;
|
||||
while(*s){
|
Loading…
Reference in New Issue
Block a user