cygwin init
John W. Eaton
jwe at bevo.che.wisc.edu
Thu Nov 13 15:29:31 CST 2008
On 13-Nov-2008, Marco Atzeri wrote:
| Hi All,
| trying to solve an issue about image loading
|
| http://sourceforge.net/mailarchive/message.php?msg_id=20081108035356.13562.qmail%40web3813.mail.bbt.yahoo.co.jp
|
| I found that the "cygwin_init" in "src/sysdep.cc"
| has a strange modification of TMPDIR to Windows
| directory name that can create problem
|
| octave:1> getenv("TMPDIR")
| ans = C:/cygwin/tmp
| instead of a plain
| ans = /tmp
| that I should expect.
|
| removing the modification with the attached patch
| creates no visible issue (all test Passed)
| and solve the image loading.
|
| Do someone knows why the translation of TMPDIR
| is in place for cygwin ?
My guess is that it was set this way to allow the native Windows
version of gnuplot to work with Octave.
jwe
More information about the Octave-maintainers
mailing list