replace _PATH_TMP with _PATH_TMP_XXX

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1834 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-06-01 22:52:37 +00:00
parent dedce72b76
commit f857b2866a
2 changed files with 2 additions and 3 deletions

View File

@@ -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;

View File

@@ -37,8 +37,7 @@
#include <paths.h>
#endif
#undef _PATH_TMP
#define _PATH_TMP "/tmp/ftpXXXXXX"
#define _PATH_TMP_XXX "/tmp/ftpXXXXXX"
#ifndef _PATH_BSHELL
#define _PATH_BSHELL "/bin/sh"