diff options
Diffstat (limited to 'fish/fish.c')
-rw-r--r-- | fish/fish.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/fish.c b/fish/fish.c index 43798458..6aadd560 100644 --- 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"); |