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.44 by tdb, Tue Dec 18 04:07:17 2001 UTC vs.
Revision 1.45 by tdb, Tue Dec 18 06:07:00 2001 UTC

# Line 429 | Line 429 | sub make_xml() {
429                  $xmltemp .= &make_xml("$curlevel$curtag", $curline);
430              }
431              my($nextline) = $data[0]; chomp $nextline if defined $nextline;
432 <            if((defined $nextline) && ($nextline =~ /^$curlevel$curtag/)) {
432 >            $curtag =~ s/(.*)\./$1/;
433 >            if((defined $nextline) && ($nextline =~ /^$curlevel$curtag\./)) {
434                  $curline = "";
435              }
436              else {
436                $curtag =~ s/(.*)\./$1/;
437                  $xmltemp = "<$curtag$attributes>$xmltemp</$curtag>" unless $curtag eq "";
438                  return $xmltemp;
439              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines