On Sat, 2009-10-10 at 17:27 +0200, Benjamin Drung wrote:
> please remove the empty /tmp/audacity-$USER directory on exit.
>
> Initial bug report in Debian:
http://bugs.debian.org/548722> When I open and close audacity, it leaves an empty /tmp/audacity-$USER
> directory behind. Please fix it to delete the directory when the user
> presses quit, or from the WM close button or from the signal handlers.
That is the working directory for temporary files whilst audacity is
running. Whilst it should be empty on exit, if a crash or forced wuit
occurs, the files in that directory will be needed when audacity is
restarted in order to recover the user's work. So deleting the empty
directory is a bad idea:
* In the case where shutdown is orderly (via the quit menu item), then
there is only a single directory to remove
* In any other circumstance, then potentially important data will be in
the directory, and it must not be removed.
If you can provide a patch which deals with the first case without risk
to the second, then I'll apply it, but it's not a priority (think how
many other applications create temporary -$USER directories and don't
remove them on shut-down - I have kde, gconfd, hsperfdata, orbit and
acroread (the last uses numeric UID / GID) in /tmp). Provided they don't
grow out of control, there shouldn't be a problem. As a user I'd be much
more interested in cases where /tmp (or /var/run, /var/cache etc) is
emptied out and then applications refuse to start because their pet
directory doesn't exist (something that doesn't affect Audacity, but
seems to plague other programs).
Richard
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel