diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/lib/cfuns-c.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1a276841..f387ddfc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2008-03-17 Gabriel Dos Reis <gdr@cs.tamu.edu> + * lib/cfuns-c.c (oa_chdir): Add missing `return'. + +2008-03-17 Gabriel Dos Reis <gdr@cs.tamu.edu> + * lib/cfuns-c.c (oa_chdir): Define. (is_dot_or_dotdot): New. (oa_unlink): Define. diff --git a/src/lib/cfuns-c.c b/src/lib/cfuns-c.c index 95c9787f..764c5d6c 100644 --- a/src/lib/cfuns-c.c +++ b/src/lib/cfuns-c.c @@ -310,7 +310,7 @@ OPENAXIOM_EXPORT int oa_chdir(const char* path) { #ifdef __MINGW32__ - SetCurrentDirectory(path) ? 0 : -1; + return SetCurrentDirectory(path) ? 0 : -1; #else return chdir(path); #endif /* __MINGW32__ */ |