ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/ActiveDoc/Switcher.pm
(Generate patch)

Comparing COMP/SCRAM/src/ActiveDoc/Switcher.pm (file contents):
Revision 1.4 by williamc, Wed Sep 29 15:17:04 1999 UTC vs.
Revision 1.5 by williamc, Wed Sep 29 15:25:32 1999 UTC

# Line 76 | Line 76 | sub parse {
76          $filehandle->open("<$self->{filename}")
77             or return 1;
78          # The buffering seems all messed up - best not to use it
79 <        $filehandle->setvbuf($buf, _IONBF, 300);
79 >        $filehandle->setvbuf($buf, _IONBF, 3000);
80  
81          # Start file processing
82          while ( ($_=<$filehandle>) ) {
83           $self->{linecount}++;
84           $self->{currentline}=$_;
85         if ( $self->{linecount} > 5 ) {
86         $DB::single=1;
87         }
85           $self->{stringpos}=0;
86           while ( ($char=$self->_nextchar()) ne "" ) {
87             $self->_checkchar($char);
88           } # end char while
89          } # End String while loop
90 <        close $filehandle;
94 <        1;
90 >        undef $filehandle;
91   }
92  
93   sub checkparam($name, $key) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines