From: Paul L. <pa...@sq...> - 2005-07-21 07:28:52
|
Thanks, Kurt, I just fixed that. It's in CVS only (no file release ATM), but the patch looks like this: *** filtercmd.c 21 Jul 2005 07:10:26 -0000 1.5 --- filtercmd.c 21 Jul 2005 07:23:40 -0000 1.6 *************** *** 521,524 **** --- 521,529 ---- if (commentpos && commentpos < s) return 0; + /* look for # comment marker, making sure the # can't be + treated as a comment by the compiler */ + commentpos = strstr(line, "#"); + if (commentpos && commentpos < s) return 0; + /* skip ahead to either ' or " or a number */ s += strcspn(s, "\"'0123456789\0\n"); Does that work for you? - Paul Kurt Yoder wrote: > Hello list > > I recently installed serverside filter plugin v1.5-1.2.7-RC1 (downloaded > from the sourceforge page). I spent a long time trying to get it to work > before I finally figured out that lines to be commented out in > config.php *must* be commented out with // notation. I had been using # > notation for comments, and the filtercmd program was using these lines > instead of ignoring them. Just a heads-up to others. > > To the authors: can you include a mention of this in your documentation > please? Or better yet, modify filtercmd to ignore lines in config.php > that start with the # character? > > Thanks > > -- > Kurt Yoder > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > -- > squirrelmail-plugins mailing list > Posting Guidelines: > http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines > List Address: squ...@li... > List Archives: > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931 > List Info: > https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins -- Open Guild, LLC http://openguild.net/ Software.Systems.Solutions |