SOURCES: IRRToolSet-gcc3.patch - removed obsolete parts

qboosh qboosh at pld-linux.org
Sun Nov 20 11:03:27 CET 2005


Author: qboosh                       Date: Sun Nov 20 10:03:27 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- removed obsolete parts

---- Files affected:
SOURCES:
   IRRToolSet-gcc3.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/IRRToolSet-gcc3.patch
diff -u SOURCES/IRRToolSet-gcc3.patch:1.2 SOURCES/IRRToolSet-gcc3.patch:1.3
--- SOURCES/IRRToolSet-gcc3.patch:1.2	Wed Jul  9 10:05:05 2003
+++ SOURCES/IRRToolSet-gcc3.patch	Sun Nov 20 11:03:22 2005
@@ -1,160 +1,3 @@
---- IRRToolSet-4.7.3/src/Core/sched/Dispatcher.hh.orig	Tue Apr  9 13:48:45 2002
-+++ IRRToolSet-4.7.3/src/Core/sched/Dispatcher.hh	Tue Jul  8 16:44:03 2003
-@@ -62,7 +62,7 @@
- 
-     // Time sorted list of system timers
-     class TimerList : public SortedList<Timer> {
--      friend Dispatcher;
-+      friend class Dispatcher;
- 
-       public:
-         // Handle all expired timers
-@@ -74,7 +74,7 @@
- 
-     // FIFO queue of one-shot jobs
-     class JobList : public List<Job> {
--      friend Dispatcher;
-+      friend class Dispatcher;
- 
-       public:
-         // Call back the function associated with the first job 
-@@ -83,7 +83,7 @@
- 
-     // List of signals that we're interested in
-     class SignalList : public List<Signal> {
--      friend Dispatcher;
-+      friend class Dispatcher;
- 
-       public:
-         // A signal was received, mark it
-@@ -95,7 +95,7 @@
- 
-     // Collection of open file descriptors in the system
-     class FileList : public FileSet {
--      friend Dispatcher;
-+      friend class Dispatcher;
- 
-       public:
-         // Process any file descriptors that are readable or writable
---- IRRToolSet-4.7.3/src/Core/sys/Time.hh.orig	Tue Apr  9 13:48:45 2002
-+++ IRRToolSet-4.7.3/src/Core/sys/Time.hh	Tue Jul  8 16:44:34 2003
-@@ -99,7 +99,7 @@
- };
- 
- class TimeShort : public Time<U32> {
--    friend TimeLong;
-+    friend class TimeLong;
-     
-   public:
-     // Create empty time instance
-@@ -146,7 +146,7 @@
- };
- 
- class TimeLong : public Time<U64> {
--    friend TimeShort;
-+    friend class TimeShort;
-     
-   public:
-     // Create an empty time instance
---- IRRToolSet-4.7.3/src/Core/util/Buffer.cc.orig	Tue Apr  9 13:48:45 2002
-+++ IRRToolSet-4.7.3/src/Core/util/Buffer.cc	Tue Jul  8 16:45:30 2003
-@@ -207,7 +207,7 @@
-    size += buf.size;
- }
- 
--void Buffer::insert(Buffer &buf, unsigned long atOffset = 0) {
-+void Buffer::insert(Buffer &buf, unsigned long atOffset /* = 0 */) {
-    if (size + buf.size > capacity)
-       extend(buf.size);
-    memmove(contents + atOffset + buf.size, 
---- IRRToolSet-4.7.3/src/Core/strstream.h.orig	Tue Jul  8 16:37:14 2003
-+++ IRRToolSet-4.7.3/src/Core/strstream.h	Tue Jul  8 16:37:37 2003
-@@ -0,0 +1,6 @@
-+#ifndef _STRSTREAM_H
-+#define _STRSTREAM_H
-+#include <strstream>
-+
-+using namespace std;
-+#endif
---- IRRToolSet-4.7.3/src/RtConfig/f_cisco.hh.orig	Fri Jun 28 15:19:03 2002
-+++ IRRToolSet-4.7.3/src/RtConfig/f_cisco.hh	Tue Jul  8 16:55:57 2003
-@@ -59,7 +59,6 @@
- #include "normalform/FilterOfASPath.hh"
- 
- class FilterOfCommunity;
--class ostream;
- class RangeList;
- class regexp;
- class PolicyAction;
---- IRRToolSet-4.7.3/src/RtConfig/f_junos.hh.orig	Tue Apr  9 13:48:46 2002
-+++ IRRToolSet-4.7.3/src/RtConfig/f_junos.hh	Tue Jul  8 16:56:26 2003
-@@ -59,7 +59,6 @@
- #include "normalform/FilterOfASPath.hh"
- 
- class FilterOfCommunity;
--class ostream;
- class RangeList;
- class regexp;
- class PolicyAction;
---- IRRToolSet-4.7.3/src/RtConfig/f_bcc.hh.orig	Tue Apr  9 13:48:46 2002
-+++ IRRToolSet-4.7.3/src/RtConfig/f_bcc.hh	Tue Jul  8 16:57:56 2003
-@@ -60,7 +60,6 @@
- #include "f_cisco.hh" // included to define ListOf2Ints (should be in util)
- 
- class FilterOfCommunity;
--class ostream;
- class RangeList;
- class regexp;
- class PolicyAction;
---- IRRToolSet-4.7.3/src/RtConfig/command.l.orig	Tue Apr  9 13:48:46 2002
-+++ IRRToolSet-4.7.3/src/RtConfig/command.l	Tue Jul  8 16:59:08 2003
-@@ -74,8 +74,6 @@
-    int num;
- } KeyWord;
- 
--int yylineno = 1;
--
- static KeyWord keywords[] = {
- "import",                  KW_IMPORT,
- "export",                  KW_EXPORT,
---- IRRToolSet-4.7.3/src/RtConfig/f_junos.cc.orig	Thu May 16 15:43:24 2002
-+++ IRRToolSet-4.7.3/src/RtConfig/f_junos.cc	Tue Jul  8 17:01:41 2003
-@@ -101,21 +101,20 @@
-    done = 1;
- 
-    // print martians
--   char *martians = " 
--            route-filter 127.0.0.0/8 orlonger reject;
--            route-filter 10.0.0.0/8 orlonger reject;
--            route-filter 172.16.0.0/12 orlonger reject;
--            route-filter 192.168.0.0/16 orlonger reject;
--            route-filter 192.0.2.0/24 orlonger reject;
--            route-filter 128.0.0.0/16 orlonger reject;
--            route-filter 191.255.0.0/16 orlonger reject;
--            route-filter 192.0.0.0/24 orlonger reject;
--            route-filter 223.255.255.0/24 orlonger reject;
--            route-filter 224.0.0.0/3 orlonger reject;
--            route-filter 169.254.0.0/16 orlonger reject;
--            route-filter 0.0.0.0/0 upto /31 next policy;
--            route-filter 0.0.0.0/0 upto /32 reject;
--";
-+   char *martians = " \n"
-+"            route-filter 127.0.0.0/8 orlonger reject;\n"
-+"            route-filter 10.0.0.0/8 orlonger reject;\n"
-+"            route-filter 172.16.0.0/12 orlonger reject;\n"
-+"            route-filter 192.168.0.0/16 orlonger reject;\n"
-+"            route-filter 192.0.2.0/24 orlonger reject;\n"
-+"            route-filter 128.0.0.0/16 orlonger reject;\n"
-+"            route-filter 191.255.0.0/16 orlonger reject;\n"
-+"            route-filter 192.0.0.0/24 orlonger reject;\n"
-+"            route-filter 223.255.255.0/24 orlonger reject;\n"
-+"            route-filter 224.0.0.0/3 orlonger reject;\n"
-+"            route-filter 169.254.0.0/16 orlonger reject;\n"
-+"            route-filter 0.0.0.0/0 upto /31 next policy;\n"
-+"            route-filter 0.0.0.0/0 upto /32 reject;\n";
-    
-    cout << "   policy-statement supress-martians {\n"
- 	<< "      term martians {\n"
 --- IRRToolSet-4.7.3/src/aoe/TclApp.cc.orig	Tue Apr  9 13:48:46 2002
 +++ IRRToolSet-4.7.3/src/aoe/TclApp.cc	Tue Jul  8 17:28:05 2003
 @@ -71,8 +71,8 @@
@@ -346,101 +189,6 @@
  };
  
  
---- IRRToolSet-4.7.3/src/gnug++/BitSet.cc.orig	Wed Mar 27 12:32:57 2002
-+++ IRRToolSet-4.7.3/src/gnug++/BitSet.cc	Tue Jul  8 16:51:06 2003
-@@ -1039,7 +1039,8 @@
- 
- ostream& operator << (ostream& s, const BitSet& x)
- {
--  if (s.opfx())
-+  //if (s.opfx())
-+  s.flush();
-     x.printon(s);
-   return s;
- }
---- IRRToolSet-4.7.3/src/gnug++/gcd.cc.orig	Wed Mar 27 12:32:57 2002
-+++ IRRToolSet-4.7.3/src/gnug++/gcd.cc	Tue Jul  8 16:53:01 2003
-@@ -27,8 +27,8 @@
- 
- long gcd(long x, long y)        // euclid's algorithm
- {
--  long a = abs(x);
--  long b = abs(y);
-+  long a = labs(x);
-+  long b = labs(y);
- 
-   long tmp;
-   
---- IRRToolSet-4.7.3/src/irr/ripewhoisc.cc.orig	Tue Apr  9 13:48:47 2002
-+++ IRRToolSet-4.7.3/src/irr/ripewhoisc.cc	Tue Jul  8 16:39:19 2003
-@@ -72,16 +72,16 @@
- 
- RipeWhoisClient::RipeWhoisClient(const char *host, 
-                                  const int port,
--                                 const char *sources = dflt_sources) :
-+                                 const char *sources /* = dflt_sources */) :
-   Socket(AF_INET, SOCK_STREAM, IPPROTO_TCP),
-   pzcSourceOriginReply(NULL)
- {
-   Open(host, port, sources);
- }
- 
--void RipeWhoisClient::Open(const char *_host = dflt_host, 
--                           const int _port = dflt_port, 
--                           const char *_sources = dflt_sources)
-+void RipeWhoisClient::Open(const char *_host /* = dflt_host */, 
-+                           const int _port /* = dflt_port */, 
-+                           const char *_sources /* = dflt_sources */)
- {
-   Trace(TR_WHOIS_QUERY) << "Whois: Open " 
- 			<< _host << ":" << _port 
---- IRRToolSet-4.7.3/src/irr/birdwhoisc.cc.orig	Wed Jul  3 11:21:41 2002
-+++ IRRToolSet-4.7.3/src/irr/birdwhoisc.cc	Tue Jul  8 16:41:37 2003
-@@ -28,15 +28,15 @@
- 
- BirdWhoisClient::BirdWhoisClient(const char *host, 
- 				 const int port,
--				 const char *sources = dflt_sources) :
-+				 const char *sources /* = dflt_sources */) :
-   response(NULL), Socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)
- {
-   Open(host, port, sources);
- }
- 
--void BirdWhoisClient::Open(const char *_host = dflt_host, 
--		  const int _port = dflt_port, 
--		  const char *_sources = dflt_sources)
-+void BirdWhoisClient::Open(const char *_host /* = dflt_host */, 
-+		  const int _port /* = dflt_port */, 
-+		  const char *_sources /* = dflt_sources */)
- {
-   //Trace(TR_WHOIS_QUERY) << getsock() 
-   //  			  << " - Whois: Open " << _host << ":" << _port 
-@@ -187,8 +187,10 @@
-       return false;
-    }
- 
--   Trace(TR_WHOIS_RESPONSE).form("WhoisResponse[%.*s]\n",
-+   char buf[result->size + 20];
-+   sprintf(buf, "WhoisResponse[%.*s]\n", 
- 				 result->size, result->contents);
-+   Trace(TR_WHOIS_RESPONSE) << buf;
-    text = result->contents;
-    len  = result->size;
-    return true;
---- IRRToolSet-4.7.3/src/re2dfa/re2dfa.c.orig	Tue Apr  9 13:48:47 2002
-+++ IRRToolSet-4.7.3/src/re2dfa/re2dfa.c	Tue Jul  8 16:54:30 2003
-@@ -78,8 +78,8 @@
- 
- void debugging_hack() {
-    /* this function lets me put a break point here... */
--   fprintf(stderr, "InternalError: Too many states in AS path expression
--InternalError: Increase RD_MAXASPSTATES in src/re2dfa/re2dfa.h and rebuild.\n");
-+   fprintf(stderr, "InternalError: Too many states in AS path expression\n"
-+"InternalError: Increase RD_MAXASPSTATES in src/re2dfa/re2dfa.h and rebuild.\n");
- }
- 
- #define RD_ASSIGN_BIT(s) {					\
 --- IRRToolSet-4.7.3/src/roe/roe_tcl.cc.orig	Tue Apr  9 13:48:48 2002
 +++ IRRToolSet-4.7.3/src/roe/roe_tcl.cc	Tue Jul  8 17:05:13 2003
 @@ -148,7 +148,7 @@
@@ -893,926 +641,6 @@
  	       dbupdate[i].source, dbupdate[i].source, dbupdate[i].source, 
  	       dbupdate[i].source, dbupdate[i].source, dbupdate[i].source, 
  	       dbupdate[i].update);
---- IRRToolSet-4.7.3/src/rpsl/rpsl/prefix.hh.orig	Tue Apr  9 13:48:48 2002
-+++ IRRToolSet-4.7.3/src/rpsl/rpsl/prefix.hh	Tue Jul  8 15:48:47 2003
-@@ -56,7 +56,7 @@
- 
- #include "config.h"
- 
--class ostream;
-+#include <ostream.h>
- 
- char* int2quad(char *buffer, unsigned int i);
- unsigned int quad2int(char *quad);
---- IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl_item.hh.orig	Tue Apr  9 13:48:49 2002
-+++ IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl_item.hh	Tue Jul  8 15:50:31 2003
-@@ -66,6 +66,7 @@
- #include <cassert>
- #include <time.h>
- #include <iomanip.h>
-+#include <ostream.h>
- extern "C" {
- #ifdef HAVE_MALLOC_H
- #include <malloc.h>
-@@ -83,7 +84,6 @@
- 
- typedef unsigned int ASt;
- 
--class ostream;
- class Filter;
- class Buffer;
- 
---- IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl_filter.hh.orig	Tue Apr  9 13:48:49 2002
-+++ IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl_filter.hh	Tue Jul  8 15:51:08 2003
-@@ -62,6 +62,7 @@
- 
- #include "config.h"
- #include <cassert>
-+#include <ostream.h>
- extern "C" {
- #ifdef HAVE_MALLOC_H
- #include <malloc.h>
-@@ -81,7 +82,6 @@
- 
- typedef unsigned int ASt;
- 
--class ostream;
- class AttrRPAttr;
- class AttrMethod;
- 
---- IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl_policy.hh.orig	Tue Apr  9 13:48:49 2002
-+++ IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl_policy.hh	Tue Jul  8 15:51:40 2003
-@@ -62,6 +62,7 @@
- 
- #include "config.h"
- #include <cassert>
-+#include <ostream.h>
- extern "C" {
- #ifdef HAVE_MALLOC_H
- #include <malloc.h>
-@@ -79,7 +80,6 @@
- 
- typedef unsigned int ASt;
- 
--class ostream;
- class AttrRPAttr;
- class AttrMethod;
- 
---- IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl_attr.hh.orig	Tue Apr  9 13:48:48 2002
-+++ IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl_attr.hh	Tue Jul  8 15:52:11 2003
-@@ -64,6 +64,7 @@
- #include <string>
- #include <vector>
- #include <cassert>
-+#include <ostream.h>
- #include "rptype.hh"
- #include "regexp.hh"
- extern "C" {
-@@ -89,7 +90,6 @@
- 
- typedef unsigned int ASt;
- 
--class ostream;
- class Object;
- class AttrAttr;
- 
---- IRRToolSet-4.7.3/src/rpsl/rpsl/object.hh.orig	Tue Apr  9 13:48:48 2002
-+++ IRRToolSet-4.7.3/src/rpsl/rpsl/object.hh	Tue Jul  8 15:52:48 2003
-@@ -57,6 +57,7 @@
- #include "config.h"
- #include <cstring>
- #include <string>
-+#include <iostream.h>
- #include "util/List.hh"
- #include "util/Buffer.hh"
- #include "util/debug.hh"
-@@ -65,9 +66,6 @@
- #define RPSL_CLASS_UNKONWN 0
- #define RPSL_CLASS_AUTNUM 1
- 
--class istream;
--class ifstream;
--class ostream;
- class Buffer;
- 
- class Object : public Buffer {
---- IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl_item.cc.orig	Tue Apr  9 13:48:49 2002
-+++ IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl_item.cc	Tue Jul  8 16:24:12 2003
-@@ -69,7 +69,7 @@
-    return out;
- }
- 
--Buffer *ItemASNO::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemASNO::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->appendf("as%d", asno);
-@@ -94,7 +94,7 @@
-    return out;
- }
- 
--Buffer *ItemMSItem::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemMSItem::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    buf = item->bufferize(buf, lcase);
-    switch (code) {
-    case 0:
-@@ -117,7 +117,7 @@
-    return out;
- }
- 
--Buffer *ItemFilter::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemFilter::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    cerr << "Error: I dont know how to canonicalize filters" << endl;
-    if (!buf)
-       buf = new Buffer;
-@@ -129,7 +129,7 @@
-    return out;
- }
- 
--Buffer *ItemINT::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemINT::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->appendf("%d", i);
-@@ -139,13 +139,15 @@
- ostream &ItemTimeStamp::print(ostream &out) const {
-    tm *ts;
-    ts = gmtime(&stamp);
--   out.form("%04d%02d%02d %02d:%02d:%02d +00:00", 
-+   char buf[80];
-+   sprintf(buf, "%04d%02d%02d %02d:%02d:%02d +00:00", 
- 	    ts->tm_year + 1900, ts->tm_mon+1, ts->tm_mday, 
- 	    ts->tm_hour, ts->tm_min, ts->tm_sec);
-+   out << buf;
-    return out;
- }
- 
--Buffer *ItemTimeStamp::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemTimeStamp::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false*/) const {
-    tm *ts;
-    ts = gmtime(&stamp);
-    if (!buf)
-@@ -161,7 +163,7 @@
-    return out;
- }
- 
--Buffer *ItemREAL::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemREAL::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->appendf("%f", real);
-@@ -173,7 +175,7 @@
-    return out;
- }
- 
--Buffer *ItemSTRING::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemSTRING::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->append(string);
-@@ -187,7 +189,7 @@
-    return out;
- }
- 
--Buffer *ItemBLOB::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemBLOB::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->append(blob);
-@@ -197,11 +199,13 @@
- }
- 
- ostream &ItemBUFFER::print(ostream &out) const {
--   out.form("%.*s", buffer->size, buffer->contents);
-+   char buf[buffer->size+2];
-+   sprintf(buf, "%.*s", buffer->size, buffer->contents);
-+   out << buf;
-    return out;
- }
- 
--Buffer *ItemBUFFER::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemBUFFER::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer(*buffer);
-    else
-@@ -216,7 +220,7 @@
-    return out;
- }
- 
--Buffer *ItemIPV4::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemIPV4::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->append(ipv4->get_text());
-@@ -228,7 +232,7 @@
-    return out;
- }
- 
--Buffer *ItemPRFXV4::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemPRFXV4::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->append(prfxv4->get_text());
-@@ -240,7 +244,7 @@
-    return out;
- }
- 
--Buffer *ItemPRFXV4Range::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemPRFXV4Range::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->append(prfxv4->get_text());
-@@ -257,7 +261,7 @@
-    return out;
- }
- 
--Buffer *ItemConnection::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemConnection::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    if (ip)
-@@ -276,7 +280,7 @@
-    return out;
- }
- 
--Buffer *ItemSID::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemSID::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->append(name);
-@@ -290,7 +294,7 @@
-    return out;
- }
- 
--Buffer *ItemBOOLEAN::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemBOOLEAN::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->append((i ? "true" : "false"));
-@@ -302,7 +306,7 @@
-    return out;
- }
- 
--Buffer *ItemWORD::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemWORD::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->append(word);
-@@ -316,7 +320,7 @@
-    return out;
- }
- 
--Buffer *ItemEMAIL::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemEMAIL::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->append(email);
-@@ -330,7 +334,7 @@
-    return out;
- }
- 
--Buffer *ItemRange::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemRange::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    buf = begin->bufferize(buf, false);
-    buf->append("-");
-    end->bufferize(buf, false);
-@@ -345,7 +349,7 @@
-    return out;
- }
- 
--Buffer *ItemFREETEXT::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemFREETEXT::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    if (!buf)
-       buf = new Buffer;
-    buf->append(text, length);
-@@ -367,7 +371,7 @@
-    return out;
- }
- 
--Buffer *ItemList::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemList::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    cerr << "Error: I dont know how to canonicalize lists" << endl;
-    if (!buf)
-       buf = new Buffer;
-@@ -387,7 +391,7 @@
-    return out;
- }
- 
--Buffer *ItemSequence::bufferize(Buffer *buf = NULL, bool lcase = false) const {
-+Buffer *ItemSequence::bufferize(Buffer *buf /* = NULL */, bool lcase /* = false */) const {
-    cerr << "Error: I dont know how to canonicalize sequences" << endl;
-    if (!buf)
-       buf = new Buffer;
---- IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl.y.orig	Tue Apr  9 13:48:48 2002
-+++ IRRToolSet-4.7.3/src/rpsl/rpsl/rpsl.y	Tue Jul  8 16:26:22 2003
-@@ -2031,7 +2031,7 @@
- 
- void handleArgumentTypeError(char *attr, char *method, int position,
- 			     const RPType *correctType, 
--			     bool isOperator = false) {
-+			     bool isOperator /* = false */) {
-    if (isOperator)
-       if (position)
- 	 handle_error("Error: argument %d to %s.operator%s should be %s.\n",
---- IRRToolSet-4.7.3/src/rpsl/rpsl/schema_rpsl.cc.orig	Tue Apr  9 13:48:49 2002
-+++ IRRToolSet-4.7.3/src/rpsl/rpsl/schema_rpsl.cc	Tue Jul  8 16:36:05 2003
-@@ -74,302 +74,300 @@
- 
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/IRRToolSet-gcc3.patch?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list