diff options
author | wosch <wosch@FreeBSD.org> | 1997-01-27 00:10:53 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1997-01-27 00:10:53 +0000 |
commit | f9f02322a95746ada2171b9352607eb3173c8151 (patch) | |
tree | 0f16d29066176be60bf47b516842a9bc2c2b5908 /usr.bin | |
parent | 3306642b2ad9482d3c57b2bc07a95c051c841084 (diff) | |
download | FreeBSD-src-f9f02322a95746ada2171b9352607eb3173c8151.zip FreeBSD-src-f9f02322a95746ada2171b9352607eb3173c8151.tar.gz |
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.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mkdep/mkdep.gcc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mkdep/mkdep.gcc.sh b/usr.bin/mkdep/mkdep.gcc.sh index e925bed..d822149 100644 --- a/usr.bin/mkdep/mkdep.gcc.sh +++ b/usr.bin/mkdep/mkdep.gcc.sh @@ -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 |