From dc304cfdec774a26486272f43080098eee293ca7 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 27 Apr 2006 17:46:10 -0400 Subject: ENH: remove code that does not compile, on windows cwd must exist --- Source/kwsys/SystemTools.cxx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index b92ded7..5743492 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -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__) -- cgit v0.12