ENH: remove code that does not compile, on windows cwd must exist
This commit is contained in:
parent
8d2c78f43c
commit
dc304cfdec
|
@ -118,15 +118,9 @@ inline int Rmdir(const char* dir)
|
||||||
}
|
}
|
||||||
inline const char* Getcwd(char* buf, unsigned int len)
|
inline const char* Getcwd(char* buf, unsigned int len)
|
||||||
{
|
{
|
||||||
const char* ret = _getcwd(buf, len);
|
return _getcwd(buf, len);
|
||||||
if(!ret)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "No current working directory.\n");
|
|
||||||
abort();
|
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline int Chdir(const char* dir)
|
inline int Chdir(const char* dir)
|
||||||
{
|
{
|
||||||
#if defined(__BORLANDC__)
|
#if defined(__BORLANDC__)
|
||||||
|
|
Loading…
Reference in New Issue