Fixed some syscalls a little bit:

 - getcwd() now uses the result for the post_mem_write length rather than
   the argument, which would have over-estimated

 - accept(), recvfrom() and getsockopt() can now all take NULL buffers (which
   are quite legitimate) without Memcheck giving spurious errors

MERGE TO STABLE


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1579 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed