1#include <unistd.h> 2 3// Before the bug was fixed, if a program changed working directory, things 4// would break and the cachegrind.out.<pid> file wouldn't get written. 5int main(void) 6{ 7 chdir(".."); 8 9 return 0; 10} 11