From f857b2866a115a68e3461ca3c29491f6437102cd Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 1 Jun 1997 22:52:37 +0000 Subject: [PATCH] replace _PATH_TMP with _PATH_TMP_XXX git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1834 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftp/cmds.c | 2 +- appl/ftp/ftp/pathnames.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/appl/ftp/ftp/cmds.c b/appl/ftp/ftp/cmds.c index 8409e573a..670e6605c 100644 --- a/appl/ftp/ftp/cmds.c +++ b/appl/ftp/ftp/cmds.c @@ -747,7 +747,7 @@ remglob(char **argv, int doswitch) return (cp); } if (ftemp == NULL) { - strcpy(temp, _PATH_TMP); + strcpy(temp, _PATH_TMP_XXX); mktemp(temp); oldverbose = verbose, verbose = 0; oldhash = hash, hash = 0; diff --git a/appl/ftp/ftp/pathnames.h b/appl/ftp/ftp/pathnames.h index 9f5320596..f7c1fb391 100644 --- a/appl/ftp/ftp/pathnames.h +++ b/appl/ftp/ftp/pathnames.h @@ -37,8 +37,7 @@ #include #endif -#undef _PATH_TMP -#define _PATH_TMP "/tmp/ftpXXXXXX" +#define _PATH_TMP_XXX "/tmp/ftpXXXXXX" #ifndef _PATH_BSHELL #define _PATH_BSHELL "/bin/sh"