[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-cvs
Subject:    [IPCop-cvs] ipcop/config/cfgroot general-functions.pl, 1.1.2.39,
From:       Gilles Espinasse <gespinasse () users ! sourceforge ! net>
Date:       2009-01-18 1:36:17
Message-ID: E1LOMaH-0003kB-Hl () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/ipcop/ipcop/config/cfgroot
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14107/config/cfgroot

Modified Files:
      Tag: IPCOP_v1_4_0
	general-functions.pl 
Log Message:
Escape the dot from the RE filtering .x and .y
It was previously filtering any variables ending with x or y like verbosity
Thank to Frank for the bug report and solution



Index: general-functions.pl
===================================================================
RCS file: /cvsroot/ipcop/ipcop/config/cfgroot/general-functions.pl,v
retrieving revision 1.1.2.39
retrieving revision 1.1.2.40
diff -C2 -d -r1.1.2.39 -r1.1.2.40
*** general-functions.pl	13 Jun 2008 17:28:44 -0000	1.1.2.39
--- general-functions.pl	18 Jan 2009 01:36:14 -0000	1.1.2.40
***************
*** 88,92 ****
  		# location of the mouse are submitted as well, this was being written to the settings file causing
  		# some serious grief! This skips the variable.x and variable.y
! 		if (!($var =~ /(.x|.y)$/)) {
  			if ($val =~ / /) {
  				$val = "\'$val\'"; }
--- 88,92 ----
  		# location of the mouse are submitted as well, this was being written to the settings file causing
  		# some serious grief! This skips the variable.x and variable.y
! 		if (!($var =~ /\.(x|y)$/)) {
  			if ($val =~ / /) {
  				$val = "\'$val\'"; }


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
IPCop-cvs mailing list
IPCop-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic