summary refs log tree commit diff stats
path: root/doc/examples/plugin_new_macro.py
diff options
context:
space:
mode:
authorEiichi Sato <sato.eiichi@gmail.com>2015-03-21 03:04:28 +0900
committerEiichi Sato <sato.eiichi@gmail.com>2015-03-28 15:40:20 +0900
commite2393938bf56f2bd6b93ea11e9282cf6d40a2514 (patch)
tree1828bf704f2056d7e4fc3e3503f035bf36a72397 /doc/examples/plugin_new_macro.py
parent13ca8e30589c55dd263eb43824de9ac8d2ad8306 (diff)
downloadranger-e2393938bf56f2bd6b93ea11e9282cf6d40a2514.tar.gz
ranger.py: fixed issues with $tempfile in embedded shell
Previously, $tempfile (namely, /tmp/chosendir) was not cleaned up
correctly when the ranger process quit in `pwd` without moving to other
directory.  This causes permission errors in multi-user environments
trying to overwrite $tempfile created by a different user.

This commit solves the problem in two ways:

 - Correctly clean up temporary files
 - Avoid writing to the same temporary by using mktemp(1)
Diffstat (limited to 'doc/examples/plugin_new_macro.py')
0 files changed, 0 insertions, 0 deletions