summaryrefslogtreecommitdiff
path: root/textproc/source-highlight/patches/patch-ae
blob: 3871b8a0faea0bdaff015561d9ed8e5ba8f4b49c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.3 2004/05/16 12:22:40 seb Exp $

--- src/lib/fileutil.cc.orig	2004-04-19 10:59:24.000000000 +0000
+++ src/lib/fileutil.cc
@@ -41,7 +41,7 @@ read_file(const string &fileName)
   // we open it as binary otherwise we may experience problems under
   // Windows system: when we fread, the number of char read can be
   // less then char_count, and thus we'd get an error...
-  ifstream file (fileName.c_str (), ios_base::binary);
+  ifstream file (fileName.c_str (), ios::binary);
   if (! file.is_open () )
     file_error ("Error operning", fileName);
   else