From: Robert E. <rm...@us...> - 2004-10-09 13:41:53
|
Update of /cvsroot/xmltv/xmltv/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2067/lib Modified Files: exe_wrap.pl Log Message: remove code designed to prevent running from command prompt. It also prevents some regular expressions. Index: exe_wrap.pl =================================================================== RCS file: /cvsroot/xmltv/xmltv/lib/exe_wrap.pl,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** exe_wrap.pl 27 Sep 2004 21:10:52 -0000 1.49 --- exe_wrap.pl 9 Oct 2004 13:41:41 -0000 1.50 *************** *** 21,41 **** $Carp::MaxEvalLen=40; # limit confess output - # Check for error of running from 'Run' dialogue box with redirection, - # which Run doesn't understand, # ! if (grep /[<>|]/, @ARGV) { ! warn <<END ! The command line: ! ! $0 @ARGV ! ! contains redirections, so should be run from a command prompt window. ! In general, it's a good idea to always run xmltv from a command prompt ! so that you can see any errors and warnings produced. ! END ! ; ! sleep 10; ! exit 1; ! } # --- 21,44 ---- $Carp::MaxEvalLen=40; # limit confess output # ! # this check should not be done, at least not this way. it prevents some regular expressions! ! # ! ## Check for error of running from 'Run' dialogue box with redirection, ! ## which Run doesn't understand, ! ## ! #if (grep /[<>|]/, @ARGV) { ! # warn <<END ! #The command line: ! # ! #$0 @ARGV ! # ! #contains redirections, so should be run from a command prompt window. ! #In general, it's a good idea to always run xmltv from a command prompt ! #so that you can see any errors and warnings produced. ! #END ! # ; ! # sleep 10; ! # exit 1; ! #} # |