Remove VG_(getcwd_alloc)(), which can be done otherwise pretty easily.
This halves m_libcfile's dependence on m_mallocfree.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3995 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/include/pub_tool_libcfile.h b/include/pub_tool_libcfile.h
index 0a1b01c..2f80ec9 100644
--- a/include/pub_tool_libcfile.h
+++ b/include/pub_tool_libcfile.h
@@ -48,7 +48,8 @@
 extern Int  VG_(rename) ( Char* old_name, Char* new_name );
 extern Int  VG_(unlink) ( Char* file_name );
 
-extern Char* VG_(getcwd) ( Char* buf, SizeT size );
+// Returns False on failure (eg. if the buffer isn't big enough).
+extern Bool VG_(getcwd) ( Char* buf, SizeT size );
 
 /* Easier to use than VG_(getcwd)() -- does the buffer fiddling itself.
    String put into 'cwd' is VG_(malloc)'d, and should be VG_(free)'d.