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:
@@ -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;
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user