[interchange-cvs] interchange - racke modified 2 files

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Fri Jul 11 12:07:55 UTC 2008


User:      racke
Date:      2008-07-11 12:07:55 GMT
Modified:  lib/Vend TextSearch.pm
Modified:  .        WHATSNEW-5.7
Log:
remove trailing whitespace from text file headers

Revision  Changes    Path
2.18                 interchange/lib/Vend/TextSearch.pm


rev 2.18, prev_rev 2.17
Index: TextSearch.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/TextSearch.pm,v
retrieving revision 2.17
retrieving revision 2.18
diff -u -r2.17 -r2.18
--- TextSearch.pm	9 Aug 2007 13:40:54 -0000	2.17
+++ TextSearch.pm	11 Jul 2008 12:07:55 -0000	2.18
@@ -1,10 +1,10 @@
 # Vend::TextSearch - Search indexes with Perl
 #
-# $Id: TextSearch.pm,v 2.17 2007-08-09 13:40:54 pajamian Exp $
+# $Id: TextSearch.pm,v 2.18 2008-07-11 12:07:55 racke Exp $
 #
 # Adapted for use with Interchange from Search::TextSearch
 #
-# Copyright (C) 2002-2007 Interchange Development Group
+# Copyright (C) 2002-2008 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -29,7 +29,7 @@
 use vars qw(@ISA);
 @ISA = qw(Vend::Search);
 
-$VERSION = substr(q$Revision: 2.17 $, 10);
+$VERSION = substr(q$Revision: 2.18 $, 10);
 
 use Search::Dict;
 use strict;
@@ -197,6 +197,7 @@
 		}
 		if($field_names) {
 			$field_names =~ s/^\s+//;
+			$field_names =~ s/\s+$//;
 			my @laundry = (qw/mv_search_field mv_range_look mv_return_fields/);
 			$s->hash_fields(
 						[ split /\Q$s->{mv_index_delim}/, $field_names ],



2.7                  interchange/WHATSNEW-5.7


rev 2.7, prev_rev 2.6
Index: WHATSNEW-5.7
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW-5.7,v
retrieving revision 2.6
retrieving revision 2.7
diff -u -r2.6 -r2.7
--- WHATSNEW-5.7	11 Jul 2008 08:37:28 -0000	2.6
+++ WHATSNEW-5.7	11 Jul 2008 12:07:55 -0000	2.7
@@ -20,6 +20,8 @@
 with last-set mv_searchspec, or by trimming excess values. Useful when you want
 to search for one string in multiple fields in coordinated mode.
 
+* remove trailing whitespace from text file headers 
+
 UserTag
 -------
 







More information about the interchange-cvs mailing list