ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/ihost-perl/ihost.pl
(Generate patch)

Comparing projects/cms/source/host/ihost-perl/ihost.pl (file contents):
Revision 1.39 by tdb, Mon Nov 19 17:43:00 2001 UTC vs.
Revision 1.40 by tdb, Mon Nov 19 22:31:18 2001 UTC

# Line 402 | Line 402 | sub write_pid() {
402   sub make_xml() {
403      my($curlevel, $curline) = @_;
404      my($xmltemp) = ""; my($curtag) = ""; my($attributes) = "";
405 <    while(true) {
405 >    while(1) {
406          $curline = shift(@data) if $curline eq ""; chomp $curline;
407          if($curline =~ /^$curlevel([^\.\s]+\.)/) {
408              $curtag=$1;
# Line 418 | Line 418 | sub make_xml() {
418          }
419          my($nextline) = $data[0]; chomp $nextline if defined $nextline;
420          $curtag =~ s/(.*)\./$1/;                
421 <        if(defined $nextline && $nextline =~ /^$curlevel$curtag\./) {
421 >        if((defined $nextline) && ($nextline =~ /^$curlevel$curtag\./)) {
422              $curline = "";
423          }
424          else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines