]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Merge 14206,14207,14261,14577,14578 from BUF_REMOVAL branch to trunk.
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 27 Sep 2014 17:42:07 +0000 (17:42 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 27 Sep 2014 17:42:07 +0000 (17:42 +0000)
commit76575e29cf3ce3246cab10561ab13057f89465ab
tree16d339a021a0e78ee3d78f74b8d8d00b3fa40a17
parent9ffd4ba5932f2e2ca36f2161e34f1a852edc9b8a
Merge 14206,14207,14261,14577,14578 from BUF_REMOVAL branch to trunk.
This changes VG_(record_startup_wd) to dynamically allocate a large
enough buffer for the directory name. As the dynamic memory manager has
started up a while ago, this is quite safe. Also rewrite VG_(get_startup_wd)
to simply return the directory name. No more messing with copying it
around. Adapt call sites.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14579
coregrind/m_commandline.c
coregrind/m_libcfile.c
coregrind/m_main.c
coregrind/m_options.c
include/pub_tool_libcfile.h