summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/SystemTools.cxx10
1 files 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__)