OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* ChangeLog: forgot to add ChangeLog entry in previous commit.
[pf3gnuchains/gcc-fork.git]
/
libiberty
/
choose-temp.c
diff --git
a/libiberty/choose-temp.c
b/libiberty/choose-temp.c
index
1f5e0e5
..
0cba990
100644
(file)
--- a/
libiberty/choose-temp.c
+++ b/
libiberty/choose-temp.c
@@
-61,7
+61,7
@@
choose_temp_base (void)
int len;
len = strlen (base);
- temp_filename =
xmalloc (
len + TEMP_FILE_LEN + 1);
+ temp_filename =
XNEWVEC (char,
len + TEMP_FILE_LEN + 1);
strcpy (temp_filename, base);
strcpy (temp_filename + len, TEMP_FILE);