ENH: remove code that does not compile, on windows cwd must exist

This commit is contained in:
Bill Hoffman 2006-04-27 17:46:10 -04:00
parent 8d2c78f43c
commit dc304cfdec
1 changed files with 2 additions and 8 deletions

View File

@ -118,15 +118,9 @@ inline int Rmdir(const char* dir)
}
inline const char* Getcwd(char* buf, unsigned int len)
{
const char* ret = _getcwd(buf, len);
if(!ret)
{
fprintf(stderr, "No current working directory.\n");
abort();
}
return ret;
return _getcwd(buf, len);
}
inline int Chdir(const char* dir)
{
#if defined(__BORLANDC__)