r23398 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23397‎ | r23398 | r23399 >
Date:18:56, 25 June 2007
Author:mark
Status:old
Tags:
Comment:
pdns (2.9.21-1wm2) feisty; urgency=high

* Fix bug in zoneparser-tng.cc where it doesn't trim tabs
Modified paths:
  • /trunk/debs/pdns/debian/changelog (modified) (history)
  • /trunk/debs/pdns/debian/patches/10-fix-zoneparser-apostrophe-bug.dpatch (modified) (history)

Diff [purge]

Index: trunk/debs/pdns/debian/patches/10-fix-zoneparser-apostrophe-bug.dpatch
@@ -6,8 +6,8 @@
77
88 @DPATCH@
99 diff -urNad pdns-2.9.21~/pdns/zoneparser-tng.cc pdns-2.9.21/pdns/zoneparser-tng.cc
10 -+++ pdns-2.9.21/pdns/zoneparser-tng.cc 2007-06-07 21:10:21.000000000 +0000
 10+--- pdns-2.9.21~/pdns/zoneparser-tng.cc 2007-06-24 15:00:24.000000000 +0000
1111 @@ -40,14 +40,16 @@
1212 FILE *fp=fopen(fname.c_str(), "r");
1313 if(!fp)
@@ -117,8 +117,16 @@
118118 }
119119 }
120120 if(!haveQTYPE)
121 -@@ -364,14 +390,15 @@
 121+@@ -309,6 +335,7 @@
 122+ rr.content=d_line.substr(range.first);
122123
 124+ chopComment(rr.content);
 125++ trim(rr.content);
 126+
 127+ if(equals(rr.content, "@"))
 128+ rr.content=d_zonename;
 129+@@ -364,14 +391,15 @@
 130+
123131 bool ZoneParserTNG::getLine()
124132 {
125133 - while(!d_fps.empty()) {
@@ -138,8 +146,8 @@
139147 return false;
140148 }
141149 diff -urNad pdns-2.9.21~/pdns/zoneparser-tng.hh pdns-2.9.21/pdns/zoneparser-tng.hh
142 -+++ pdns-2.9.21/pdns/zoneparser-tng.hh 2007-06-07 21:10:21.000000000 +0000
 150+--- pdns-2.9.21~/pdns/zoneparser-tng.hh 2007-06-24 15:00:24.000000000 +0000
143151 @@ -39,7 +39,7 @@
144152 bool getLine();
145153 bool getTemplateLine();
Index: trunk/debs/pdns/debian/changelog
@@ -1,3 +1,9 @@
 2+pdns (2.9.21-1wm2) feisty; urgency=high
 3+
 4+ * Fix bug in zoneparser-tng.cc where it doesn't trim tabs
 5+
 6+ -- Mark Bergsma <mark@wikimedia.org> Mon, 25 Jun 2007 18:25:32 +0000
 7+
28 pdns (2.9.21-1wm1) feisty; urgency=high
39
410 * Incorporate zoneparser-tng parser fixes from r1056

Status & tagging log