2010-11-05  Pierre Muller  <muller@ics.u-strasbg.fr>

	* emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter.
This commit is contained in:
Richard Sandiford 2010-11-05 17:20:17 +00:00
parent b521dba831
commit a38ce0d06c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-11-05 Pierre Muller  <muller@ics.u-strasbg.fr>
* emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter.
2010-11-05 Tristan Gingold <gingold@adacore.com>
* po/ld.pot: Regenerate

View File

@ -355,7 +355,7 @@ new_tmp_file (char **fname)
*fname = mktemp (*fname);
if (*fname == NULL)
return -1;
fd = open (fname, O_RDWR | O_CREAT | O_EXCL, 0600);
fd = open (*fname, O_RDWR | O_CREAT | O_EXCL, 0600);
#endif
return fd;
}