1. Jason R. Coombs
  2. gcc-xml

Commits

hoffman  committed 8c1b069

BUG: fix for bug 1385, /tmp should not be used on windows

  • Participants
  • Parent commits 2152d16
  • Branches default
  • Tags VTK-RemoveWindowsH-post, VTK-RemoveWindowsH-pre 1
    1. WebVis-Demo-Dec-2004

Comments (0)

Files changed (1)

File GCC_XML/KWSys/SystemTools.cxx

View file
  • Ignore whitespace
   if(!initialized)
     {
     initialized = 1;
+    // add some special translation paths for unix
+    // these are not added for windows because drive
+    // letters need to be maintained.  Also, there
+    // are not sym-links and mount points on windows anyway.
+#if !defined( _WIN32 ) 
     //Also add some good default one:
     // This one should always be there it fix a bug on sgi
     SystemTools::AddTranslationPath("/tmp_mnt/", "/");
-  
     //This is a good default also:
     SystemTools::AddKeepPath("/tmp/");
+#endif
     }
 
   // Now we need to update the translation table with this potentially new path