Store temp files in current directory instead /tmp. The current

directory is usually not world writable, this avoid security
problems due the evil Berkeleian symlinks.
This commit is contained in:
Wolfram Schneider 1997-01-27 00:10:53 +00:00
parent d80ace690d
commit 7f6f2e9466
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22024

View File

@ -67,7 +67,7 @@ case $# in 0)
exit 1;;
esac
TMP=/tmp/mkdep$$
TMP=_mkdep$$
trap 'rm -f $TMP ; exit 1' 1 2 3 13 15
trap 'rm -f $TMP' 0