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);
|
return (cp);
|
||||||
}
|
}
|
||||||
if (ftemp == NULL) {
|
if (ftemp == NULL) {
|
||||||
strcpy(temp, _PATH_TMP);
|
strcpy(temp, _PATH_TMP_XXX);
|
||||||
mktemp(temp);
|
mktemp(temp);
|
||||||
oldverbose = verbose, verbose = 0;
|
oldverbose = verbose, verbose = 0;
|
||||||
oldhash = hash, hash = 0;
|
oldhash = hash, hash = 0;
|
||||||
|
@@ -37,8 +37,7 @@
|
|||||||
#include <paths.h>
|
#include <paths.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef _PATH_TMP
|
#define _PATH_TMP_XXX "/tmp/ftpXXXXXX"
|
||||||
#define _PATH_TMP "/tmp/ftpXXXXXX"
|
|
||||||
|
|
||||||
#ifndef _PATH_BSHELL
|
#ifndef _PATH_BSHELL
|
||||||
#define _PATH_BSHELL "/bin/sh"
|
#define _PATH_BSHELL "/bin/sh"
|
||||||
|
Reference in New Issue
Block a user