diff options
Diffstat (limited to 'net/netmap/files/patch-netmap::netmap.c')
-rw-r--r-- | net/netmap/files/patch-netmap::netmap.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/netmap/files/patch-netmap::netmap.c b/net/netmap/files/patch-netmap::netmap.c new file mode 100644 index 000000000000..9cb6b449815f --- /dev/null +++ b/net/netmap/files/patch-netmap::netmap.c @@ -0,0 +1,20 @@ +--- netmap/netmap.c.orig Sun Dec 15 14:54:26 2002 ++++ netmap/netmap.c Sun Dec 15 14:54:26 2002 +@@ -32,7 +32,7 @@ + + int count_invalid_hosts(const string& fname) + { +- Infile inf(fname, ios::bin | ios::in); ++ Infile inf(fname, ios::binary | ios::in); + + int invalid_hosts = 0; + int invalid_left = 0; +@@ -60,7 +60,7 @@ + const int num_invalid_hosts = + (keep_reading?count_invalid_hosts(fname):0); + +- Infile inf(fname, ios::bin | ios::in); ++ Infile inf(fname, ios::binary | ios::in); + + int mark_first = 1; + string prev_addr = inv_ip; |