Репозитории ALT
S: | 4.8.0-alt1 |
5.1: | 2.9.21.2-alt5.1 |
4.1: | 2.9.21-alt1 |
4.0: | 2.9.20-alt3 |
Группа :: Система/Серверы
Пакет: pdns
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: pdns-2.9.21.1-boost.1.36.patch
Скачать
Скачать
diff -uNr pdns-2.9.21.1-origin/pdns/backends/bind/bindbackend2.cc pdns-2.9.21.1/pdns/backends/bind/bindbackend2.cc
--- pdns-2.9.21.1-origin/pdns/backends/bind/bindbackend2.cc 2007-04-21 17:56:36 +0400
+++ pdns-2.9.21.1/pdns/backends/bind/bindbackend2.cc 2008-10-19 21:43:39 +0400
@@ -600,7 +600,7 @@
L<<Logger::Warning<<d_logprefix<<msg.str()<<endl;
rejected++;
}
- catch(exception &ae) {
+ catch(std::exception &ae) {
ostringstream msg;
msg<<" error at "+nowTime()+" parsing '"<<i->name<<"' from file '"<<i->filename<<"': "<<ae.what();
@@ -715,7 +715,7 @@
msg<<" error at "+nowTime()+" parsing '"<<bbd->d_name<<"' from file '"<<bbd->d_filename<<"': "<<ae.reason;
bbd->d_status=msg.str();
}
- catch(exception &ae) {
+ catch(std::exception &ae) {
ostringstream msg;
msg<<" error at "+nowTime()+" parsing '"<<bbd->d_name<<"' from file '"<<bbd->d_filename<<"': "<<ae.what();
bbd->d_status=msg.str();
diff -uNr pdns-2.9.21.1-origin/pdns/backends/bind/zone2sql.cc pdns-2.9.21.1/pdns/backends/bind/zone2sql.cc
--- pdns-2.9.21.1-origin/pdns/backends/bind/zone2sql.cc 2007-04-21 17:56:36 +0400
+++ pdns-2.9.21.1/pdns/backends/bind/zone2sql.cc 2008-10-19 21:49:15 +0400
@@ -302,7 +302,7 @@
cerr<<"\nFatal error: "<<ae.reason<<endl;
return 0;
}
- catch(exception &e) {
+ catch(std::exception &e) {
cerr<<"died because of STL error: "<<e.what()<<endl;
exit(0);
}
diff -uNr pdns-2.9.21.1-origin/pdns/communicator.cc pdns-2.9.21.1/pdns/communicator.cc
--- pdns-2.9.21.1-origin/pdns/communicator.cc 2007-04-21 17:56:36 +0400
+++ pdns-2.9.21.1/pdns/communicator.cc 2008-10-19 21:55:40 +0400
@@ -461,7 +461,7 @@
Utility::sleep(1);
exit(0);
}
- catch(exception &e) {
+ catch(std::exception &e) {
L<<Logger::Error<<"Communicator thread died because of STL error: "<<e.what()<<endl;
exit(0);
}
diff -uNr pdns-2.9.21.1-origin/pdns/dnspacket.cc pdns-2.9.21.1/pdns/dnspacket.cc
--- pdns-2.9.21.1-origin/pdns/dnspacket.cc 2007-04-21 17:56:36 +0400
+++ pdns-2.9.21.1/pdns/dnspacket.cc 2008-10-19 21:50:27 +0400
@@ -320,7 +320,7 @@
}
pw.commit();
}
- catch(exception& e) {
+ catch(std::exception& e) {
L<<Logger::Error<<"Exception: "<<e.what()<<endl;
throw;
}
@@ -424,7 +424,7 @@
qclass=mdp.d_qclass;
return 0;
}
-catch(exception& e) {
+catch(std::exception& e) {
return -1;
}
diff -uNr pdns-2.9.21.1-origin/pdns/receiver.cc pdns-2.9.21.1/pdns/receiver.cc
--- pdns-2.9.21.1-origin/pdns/receiver.cc 2008-08-07 11:02:53 +0400
+++ pdns-2.9.21.1/pdns/receiver.cc 2008-10-19 21:52:03 +0400
@@ -567,7 +567,7 @@
cerr<<"Exiting because: "<<AE.reason<<endl;
L<<Logger::Error<<"Exiting because: "<<AE.reason<<endl;
}
- catch(exception &e) {
+ catch(std::exception &e) {
if(!arg().mustDo("daemon"))
cerr<<"Exiting because of STL error: "<<e.what()<<endl;
L<<Logger::Error<<"Exiting because of STL error: "<<e.what()<<endl;
diff -uNr pdns-2.9.21.1-origin/pdns/tcpreceiver.cc pdns-2.9.21.1/pdns/tcpreceiver.cc
--- pdns-2.9.21.1-origin/pdns/tcpreceiver.cc 2007-04-21 17:56:36 +0400
+++ pdns-2.9.21.1/pdns/tcpreceiver.cc 2008-10-19 21:51:17 +0400
@@ -322,7 +322,7 @@
s_P = 0; // on next call, backend will be recycled
L<<Logger::Error<<"TCP nameserver had error, cycling backend: "<<ae.reason<<endl;
}
- catch(exception &e) {
+ catch(std::exception &e) {
L<<Logger::Error<<"TCP Connection Thread died because of STL error: "<<e.what()<<endl;
}
catch( ... )