From ce42f4d3dd461ced69470ea70e4f840c8abfb246 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 21 Aug 2003 13:39:21 +0000 Subject: patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local bits in my tree svn-id: r9807 --- common/file.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/file.cpp') diff --git a/common/file.cpp b/common/file.cpp index e99ef2b8cf..78667f0c9a 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -25,9 +25,10 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char *mode) { FILE *file; - char buf[256]; + char buf[512]; char *ptr; + assert(directory); strcpy(buf, directory); #ifdef WIN32 -- cgit v1.2.3