mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-13 02:46:13 +00:00
11 lines
217 B
C
11 lines
217 B
C
#include <unistd.h>
|
|
|
|
// Before the bug was fixed, if a program changed working directory, things
|
|
// would break and the cachegrind.out.<pid> file wouldn't get written.
|
|
int main(void)
|
|
{
|
|
chdir("..");
|
|
|
|
return 0;
|
|
}
|