Author: leo
Date: Tue Jan 10 14:48:50 2006
New Revision: 11067
Modified:
trunk/src/classes/os.pmc
Log:
remove _chdir sillyness
Modified: trunk/src/classes/os.pmc
==============================================================================
--- trunk/src/classes/os.pmc (original)
+++ trunk/src/classes/os.pmc Tue Jan 10 14:48:50 2006
@@ -99,11 +99,7 @@ Changes the current working directory to
METHOD void chdir(STRING *path) {
int error;
char *cpath = string_to_cstring(interpreter, path);
-#ifdef WIN32
error = chdir(cpath);
-#else
- error = _chdir(cpath);
-#endif
string_cstring_free(cpath);
if (error) {
char *errmsg = strerror(errno);