cygwin: src/sysdep.cc patch

Marco Atzeri marco_atzeri at yahoo.it
Thu May 7 10:06:07 CDT 2009


Hi All,

the attached patch remove the call to
cygwin32_conv_to_full_win32_path
from src/sysdep.cc and replace with a more standard 

   if (tmpdir.empty ())
     tmpdir = "/tmp";
   octave_env::putenv ("TMPDIR", tmpdir);


The function was deprecated in cygwin-1.5 and has been
removed in cygwin-1.7.
As it was used to set TMPDIR=c:/temp that is also
deprecated in cygwin, I see no reason to mantain it.

This solution is already implemented in the
cygwin 3.0.x official packages.
 
Regards
Marco Atzeri

volunteer cygwin octave mantainer


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg_sysdep.patch
Type: text/x-diff
Size: 1356 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090507/d635c607/attachment.bin 


More information about the Octave-maintainers mailing list