[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #33483] temporary directory
From: |
Harry Thijssen |
Subject: |
PSPP-BUG: [bug #33483] temporary directory |
Date: |
Tue, 07 Jun 2011 09:25:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 |
Follow-up Comment #3, bug #33483 (project pspp):
TMPDIR is indeed very unusual on MSWindows. TEMP is the preferred variable.
I am thinking of using a temporary patch for this in the MSWindows package.
I guess changing:
if (try_tmpdir)
{
d = __secure_getenv ("TMPDIR");
if (d != NULL && direxists (d))
dir = d;
else if (dir != NULL && direxists (dir))
/* nothing */ ;
else
dir = NULL;
}
to
{
d = __secure_getenv ("TMPDIR");
if (d != NULL && direxists (d))
dir = d;
else {
d = __secure_getenv ("TEMPDIR");
if (d != NULL && direxists (d))
dir = d;
else if (dir != NULL && direxists (dir))
/* nothing */ ;
else
dir = NULL;
}
}
at line 99 would fix the issue of the place where the directory is created.
But this leaves the issue of the large files not being removed. 1 user had 3,4
Gb temporary files stored. If this is on the TEMP directory, fortunately the
directory is cleaned by several garbage collection tools like the one form
MSWindows itself.
I think it would be good to ask the gnulib list to add the TEMP variable and
also ask why the files are not deleted. Maybe it is just a minor issue.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33483>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- PSPP-BUG: [bug #33483] temporary directory, Harry Thijssen, 2011/06/06
- PSPP-BUG: [bug #33483] temporary directory, Harry Thijssen, 2011/06/06
- PSPP-BUG: [bug #33483] temporary directory, John Darrington, 2011/06/07
- PSPP-BUG: [bug #33483] temporary directory,
Harry Thijssen <=
- PSPP-BUG: [bug #33483] temporary directory, Harry Thijssen, 2011/06/07
- PSPP-BUG: [bug #33483] temporary directory, Harry Thijssen, 2011/06/10
- PSPP-BUG: [bug #33483] temporary directory, John Darrington, 2011/06/10
- PSPP-BUG: [bug #33483] temporary directory, John Darrington, 2011/06/24
- PSPP-BUG: [bug #33483] temporary directory, Harry Thijssen, 2011/06/24
- PSPP-BUG: [bug #33483] temporary directory, John Darrington, 2011/06/24
- PSPP-BUG: [bug #33483] temporary directory, Harry Thijssen, 2011/06/25
- PSPP-BUG: [bug #33483] temporary directory, John Darrington, 2011/06/25
- PSPP-BUG: [bug #33483] temporary directory, Harry Thijssen, 2011/06/25
- PSPP-BUG: [bug #33483] temporary directory, John Darrington, 2011/06/25