"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "reader.c" between
mairix-0.23.tar.gz and mairix-0.24.tar.gz

About: mairix is a program for indexing and searching email messages stored in maildir, MH or mbox folders.

reader.c  (mairix-0.23):reader.c  (mairix-0.24)
skipping to change at line 67 skipping to change at line 67
/* Single byte encoding */ /* Single byte encoding */
result = x0; result = x0;
} }
*encpos = j; *encpos = j;
return result; return result;
} }
/*}}}*/ /*}}}*/
static void read_toktable_db(char *data, struct toktable_db *toktable, int start , unsigned int *uidata)/*{{{*/ static void read_toktable_db(char *data, struct toktable_db *toktable, int start , unsigned int *uidata)/*{{{*/
{ {
int n; toktable->n = uidata[start];
n = toktable->n = uidata[start];
toktable->tok_offsets = uidata + uidata[start+1]; toktable->tok_offsets = uidata + uidata[start+1];
toktable->enc_offsets = uidata + uidata[start+2]; toktable->enc_offsets = uidata + uidata[start+2];
return; return;
} }
/*}}}*/ /*}}}*/
static void read_toktable2_db(char *data, struct toktable2_db *toktable, int sta rt, unsigned int *uidata)/*{{{*/ static void read_toktable2_db(char *data, struct toktable2_db *toktable, int sta rt, unsigned int *uidata)/*{{{*/
{ {
int n; toktable->n = uidata[start];
n = toktable->n = uidata[start];
toktable->tok_offsets = uidata + uidata[start+1]; toktable->tok_offsets = uidata + uidata[start+1];
toktable->enc0_offsets = uidata + uidata[start+2]; toktable->enc0_offsets = uidata + uidata[start+2];
toktable->enc1_offsets = uidata + uidata[start+3]; toktable->enc1_offsets = uidata + uidata[start+3];
return; return;
} }
/*}}}*/ /*}}}*/
struct read_db *open_db(char *filename)/*{{{*/ struct read_db *open_db(char *filename)/*{{{*/
{ {
int fd, len; int fd, len;
char *data; char *data;
 End of changes. 2 change blocks. 
4 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)