aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/arts++/files/patch-apps::artstos::artstos.cc
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2004-02-14 07:18:35 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2004-02-14 07:18:35 +0000
commit00535086d3a922b17e2beead589f92e6cd585ff8 (patch)
tree39749b1efaaad8c42f3be50320a00cac0799aacc /net-mgmt/arts++/files/patch-apps::artstos::artstos.cc
parentb6deb36621300a80aab2d23031a1a259f9b0ce01 (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_2_1'.release/5.2.1
Notes
Notes: svn path=/head/; revision=100899 svn path=/tags/RELEASE_5_2_1/; revision=100900; tag=release/5.2.1
Diffstat (limited to 'net-mgmt/arts++/files/patch-apps::artstos::artstos.cc')
-rw-r--r--net-mgmt/arts++/files/patch-apps::artstos::artstos.cc43
1 files changed, 0 insertions, 43 deletions
diff --git a/net-mgmt/arts++/files/patch-apps::artstos::artstos.cc b/net-mgmt/arts++/files/patch-apps::artstos::artstos.cc
deleted file mode 100644
index a8223a7cb5a0..000000000000
--- a/net-mgmt/arts++/files/patch-apps::artstos::artstos.cc
+++ /dev/null
@@ -1,43 +0,0 @@
---- ./apps/artstos/artstos.cc.orig Mon Oct 2 13:05:13 2000
-+++ ./apps/artstos/artstos.cc Wed Sep 25 16:38:09 2002
-@@ -52,14 +52,19 @@
- #include <errno.h>
- }
-
--#include <fstream.h>
--#include <string>
--
- #include "ArtsTosTable.hh"
- #include "ArtsIfIndexSelectionSet.hh"
- #include "ArtsTimeIntervalSelectionSet.hh"
- #include "ArtsPackageVersion.hh"
-
-+#ifdef HAVE_FSTREAM
-+# include <fstream>
-+# include <iterator>
-+ using namespace std;
-+#else
-+# include <fstream.h>
-+#endif
-+
- #ifndef NDEBUG
- #include "ArtsDebug.hh"
- #endif
-@@ -108,7 +113,7 @@
- }
- }
-
-- if (hostAttribute) {
-+ if (hostAttribute != arts.Attributes().end()) {
- inAddr.s_addr = hostAttribute->Host();
- cout << "router: " << inet_ntoa(inAddr) << endl;
- }
-@@ -126,7 +131,7 @@
- }
- cout << endl;
-
-- if (periodAttribute) {
-+ if (periodAttribute != arts.Attributes().end() ) {
- periodTimes[0] = periodAttribute->Period()[0];
- periodTimes[1] = periodAttribute->Period()[1];
- localTm = localtime(&(periodTimes[0]));