From ada9797009f3774f0e9137e8fd01edccc3e4a922 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 24 May 2006 11:18:18 +0000 Subject: [PATCH] why r+t? we don't need to write. --- tools/qfcc/source/cpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/cpp.c b/tools/qfcc/source/cpp.c index eed8c4026..e1bc0a030 100644 --- a/tools/qfcc/source/cpp.c +++ b/tools/qfcc/source/cpp.c @@ -282,7 +282,7 @@ preprocess_file (const char *filename) else if (options.save_temps) return fopen (tempname->str, "rt"); else { - return fdopen (tempfd, "r+t"); + return fdopen (tempfd, "rt"); } #endif }