[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cygwin init
From: |
John W. Eaton |
Subject: |
cygwin init |
Date: |
Thu, 13 Nov 2008 16:29:31 -0500 |
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
- cygwin init, Marco Atzeri, 2008/11/13
- cygwin init,
John W. Eaton <=