Ignore:
Timestamp:
2012-02-28T13:59:00+13:00 (12 years ago)
Author:
kjdon
Message:

merged 64_bit_Greenstone branch into trunk, rev 25139

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/indexers/mg/src/text/mgpass.c

    r16583 r25147  
    100100#define path_length 256
    101101
    102 unsigned long buf_size = 3 * 1024 * 1024;       /* 3Mb */
    103 unsigned long invf_buffer_size = 5 * 1024 * 1024;       /* 5Mb */
    104 unsigned long ChunkLimit = 0;
     102mg_u_long buf_size = 3 * 1024 * 1024;       /* 3Mb */
     103mg_u_long invf_buffer_size = 5 * 1024 * 1024;       /* 5Mb */
     104mg_u_long ChunkLimit = 0;
    105105char InvfLevel = 2;
    106106char SkipSGML = 0;
     
    115115
    116116static char Passes = 0;
    117 static unsigned long trace = 0;
     117static mg_u_long trace = 0;
    118118static int Dump = 0;
    119119static char **files = NULL;
     
    237237void search(char *dname, char *fname)
    238238{
    239   long dirtag;  struct _finddata_t dirinfo;  int in_fd;  char *res;
     239  mg_s_long dirtag;  struct _finddata_t dirinfo;  int in_fd;  char *res;
    240240  char search_name[path_length], found_name[path_length];
    241241
     
    433433      break;
    434434    case 't':
    435       trace = (unsigned long) (atof (optarg) * 1024 * 1024);
     435      trace = (mg_u_long) (atof (optarg) * 1024 * 1024);
    436436      break;
    437437    case 'h':
Note: See TracChangeset for help on using the changeset viewer.