To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=64420
Issue #:|64420
Summary:|createSpoolDir: do not guess the temp directory name,
|use tools' functionality
Component:|gsl
Version:|OOo 2.0.2
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|pl
Reported by:|pjanik
------- Additional comments from [EMAIL PROTECTED] Sat Apr 15 14:23:44 -0700
2006 -------
Hi,
rtl::OUString
createSpoolDir ()
{
/* get a tmp directory */
static char* pTmpDir = NULL;
if (pTmpDir == NULL)
{
if (! existsTmpDir(pTmpDir = getenv("TMPDIR")))
if (! existsTmpDir(pTmpDir = P_tmpdir))
pTmpDir = "/tmp";
}
...
So this function is guessing the temporary files location and uses different
guessing method than then the rest of the application.
Can't you use TempFile::TempFile instead?
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]