aboutsummaryrefslogtreecommitdiff
path: root/include/pub_tool_libcfile.h
diff options
context:
space:
mode:
authorflorian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>2014-10-14 21:01:33 +0000
committerflorian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>2014-10-14 21:01:33 +0000
commita175ffb9ffa4fd250611582a611333d11c835de2 (patch)
tree720b1aadfb578609d385d45826a4f6345ba35b33 /include/pub_tool_libcfile.h
parentcb26caefec9abdb5ac84f1c485d2189510a354a9 (diff)
downloadvalgrind-a175ffb9ffa4fd250611582a611333d11c835de2.tar.gz
Merge revisions 14210 and 14626 from the BUF_REMOVAL branch to trunk.
Change VG_(resolve_filename) to not truncate the result which is returned in a static buffer now. Fix callsites. Simplify VG_(di_notify_pdb_debuginfo) to use VG_(resolve_filename). Fix VG_(readlink) prototype. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14628 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include/pub_tool_libcfile.h')
-rw-r--r--include/pub_tool_libcfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pub_tool_libcfile.h b/include/pub_tool_libcfile.h
index bb1a6e4f7..3df5be56c 100644
--- a/include/pub_tool_libcfile.h
+++ b/include/pub_tool_libcfile.h
@@ -91,7 +91,7 @@ extern Int VG_(unlink) ( const HChar* file_name );
extern SysRes VG_(poll) (struct vki_pollfd *fds, Int nfds, Int timeout);
-extern Int VG_(readlink)( const HChar* path, HChar* buf, UInt bufsize );
+extern SSizeT VG_(readlink)( const HChar* path, HChar* buf, SizeT bufsiz);
#if defined(VGO_linux)
extern Int VG_(getdents64)( Int fd, struct vki_dirent64 *dirp, UInt count );