cygwin init

Marco Atzeri marco_atzeri at yahoo.it
Thu Nov 13 10:44:15 CST 2008


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 ?

Regards
Marco Atzeri
  



      Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: octave-3.0.3-1.src-cygwininit.patch
Type: text/x-diff
Size: 621 bytes
Desc: 514861441-octave-3.0.3-1.src-cygwininit.patch
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20081113/2c1ffb96/attachment.bin 


More information about the Octave-maintainers mailing list