git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools: Add section describing quoting libvirt domain names to docs (RHBZ#643624)
[libguestfs.git]
/
fish
/
fish.c
diff --git
a/fish/fish.c
b/fish/fish.c
index
4379845
..
6aadd56
100644
(file)
--- a/
fish/fish.c
+++ b/
fish/fish.c
@@
-1561,7
+1561,7
@@
file_in (const char *arg)
static char *
file_in_heredoc (const char *endmarker)
{
-
static const char template[] = "/tmp/heredocXXXXXX"
;
+
TMP_TEMPLATE_ON_STACK (template)
;
file_in_tmpfile = strdup (template);
if (file_in_tmpfile == NULL) {
perror ("strdup");