This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

mips.c: silly mistake in last change


I should have at least compiled the blasted thing.  Thanks to Jeffrey
Oldham for pointing this out.  (And yes, I did compile it this time.)
Applied to mainline.

zw

2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>

        * mips.c (mips_make_temp_file): Fix thinko in last change.

===================================================================
Index: config/mips/mips.c
--- config/mips/mips.c	2001/02/25 17:23:42	1.110
+++ config/mips/mips.c	2001/02/27 01:25:37
@@ -5790,7 +5790,7 @@ mips_make_temp_file ()
   FILE *stream;
 
   temp_filename = make_temp_file (0);
-  stream = fopen (filename, "w+");
+  stream = fopen (temp_filename, "w+");
   if (!stream)
     fatal_io_error ("can't open %s", temp_filename);
   return stream;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]