comparison liboctave/lo-sysdep.cc @ 6244:8cab253171b6

[project @ 2007-01-17 21:55:49 by jwe]
author jwe
date Wed, 17 Jan 2007 21:55:49 +0000
parents 323be5eeed1f
children 363a2f8c9e97
comparison
equal deleted inserted replaced
6243:7924a9086c08 6244:8cab253171b6
87 87
88 delete [] tmp_path; 88 delete [] tmp_path;
89 89
90 return retval; 90 return retval;
91 #else 91 #else
92
93 #if defined (__WIN32__) && ! defined (__CYGWIN__)
94 if (path.length() == 2 && path[1] == ':')
95 path += "\\";
96 #endif
97
92 return chdir (path.c_str ()); 98 return chdir (path.c_str ());
93 #endif 99 #endif
94 } 100 }
95 101
96 #if defined (_MSC_VER) 102 #if defined (_MSC_VER)