diff options
| author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-12-20 21:07:52 +0000 |
|---|---|---|
| committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-12-20 21:07:52 +0000 |
| commit | 42f82ca6c005fd07dd0ee69e3d3c31e91ec1045e (patch) | |
| tree | 39b4daa2232eefd9eba9d98887d29f62b9aa90de /net/netmap/files/patch-netmap::lookup.c | |
| parent | 1. disable sending report and unforbid openwebmail (diff) | |
Make net/netmap building on -current again
PR: ports/46267
Submitted by: Kuang-che Wu <kcwu@kcwu.dyndns.org>
Notes
Notes:
svn path=/head/; revision=71745
Diffstat (limited to '')
| -rw-r--r-- | net/netmap/files/patch-netmap::lookup.c | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/net/netmap/files/patch-netmap::lookup.c b/net/netmap/files/patch-netmap::lookup.c index 8b432ab3d9a4..c756665f00ce 100644 --- a/net/netmap/files/patch-netmap::lookup.c +++ b/net/netmap/files/patch-netmap::lookup.c @@ -1,5 +1,5 @@ ---- netmap/lookup.c.orig Sun Feb 10 02:57:26 2002 -+++ netmap/lookup.c Sun Feb 10 02:59:22 2002 +--- netmap/lookup.c.orig Sun Dec 15 14:54:26 2002 ++++ netmap/lookup.c Sun Dec 15 14:54:26 2002 @@ -1,6 +1,8 @@ #include <strstream> #include <iostream> @@ -9,3 +9,21 @@ #include <netdb.h> //hostent def //from belgolib +@@ -83,7 +85,7 @@ + if(verbose_lvl) + cout << indent(2) << "Reading " << fname << endl; + +- Infile cfile(fname, ios::bin | ios::in); ++ Infile cfile(fname, ios::binary | ios::in); + + while(cfile && !cfile.eof()) { + HostRec hr; +@@ -229,7 +231,7 @@ + + void LookUp::read_failedip(const string& fname) + { +- Infile cfile(fname, ios::bin | ios::in); ++ Infile cfile(fname, ios::binary | ios::in); + + while(cfile && !cfile.eof()) { + string ip; |
