htdig: Configuration.cc


Philippe Rochat (prochat@lbdsun.epfl.ch)
Fri, 24 Apr 1998 17:34:49 +0200


Hello,

I made the following change to Configuration.cc to get ride of ending white
spaces which makes the values going wrong (especially true for the file names,
which are no more opened):

270d269
< int len;
300,305c299,300
< value++;
< len = strlen(value) -1;
< while (value[len] == ' ' || value[len] == '\t') {
< value[len] = '\0' ;
< len--;
< }

---
>                value++;

It's just a quick hack, Ph.R.

-- 
_____________________________________________________________________
Philippe Rochat,				EPFL   DI-LBD
Database Laboratory 				CH-1015 LAUSANNE
Swiss Federal Institute of Technology (EPFL) 	tel:++41 21 693 52 53
Beep-EPFL: 181 4644				fax:++41 21 693 51 95
Private: Grammont, 9 1007 LAUSANNE 		tel:++41 21 617 03 05 
mailto:Philippe.Rochat@epfl.ch, http://lbdwww.epfl.ch/~prochat
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:26:03 PST