OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-web                      Date:   29-Oct-2004 16:20:11
  Branch: HEAD                             Handle: 2004102915201000

  Modified files:
    openpkg-web/security    page.pl

  Log:
    warn if a reference is not defined (as it is still the case for the
    forthcoming MySQL SA

  Summary:
    Revision    Changes     Path
    1.40        +1  -1      openpkg-web/security/page.pl
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-web/security/page.pl
  ============================================================================
  $ cvs diff -u -r1.39 -r1.40 page.pl
  --- openpkg-web/security/page.pl      5 Aug 2004 07:08:32 -0000       1.39
  +++ openpkg-web/security/page.pl      29 Oct 2004 14:20:10 -0000      1.40
  @@ -39,7 +39,7 @@
       $txt =~ s/([\s;]+)([EMAIL PROTECTED])\&]+?)([\s&]+)/$1<a 
href="mailto:$2";>$2<\/a>$3/sg;
       $txt =~ s/(OpenPKG Security Advisory)/<b>$1<\/b>/sg;
       $txt =~ s/^((\s*[A-Z][a-zA-Z]+)+:)/<b>$1<\/b>/mg;
  -    $txt =~ s/(\[(\d+)\])(?!\s+(?:http|ftp|hkp):\/\/)/"<a 
href=\"".$L->{$2}."\">".$1."<\/a>"/sge;
  +    $txt =~ s/(\[(\d+)\])(?!\s+(?:http|ftp|hkp):\/\/)/"<a href=\"".($L->{$2} || 
print STDERR "WARNING: reference [$2] not defined\n")."\">".$1."<\/a>"/sge;
   
       my $head = '';
       $io = new IO::File "<page.head.html" || die;
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to