Create geany_run_script.sh in the temporary directory instead of the working directory
commit7b5df86bd14dac77e1d66ede4b8240cd99e8ba48
authorJiří Techet <techet@gmail.com>
Sun, 22 Feb 2015 21:46:25 +0000 (22 22:46 +0100)
committerJiří Techet <techet@gmail.com>
Wed, 4 Mar 2015 10:48:53 +0000 (4 11:48 +0100)
tree89d15ff7581a5b1b5c8648a614b17c69416c2a41
parentb0786efc66b2d2e91b1b013199755466d32a95f1
Create geany_run_script.sh in the temporary directory instead of the working directory

Under some conditions, geany_run_script.sh is not deleted and we
have no means to detect this in Geany (e.g. when the terminal emulator
is started correctly but it fails to execute the script for some reason).
In this case it is better to keep the garbage in /tmp than the working
directory. Apart from that, it eliminates potential transfer of the run script
over a NFS and eliminates the visibility of the script in working directory
on Windows.

Apart from that this patch fixes some locale/utf8 conversion problems
and other subtle problems with the previous implementation.
doc/geany.txt
src/build.c