Diff for /cdn/www/sources.html between versions 1.44 and 1.45

version 1.44, 2003/02/21 13:08:36 version 1.45, 2003/02/21 13:12:07
Line 119  cvs -d :pserver:guest@mozdev.org:/cvs co Line 119  cvs -d :pserver:guest@mozdev.org:/cvs co
             if ( ereg("((Added|Modified|Removed):)", $checkins) || ereg("[[:space:]]{9}", $checkins) )              if ( ereg("((Added|Modified|Removed):)", $checkins) || ereg("[[:space:]]{9}", $checkins) )
             {              {
   
              $identifier = trim(substr($checkins, 0, 15));              $identifier = trim(substr($checkins, 0, 15)); echo $identifier . '<p />';
   
              $checkins = substr($checkins, 15);              $checkins = substr($checkins, 15); echo $checkins . '<p />';
   
               // find first non-space character                // find first non-space character
               // if > 16, chances are the files are in the directory defined in the previous line ?                // if > 16, chances are the files are in the directory defined in the previous line ?
   
              $_16 = strpos($checkins, ' ');              $_16 = strpos($checkins, ' '); echo '$_16 ' . $_16 . '<p />';
   
              $_path = substr( $checkins, 0, $_16);              $_path = substr( $checkins, 0, $_16); echo $_path . '<p />';
   
              if ( $_16 > 16 )             // if ( $_16 > 16 )
                 $checkins = ereg_replace('[[:space:]]{1,}', ' ', trim( substr ( $checkins, $_16 ) ) );                  $checkins = ereg_replace('[[:space:]]{1,}', ' ', trim( substr ( $checkins, $_16 ) ) );
   
               $__path = trim($__path);                $__path = trim($__path);

Removed from v.1.44  
changed lines
  Added in v.1.45


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>