bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #33483] temporary directory


From: John Darrington
Subject: PSPP-BUG: [bug #33483] temporary directory
Date: Sat, 25 Jun 2011 14:29:13 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16)

Follow-up Comment #11, bug #33483 (project pspp):

The current (unmodified gnulib) behaviour is to use $TMPDIR, then "/tmp", then
abort with an error.

My patch, on Windows, changes it to use $TEMP, then "/Windows/Temp", then
abort with error.

So far as I can see, your patch uses $TEMPDIR, then $TEMP, then "/tmp", then
abort with error.

Surely a fallback of "/tmp" has the same problems (or worse) than
"/Windows/Temp" ?

Perhaps the correct solution would be to use the Windows syscall
GetTempPath, see
http://msdn.microsoft.com/en-us/library/aa364992%28v=vs.85%29.aspx  I presume
this will be more robust, as it should know about all the Windows specific
idiosyncrases.

Shall we have a go at that?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33483>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]