projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* choose-temp.c (choose_temp_base): Check the result of the call
[deliverable/binutils-gdb.git]
/
libiberty
/
choose-temp.c
diff --git
a/libiberty/choose-temp.c
b/libiberty/choose-temp.c
index 0cba9905d5bb9e41778d5fca5af45ecd532bfc64..4a26a827a2c296a21e2de69fc90b90ef485bf7f1 100644
(file)
--- a/
libiberty/choose-temp.c
+++ b/
libiberty/choose-temp.c
@@
-65,8
+65,7
@@
choose_temp_base (void)
strcpy (temp_filename, base);
strcpy (temp_filename + len, TEMP_FILE);
- mktemp (temp_filename);
- if (strlen (temp_filename) == 0)
+ if (mktemp (temp_filename) == 0)
abort ();
return temp_filename;
}
This page took
0.023177 seconds
and
4
git commands to generate.