ports/118949: [patch] fix database error in devel/devtodo
Jeppe Larsen
jwl at io.dk
Sat Dec 22 12:40:03 UTC 2007
>Number: 118949
>Category: ports
>Synopsis: [patch] fix database error in devel/devtodo
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 22 12:40:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Jeppe Larsen
>Release: 6.2
>Organization:
>Environment:
FreeBSD apnex.sysctl.dk 6.2-STABLE FreeBSD 6.2-STABLE
>Description:
When running devtodo following error appears:
todo: error, no database loaders for database format or database corrupt (last error was 'couldn't compile rx: repetition-operator operand invalid'
>How-To-Repeat:
>Fix:
Apply patch. Taken from http://swapoff.org/ticket/54
Patch attached with submission follows:
--- util/XML.cc.orig Mon Dec 10 22:26:55 2007
+++ util/XML.cc Mon Dec 10 22:27:07 2007
@@ -49,7 +49,7 @@ void XML::init() {
// Only initialise scanners once
if (!initialised) {
// <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- xmlScan.addPattern(XmlDecl, "<\\?xml.*?>[[:space:]]*");
+ xmlScan.addPattern(XmlDecl, "<\\?xml.*\\?>[[:space:]]*");
xmlScan.addPattern(XmlCommentBegin, "<!--");
xmlScan.addPattern(XmlBegin, "<[a-zA-Z0-9_-]+"
"([[:space:]]+[a-zA-Z_0-9-]+=(([/a-zA-Z_0-9,.]+)|(\"[^\"]*\")|('[^']*')))"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list