Update of /cvsroot/fink/fink/perlmod/Fink
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6824
Modified Files:
ChangeLog Validation.pm
Log Message:
yeah, if we're going to allow links to fink's dir, better compare the links to
fink's dir
Index: Validation.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v
retrieving revision 1.310
retrieving revision 1.311
diff -u -d -r1.310 -r1.311
--- Validation.pm 9 Apr 2009 05:36:58 -0000 1.310
+++ Validation.pm 9 Apr 2009 17:25:10 -0000 1.311
@@ -1816,7 +1816,9 @@
while (<$gtkdocfile>) {
chomp;
if (/href\s*=\s*[\"\']?(\/[^\/]+)/) {
- &stack_msg($msgs, "Bad local
URL (\"$1\" does not look like a fink location).", $filename, $_) unless
$seen_lines{$_}++;
+ if ($1 ne $basepath and
!$seen_lines{$_}++) {
+ &stack_msg($msgs, "Bad
local URL (\"$1\" does not look like a fink location).", $filename, $_);
+ }
}
}
close $gtkdocfile;
Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.1601
retrieving revision 1.1602
diff -u -d -r1.1601 -r1.1602
--- ChangeLog 9 Apr 2009 05:36:58 -0000 1.1601
+++ ChangeLog 9 Apr 2009 17:25:10 -0000 1.1602
@@ -1,5 +1,9 @@
2009-04-09 Daniel Macks <[email protected]>
+ * Validation.pm: Fix bug in gtk-doc "non-fink" URL detection
+
+2009-04-09 Daniel Macks <[email protected]>
+
* PkgVersion.pm, Validation.pm: .info "Patch" field is gone
2009-04-09 Daniel Macks <[email protected]>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs