Changeset 2049

Show
Ignore:
Timestamp:
03/08/08 10:33:49 (6 months ago)
Author:
moseley
Message:

These are two checkins that were pending on an old machine I don't use much
anymore.

The file.c patch was in response to

http://swish-e.org/archive/2007-03/11321.html

Although that user never responded about that patch.

The README is just minor commenting changes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • swish-e/trunk/perl/README

    r1551 r2049  
    34342) Build the module in the normal way 
    3535 
    36     perl Makefile.PL 
    37     make 
    38     make test 
     36    $ perl Makefile.PL 
     37    $ make 
     38    $ make test 
     39 
     40Then install, this may need to be done as the root user 
     41 
     42    $ sudo make install 
     43 
    3944 
    4045Makefile.PL requires the "swish-config" program which is created when installing 
  • swish-e/trunk/src/file.c

    r1799 r2049  
    280280 
    281281        /* JFP - substitute null chars, VFC record may have null char in reclen word, try to discard them */ 
    282         if ( is_text && strlen( (char *)buffer ) < bytes_read ) 
     282        if ( !fprop->index_no_content && is_text && strlen( (char *)buffer ) < bytes_read ) 
    283283        { 
    284284            int i;