summaryrefslogtreecommitdiffstats
path: root/textproc/source-highlight/files/patch-ad
blob: 6794fa658c13491c030b097989495cc157d6af0c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/lib/fileutil.cc.orig	Tue Aug 17 13:11:13 2004
+++ src/lib/fileutil.cc	Tue Aug 17 13:11:41 2004
@@ -41,7 +41,7 @@
   // 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
OpenPOWER on IntegriCloud