This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
mips.c: silly mistake in last change
- To: gcc-patches at gcc dot gnu dot org
- Subject: mips.c: silly mistake in last change
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Mon, 26 Feb 2001 17:25:48 -0800
- Cc: Jeffrey Oldham <oldham at codesourcery dot com>
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;