https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278476

--- Comment #3 from Paul Floyd <[email protected]> ---
If you do want something with annotation you can do something like

#include <valgrind.h>

..

if (RUNNING_ON_VALGRIND)
{
   close(fd);
}

That adds a Valgrind dependency. It'd be a lot easier to just close the file
descriptor.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to