summaryrefslogtreecommitdiff
path: root/textproc/source-highlight/patches/patch-ae
blob: d6894d9f679a95a74ade3558219fc8c26c89b836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.4 2005/10/10 09:05:59 seb Exp $

--- src/lib/fileutil.cc.orig	2005-08-25 14:01:56.000000000 +0000
+++ src/lib/fileutil.cc
@@ -43,7 +43,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